text
stringlengths
16
69.9k
include_directories ( # "${PROJECT_SOURCE_DIR}" "../external/DirectShowFrameGrabber" ${OpenCV_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR} ${CERES_INCLUDE_DIRS} ${spii_INCLUDE_DIRS} "../singleeyefitter" ) file (GLOB SRCS "*.cpp" "../external/DirectShowFrameGrabber/*.cpp" "../external/DirectShowFrameGrabber/*.c" # "external/DirectShowFrameGrabber/*.idl"pupillabs ) file (GLOB HEADERS *.h *.hpp "../external/DirectShowFrameGrabber/*.h" ) add_executable( main ${SRCS} ${HEADERS} ) target_link_libraries( main ${OpenCV_LIBS} ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_LIBRARIES} ${spii_LIBRARIES} "singleeyefitter" )
#!/bin/bash amixer sget Master|tail -n1|cut -d " " -f6|tr -d \[]
Q: How to check if sim card is installed or not I am developing an app which has call and message functionality , i want to check if sim card is installed or not coz i am facing problem with messaging as it gives alerts for " Message Sent Successful" Please help me out. A: There might be different ways but one way is by using MFMessageComposeViewController class to see if you can send the text message. If you can then sim is available otherwise not. if ([MFMessageComposeViewController canSendText]) { NSLog(@"SIM Available"); } else { NSLog(@"no SIM card installed"); } In cases you have iMessage available then this might return you true, you could also check if you can make a call, you might want to use CTTelephonyNetworkInfo for that purpose. A: You can also check using like this.... First read this doc http://developer.apple.com/library/ios/#DOCUMENTATION/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/doc/uid/TP40009596-CH1-SW1 NSString *_code = [[[CTCarrier alloc] init] mobileCountryCode]; The value for this property is nil if any of the following apply: The device is in Airplane mode. There is no SIM card in the device. The device is outside of cellular service range.
Q: Ignore Hibernate READONLY cache in unit testing I'm running into issues unit testing a Hibernate entity with a READ_ONLY cache setting. I need to create new ones during unit testing. I get the error: Can't write to a readonly object I've been trying to find a way to disable this cache setting in unit testing. I was hoping to interact with the meta model but I don't know which property to set to disable caching for this entity or if it's even possible. Setting the cache on a session level doesn't work because the object hasn't been created yet. Any suggestions? A: Selective caching of entities can be achieved via 'shared-cache-mode' element in persistence.xml ENABLE_SELECTIVE : Entities are not cached unless you explicitly mark them as cachable. This is the default and recommended value. DISABLE_SELECTIVE : Entities are cached unless you explicitly mark them as not cacheable. read more here
import classNames from 'classnames' import PropTypes, { InferProps } from 'prop-types' import { AtActionSheetFooterProps } from 'types/action-sheet' import { View } from '@tarojs/components' import Taro from '@tarojs/taro' import AtComponent from '../../../common/component' export default class AtActionSheetFooter extends AtComponent< AtActionSheetFooterProps > { public static defaultProps: AtActionSheetFooterProps public static propTypes: InferProps<AtActionSheetFooterProps> private handleClick = (...args: any[]): void => { if (typeof this.props.onClick === 'function') { this.props.onClick(...args) } } public render(): JSX.Element { const rootClass = classNames( 'at-action-sheet__footer', this.props.className ) return ( <View onClick={this.handleClick} className={rootClass}> {this.props.children} </View> ) } } AtActionSheetFooter.defaultProps = { onClick: () => {} } AtActionSheetFooter.propTypes = { onClick: PropTypes.func }
Clinical recognition of melanoma and its precursors. This article reviews the essential clinical features of cutaneous melanoma, as well as those of the more common benign pigmented lesions that need to be distinguished on clinical examination.
./title ./sect1 ./sect3 ./sect4 ./sect5 ./biblio
Here are some of the complaints that have been made about the #MeToo movement as it has expanded and become a subject of debate: It is irrational. It is overly angry. It is insufficiently orderly, insufficiently tidy, insufficiently complacent. It takes up too much space. It does not know its place. In short, many of the criticisms of #MeToo—and many of the demands critics have made of the movement—have mirrored the criticisms that have been made of women in general, when they have attempted to argue for a better place in a culture that has looked down on them. The complaints resolve, often, into a unified and overarching critique: that #MeToo is not only divisive, but also divided. That, being structurally unsound, it will eventually—and inevitably—implode. This is not a new critique. In fact, it is a very old critique. As the journalist and author Rebecca Traister pointed out during an event at the Aspen Ideas Festival, co-hosted by the Aspen Institute and The Atlantic, “We have been taught the history of feminism as a fundamentally divided movement.” “A majority of the population having to work together where all of the other biases and privileges come into play?” she said. “Of course it is divided. It is by its nature and its definition going to be divided.” Take the racism of the women’s suffrage movement, and of the women’s movement. Take the disagreements between the radical feminists and the liberal feminists. Take the debates within second-wave feminism over queer rights. Take … so many other disagreements within so many other movements.
Intrinsically disordered proteins and phenotypic switching: Implications in cancer. It is now well established that intrinsically disordered proteins (IDPs) that constitute a large part of the proteome across the three kingdoms, play critical roles in several biological processes including phenotypic switching. However, dysregulated expression of IDPs that engage in promiscuous interactions can lead to pathological states. In this chapter, using cancer as a paradigm, we discuss how IDP conformational dynamics and the resultant conformational noise can modulate phenotypic switching. Thus, contrary to the prevailing wisdom that phenotypic switching is highly deterministic (has a genetic underpinning) in cancer, emerging evidence suggests that non-genetic mechanisms, at least in part due to the conformational noise, may also be a confounding factor in phenotypic switching.
Astronomical telescopes are becoming ever more popular with consumers as their prices have come down. Quality astronomical telescopes are now widely available at fairly reasonable costs. This has created a large number of inexperienced users of astronomical telescopes. It is common for such telescopes to come equipped with a variety of accessories, including, for example, various ocular lenses, erecting lenses, Barlow lenses, prismatic diagonals, etc. Many other accessory types are also available, including a penta mirror diagonal and special zoom lens which are available from the assignee of the present invention. A problem arises when an inexperienced user attempts to use multiple accessories in series which are, in fact, optically incompatible. For example, compound lens systems such as are found in an erector lens, a zoom lens or a Barlow lens significantly reduce the amount of light reaching a user. Prismatic diagonals are also compound lens systems which considerably reduce the total light transmitted there through. The light penalty associated with combining some of such compound lenses in series, e.g. associating a prismatic diagonal with a zoom lens, is too great for practical viewing. Thus, the zoom lens cannot be used in conjunction with a Barlow lens and a Barlow lens should not be used with an erector lens. Finally, due to practical limitations, the zoom lens cannot be used with an astronomical telescope without also using the penta mirror diagonal. It is clear, then, that a need exists for a system and method which prevents an inexperienced user from attempting to use optically incompatible telescope accessories in series with one another. Such a system and method should be inexpensive and easy to implement, yet also easy to understand.
Q: LazyLoading is turned off. Child objects still recursively loaded when .Include() is used. In our web-app we're using Facade pattern. This leads us to make use of Automapper to convert between object layers DAL <-> DTO <-> ViewModels. I have LazyLoading disabled, and it has taken effect for the most part. However some nested objects are included without explicitly adding them in an ".include" statement. Example: public class Parent { public Guid? Child1Id{ get; set; } [ForeignKey("Child1Id")] public Child1 Child1 { get; set; } } public class Child1 { public Guid? Child2Id{ get; set; } [ForeignKey("Child2Id")] public Child2 Child2 { get; set; } } public class Child2 { public string Name { get; set; } } Now any attempt to retrieve the Parent and Child1; will also return Child2 as shown: var Parent = RepositoryReference.DbContext .Parents .Include(p => p.Child1); when drilling into the parent object, Child2 is retrieved as shown Parent.Child1.Child2 != null Please note Child2 is not Virtual. What further actions can I take to ignore nested children of objects I explicitly include? Thanks A: First of all be sure to configure your context to turn off Lazy loading as below: public DbContext() : base("Name = ConntectionName") { this.Configuration.ProxyCreationEnabled = false; this.Configuration.LazyLoadingEnabled = false; } As @MahdiFarhani stated another reason can be that you load Child2 with same id in the same scope. Imagine following scenario: var child2Id = ......; Child2 child2 = RepositoryReference .DbContext .Child2s .FirstOrDefault(m => m.Id == child2Id); Parent Parent = RepositoryReference .DbContext .Parents .Include(p => p.Child1); If parent.Child1.Child2 is equal to child2Id in above scenario, then they are automatically related and parent.Child1.Child2 is not null anymore. So if this is true for you, be sure to explicitly set parent.Child1.Child2 to null or use AsNoTracking() when retrieving Child2: Child2 child2 = RepositoryReference .DbContext .Child2s .AsNoTracking() // Add this line to not keep Child2 in context .FirstOrDefault(m => m.Id == child2Id);
In prior art systems for deploying undersea equipment from an aircraft, a tubular package configuration has been utilized to protect the equipment during deployment. Upon striking the water, means are employed to withdraw the equipment from the tubular package and the tube is then utilized as the system flotation means or as a weight on the lower extremity of the system in the case of deep deployment of the equipment package. These prior art systems suffer from complexity and, hence, high cost and the vertical orientation of the virtual mass is not particularly efficient in stabilizing the equipment suspended below. Typically, where an underwater drogue is deployed for horizontal stabilization purposes, a complex mechanical drogue erecting system is used to deploy the drogue adding still more to the cost of the system and tending to reduce the reliability thereof.
In yet another break with its campaign promise to fight to restore civil liberties and privacy, the Obama Administration has made a breathtaking claim of state secrets to block a public interest organization from suing the government for illegal surveillance. There is not a scintilla of difference in the legal position of President Obama and the position of President Bush in trying to quash any effort to challenge unlawful surveillance by the government. It appears the “yes we can” means “yes we can do most anything that we want” when it comes to unlawful programs. I discussed this story on this segment of MSNBC Countdown. The Administration is moving to kill a lawsuit brought by the Electronic Frontier Foundation on behalf of AT&T customers who were unlawfully intercepted by the government. Not only is the Administration making an extreme argument under the military and state secrets doctrine but it is claimed that citizens cannot sue, even if the government engages in unlawful surveillance, under the Patriot Act. Due to changes put through with Democratic support, the statute is being used to block any lawsuit unless the citizens can show that there was “willful disclosure’” of the communications by the government. Congress passed the new language last summer with the support of then Sen. Obama in a complete caving into the powerful telecommunications lobby. Chief U.S. District Judge Vaughn Walker has been addressing the impact of this law in dozens of public interest lawsuits. At the same time, the Obama administration is invoking state secrets to try to prevent the review of evidence in the case of the Al-Haramain Islamic Foundation. The Administration has even threatened to remove a document from the Court after Judge Walker ruled against it — a position that exceeds even the Bush Administration. For the government filing, click here. For the full story, click here. Share this: Twitter Reddit Facebook Email
Adhesion transition of flexible sheets. Intermolecular forces are known to precipitate adhesion events between solid bodies. Inspired by a macroscale experiment showing the hysteretic adhesion of a piece of flexible tape over a plastic substrate, we develop here a model of far-field dry adhesion between two flexible sheets interacting via a power-law potential. We show that phase transitions from unadhered to adhered states occur as dictated by a dimensionless bending parameter representing the ratio of interaction strength to bending stiffness. The order of the adhesion transitions, as well as their hysteretic nature, is shown to depend on the form of the interaction potential between the flexible sheets. When three or more sheets interact, additional geometrical considerations determine the hierarchical or sequential nature of the adhesion transitions.
Q: Logic puzzle - All people born in Italy are citizens of EU I need to choose a logically equivalent statement to the title out of the following list (A to E). A. All EU citizens are born in Italy. B. All non-EU citizens were not born in Italy. C. Some non-EU citizens may have been born in Italy. D. Those not born in Italy are not EU citizens. E. Those born in Italy are not necessarily EU citizens. I thought about it and I think it's D because the premise is that all people born in Italy are citizens of EU. Is it correct? A: As Gae. S. pointed out in the comments, your answer is incorrect since a person born in France is also a citizen of the European Union. We know that all people born in Italy are citizens of the European Union. This statement can be written as an implication: If a person is born in Italy, then he or she is a citizen of the European Union. The contrapositive of this statement is logically equivalent to it. What is the contrapositive of the above statement? If a person is not a citizen of the European Union, then he or she was not born in Italy. Now rephrase the contrapositive and compare it with the given choices.
Pretty Ideas for Crochet Barefoot Sandals Okay, so girls, how does it sound to crochet some barefoot sandals? Isn’t this entirely a new though and approach? Maybe some others have worked on it especially with the crochet, but on this platform this is the very first project where we are going to present a large variety of pretty ideas of crochet barefoot sandals. They are basically from the South Asian origin and mostly they are carried on beach weddings, religious and other formal gatherings just for the decoration purpose and not properly as the protection measure. Knitting them with crochet would be an exciting experience. I am starting with this very romantic turquoise thread knitted barefoot sandal. From the upper side it has got a perfect shape of a sandal, but as this is supposed to be a barefoot sandal so it has got no formal sole. So make sure you have plans to carry it on sand or maybe on some clean floor where there are no stones or thorns at all. I have added some beads of green shade that have really added a lot to the beauty of this single shaded barefoot sandal. Match it with your dress and enjoy this new experience. While this one is certainly made for a baby girl. That is why we have made a very wise selection of the crochet threads here as this was supposed to be the creation out of some shocking or atleast the kids oriented shades. So we have used one shocking and one baby oriented shade here. The palm motif is mixed with both the shades, the frontal ring connecting the finger is made with the pink one. While the rest of the portion is made in the simplest manner that was really handy to make. And here comes a perfectly beach stuff like it has got floral motifs on the front like three in a row that are similar in size and shape. And each next one is connected with a green leaf that was also knitted with the crochet thread. We have created it entirely with the crochet work, despite of this isolated crochet work this barefoot sandal is lacking simply nothing. It has got the style, it has got attitude and above all the color combination is very phenomenal. This is also very ideal for some beach wedding too where the venue is set and planned accordingly. This is again a very delicate and simple barefoot crocheted. A simple ring in the middle is the origination place from where we have added the extensions mostly using the single stitch pattern. One more important thing is the single shaded thread that is pure white that is used throughout the project. This seems like a perfect sandal but actually it hasn’t got a proper sole. This would look so nice on the white and properly toned feet. Obviously matching the skin or the complexion of the skin with the crochet thread is another important phenomenon while working on these knitting projects of barefoot sandals. Wow, let me prevent myself from falling in love with these mere feet, like right now I am not concerned about the rest of the body and the actual appearance. These barefoot sandals crocheted with thread have left me obsessed. I am already a fanatic admirer of beautiful hands and feet, just imagine putting it on and going in front of your beloved, I simply haven’t got the words to elaborate how it feels. A very beautiful design of crochet is demonstrated over here in this project. And feels as if the black thread was just made for this specific project. Here the next project is even simpler. Very light and delicate crochet work is demonstrated here. Just these tiny round floral embellishments are crocheted and each one of them is connected to the next one with a single lining of crocheted string. Same single stitch pattern is applied throughout the project. And the quality of the pure white thread makes it a universal footwear like you cay carry it with any apparel of your choice, formal or casual whatever is the demand of the occasion or the vent. This one is so damn easy to execute. In this project we had deliberately used one single thread shade because this was supposed to be carried with a matching dress that was especially prepared for a wedding event. The beads of green shade that we have added here in this project are very cheap cost wise, and they can be bought very easily from the market. These are the same stones or beads that are used frequently in artificial jewelry making crafts. They have rendered a very decorative and fancy look to these ordinary barefoot crocheted sandals. So I guess this experiment really worked for us. Wow, here is something perfectly traditional and typical in nature. Seems like the perfect representation of the South Asian taste and the colors that are preferred over there. The earlier ones were designed according to the Western taste. Double tilted backward stitch pattern is applied here throughout the project. And also the color scheme is decided very cautiously as we were intending to come up with something typically Asian. Seems like a perfectly exhibition material. As far as the crocheting is concerned, this could be a bit tricky for the learners or the beginners. So better only the mentors give it a try. My goodness, feels like I am going to fall in love tonight as I simply cannot take it all together. These are so heart snatching knitting projects that I am literally driven away with them. Just look at this exquisite barefoot sandal project, simple sea green crochet thread is used along with the studded pearls that are again a very cheap yet very impact making accessory that is very easily available in the market. A very simple stitch pattern is applied throughout the slim isolated crocheted string, and the pearls are studded throughout the lining as a bordering object. While this one is more of a sophisticated and decent approach. Mere one single thread of dark brown shade is applied here. The ankle covering patch is also having a properly knitted brooch that can be seen from the rear. So this is sort of heavily crocheted and very full sort of bulky barefoot sandal. Very tight stitch lock is followed here to keep the thread intact and erect as well. This would look ideal on white feet, and can be carried both casually and formally as well. Just make up your mind when exactly you are going to carry this one. And here the chick seems to be already enjoying on the beach for what it was meant to. Three cute tiny rings crocheted with different threads have rendered it more of a casual look. So would be an ideal footwear for a day out on the beach with your boyfriend or maybe your husband. These barefoot sandals are just meant for the decoration purpose. Never consider them as a substitute of proper sandals or any other shoes. And make sure you are carrying them at a certain place where there is no fear of getting harmed.
Postgraduate researcher development We’re committed to supporting the personal and professional development of our postgraduate researchers and do so with world-class, award-winning resources. We aim to equip our postgraduate researchers with the skills, attributes and knowledge to thrive as independent researchers and professionals. This commitment is supported at the highest level. Skills training has always been important for researchers and never more so than today. While researchers must have knowledge and skills in their own research area, they must also master the critical skills of communications (via multiple routes and to multiple audiences), team-working, leadership, critical thinking and much more. All of these are essential for a successful researcher but also for the many other career paths that researchers may choose to take and for success in life in general. Dame Professor Nancy Rothwell / President and Vice-Chancellor, The University of Manchester The range of personal, professional and career development opportunities offered to all postgraduate researchers at the University is extensive. Programmes of training are tailored to the individual needs of the postgraduate researcher, and reviewed each year in consultation with the researcher’s supervisory team. Postgraduate researchers can access training in their home Faculty offered by dedicated researcher development teams, as well as an extensive range of workshops, courses and careers guidance offered centrally by our professional support services. Find out more about the training available to postgraduate researchers at The University of Manchester:
: a point that is related to a geometrical figure in such a way that for any point on the figure there is another point on the figure such that a straight line joining the two points is bisected by the original point —called also center of symmetry
Highly Integrated, Biostable, and Self-Powered DNA Motor Enabling Autonomous Operation in Living Bodies. An ultimate goal of synthetic DNA motor studies is to mimic natural protein motors in biological systems. Here, we rationally designed a highly integrated and biostable DNA motor system with high potential for living body operation, through simple assembly of a Mn2+-dependent DNAzyme-powered DNA motor with a degradable MnO2 nanosheet. The motor system shows outstanding high integration and improved biostability. High integration confers the motor system with the ability to deliver all the core components to the target sites as a whole, thus, enabling precise control of the spatiotemporal distribution of these components and achieving high local concentrations. At the target sites, reduction of the MnO2 nanosheet by intracellular glutathione (GSH) not only releases the DNA motor, which can then be initiated by the intracellular target, but also produces Mn2+ in situ to power the autonomous and progressive operation of the DNA motor. Interestingly, the resultant consumption of GSH in turn protects the DNA motor from destruction by physiological GSH, thus, conferring our motor system with improved biostability, reduced false-positive outputs, and consequently, an increased potential to be applied in a living body. As a proof of concept, the highly integrated DNA motor system was demonstrated to work well for amplified imaging detection of survivin mRNA (mRNA), an important tumor biomarker, in both living cancer cells and living tumor-bearing mice. This work reveals concepts and strategies promoting synthetic DNA motor applications in biological systems.
If you are ordering multiple items, ACHICA aim to send as few deliveries as possible for your convenience – you will only pay one delivery charge. Product Information Elegant and stylish, this Coach cushion cover from the DAY HOME Birger et Mikkelsen collection is perfect for creating a chic look in your home. Featuring a classic mustard yellow stripe design on a natural background, this versatile cushion will sit perfectly in any setting. Complete the look with a sumptuous feather cushion pad (sold separately).
Shortly after declaring on his radio show yesterday that seeing same-sex couples get married during the Grammy Awards on Sunday is the sort of that “makes you want to vomit,” Erik Rush turned his attention to a tweet sent out by Sally Kohn a few days ago saying that she wants to see a Disney movie in which a princess marries another princess. Rush warned that this sort of deviance is pushing society into civil unrest that will result in people going “homo-hunting” and violently attacking their gay neighbors. Calling Kohn an “obnoxious, maladjusted lesbian,” Rush said that she was exactly the sort of person who is pushing society toward a violent breakdown when lunatics and “people who have just been pushed to the limit” finally snap and start attacking people like Sally Kohn … which won’t really bother Rush “because she sort of served to bring it about.” These people will be pushed over the edge, Rush said, because gay activists advocated for films where two princesses get married or “want to have anal fisting labs in grade school” and are generally working to “oversexualize children.” As a result, “you could see a lot of people who don’t deserve to get hurt, get hurt because of people like Sally Kohn”:
Like this post? Share it! Stephanie McMahon, John Cena, and Michael Cole appeared at the SXSW Interactive Festival earlier today for the Crushing Second Screen: The Ultimate TV Companion panel. In a conversation with SXSW.com, Stephanie McMahon said the following about who she follows on Twitter: "WWESuperstars, to support them and see how they are engaging with the WWE Universe as well as key influencers and media. Sean Gardner is also one of my favorites; his tweets are always positive and inspirational, exactly what social media is about."
Trump also mentioned the “invasion of drugs and criminals” on Friday when he vetoed a congressional resolution blocking his emergency declaration to build a wall on the southern border. Wallace asked if Trump has considered making a major speech “condemning anti-Muslim, white supremacist bigotry?” because of the criticism he has faced. “The president is not a white supremacist. I’m not sure how many times we have to say that,” Mulvaney replied. “And to simply ask the question every time something happens overseas or even domestically, to say, ‘oh my goodness, it must somehow be the president’s fault,’ speaks to a politicization of everything that I think is undermining sort of the institutions that we have in the country today,” Mulvaney added. On CBS’ “Face the Nation” Mulvaney said he wanted to “push back against this idea that every time something bad happens around the world folks who don’t like Donald Trump seem to blame it on Donald Trump.” “The issue is how do you stop these crazy people? Whether or not there’s one of them or four of them doesn’t make a difference if they’re willing to go on live TV and stream the murder of people. That’s where time is better spent,” he said. “Instead of worrying about who’s to blame – how do we stop [them] from doing this?” “The president communicates in his way, different presidents communicate in their way,” Mulvaney said. “I don’t think anybody can claim that Donald Trump hasn’t done exactly what we want to do in this circumstance.”
A review of methods to estimate the benefits of electronic medical records in hospitals and the need for a national benefits database. Proponents of electronic medical record systems cite numerous benefits of their use; however prospective electronic medical record (EMR) purchasers can find relatively little hard evidence these systems will deliver promised or expected benefits. The lack of good information to help identify EMR benefits, estimate and prioritize these benefits, and understand how the benefits are realized is a serious problem for the healthcare industry. This paper describes the most useful current approaches for hospitals to estimate the potential benefits of their EMR systems. Positive and negative aspects of each approach are discussed, as is the question of determining whether a hospital provider could use the approach. Based on this analysis, the article explains the necessity of developing a standardized database of actual provider experience with clinical information system (CIS) benefits, and it describes the initial efforts of the HIMSS CIS Benefits Task Force to create such a database.
Those tales of mass violence in Haiti are looking increasingly dubious by the day. Here's Sasha Kramer, director of the Haitian nonprofit SOIL, describing the conditions she's seen after the quake: Since we arrived in Port au Prince, everyone has told us that you cannot go into the area around the palace because of violence and insecurity. I was in awe as we walked into downtown, among the flattened buildings, in the shadow of the fallen palace, among the swarms of displaced people there was calm and solidarity. We wound our way through the camp asking for injured people who needed to get to the hospital. Despite everyone telling us that as soon as we did this we would be mobbed by people, I was amazed as we approached each tent people gently pointed us towards their neighbors, guiding us to those who were suffering the most. We picked up five badly injured people and drove towards an area where Ellie and Berto had passed a woman earlier. When they saw her she was lying on the side of the road with a broken leg screaming for help. They were on foot and could not help her at the time, so we went back to try to find her. Incredibly, we found her relatively quickly at the top of a hill of shattered houses. The sun was setting and the community helped to carry her down the hill on a refrigerator door, tough looking guys smiled in our direction calling out, "Bonswa, Cherie," (Good evening, Dear) and "Kouraj" (Courage)…. Half way through the surgery we heard a clamor outside and ran out to see what it was. A large yellow truck was parked in front of the gate and unloading hundreds of bags of food over our fence. The hungry crowd had already begun to gather and in the dark it was hard to decide how to best distribute the food. Knowing that we could not sleep in the house with all of this food and so many starving people in the neighborhood, our friend Amber (who is experienced in food distribution) snapped into action and began to get everyone in the crowd into a line that stretched down the road. We braced ourselves for the fighting that we had heard would come, but in a miraculous display of restraint and compassion people lined up to get the food and one by one the bags were handed out without a single serious incident. Such reports have been echoed by other people on the ground, such as The Guardian's Inigo Gilmore. It also matches the usual behavior witnessed after natural and technological disasters, in which mutual aid flowers while violence and theft are almost unheard-of. Even on those rare occasions that rioting does break out, there's much more spontaneous order than disorder. Unfortunately, in Haiti as in New Orleans, the fear of crazed crowds has fed a centralized, militarized response to the crisis, erecting barriers between the needy and outside assistance. With U.S. troops in control of the Port-au-Prince airport, for example, the Red Cross and Doctors Without Borders have had flights redirected to the Dominican Republic. To be clear: I'm not claiming there's no grassroots violence in Haiti. Just that, in another parallel with Katrina, those rumors of unruliness seem to have been grossly exaggerated. That may be because so much of the media report what they expect to see even when a completely different story is unfolding under their nose. Watch this bizarre report on CNN, in which Ivan Watson describes "chaotic crowds" while the camera shows crowds that are calm and patient. At one point Watson announces that we're watching a "chaotic scramble" onto a rescue ship. This is illustrated by a group of people carefully, methodically passing a baby onto the boat. Then, while more refugees peacefully load their luggage in the background, the reporter asks the shipowner his burning question: "Has anybody offered you any help with crowd control of these thousands of desperate people?"
Kendall Howard Patch Panel Brackets make mounting patch panels or shallow equipment simple and easy. When there is no need for a wall mount rack or cabinet, Patch Panel Brackets are a great low cost alternative. The hinged design delivers the functionality of a swing-out rack without the added cost. Perfect for small business or home office applications. The patch panel wall mount brackets are packed with built-in cable tie downs and access holes, ensuring your installation is neat, organized, and ready for action. Once the bracket is mounted to the wall, simply mount the device to the hinged side of the bracket, swing it open, and terminate the cables. When completed, close the bracket and secure to the other side of the bracket. (Mounting hardware and rack screws not included.)
package scalikejdbc /** * Connection Pool Factory * * @see [[https://github.com/wwadge/bonecp]] */ object BoneCPConnectionPoolFactory extends ConnectionPoolFactory { override def apply( url: String, user: String, password: String, settings: ConnectionPoolSettings = ConnectionPoolSettings()): BoneCPConnectionPool = { new BoneCPConnectionPool(url, user, password, settings) } }
The Carolina Hurricanes are wasting no time finding a replacement for Ron Francis as the team's general manager, as the club reportedly interviewed Buffalo Sabres assistant GM Steve Greeley for the position, according to TSN's Bob McKenzie. This comes less than a week after the Los Angeles Kings granted the Hurricanes permission to speak to their assistant GM, Mike Futa. Francis was relieved of his GM duties last week, accepting a reassignment to become the team's president of hockey operations - ironically, a role in which he won't be making hockey-related decisions. Greeley is in his first season in the Sabres' front office. He previously served as the New York Rangers' director of player personnel, the assistant coach at Boston University, and a scout for the Kings. The Hurricanes' new GM will report directly to new owner Tom Dundon.
Q: Rendering Actions with Custom Routes I am trying to maintain a pretty URL when having a user register with failed validation I have a routes file that looks like the following: map.resources :users map.signup '/signup', :controller => "users", :action => "new" This works well enough, except that if a user enters invalid information during registration then the create method does the following: def create @user = User.new(params[:user]) if @user.save flash[:notice] = "Successfully Registered." redirect_to root_url else render :action => 'new' end end This works, but if the information is correct it switches the URL to domain.com/users. If I switch it to redirect_to '/signup' it works, but all the previous information that was entered is lost, and I would ideally like to maintain that. Is there any way to keep my nice urls during a failed validation? A: You'll need to add conditions to your routes: # Routes files map.resources :users map.signup "/signup", :controller => "users", :action => "new", :conditions => { :method => :get } map.signup "/signup", :controller => "users", :action => "create", :conditions => { :method => :post } Then, you'll need to make sure your controller and view handle them correctly: # Controller def new @user = User.new end def create @user = User.new(params[:user]) if @user.save flash[:notice] = "Successfully registered." redirect_to root_url else render "new" end end # new.html.erb <% form_for @user, :url => signup_path do |form| %> .... <% end %>
We are working toward a new perspective in understanding and manipulating the pathophysiology of ? thalassemia, a common and debilitating inherited anemia. A hallmark of this disorder is excessive free ? hemoglobin (Hb), an unstable protein that generates reactive oxygen species (ROS) and forms cytotoxic precipitates. We identified alpha hemoglobin stabilizing protein (AHSP), an abundant erythroid protein that enhances the solubility of free ?Hb and limits its biochemical reactivity. Ahsp-/- mice exhibit hemolytic anemia with Hb precipitates and excessive ROS. Moreover, loss of AHSP exacerbates ? thalassemia in mice, raising the possibility that altered AHSP function or expression could modulate ? thalassemia phenotypes in humans. Preliminary data support both mechanisms. First, we discovered a naturally occurring missense mutation, AHSP N75I, which impairs protein function and is associated with unexpectedly severe p thalassemia in two pedigrees. Second, AHSP appears to be a quantitative trait locus (QTL) whose expression varies considerably between different individuals. Moreover, reduced AHSP expression associates with more severe clinical disease in several independent studies of small p thalassemia cohorts and pedigrees. Together, these findings lead to the hypothesis that AHSP is a genetic modifier of ? thalassemia. We will test this by analyzing thalassemic populations for AHSP gene mutations, including N75I, and determining their effects on gene expression and/or protein function. In addition, we will study how variations in erythroid AHSP expression affect nascent ?Hb pools, oxidative stress and clinical severity in p thalassemic patients. Our findings should provide new insights into the mechanisms of normal erythropoiesis and the pathophysiology of ? thalassemia. Ultimately, this information could provide a basis for developing novel therapeutic approaches to mitigate the toxicities of free ?Hb in ? thalassemia.
[ { "code":"json_no_route", "message":"No route was found matching the URL and request method" } ]
The meeting was attended by Head of the Egyptian General Intelligence Abbass Kamel and Egypt’s Foreign Minister Sameh Shoukry. During the meeting, President Sisi highlighted the long-standing relations between Egypt and the United States and Egypt's keenness to enhance these relations on all levels within the framework of mutual respect and common interest, particularly in light of the turbulent situation in the region and the rising threat of terrorism. “President Sisi is keen to contact all Congress’ leaders within the framework of mutual cooperation and consultation between the two countries,” presidency spokesperson Bassam Rady stated. Sisi reviewed Egypt’s efforts to combat terrorism and extremism and underscored the country's peerless trials to carry out comprehensive economic reform and sustainable development and settle disagreements and political conflicts in the region. For his part, Senator Wyden expressed appreciation for the level of cooperation between the two countries, mentioning that Egypt is a pillar of security in the region and praising its role in maintaining stability and strengthening the bases of peace in the Middle East. “Egypt is a pivotal strategic partner of the US in the region,” Wyden said. Egypt’s presidential spokesperson Bassam Rady added that the meeting touched upon the ongoing developments in the region, especially Libya and Syria. The president warned of the dangers threatening national states in the region, stressing that the political settlement of crises must be carried out in parallel with the fight against terrorist organisations in the region. The two presidents also mulled the latest developments in the Palestinian issue, with El-Sisi affirming Egypt's position on reaching a just and comprehensive solution that preserves the rights of the Palestinian people and establishes an independent Palestinian state in accordance with international legitimacy.
Peter, you're right, in PSX's CPDLC model one cannot arm multiple reports at the same time. But, just to avoid a misunderstanding: You can arm one report in each "report category" at the same time. I.e. the arming feature is not completely unavailable. A tip for on the onboard engineer who's currently in the galley: You can erase that red EGT box on Instructor > Situation > Service with the button "Erase latched messages". The pod strike on the last landing caused a momentary EGT peak :-) Perhaps you didn't see any report functions because ATC didn't request a report? The REPORT> promt at 6R appears only if the request is a "report" request. The type of request determines what types of replies are available (reject, standby, accept, report).
Breakdown of the fermi liquid description for strongly interacting fermions. The nature of the normal state of an ultracold Fermi gas in the BCS-BEC crossover regime is an intriguing and controversial topic. While the many-body ground state remains a condensate of paired fermions, the normal state must evolve from a Fermi liquid to a Bose gas of molecules as a function of the interaction strength. How this occurs is still largely unknown. We explore this question with measurements of the distribution of single-particle energies and momenta in a nearly homogeneous gas above T(c). The data fit well to a function that includes a narrow, positively dispersing peak that corresponds to quasiparticles and an "incoherent background" that can accommodate broad, asymmetric line shapes. We find that the quasiparticle's spectral weight vanishes abruptly as the strength of interactions is modified, which signals the breakdown of a Fermi liquid description. Such a sharp feature is surprising in a crossover.
Q: Amcharts - Ajax loaded data, clickable points like in highcharts I'm wondering if there is a way to implement "clicakble data points" on an amchart just like is avaialble in highcharts. Example - http://www.highcharts.com/demo/line-ajax I'd want to be able to click on a data point & create a box, then also be able to drag the box tha gets created anywhere on the web page just like one can in the example at http://www.highcharts.com/demo/line-ajax A: http://codepen.io/team/amcharts/pen/0697255066bdf0b572041ba8fcac553e - You can look up the necessary field names in the event object provided by the clickGraphItem event - both the chart and the current graph object are provided i.e. e.chart and e.graph - the properties for the corresponding objects are set up exactly as in the documentation. You can do something like var categoryField = e.chart.categoryField; var valueField = e.graph.valueField; var text = 'Date: ' + e.item.dataContext[categoryField] + '<br>Value: ' + e.item.dataContext[valueField];
How to use an article on therapy or prevention: pneumonia prevention using subglottic secretion drainage. Evidence based critical care medicine involves integrating clinical experience, expertise, and patient preferences with explicit, systematic, and judicious use of current best evidence in making medical decisions. Published evidence has many sources: research from the basic sciences of medicine, and from patient-centered clinical research on the accuracy of diagnostic tests, the power of prognostic markers, and the effectiveness and safety of preventive, therapeutic, rehabilitative, and palliative interventions. When critically appraising a clinical article for potential use in intensive care unit (ICU) practice, the first question we ask ourselves is: Is this study valid? If examination of the study methods reveals that the design is rigorous, we can turn to the two other key questions: What are the results? and, Will the results help me care for my patients? This approach may aid in the interpretation of an article on therapy or prevention; in it we discuss a strategy designed to prevent ventilator associated pneumonia in critically ill patients.
Q: Phaser: this.game is undefined in the Update function Good evening, sorry for asking again, but I need to be done with this by tomorrow for school. Basically, when I try to access the this.game variable in the update function, it says that it is undefined, to be specific, I get this; "Uncaught TypeError: Cannot read property 'state' of undefined". In my update function I have this: create: function() { [...] map.setCollisionByExclusion([], true, doorLayer); [...] } When I try to access this.game in the update function on the collision action, I get the error mentioned above. Here's the code; update: function() { [...] this.game.physics.arcade.collide(player, doorLayer, function() { if (hasItem) { this.game.state.start('Hallway'); //This is where I get the error } }); [...] } Thank you for your time. A: this.game.physics.arcade.collide(player, doorLayer, function() { if (hasItem) { this.game.state.start('Hallway'); //This is where I get the error } }); Notice the inner this refers to the anonymous function you are passing which clearly does not have a member named game. Ideally, rename this to something else and then use it. Now you can use myself variable inside the anonymous function passed and access myself's properties. i.e. var myself = this;
Researching the meaning of life: finding new sources of hope. The purpose of the paper is to discuss means of assisting terminally ill patients in seeking for sources of meaning and hope, alongside the acknowledgment that their lifespan is short.Psycho-spiritual aspects make a substantial component patients suffering from incurable illness have to deal with. Evaluating and mapping the causes and expressions of psychological--spiritual suffering may assist in tailoring appropriate strategies of distress relief. Therefore, interventions should be given in accordance with their specific focus of difficulties, as well as with wishes and needs. Appropriate interventions in palliative psychotherapeutic rapport are inspired by identifying new sources for meaning in current life (sometimes, aided by past experiences or future visions). Reinforcing sources for meaning may attempt in providing patients amongst:--equilibrium, between suffering and sorrow (which sometimes take over the patient's world), and on the other hand, new experiences, sense of satisfaction and fulfillment. Individual's acknowledgment that he is not completely withdrawn from the circle of life, and yet significance and fulfillment in life still exists. For a holistic meaning ? centered intervention it is advisable to simultaneously integrate two central axes: the existential analysis, inspired by concepts driven from Frenkl's Logotherapy, such as freedom of choice, personal responsibility, inner truth, hope and transcendentalism; the operative axis, enhancing meaning and hope by assisting patient's wishes come true. Patients are aware, many times, that those wishes may be their last one, therefore perceive their fulfillment as crucial for their sense of meaning. Moreover, those wishes may elevate patient and family's spirit and reduce risk of demoralization. Whereas existential--spiritual interventions are recommended to be given by qualified professional therapists, the operation of fulfilling wishes is feasible by everyone, from family members to multi-disciplinary staff. Case illustrations for meaning--centered interventions will be discussed in the course of the paper. Cultural and traditional differences within the Israeli society, expressed in themes of work with patients, will lead to the conclusion, that there are many creative ways for researching meaning of life and sources for hope.
Local Spotlight Ever wondered what life would be like for Atlantans if the city had been placed in the North Georgia Mountains? I decided to find out. Using Photoshop, I decided to give Atlanta mountains across its skyline.
Separation of white blood cells from erythrocytes on a dielectrophoresis (DEP) based 'Lab-on-a-chip' device. The 'Lab-on-a-chip technology' involves miniaturization of complex analytical procedures and is expected to enable laboratory testing to move from the central laboratory employing complex equipment into non-laboratory settings. We report the application of a printed circuit board (PCB)-based chip, generating dielectrophoretic (DEP)-based cylinder-shaped cages for separation and recovery of white blood cells from erythrocytes. This possibility is of interest to develop low-cost Lab-on-a-chip devices for diagnostic purposes. Accordingly, we demonstrate that white blood cells recovered from this Lab-on-a-chip device are suitable for PCR-based molecular diagnosis procedures employing DNA sequencing or biospecific interaction analysis using surface plasmon resonance and biosensor technology.
Robotic surgical systems have been used in minimally invasive medical procedures. During such a medical procedure, the robotic surgical system is controlled by a surgeon interfacing with a user interface. The user interface allows the surgeon to manipulate an end effector that acts on a patient. The user interface includes an input controller or handle that is moveable by the surgeon to control the robotic surgical system. The end effectors of the robotic surgical system are positioned at the end of robotic arms. Each end effector is manipulated by an Instrument Drive Unit (IDU). The IDU includes a drive motor that is associated with the end effector to move the end effector about a respective axis or to perform a particular function of the end effector (e.g., approximate, pivot, etc. jaws of the end effector). The IDU can include a plurality of drive motors with each drive motor being associated with a respective degree of freedom or function of the end effector. There is a need for precisely and accurately measuring the force applied by the drive motors in order to anticipate and predict a life expectancy of the drive motors. In addition, there is a continuing need for reduced feedback signal response time for providing real-time haptic feedback to a user.
poultice noun Also called: cataplasmmeda local moist and often heated application for the skin consisting of substances such as kaolin, linseed, or mustard, used to improve the circulation, treat inflamed areas, etc
Q: Behaviour of OpenSSH while login as root and non-root account I am writing a PAM module for SSH to enforce one more layer of authentication. For that I need terminal ID in close_session() and pam_sm_setcred() function in PAM module while OpenSSH hardcoded it "ssh". I made few changes in OpenSSh code so it can set terminal ID properly. These changes were : added do_pam_set_tty() in session_pty_req(Session *s) function in session.c and added do_pam_set_tty() in mm_pty_allocate() function in monitor_wrap.c It works fine for root and I get appropriate tty in pam_sm_cred() and pam_sm_close_session() function. But using same code, when I try to ssh through a non root account I am getting tty in pam_sm_close_session() but not in pam_sm_cred(). I am not sure why ssh is behaving differently for root and non-root accounts. Is there anything which triggers SSH behavior for root and non-root accounts or can anyone suggest me what can be wrong here. I have no idea how can I proceed and it would be great if someone can give me some pointers. A: I got the solution. It was due to privilege separation. Post-auth privilege separation is disabled for root users and and enabled for other users by default. To get the tty thing working I had disabled privilege separation in /etc/ssh/sshd_config file. For more details : http://www.citi.umich.edu/u/provos/papers/privsep.pdf
Webtartalom-megjelenítőWebtartalom-megjelenítő NPS Research News Webtartalom-megjelenítőWebtartalom-megjelenítő Solid State Spark Chamber for Ionizing Radiation Detection The objective of the research is to explore a novel solid-state radiation detector that operates similarly to a conventional spark chamber where the high internal gain amplifies weak signals generated by ionizing radiation. Uncooled Terahertz Camera for Imaging beyond Infrared The aim of the research program is to develop highly sensitive, uncooled, real time terahertz (THz) camera with multispectral capability using micro-electro-mechanical-system (MEMS) bi-material technology. Carbon Nanotube-Based Micro Ion Thrusters Utilizing extremely small tips of nanotubes and nano fibers to enable very high localized electric fields. These electric fields are used to ionize the propellant gas at much lower power requirements. All of these enable miniaturization of systems. Fly’s Ear Bio-inspired MEMS Directional Sound Sensor Nuclear Detection Research involves technologies for detection and analysis of nuclear materials including laser ionization/mass spectrometry and passive radiation detection for non-proliferation and other purposes; and the development of compact advanced nuclear reactors. Underwater Autonomous Vehicle Research The use of unmanned, autonomous vehicles is of significant interest to the US Navy and DoD. Autonomous vehicles (those capable of performing pre-assigned tasks independent of human interaction) are playing an important role in the development of future systems and Naval operations. Metamaterials for CDEW (Counter Directed Energy Weapons) Metalloid clusters for energetic materials We are using atomistic scale simulations to understand the stability and reactivity of metal and metalloid clusters for next-generation propellants and explosives. Thesis projects include simulations at a range of scales, from DFT and genetic algorithm development up to coarse-grained Monte Carlo techniques. Piezoelectric MEMS Vibrational Energy Harvesters Design, building and characterization of arrays of MEMS resonators that utilize piezoelectric effect to harvest waste vibrational energy from engines, fossil fuel powered generators and other vibrating structures.
package com.autonomousapps.jvm import com.autonomousapps.jvm.projects.CompileProject import spock.lang.Unroll import static com.autonomousapps.utils.Runner.build import static com.google.common.truth.Truth.assertThat final class CompileSpec extends AbstractJvmSpec { @Unroll def "compile conf is correctly accounted for (#gradleVersion)"() { given: def project = new CompileProject() gradleProject = project.gradleProject when: build(gradleVersion, gradleProject.rootDir, ':buildHealth') then: assertThat(actualAdvice()).containsExactlyElementsIn(project.expectedAdvice) where: gradleVersion << gradleVersions() } }
Q: My router is opened to the internet I typed in my IP into my address bar and my router admin page came up. Is this safe? How can I disable it? It's Linksys Smart Wifi A: You may already be safe: if you typed your IP address into the address bar of a computer connected to the router, being able to access the router admin page is normal. The router knows your computer is on the "inside" part of the network, and should be allowed to control the router. The only time you have a problem is if you type your IP address into a computer somewhere else on the Internet (such as at your local library) and your router admin page shows up: in that case, you need to disable remote administration through the admin page.
Q: Listen for URL fragment id change in WebView It seems that the WebViewClient methods such as shouldInterceptRequest(), onPageStarted(), and shouldOverrideUrlLoading() only listen for URL changes that cause the WebView to load a new page. Is there a way to detect URL changes for fragment IDs, i.e. index.html#fragment_id, on a WebView? A: I know that this is a really old question but i found out a solution that isn't available anywhere in Stack Overflow. jpetitto's answer works but it messes up javascript if we use hash change for routing or other such features. I found out that by overriding the method doUpdateVisitedHistory in WebViewClient we can catch url's on hash change. Do see below snippet for example. mWebView.setWebViewClient(new WebViewClient() { @Override public void doUpdateVisitedHistory(WebView view, String url, boolean isReload) { super.doUpdateVisitedHistory(view, url, isReload); // somecode to run on hash change. } } Note: this method is fired on hash change and url change. A: As mitvenkatesan described in his comment to the question, this can be achieved by overriding the window.onhashchange() event of the page inside the WebView. It turns out that this solution has already been addressed in another question.
Controllers for gas burners are provided for controlling the gas supply to the gas burner and are arranged between a gas supply source and the gas burner. In many applications, diverse controllers for gas burners are known and include, e.g., a main valve, a differential pressure generating means and a corresponding controller. The controller serves for adjusting a gas output pressure to a desired value. For adjusting a gas output pressure, a differential pressure is generated and adjusted between two channels. Between the channels, a valve is arranged whose valve member is prestressed in the closing direction by a prestressing means. A generated differential pressure allows an opening of the valve against the prestressing means so that a gas flow is made possible. By adjusting the differential pressure between the first channel and the second channel, additionally, the gas output pressure can be adjusted. In various applications, the differential pressure is generated, e.g., by a device that is connected to the respective pressure regions of the gas flow controller via external conduits. Such external connection, however, can present challenges to the implementation of gas flow control and to the efficient and concise arrangement of devices for effecting the control.
package water.api; import water.Futures; import water.Lockable; import water.UKV; import water.Value; import dontweave.gson.JsonObject; public class Remove extends Request { @Override public RequestServer.API_VERSION[] supportedVersions() { return SUPPORTS_V1_V2; } protected final H2OExistingKey _key = new H2OExistingKey(KEY); @Override protected Response serve() { try { Lockable.delete(_key.value()._key); } catch( Throwable e ) { return Response.error(e); } JsonObject response = new JsonObject(); response.addProperty(KEY, _key.toString()); return Response.redirect(response, StoreView.class, null); } }
Reviews Most Helpful This was our Christmas morning breakfast. I'm rating this from my son's point of view since he ate most of it! I used some herb bread I had made earlier in the week for the bread cubes, skim millk, and reduced fat cheddar to save some calories for later in the day. I loved that I could make this the night before and pop it in the oven early the next day. Thanks for posting!
distort transitive verb dis·tort·ed, dis·tort·ing, dis·torts To twist out of a proper or natural relation of parts; misshape: a reflection distorted in the moving water; a face distorted in misery. To cause to deviate from what is normal, reasonable, or accurate: “Though I knew how to translate exactly what she had told me, I realized that any translation would distort the deepest meaning of her message”(Richard Rodriguez). Electronics To cause distortion in (a signal or waveform, for example).
Q: Recommended Wiki that can be deployed on Heroku? I'm looking for recommendations for a Wiki that can be deployed on Heroku. A: I guess Instiki should work fine. But I haven't tested it.
Share On: Yeah that's usually what I do. I don't like wasting my time with taps and dies so I just drill a smaller hole and screw it in to cut threads or drill a hole that's too big and put a buttload of epoxy on. howabout you just tap the hole? if you just epoxy it it might eventually blow out. you can probably even tap it with the gauge and just put lots of teflon tape on it. so if you dont have a tap for it then i would suggest tapping it with the gauge then epoxying it You can drill a hole though a fitting and thread in a gauge. But do not just epoxy it in without threading it or it will more than likely shoot out at you with a vengeance. My personal recommendation would be to plumb it in to fitting that is designed for it. Like on my cannon. from what I heard from a plumber I know, you are actually not really supposed to tap into pvc or plastic in general. He said the threads will be very weak and that if you do you should put a bolt or fitting on the other side to help hold it in place. Its been proven that you can safely thread or tap fitting into PVC but you should only do it though a fitting and the pipe wall for maximum martial to thread and its always good to epoxy or my preference JB Weld the fitting as well. But I still plumb all of my cannons.
Q: Разбить строку по тегам и сохранить части в разные переменные У меня есть строка, части которой обрамлены в теги. Например: String str = "This text is not highlighted<hlTag>but this is</hlTag>" + "this isn't again<hlTag>and this is</hlTag>"; Мне нужно распарсить ее на части — те, что внутри тегов, должны сохранятся в одни переменные, а те, что вне тегов — в другие. Результатом должен быть масив с таких объектов. При этом важно учитывать порядок частей в исходном предложении. Должно быть как-то так: if highlighted, list.add(new HighlPart(text)), else list.add(new NonHighlPart(text)). Я написал два регулярных выражения, для частей в тегах и вне их и они работают: Matcher insideTagsMatcher = Pattern.compile(preTag + "(.+?)" + postTag).matcher(str); Matcher outsideTagsMatcher = Pattern.compile("^(.*?)" + preTag + "|" + postTag + "(.*?)" + preTag + "|" + "</hlTag>(.*?)$").matcher(str); Однако я не знаю, как учитывать порядок частей в исходном предложении при парсинге с помощью таких выражений. Прошу помощи. A: Использовать Entry необязательно. Можно просто создать свою обертку. final static String preTag = "hlTag"; final static String postTag = "/hlTag"; public static void main(String[] args) { String str = "This text is not highlighted<hlTag>but this is</hlTag>" + "this isn't again<hlTag>and this is</hlTag>"; String[] strings = str.split("<|>"); //if value true - in tag, else out tag List<Map.Entry<String,Boolean>> result = new ArrayList<>(); boolean inTag = str.startsWith("<"); for (String s: strings){ switch (s) { case preTag: inTag = true; break; case postTag: inTag = false; break; default: result.add(new AbstractMap.SimpleEntry<String, Boolean>(s, inTag)); break; } } } Результат:
When considering growth in the Christian life, one of the most important fuels to that growth come from the study of the Word of God. Inerrant and inspired, Scripture is real power for change in the Believer; and just behind the hearing of the preached Word, is the individual study of that Word. These ministries dedicate themselves to aiding the Body of Christ in that endeavor through teaching, exhortation, devotional material, and tools for Bible study. We hope you will find their ministry useful in your daily walk with Christ.
Connect Today peace activists from St. Pete for Peace and Veterans for Peace protested outside an event hosted by the St. Petersburg Area Chamber of Commerce, where the keynote speaker was Gen. David Petraeus. The groups were rallying to "support the troops who refuse to take part in war crimes,” as well as protesting Gen. Petraeus' appearance and the Chamber of Commerce's push to curtail civil liberties at BayWalk.
Across the Dnepr: Second Edition revisits a classic on a new system. Created from the ground up as an expansion for SSG’s latest acclaimed game engine, Kharkov: Disaster on the Donets, the Second Edition of Across the Dnepr includes Areas of Operations, the latest AI programming and multiple Mystery Variants to keep gamers guessing. The Across the Dnepr: Second Edition package also includes three free scenarios, Operation Husky, Operation Konrad and Kirovograd, also released with the latest update to Kharkov: Disaster on the Donets. Running on a proven wargaming engine hailed as “a real strategy heavyweight” by critics, these new and recharged scenarios illustrate just what can be done with the powerful editing tools included in SSG’s new series.
Vesicle-Based Assays to Study Membrane Interactions of Amyloid Peptides. The growing interest in membrane interactions of amyloidogenic peptides and proteins emanates from the realization that lipid bilayers and membranes play central roles in the toxicity and pathological pathways of amyloid diseases. This chapter presents experimental schemes designed to study membrane interactions and membrane-induced fibrillation of amyloid peptides.
Q: Undefined response in first api call in ionic3 I am trying to implement nested api calls in ionic3 submitLoginForm() { var username = this.formData.value.username; var password = this.formData.value.password; var bodyjson; var userId; this.ApidataService.logincheck(username,password).subscribe(data => { this.logindetail = data; bodyjson = JSON.parse(this.logindetail._body); userId = bodyjson.user.id; if( userId != undefined){ this.ApidataService.userdata(userId).subscribe(data => { this.userInfo = data; }); } console.log(userId); }); console.log(this.userInfo); } Now when I call this function the nested api returns undefined for the first call and then from the second call onwards it returns proper values however when I try to log the argument that is being sent to the api I notice that the correct value is passed each time. I believe that this is due to some synchronization issues but am unable to figure out the issue and the solution for the same. A: You can use flatMap here.It seems you don't need to retrieve results of both requests hence this should work for you. import { Observable } from "rxjs/Observable"; import 'rxjs/add/observable/flatMap'; Then: this.ApidataService.logincheck(username,password).flatMap( (data) => { this.logindetail = data; bodyjson = JSON.parse(this.logindetail._body); userId = bodyjson.user.id; if( userId != undefined){ return this.ApidataService.userdata(userId); }else{ return Observable.empty(); } }).map((res: Response) => res ? res.json() : {}) .subscribe(data => { this.userInfo = data ? data : {}; }); You can read more about flatMap here
In today's business environment, organizations and/or businesses utilize computer systems that are networked and are coupled to numerous devices and have numerous processes that are run on these systems. Managing these networked computer systems is a huge undertaking given that administrators who support these systems have to keep track of all the configurations of these numerous devices and the numerous processes that run on the systems to ensure that the systems are working properly. As such, there is a need for an efficient way to track configuration information pertaining to a computer system in order to ensure that the system is working at an acceptable level, without negatively impacting the performance delivered or expected of the computer system.
Q: How to set display the indentation symbol when wrapping a new line in Vim,when input it will disappear Does anyone knows how to set this? Vim will display the indentation symbol when wrapping a new line, When input it will disappear. A: These options will make sure trailing spaces are displayed as dots (or whichever other character you set instead). As you say, the dots disappear once another character is entered, as the spaces are then not trailing any more. Look through other listchars options as well, if you want to see e.g. tabs or other cool stuff. set listchars=trail:· set list (See :help 'listchars', :help 'list')
Today, we have a lot of Marvel news coming through about their All-New All-Different Marvel relaunch in October. Such as Howling Commandos Of SHIELD by Frank Barbiere and Brent Schoonover for October. We knew it was coming, just not the SHIELD bit… and we seem to get a revived Dum Dum Dugan along with it! Well, it is a supernatural series… made up of Googam, Man-Thing, Hit Monkey, Dum Dum, Teen Abomination, Elsa Bloodstone, Werewolf By Night, Manphibian and a new zombie – could it be Thunderbolt Ross? Agent Sitwell? The tagline? "To fight the monster of the world… we need the monsters of the night." Read the rest of our coverage with the #MarvelOctober tag on Bleeding Cool…. UPDATE: With the image from IMGUR, hat tip to ilikepie on the CBR boards.
A mild-mannered Manhattan computer programmer (Dunne) finds himself sucked into a sinister and surreal night world when he ventures south of Houston. The rogues’ gallery of weirdos populating Scorsese’s black-comic yuppie nightmare includes Cheech & Chong, Catherine O’Hara as a crazed Mister Softee ice cream truck driver, and Garr as an unhinged, bouffant-sporting waitress. BAM Membership Go to the movies just once a month and a BAM membership pays for itself.
Donald Trump again repeated the debunked claim that president Obama wiretapped Trump Tower during the election, but he abruptly ended his interview with CBS News' John Dickerson when he was asked to defend his lie. The White House has spent months trying to backstop Donald Trump's baseless claim that President Obama wiretapped Trump Tower, including a ham-fisted plot to obstruct the House Intelligence Committee's investigation that led the committee's chairman to recuse himself. In an exclusive Oval Office interview with CBS News' John Dickerson, Trump brought the issue up again, only to abruptly end the interview when Dickerson pressed him. Dickerson asked Trump about his contacts with President Obama during the transition, which led Trump to blame Obama's imaginary surveillance for the souring of their relationship. But Trump grew uncomfortable when Dickerson zeroed in on Trump's character attacks on Obama: Advertisement Loading... DICKERSON: Did President Obama give you advice that was helpful? TRUMP: Well, he did, but after that there were difficulties. So, it doesn't matter to me. You know words are less important to me than deeds. You saw what happened with surveillance, and everybody saw what happened with surveillance. DICKERSON: Difficulties how? TRUMP: Well, you saw what happened with surveillance, and I think that was inappropriate. DICKERSON: What does that mean? TRUMP: You can figure that out yourself. DICKERSON: The reason I ask is you called him "sick" and "bad." TRUMP: Look, you can figure it out yourself. He was very nice to me with words, but, and when I was with him, but after that there has been no relationship. DICKERSON: But you stand by that claim about him? TRUMP: I don't stand by anything. I just, you can take it the way you want. I think our side has been proven very strongly, and everybody is talking about it. And, frankly, it should be discussed. I think that is a very big surveillance of our citizens. I think it's a very big topic, and it's a topic that should be number one, and we should find out what the hell is going on. DICKERSON: I just wanted to find out. You're the president of the United States. You said he was sick and bad because he tapped your— TRUMP: You can take it any way you want. DICKERSON: But I'm asking you, you don't want it to be fake news, I want to hear it from President Trump. TRUMP: You don't have to ask me, you don't have to ask me. DICKERSON: Why not? TRUMP: Because I have my own opinions, you can have your own opinions. DICKERSON: I want to know your opinion. You're the president of the United States. TRUMP: That's enough. Thank you. Thank you very much. The clip is being played for maximum drama, as evidenced by the fact that CBS held onto it until Monday morning rather than broadcast it on Sunday's Face the Nation, but they appear to have missed the significance of the exchange. Trump's feud with Obama is political poison, and his flight from this interview appears to show that he knows it, but Trump cannot let go of his obsession with trying to turn this lie into truth. Trump killed this interview over a subject that he brought up himself because the facts of what he actually said cut through the cloud of nonsense that he wants Americans to "figure out" for themselves. Multiple reports and investigations have revealed that Trump's claim of wiretapping is completely unfounded, but as with so many Trump lies, he refuses to let the truth get in the way of his absurd claims and baseless narratives.
"Please, don't go! I... I will change! I will make sure you will have the best of time with me and.... and... I will even make those things you wanted me so badly to do even if they were...... lewd." "Uh... Fluttershy... w-what are you talking about...." "I... I will even share Rainbow Dash with you!" "Wait! What?!" "W-will you stay?" "Just wait a damn minute!" "What is it Dashie?" "I'm not a toy that you can share with someone else! Especially that weird one.... No offense." "B-b-but I heard that you liked to do daring things..." "Yeah! But not that kind of daring!" "Oh? But I thought that you liked to be called to be awesome... and my friend here told me how awesome you were. You are not going to turn down a fan do you?" ".... Uh... Well, I... Uh... " Dash's face... I love that expression you gave her. Wonderful work
Spodic soil Spodic soils refer to a diagnostic subsurface horizon defined by the illuvial accumulation of organic matter. Iron oxide can be present or absent, and the soil is generally derived from a sandy parent material. Spodic may also refer to the taxonomic soil order spodosols. Category:Pedology Category:Types of soil
WASHINGTON—President Barack Obama this week will appoint Elizabeth Warren to a lead role setting up the new Bureau of Consumer Financial Protection, two Democratic officials said, a move that will allow the White House to avoid a messy Senate fight over her role. Ms. Warren, currently a professor at Harvard Law School, will be named an assistant to the president and special advisor to Treasury Secretary Timothy Geithner in charge of launching the new agency and setting its mission. She was a candidate to be the agency's first...
'use strict'; var test = require('tape-catch'); var assert = require('assert'); var GulpUglifyError = require('../lib/gulp-uglify-error'); var td = require('testdouble'); var minify = require('../lib/minify'); test('stream Vinyls should emit error', function(t) { var uglify = td.object(['minify']); var logger = td.object(['warn']); var file = td.object(['isNull', 'isStream']); var subject = minify(uglify, logger)({}); td.when(file.isNull()).thenReturn(false); td.when(file.isStream()).thenReturn(true); assert.throws(function() { subject(file); }, GulpUglifyError); td.reset(); t.end(); });
In utero sonography of genitourinary anomalies. Congenital anomalies of the genitourinary system represent the commonest fetal anomaly. The sonographic findings in hydronephrosis, multicystic kidney (dysplastic kidney), polycystic kidney, and renal agenesis are reviewed.
Packaging machines capable of applying labels to cartons or other containers have been in use for many years. In general, they perform satisfactorily, applying labels or other sheets of indicia to containers at a reasonably rapid rate and in accordance with the range of accuracy demanded by the operation. Marketing strategies in some areas, such as the beverage field, for example, require a coupon to be placed in the carton as part of a contest or lottery. A coupon must be in every carton, to enable each purchaser of a carton to obtain a coupon. This means that it must be located in all cartons at substantially the same point. If it is not, it would be an indication that the coupon is either being placed at locations in the carton slightly progressively spaced from each other, signifying that at some point in the packaging operation a carton will pass through the application station without receiving a coupon, or is failing to be applied to each carton. In either case the coupon application operation would be unsatisfactory. This type of operation is especially difficult to carry out in the beverage industry because of the extremely high speeds at which cartons are sent through the packaging machines. In such an operation coupons would be applied to a carton blank before the blank has been wrapped around the beverage containers to form a carton. Because of the high speeds involved and the need to attach a coupon to each carton blank, apparatus which utilizes a simple rotating arm to grip and deposit a coupon would not be satisfactory. Such equipment does not have the degree of reliability required by the operation because the initial contact of the coupon with the substrate is necessarily at an angle to the substrate due to the arc through which the coupon gripping means travels. It would be more reliable if the coupon could be presented to the blank in parallel relationship to the blank so that the coupon fully engages the blank at initial contact. Such an operation with presently available equipment would not, however, be able to keep up with the speeds of modern packaging machines. It would be desirable to have an economical but effective coupon placer available to use in the manner described.
She thinks she’s soooo smart. But I’m the most smarter. Javis
Wear simulation strategies for reverse shoulder arthroplasty implants. Reverse total shoulder arthroplasty is a clinically accepted surgical procedure; however, its long-term wear performance is not known. The purpose of this work is to review wear simulator testing of reverse total shoulder arthroplasty, to develop a wear simulator protocol for reverse total shoulder arthroplasty, and to test it by performing a pilot study. The review of wear simulator testing in the literature revealed considerable variation in protocols. A combination of our own cadaveric testing and those of other research groups helped in determining the magnitude and direction of joint loading for the development of the present protocol. A MATCO orbital-bearing simulator was adapted using custom fixtures to simulate a circumduction motion of the shoulder under mildly adverse conditions, and a pilot study gave wear rates within the wide range found in the literature. Arguments were presented in support of the currently developed protocol, but it was also suggested that, rather than rely on one protocol, a series of simulator wear protocols should be developed to fully test the implant wear performance in reverse total shoulder arthroplasty.
Universal-EMI Merger Hinges on FTC Approval […]“The major labels are incredibly good at extracting maximum value from whatever they touch, and with only three left, they’ll be able to dictate the terms of the digital marketplace in ways we’ll be feeling for years to come,” said Casey Rae, deputy director of the Future of Music Coalition, a national nonprofit that opposes the deal. “It’s always been conventional wisdom that if the EU accepted this deal, that the United States would mirror that,” Rae said. “But there’s not really going to be any number of divestitures that will make this a groovy deal.
In the manufacture of textiles, and in particular bedding, the sewing operations traditionally have been extremely labor intensive, manual operations that generally require highly skilled workers for cutting, sewing, finishing and assembling textile articles such as mattresses, foundation sets or other, similar articles. The more labor intensive the sewing operation and the greater the skill required of the operator(s) to cut, finish and assemble the components thereof, the greater the cost and the slower the production of such articles. For example, in the manufacture of mattresses, and especially in forming pillow-top or Euro-top type mattresses, a top panel that generally includes multiple fabric and/or cushion/foam layers, generally is cut to a desired size or length, such as for a king, queen, twin or other size mattress, and then is generally sewn to a flanging material. The panel then is applied over a spring set for the mattress, with the flanging material being pulled down over the side edge of the spring set and hog-ringed or stapled to a spring to secure the top panel of the mattress thereto. Thereafter, a border typically is attached about the sides of the mattress, covering the flanging material and springs, and a lower panel is attached, after which a tape edge is applied along the edges or seams between the top and bottom panels and the border. Currently, there exist automatic systems that enable workers to measure, cut and sew borders, attachment gussets and other parts of a mattress or foundation. The drawback of such automated equipment, however, is that it typically has been limited in the type and number of sewing operations that can be performed. In addition, many operations in a bedding plant are often separated or spread apart so that the components typically are formed, cut and then compiled or transported to the next station for further processing or for storage until they can be finished and/or attached to other bedding components as needed. Such separation of the sewing or finishing stations is often due to the limited amount of space in the plant and ultimately leads to manufacturing inefficiencies. Accordingly, it can be seen that a need exists for a system for finishing panels such as for mattresses, foundations, etc., that addresses the foregoing and other related and unrelated problems in the art.
Recent Posts knowledge is power Menu Widgets Search Lunar – a UNIX security auditing tool LUNAR is a open source UNIX security auditing tool written in Shell script. It offers the audit for various operating systems like Linux (RHEL, CentOS, Debian, Ubuntu), Solaris and Mac OS with less requirements. Services like Docker and AWS are also supported.
Q: Which software is used for producing those schematic sketch? It's a while that in the internet I'm finding schematics with hand-made pencil drawing style. I've tried to search a little bit for the software used to make them but I didn't find it. Any advice? Here some examples: A: Those look like they were actually drawn with either a schematic stencil or very carefully by hand. "By hand" is something people used to do before software. With practice, the art can be learned, but that's time consuming and lame. Just make a schematic in Visio and then apply a sketch filter with Photoshop.
The Light of Taurus “Moonlight drowns out all but the brightest stars.” J.R.R. Tolkien With the super moon in Taurus and the sun in Scorpio as we come to the end of the ascension cycle, this full moon offers tremendous support for those ready to leap up to a heroic time line, shining as the bright star they came here to be. The gravity of this tender Taurus influence may have you feeling sleepy due to the nurturing gentle supportive energy it provides. Like a guardian angel embracing us through a difficult shift, Taurus asks us to feel courageous and fortified as fiery Scorpio shines a light on aspects of our lives we must change right now. With another supermoon arriving in December and January, nudging us toward upgrades in all areas of life, we will benefit by getting a head start this month. Close your eyes and envision your heroic self. Then open your eyes and stand in front of a mirror willing to be completely honest about all aspects of your experiences. What needs to go and what needs to be upgraded for you to live the life your soul intended? For some this could mean saying goodbye to an old relationship that no longer aligns with your level of integrity or expanding consciousness. For others it may be cleaning out your closet and giving away everything your heroic self would never wear. For others it may be embarking upon a new career that honors your true talents. For many it may be discarding negative self talk, fear or dark influences in your life. The spot light of this super moon encourages you to address all that is not light in your life, to open a field of higher possibilities in the future. This is a rare opportunity, and the beginning of eradicating darkness or shadow from within the self and, on a larger scale, globally.
Metacontrol of hemispheric function in human split-brain patients. Four commissurotomy patients were tested for ability to match tachistoscopically presented stimuli with pictures in free vision, according to either structural appearance or functional/conceptual category. Patients were given ambiguous, structural, or functional instructions on any given run to trials with simultaneous double stimulus input to the two cerebral hemispheres. With ambiguous instructions, appearance and function matches were performed by the right and left hemispheres, respectively. When instructions were specific, appearance instructions tended to elicit appearance matches and right-hemisphere control. When function instructions were given, left-hemisphere control and function matches tended to be elicited. In three of the four patients, however, there was a significant number of dissociations between controlling hemisphere and strategy of matching.
One of the greatest influences in Parcells' life was his New Jersey high school basketball coach, Mickey Corcoran, who instilled in Parcells the belief that he had to help those who worked for him. As a result, their fingerprints are everywhere, from the NFL's longest-tenured coach to some of its newest. There is little question that the greatest coach of the current generation is Bill Belichick, who has won five Super Bowls in New England. He won two more while he was Parcells' defensive coordinator for the Giants. The Patriots will face the Chargers this Sunday. Chargers Coach Anthony Lynn is descended from both trees -- Walsh brought up coaching to him when Lynn was a player with the 49ers and Walsh was a front-office executive and then Lynn coached for Parcells in Dallas.
Chip manufacturers provide the Thermal Design Power (TDP) for a specific chip. The cooling solution is designed to dissipate this power level. But because TDP is not necessarily the maximum power that can be applied, chips are operated with Dynamic Thermal Management (DTM) techniques. To avoid excessive triggers of DTM, usually, system designers also use TDP as power constraint. However, using a single and constant value as power constraint, e.g., TDP, can result in significant performance losses in homogeneous and heterogeneous manycore systems. Having better power budgeting techniques is a major step towards dealing with the dark silicon problem. This paper presents a new power budget concept, called Thermal Safe Power (TSP), which is an abstraction that provides safe power and power density constraints as a function of the number of simultaneously active cores. Executing cores at any power consumption below TSP ensures that DTM is not triggered. TSP can be computed offline for the worst cases, or online for a particular mapping of cores. TSP can also serve as a fundamental tool for guiding task partitioning and core mapping decisions, specially when core heterogeneity or timing guarantees are involved. Moreover, TSP results in dark silicon estimations which are less pessimistic than estimations using constant power budgets.
Q: Fill up items from parent sale order to wizard My goal is to get all items from parent quotation, to the wizard window. I don't know i do this right way or not, but for now i can get all the products from quotation, and don't understand how to fill them into my wizard items line. Quotation example Wizard on that quotation I remove the pieces of code which not matter. from odoo import fields, models, api import logging class back_to_back_order(models.Model): _name = "back.to.back.order" _description = "Back to Back Order" line_ids = fields.One2many('back.to.back.order.line','back_order_id', 'Order Lines', required=True) def get_items_from_quotation(self, context): items = [] quotation_id = context['id'] current_quotation = self.env['sale.order'].search([('id','=',quotation_id)]) if quotation_id == current_quotation.id: for line in current_quotation.order_line: item = { 'product_id': line.product_id, 'qty': line.product_uom_qty, 'price': line.price_unit, 'subtotal': line.price_unit*line.product_uom_qty } items.append(item) class back_to_back_order_line(models.Model): _name = "back.to.back.order.line" _description = "Back to Back Order" product_id = fields.Many2one('product.product', 'Product') back_order_id = fields.Many2one('back.to.back.order', 'Back Order') qty = fields.Float('Quantity') price = fields.Float('Unit Price') subtotal = fields.Float('Subtotal') A: Firstly, if you are creating a wizard, then it's very likely you should be using models.TransientModel and not model.Model for your classes. class back_to_back_order(models.TransientModel): ... Wizard records are not meant to be persistent; they are automatically deleted from the database after a certain time. This is why they are called transient. You mentioned you are already able to get the Sales Order Lines within your wizard, but you aren't sure how to fill your Back to Back Order Lines with the data. One2many and Many2many use a special "commands" format to manipulate the set of records stored in/associated with the field. I originally found these commands on another answer but they are also covered in the Documentation. As for your specific application, you should be able to simply create your back.to.back.order.line records and they will be linked as long as you provide the back_order_id. @api.multi def get_items_from_quotation(self, context): self.ensure_one() b2b_line_obj = self.env['back.to.back.order.line'] quotation = self.env['sale.order'].browse(context['id']) if quotation: back_order_id = self.id for line in quotation.order_line: b2b_line_obj.create({ 'back_order_id': back_order_id, 'product_id': line.product_id.id, 'qty': line.product_uom_qty, 'price': line.price_unit, 'subtotal': line.price_unit * line.product_uom_qty, })
IIHS TEAM LEADER – Community Helps Network is an accredited agency through CQL in the behavioral health service industry. We are currently recruiting for a Master's level, licensed professional to lead an Intensive In-Home Services team in Guilford, Randolph and Alamance Counties. IIHS is designed to prevent out of home placement for children with behavioral problems. Licensed or Qualified Professional is responsible for the following (but not limited to):• Facilitates the Comprehensive Clinical Assessment to diagnose the underlying issue• Coordinates and oversees the initial and ongoing assessment activities• Convening the Child and Family Team for person-centered planning• Completing the initial development and ongoing revision of the Person Centered Plan and ensuring its implementation• Consulting with identified medical (for example, primary care and psychiatric) and non-medical (for example, DSS, school, DJJDP) providers, engaging community and natural supports, and including their input in the person-centered planning process• Ensuring linkage to the most clinically appropriate and effective services including arranging for psychological and psychiatric evaluations• Providing and coordinating behavioral health services and other interventions for the youth or other family members with other licensed professionals and Child and Family Team members.• Monitoring and documenting the status of the recipient’s progress and the effectiveness of the strategies and interventions outlined in the Person Centered Plan
Q: Is there a proverb in English to convey the meaning "Attempting to catch a flying bird by accidentally releasing the one in hand."? Attempting to catch a flying bird by accidentally releasing the one in hand. For example, pursuing other attractive objects for getting more benefit but accidentally losing the benefits from the existing owned objects. Is there such a proverb in English with the above meaning? A: A bird in hand is worth two in the bush. Used to say that it is better to hold onto something one has than to risk losing it by trying to get something better. [Merriam Webster] Grasp all, lose all also conveys the idea. One who wants everything may lose it all. [Wikitionary]
How to Identify and Tell Your Most Powerful Stories When I ask executives what their favorite speech is, Steve Jobs’s Stanford commencement address is always at the top of the list. Many think of Jobs’s talk as their favorite because it is incredibly moving — thanks to the stories it contains. Execs love to hear talks like this, but few are comfortable delivering them. Why? Because great stories expose our flaws and our struggles. This is what makes them inspiring, and not sharing them is such a missed opportunity to connect with your audience. When my firm helps executives craft talks that will persuade and forge bonds with listeners, we often have to help them recall or dig up latent stories that come from a deep place of personal conviction. Over the years, we’ve used effective techniques for unearthing these personal stories — which can then be cataloged, added into communications, and effectively delivered. Here are some of the techniques we rely on again and again: Trigger Stories Through Memory Recall Most people try to recall memories chronologically when they’re developing a story for a talk, but there’s another way to conjure up deeper, dormant stories. Sit down with a notepad and think through the nouns that are important to you — the people, places, and things that have shaped your life. (Yes, I really mean sit down with a notepad and paper — studies show that you’re more likely to be creative when you’re writing than when you’re typing.) People. Write your name in the center of the paper, and start drawing out types of relationships: family, friends, coworkers, and so on. Each time you draw a connective line between you and someone else, think through the relational dynamics and emotions. There’s a story in there! Places. Get as specific as you can in recalling places that matter to you: the middle school hallways, the cabin at camp, the soccer field, that mountain, the ophthalmologist’s office, the red hatchback — whatever. Use spatial recollection to move through each location, neighborhood, and room. Retracing your movements will trigger scenes, sounds, and scents. It will dislodge memories that will reveal to you long forgotten events and interactions. Things. Take note of objects or items that have symbolic meaning in your life: gifts, awards, books — any items you’ve loved. Sketch pictures of these symbols and recall what makes them emotionally charged. These items don’t hold meaning for others, but they do for you. Why? When you’re done with the above exercises, look at the story kernels you’ve come up with and write one-line summaries of them. Some of the tales you’ve accessed may be too personal to share, but you may uncover some anecdotes that will become the basis of an important story you can return to again and again. Create a Story Catalog Once you’ve curated a host of stories that you can use in various types of situations, take your list and create a personal story catalog that you can turn to. Create and manage this list in the way you work. It could be a journal or a spreadsheet with summaries. You can use categories to sort by situation, theme, mood, or moral. Use whatever categorization makes the most sense for you. Many people pull from the most poignant part of their story catalog when they’re staring down mortality (like Jobs was). Instead of waiting until your hand is forced, take stock of the important stories in your life right now, and catalog them. Having these stories easily accessible to you without an accompanying crisis can help you to live life more fully and have a greater impact on others. Choose Stories with Your Audience in Mind To choose a story for your talk, remember who will be receiving it. Some of the stories are going to be hilarious and crack people up. Others are going to bring tears to their eyes or give them deep-seated hope. The same stories will evoke a different response from different people. One story that brings awe to one person could incite rage in another. When you’re looking through your bank of stories to find one that is right for your talk, consider who’s in your audience and what they care about. Carefully consider their values, goals, and interests, and then decide which of your stories fits them best. For example, when I speak to female audiences, I get more personal and raw by telling childhood stories where the odds were stacked against me, which encourages the ladies to have resilience in overcoming hardships. I don’t tell those same stories when I speak to a buttoned-up group of men. The men, instead, get stories about my quest for empathy. When traveling to Asia, I tell stories of failure. The structure of Eastern stories is different from that of Western stories. In Western stories the protagonist almost always overcomes their hardships; Eastern stories are mostly cautionary tales where the protagonist fails and you learn from their mistakes. Learn what market pressure may be on the minds of your audience. Research what’s going on in their industry, find their blogs, and recent news stories about their organization. Find out what they need to overcome. The next time you need to communicate, ask yourself why you are uniquely qualified to be the audience’s guide. Identify stories from when you were on a similar journey, encountered comparable roadblocks, and emerged transformed — and muster the courage to share them. Telling a personal story from a place of conviction is the most powerful communication device you have. That’s what the greatest and most beloved communicators do. They risk transparently revealing their vulnerabilities so that they can be mentors and guides who relate to people from places of universal needs and hardships. They connect to the audience and remind us that we are all human.
The Young Lions Academies help rising young talent fast-track their careers and become the next generation of industry leaders. They combine inspiring classroom sessions with world-class speakers, hands-on learning and coaching from industry legends.Mark Tutssel, Global Chief Creative Officer of Leo Burnett Worldwide, described the experience as "five years learning in five days". Prepare to be inspired. Prepare to change your life.
Q: JSON to Persistent Data Store (CoreData, etc.) All of the data on my application is pulled through an API via JSON. The nature of a good percentage of this data is that it doesn't change very often. So to go and make JSON requests to get a list of data that doesn't change much didn't seem all that appealing. I'm looking for the most sensible option to have this JSON saved onto the iPhone in some sort of persistent data store. Obviously one plus of persisting the data would be to provide it when the phone can't access the API. I've looked at a few examples of having JSON and CoreData interact, for example, but it seems that they only describe transforming NSManagedObjects into JSON. If I can transform JSON into CoreData, my only problem would be being able to change that data when the data from the API does change. (Or, maybe this is all just silly.) A: For some conceptual reading, you may want to read documentation about Efficiently Importing Data, especially "Find-or-create". See a previous similar question. Getting JSON and saving it as Core Data locally is highly reasonable. How I do it is in two stages: convert JSON to native Cocoa data types (NSDictionary and NSArray) convert NS* into Core Data object Two good frameworks for converting between JSON and NS* are json-framework and TouchJSON. The below example is based on json-framework. Let's say you get an array of some objects from JSON. You'd then do: NSArray *objects = [jsonStringYouGotFromServer JSONValue]; for (NSDictionary *_object in objects) { CDObjectType *cdObject = [self cdObjectFromDictionary:_object]; // cdObject is now a full-featured Core Data object } the cdObjectFromDictionary might be something like this: - (CDObjectType *) cdObjectFromDictionary:(NSDictionary *)dict { CDObjectType *object = [NSEntityDescription insertNewObjectForEntityForName:@"Object" inManagedObjectContext:moc]; NSDictionary *attributes = [[NSEntityDescription entityForName:@"Object" inManagedObjectContext:moc] attributesByName]; for (NSString *attr in attributes) { [object setValue:[dict valueForKey:attr] forKey:attr]; } return object; } The above assumes that the attribute names in your JSON and Core Data model are the same and that the data types match (i.e JSON numbers are Core Data NSNumbers etc). The above code works nicely even if the model changes. The above code does not consider how to test if the object already exists locally, but you can imagine how to add that. You must have an object ID of some form in your model, and you can see if the object exists locally before adding it, or whether existing object needs to be updated.
How EA's 'Silent Treatment' Pushed The SimCity Story Into The Background from the PR-takes-the-Fifth dept The SimCity debacle that exploded all over the web in March has quietly faded into the background. EA's claims that the game was always meant to be a quasi-MMO and that servers were handling a majority of in-game calculations have become a lot less incendiary now that servers are handling the load competently. The outrage has faded, replaced with pockets of disgruntled users, most of whom are upset with advertising-as-DLC and major updates that make the experience worse. Why did this fade so fast? One reason is the attention span of the web (heavily generalized, and I am including myself in this "web" group). With a million other things begging for attention, the flames sputter out and the pitchforks go dull. But there's more to this than the net's lack of focus. EA itself helped extinguish these fires by doing nothing more than shutting down its outgoing communication. John Walker at Rock, Paper, Shotgun dives into this "non-story" created by EA's PR team's decision to simply drop the discussion. When RPS first broke the story [that servers weren't handling most of the calculations], only a few other gaming sites picked up on it. It was a big story, unquestionably, so why was it left alone by so many? That breaks down into two parts. Firstly, and most importantly, the story was based on an anonymous source. We of course know who the source is, and verified it until we were very comfortable running the story. But that wasn’t possible for other sites – they had the choice of running the story based on a “rumour” from RPS, or not at all. And that’s understandable – repeating rumours is often the gaming press at its worst, and with no means to verify our story, repeating it could have been risky. It could easily have led to legal threats being thrown all over. Which brings us to the second part – they needed some sort of confirmation, or at the very least a response, from EA to offer ‘balance’. Not reporting the story couldn’t be immediately dismissed as capitulation, being in the pocket of EA, cowardliness, etc. (Not that it excludes it, of course.) What most sites would have done was immediately fire off an email to EA and Maxis asking for them to provide comment. We, of course, had done the same. And here’s where the power of silence played its first part. EA and Maxis simply ignored all those emails. Sites may have received a, “We’re waiting for a response,” from their regional PRs, but that was it. And so if you’re running GamePow.com, and you’ve decided you can’t run RPS’s anonymously sourced story without giving EA a response, ta-da – no story on GamePow. And EA knows that. Then on the 16th March, Maxis’ Senior Director of Worldwide Communications, Erik Reynolds, tweeted me out of the blue. “No response was my fault not UK PR folks or Maxis. Not a PR tactic, just had to unwind the complex issues and gather right info” Silence is a powerful weapon in the industry. The mad truth is, when it comes to gaming controversies, if you ignore it it will go away. This article is a fairly futile attempt to not let it, and to make sure our readers know that EA and Maxis never spoke to us, never responded to any of our questions, and never sent so much as a statement. Silence is by far the most effective means of spreading silence. With a press so frequently under the spell of the belief that one must offer ‘balance’ to report anything, stories will simply go unreported if one side refuses to comment. [Seeking comment] effectively boils down to asking for permission to run a negative story about a company. Journalists need to pull their heads out of their arses and start having the integrity to run stories they know to be valid, and then asking the corporation for comment. Thank you for reading this Techdirt post. With so many things competing for everyone’s attention these days, we really appreciate you giving us your time. We work hard every day to put quality content out there for our community. Techdirt is one of the few remaining truly independent media outlets. We do not have a giant corporation behind us, and we rely heavily on our community to support us, in an age when advertisers are increasingly uninterested in sponsoring small, independent sites — especially a site like ours that is unwilling to pull punches in its reporting and analysis. While other websites have resorted to paywalls, registration requirements, and increasingly annoying/intrusive advertising, we have always kept Techdirt open and available to anyone. But in order to continue doing so, we need your support. We offer a variety of ways for our readers to support us, from direct donations to special subscriptions and cool merchandise — and every little bit helps. Thank you. –The Techdirt Team EA's decision to go silent makes perfect sense. Anything itsaid about SimCity's failings had been directly contradicted by players' experiences. Anything that wasn't instantly refuted by modders poking around in the code was couched in spectacularly clueless PR speak that gathered instant derision. At some point, EA wisely decided to cut its losses and simply freeze out the gaming press.When RPS attempted to get a response from EA on its debunked claim that its servers were doing most the calculations, the freeze set in. On March 12th (the day the story ran), Maxis claimed a response would be arriving "shortly." Another non-response about the pending response arrived the next day. Walker and RPS didn't hear from anyone at Maxis for the next four days.Reynolds then tried to dodge making a statement by claiming EA didn't want to keep repeating the same information it had been handing out since last year's Game Development Conference (where it claimed the internet connection would only be needed to boot the game, at which point players could take their games offline). Walker pointed out that EA's story had actually changed several times since the GDC . At this point, the Maxis spokesman shut down communication, apologizing for the lack of response, but never actually bothering to respond.EA/Maxis played it smart by simply refusing to comment on the stories. Once the (disastrous) PR efforts were shut down, all gaming sites could do was report their own observations without comment from the game's producers. Love or hate EA (most of us tend towards the latter), it realized something many entities that have tangled with the internet (and lost) haven't: if you don't give writers any ammo, they'll stop shooting.The corollary to the Streisand Effect is "the only way to win is not to play." Many entities fail to realize this. EA figured it out. All it had to do is sit back and let the internet entertain itself by pouncing on month's old statements and regurgitating the most recent missteps by the PR team. Many of those in the gaming journalism field still strive for accuracy and balance, but in doing so, they play right into the hands of recalcitrant developers and PR teams.This is why some sites have devolved into little more than dumping grounds for press releases. This is all some companies are willing to throw the public's way, a strategy that buries controversy and ensures a "united front" of "journalism" that skews in a favorable direction. Walker says he has written this article to point out how EA froze the press out and got away with it, turning an antagonistic situation into nothing more than internet background noise. It sold over a million copies of an intentionally broken game and is now using its lack of interaction to pave over the ugliness in its recent past. Allowing a company to gloss over its failures with a finger over its lips is unacceptable. Here's Walker's advice to game journalists who are used to seeking comments before going to press.This doesn't mean publishing every wild rumour and running irresponsible articles based on little more than hearsay. What thismean is that journalists should be confident enough in their own efforts (and research) to run unfavorable pieces without feeling a confirmation from the subject's PR team is needed before the post can be considered valid.This is just as true with the non-gaming side of journalism. If the subject has refused to comment, state as much and move on. Silence is an effective weapon but it can be turned against those who wield it in hopes of muting criticism. Filed Under: simcity Companies: ea, maxis
Q: How to manage a pageview DB I am interested in tracking my users' pageviews on my site. Being that traffic is expanding very quickly, I am worried about robots, etc, and I also want to be able to use tracked data live to alter the user experience (so, while I do use Google analytics, it does not serve this purpose). What is the most efficient way to store my information? Here is my current theory, please critique and/or offer more ideas:) Strategy: Gather ip, page url, browser/version, timestamp, referrals from client on load and insert a row into MySQL. Determine some interval based on time or performance to "archive" the table and either delete rows, or create a new one via cron. Is this stable? A: Sounds reasonable. You should make that table MYIASM and not have any indexes if you want inserts to be fast as possible.
FROM ubuntu:bionic RUN apt-get update && \ apt-get install -y curl tmux emacs net-tools ssh sudo # Create user account for the attacker. RUN adduser attacker --disabled-password # Copy the exploit PoC into the attacker's home directory. COPY post.sh /home/attacker/post.sh RUN chown attacker:attacker /home/attacker/post.sh # Switch over to the 'attacker' user, since root access is no longer required USER attacker WORKDIR /home/attacker
Ask HN: What's in your .bash_aliases? - vasco ====== fendent alias sudo='sudo ' allows you to use sudo with your aliases, where you normally wouldn't
The eye contact effect: mechanisms and development. The 'eye contact effect' is the phenomenon that perceived eye contact with another human face modulates certain aspects of the concurrent and/or immediately following cognitive processing. In addition, functional imaging studies in adults have revealed that eye contact can modulate activity in structures in the social brain network, and developmental studies show evidence for preferential orienting towards, and processing of, faces with direct gaze from early in life. We review different theories of the eye contact effect and advance a 'fast-track modulator' model. Specifically, we hypothesize that perceived eye contact is initially detected by a subcortical route, which then modulates the activation of the social brain as it processes the accompanying detailed sensory information.
Featured Brokers Featured Associations Featured Events Featured Chandleries Featured Sailmakers Featured Blogs Puspure and Dukarska Team Up to Take Sculling Bronze Sanita Puspure and Monika Dukarska battle it out with Lithuania in the A Final at the Memorial Paolo d'Aloja #Rowing: Sanita Puspure and Monika Dukarska teamed up in a double to take a bronze medal at the Memorial Paolo d’Aloja in Italy today. The Ireland crew led early on and stayed in the mix as Lithuania took over the lead. In a dash for the line, Ireland and South Africa fought it out for silver, with the South Africans just taking it. Ireland had earlier taken a medal in the single sculls through Emily Hegarty, who also took bronze. About The Author Rowing & Canoeing Correspondent We've got a favour to ask More people are reading Afloat.ie than ever thanks to the power of the internet but we're in stormy seas because advertising revenues across the media are falling fast. Unlike many news sites, we haven’t put up a paywall because we want to keep our marine journalism open. Afloat.ie is Ireland's only full–time marine journalism team and it takes time, money and hard work to produce our content. So you can see why we need to ask for your help. If everyone chipped in, we can enhance our coverage and our future would be more secure. You can help us through a small donation. Thank you.
Similarities between human and rat leukocyte elastase and cathepsin G. Rat is a likely test animal for determining the efficacy of proteinase inhibitor drugs directed toward human leukocyte elastase and cathepsin G. We therefore sought to assess and compare relevant properties of both human and rat leukocyte elastase and cathepsin G. Some differences between the pairs of proteinases from the two species were found, however both pairs of enzymes displayed comparable specificity toward various natural (plant and animal) proteinase inhibitors and also toward specific peptide substrates and a serine proteinase-specific reagent. Such overlapping specificity implies similarity of reactive center topography and sequence homology around the extended substrate/inhibitor binding regions of these proteinases. This apparent homology leads us to conclude that a pharmacologically effective inhibitor of leukocyte proteinases in the rat would probably also be effective in man.
Q: How to invoke a child job asynchronously I'm using Talend Open Studio. I want to invoke a child job (tRunJob) from a parent job, but continue the execution of parent job without waiting for the execution of the child job to complete. My objective here is to create a job whose only purpose is the triggering of other jobs. So when I'm receiving a request for XYZ talend job to be executed, this job should simply start execution of XYZ talend job and return to listening for new triggers. How can I implement this? A: I found two ways to trigger a child Talend job from a parent Talend job asynchronously Using Iterate link You can use an Iterate link to enable parallel execution. Click on the Iterate link and select 'Enable parallel execution' and set number of parallel threads. Using Java You can build the child job, and then execute the child job from the parent Job using plain Java (using a tJava component). Process p1 = Runtime.getRuntime().exec(new String[]{ "bash", "-c", "sh path/to/child_job.sh &"}); Make sure to add the '&' at the end of the command, else it will synchronously wait for execution to finish.
### `tf.contrib.framework.variable(*args, **kwargs)` {#variable} Gets an existing variable with these parameters or creates a new one. ##### Args: * <b>`name`</b>: the name of the new or existing variable. * <b>`shape`</b>: shape of the new or existing variable. * <b>`dtype`</b>: type of the new or existing variable (defaults to `DT_FLOAT`). * <b>`initializer`</b>: initializer for the variable if one is created. * <b>`regularizer`</b>: a (Tensor -> Tensor or None) function; the result of applying it on a newly created variable will be added to the collection GraphKeys.REGULARIZATION_LOSSES and can be used for regularization. * <b>`trainable`</b>: If `True` also add the variable to the graph collection `GraphKeys.TRAINABLE_VARIABLES` (see `tf.Variable`). * <b>`collections`</b>: A list of collection names to which the Variable will be added. If None it would default to `tf.GraphKeys.GLOBAL_VARIABLES`. * <b>`caching_device`</b>: Optional device string or function describing where the Variable should be cached for reading. Defaults to the Variable's device. * <b>`device`</b>: Optional device to place the variable. It can be an string or a function that is called to get the device for the variable. ##### Returns: The created or existing variable.
Integrated microscopic-macroscopic pharmacology of monoclonal antibody radioconjugates: the radiation dose distribution. Accurate dosimetry is essential for the assessment of radioimmunotherapy. Most often studied to date has been the macroscopic dosimetry related to organ and tumor distribution of the radiolabeled antibody, but the question of microscopic dose heterogeneity is also important. To address the latter issue, we have taken an integrated approach to the pharmacology, taking into account whole-body distribution, transcapillary transport, percolation through the tumor interstitial space, antigen-antibody interaction, and antibody metabolism. The first step is to simulate the spatial antibody concentration profile in a tumor as a function of time after i.v. (e.g., bolus) injection, using reasonable values for the parameters involved. The second step is to calculate, also as a function of time, the absorbed radiation dose distribution resulting from each concentration profile. Parameter values for IgG pharmacology and a radiation point source function for 131I are used to explore the effect of antibody distribution profiles on absorbed dose in the tumor. The geometry simulated corresponds to a spherical nodule of densely packed tumor cells. Absorbed doses are calculated for radiation from a single nodule (e.g., a micrometastasis or prevascular primary tumor) and for a cubic lattice of such nodules (e.g., corresponding to nodular lymphoma). As noted in our previous studies, there is a "binding site barrier." Binding to antigen retards antibody percolation into the nodules; high antibody affinity tends to decrease percolation and give a higher absorbed dose near the surface of each nodule. Heterogeneous antibody distribution results in a heterogeneous absorbed dose. This is more apparent in the case of radiation from a single nodule than it is for radiation from within an array of nodules. Dehalogenation results in a lower absorbed dose over time, and the effect is more apparent at later times after injection. PERC-RAD, the computer program package developed for these analyses, provides a convenient and flexible way to assess the impact of macroscopic and microscopic parameters on the distribution of radioimmunoconjugates and on the consequent profile of absorbed radiation dose in tumors. This mathematical model and the general principles developed here can be applied as well to other radiolabeled biological ligands.
In vivo cell biology: following the zebrafish trend. A deeper understanding of the mechanisms of cell behavior is essential if we want to comprehend how an organism develops and functions. Changes in cellular processes, including the orientation of cell divisions, cell shape, polarity, differentiation and migration, account for tissue rearrangements during development and homeostasis. The in vivo relevance of in vitro findings is being constantly debated and the need for in vivo systems becoming more pressing. The zebrafish (Danio rerio) might become the vertebrate system of choice for a wide spectrum of biological questions that need to be investigated in vivo at cellular and subcellular resolutions. Here, we discuss some recent studies in which the zebrafish was used to gain insight into cell-biological mechanisms. Although this model system has been predominantly appreciated for its amenability to forward genetics, current advances in imaging technology and an increasing number of transgenic lines are bringing it closer to its full potential.
namespace Orleans.CodeGeneration { using System; /// <summary> /// The attribute which informs the code generator that code should be generated for this type. /// </summary> public class ConsiderForCodeGenerationAttribute : Attribute { /// <summary>Initializes a new instance of <see cref="ConsiderForCodeGenerationAttribute"/>.</summary> /// <param name="type">The type that the generator should generate code for</param> /// <param name="throwOnFailure">When <see langword="true"/>, it will throw an exception if code cannot be generated for this type.</param> protected ConsiderForCodeGenerationAttribute(Type type, bool throwOnFailure = false) { this.Type = type; this.ThrowOnFailure = throwOnFailure; } /// <summary> /// Gets the type which should be considered for code generation. /// </summary> public Type Type { get; private set; } /// <summary> /// Gets a value indicating whether or not to throw if code was not generated for the specified type. /// </summary> public bool ThrowOnFailure { get; private set; } } /// <summary> /// The attribute which informs the code generator that code should be generated for this type. /// </summary> [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class KnownTypeAttribute : ConsiderForCodeGenerationAttribute { /// <summary>Initializes a new instance of <see cref="KnownTypeAttribute"/>.</summary> /// <param name="type">The type that the generator should generate code for</param> public KnownTypeAttribute(Type type) : base(type){} } /// <summary> /// The attribute which informs the code generator that code should be generated for this type. /// Forces generation of type serializer, throwing if a serializer could not be generated. /// </summary> [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class GenerateSerializerAttribute : ConsiderForCodeGenerationAttribute { /// <summary>Initializes a new instance of <see cref="GenerateSerializerAttribute"/>.</summary> /// <param name="type">The type that the generator should generate code for</param> public GenerateSerializerAttribute(Type type) : base(type, true){ } } /// <summary> /// Indicates that this type and all subtypes are to be considered as [Serializable]. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public sealed class KnownBaseTypeAttribute : Attribute { } }
Q: Creating a JMeter Java sampler and getting multiple response times I'm creating a JMeter test for EJB method calls extending AbstractJavaSamplerClient class. I have several method calls which has to be done in order and I want to get response times each of them. Is it somehow possible to get JMeter to report several response times from one test class? I've not found a way to do this. EDIT1: So I would like to get separate response times from call1 and call2. public class JavaRequestSamplerDemo extends AbstractJavaSamplerClient { @Override public SampleResult runTest(JavaSamplerContext ctx) { SampleResult sampleResult = new SampleResult(); sampleResult.sampleStart(); class.call1(); class.call2(); sampleResult.sampleEnd(); sampleResult.setSuccessful(true); sampleResult.setResponseCodeOK(); sampleResult.setResponseMessageOK(); return sampleResult; } } A: As promised in the comment, try this: public class JavaRequestSamplerDemo extends AbstractJavaSamplerClient { @Override public SampleResult runTest(JavaSamplerContext ctx) { SampleResult mainResult = new SampleResult(); mainResult.sampleStart(); SampleResult child = new SampleResult(); child.sampleStart(); class.call1(); child.sampleEnd(); // set the other properties of the 'child' SampleResult, such as successful etc here. mainResult.addSubResult(child); child = new SampleResult(); child.sampleStart(); class.call2(); child.sampleEnd(); // again, set the properties of this child appropriately (successful etc). mainResult.addSubResult(child); mainResult.setSuccessful(true); mainResult.setResponseCodeOK(); mainResult.setResponseMessageOK(); return mainResult; } } NB, the downside is that none of the native JMeter Listeners support SubResults. I wrote a few and have posted an example in the answers to this question: Jmeter Graph Listener for SampleResult.subResult
Q: Add padding to the select options and change the border color I want to style all the options inside select tag. My markup is like this <select> <option>Milk</option> <option>Eggs</option> <option>Lettuce</option> <option>Tomatoes</option> <option>Cream of chicken soup</option> <option>Butter</option> </select> Now I want to add padding for all options and also want to change the border color of the box when all the options can be seen at the time of click on select. So how can I do that? I have tried select option { padding: 20px 0px; } But its not working at all. Can someone tell me how to solve this? Any help and suggestions will be really appreciable. Thanks Fiddle link is here A: Webkit Browsers do not support styling of option element. Setting padding on an optgroup or option has no effect in Chrome so you cannot control the amount of indentation. You can set the padding of a select as a whole in Chrome (as you can with IE8) but it looks really weird. Unlike IE8 you can click anywhere in the select to open it even if it has padding. You should rather use ul li elements or use jquery plugins like select2,chosen.