text stringlengths 16 69.9k |
|---|
Q:
Sandbox - payment status "complete" even if buyer account has zero balance
I am working on Paypal IPN. My code works fine.
I am getting "complete" status even if my buyer account has no balance it his account?
why this is the case?
Is this the real time scenario when it goes on live paypal???
A:
Don't worry, the sandbox always has money so it can show you transaction return codes. It also doesn't go hard into credit card verifications if you have that too.
I was scared that might happen when I did my first payment system but then I thought even if it happens, they'll lose the money not me.
|
Q:
Best practice for getting data from Django view into JS to execute on page?
I have been told it is 'bad practice' to return data from a Django view and use those returned items in Javascript that is loaded on the page.
For example: if I was writing an app that needed some extra data to load/display a javascript based graph, I was told it's wrong to pass that data directly into the javascript on the page from a template variable passed from the Django view.
My first thought:
Just get the data the graph needs in the django view and return it in a context variable to be used in the template. Then just reference that context variable directly in the javascript in the template.
It should load the data fine - but I was told that is the wrong way.
So how is it best achieved?
My second thought:
Spin up Django Rest Framework and create an endpoint where you pass any required data to and make an AJAX request when the page loads - then load the data and do the JS stuff needed.
This works, except for one thing, how do I get the variables required for the AJAX request into the AJAX request itself?
I'd have to get them either from the context (which is the 'wrong way') or get the parameters from the URL. Is there any easy way to parse the data out of the URL in JS? It seems like a pain in the neck just to get around not utilizing the view for the data needed and accessing those variables directly in the JS.
So, is it really 'bad practice' to pass data from the Django view and use it directly in the Javascript?
Are both methods acceptable?
What is the Django appropriate way to get data like that into the Javascript on a given page/template?
A:
Passing data directly is not always the wrong way to go. JS is there so you can execute code when everything else is ready. So when they tell you it's the wrong way to pass data directly, it's because there is no point in making the page and data heavier than it should be before JS kicks in.
BUT it's okay to pass the essential data so your JS codes knows what it has to do. To make it more clear, let's look into your case:
You want to render a graph. And graphs are sometimes heavy to render and it can make the first render slow. And most of the time, graphs are not so useful without the extra context that your page provides. So in order to make your web page load faster, you let JS load your graph after your webpage has been rendered. And if you're going to wait, then there is no point in passing the extra data needed because it makes the page heavier and slows down the initial render and it takes time to parse and convert those data to JSON objects.
By removing the data and letting JS load them in the background, you make your page smaller and faster to render. So while a user is reading the context needed for your graph, JS will fetch the data needed and renders the graph. This will cause your web page to have a faster initial render.
So in general:
When to pass data directly:
When the initial data is necessary for JS to do what it has to (configs, defaults, etc).
When the time difference matters a lot and you can't wait too much for an extra request to complete the render.
When data is very small.
When not to pass data directly:
When rendering the extra data takes time anyway, so why not get the data latter too?
When the data size is big.
When you need to render something as fast as possible.
When there are some heavy processes needed for those data.
When JS can make your data size smaller (Decide what kind of data should be passed exactly using options that are only accessible by JS.)
|
describe Postwill::Providers::Tumblr do
subject do
Postwill::Providers::Tumblr.new(access_token: FFaker::IdentificationMX.curp,
access_token_secret: FFaker::IdentificationMX.curp)
end
let(:text) { 'test api explorer' }
let(:image) { 'spec/fixtures/test.jpg' }
let(:user) { 'usernickname' }
describe '#call' do
context 'if everything is ok' do
it 'should returns right monad' do
VCR.use_cassette('tumblr_valid') do
expect(subject.call(user: user, text: text, image: image).right?).to be_truthy
end
end
it 'should have it key' do
VCR.use_cassette('tumblr_valid') do
expect(subject.call(user: user, text: text, image: image).value.dig('id')).not_to be_nil
end
end
end
context 'if something went wrong' do
it 'should returns left monad' do
VCR.use_cassette('tumblr_invalid') do
expect(subject.call(user: user).left?).to be_truthy
end
end
end
end
end
|
Wemo Wi-Fi Smart Dimmer with a Ceiling Fan
I'd like to get a Wemo Dimmer switch to control my bedroom ceiling fan. Ideally, it would allow me to simulate many different speeds (not just on and off). Is this supported and if so how well does it work?
Re: Wemo Wi-Fi Smart Dimmer with a Ceiling Fan
Hi, gtduck. mfierro is right, Wemo Dimmers is not yet compatible with ceiling fan when it comes to controlling the speed. It will only act as a normal switch. However, we're open for suggestions and ideas. Please refer to our Wemo Ideas board.
Re: Wemo Wi-Fi Smart Dimmer with a Ceiling Fan
Are you sure? I suspect it won't even work as a normal switch if dimming won't work with a motor. Then again since it works with incandescent bulbs it just may work with a motor. And what on earth do you mean by "yet". Maybe you should check properly. |
Q:
Value in Radio-Group show me only the first word. (with jquery)
I have this JSP file that build me a radio-group with full names of candidate:
<h3>Select Candidate from the list: </h3>
<%
for(String a: candFullNames.getCand().keySet()){
%>
<input type="radio" name="group1" value=<%=a%>><%=a %>
<br>
<%
}
%>
in the poll everything looks ok , and I see the full names.
but I want to alert the full name that selected in every change event. so I did this JS code:
$(function() {
$('input[type=radio]').change(function(e) {
alert(this.value);
});
});
and in the alert it's shows only the first name of the candidate.
why?
A:
You should do:
$(function() {
$(':radio[name=group1]').change(function(e) {
var selectedValue = $(':radio[name=group1]:checked').val();
});
});
This is because the change event does not fire on the recently checked checkbox, so it's better to query the checked one.
EDIT Oh, it looks your problem is in the html quotes:
Just add the double quotes to value like this:
<input type="radio" name="group1" value="<%=a%>" /><%=a %>
Note the added double quotes.
Hope this helps. Cheers
|
Racial differences in attitudes toward professional mental health care and in the use of services.
Differences in attitudes toward seeking professional mental health care and in the utilization of mental health services were examined by analyzing the second part of the National Comorbidity Survey. Prior to use of services, African Americans were found to have more positive attitudes than whites toward seeking such services, but less likely to use them. After utilization, their attitudes were found to be less positive than those of whites. |
Q:
Why does [dict valueForKey:@"@"] cause SIGABRT?
Possible Duplicate:
Using valueForKeyPath on NSDictionary if a key starts the @ symbol?
Error:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason:
'[<__NSDictionaryI 0x100110e00> valueForUndefinedKey:]:
this class is not key value coding-compliant for the key .'
Example code:
NSDictionary *dict = @{ @"foo": @"bar" };
NSLog(@"foo=%@, qaz=%@", [dict valueForKey:@"foo"], [dict valueForKey:@"qaz"]);
NSLog(@"@=%@", [dict valueForKey:@"@"]); // SIGABRT
This also happens when using [dict objectForKey:@"@"].
Even when the "@" key is defined it still causes SIGABRT:
NSDictionary *dict = @{ @"@": @"at-sign" };
NSLog(@"@=%@", [dict valueForKey:@"@"]); // SIGABRT
Why is this happening and how can I retrieve the value for the "@" key from the dictionary?
A:
You should use objectForKey: when trying to access objects in a dictionary, the valueForKey: and valueForKeyPath: methods are meant for KVC and have some restrictions for their naming. Using [dict objectForKey:@"@"] will work and return either (null) or at-sign for your examples.
|
Searching for Supersolidity in Ultracold Atomic Bose Condensates with Rashba Spin-Orbit Coupling.
We developed a functional integral formulation for the stripe phase of spinor Bose-Einstein condensates with Rashba spin-orbit coupling. The excitation spectrum is found to exhibit double gapless band structures, identified to be two Goldstone modes resulting from spontaneously broken internal gauge symmetry and translational invariance symmetry. The sound velocities display anisotropic behavior with the lower branch vanishing in the direction perpendicular to the stripe in the x-y plane. At the transition point between the plane-wave phase and the stripe phase, physical quantities such as fluctuation correction to the ground-state energy and quantum depletion of the condensates exhibit discontinuity, characteristic of the first-order phase transition. Despite strong quantum fluctuations induced by Rashba spin-orbit coupling, we show that the supersolid phase is stable against quantum depletion. Finally, we extend our formulation to finite temperatures to account for interactions between excitations. |
Q:
Adding Single Line to File with SaltStack
I would like to add the following lines to all /etc/sudoers files across my environment:
# Administrators LDAP Group
%Administrators ALL=(ALL) ALL
However, each server has a different /etc/sudoers file, and sourcing them all from one location would be impractical.
Is there a way in Salt to ensure a single line (or group of lines) exists in a file, rather than managing that whole file?
A:
You are probably looking for file.append.
File.append searches the whole file and if it is unable to find your text, it will append it to the end of the file. I am assuming that you don't know of any common text structures in you /etc/sudoers file so you won't be able to use something like file.sed to replace some text.
Sample Code:
/etc/sudoers:
file.append:
- text:
- "# Administrators LDAP Group"
- "%Administrators ALL=(ALL) ALL"
NOTE: You should probably test the sample code before you use it.
|
Anmol Silver Jewellery welcomes you to the world of stunning silver adornments. With spectacular designs in handmade silver ornaments, we are the best place to buy silver jewellery online in India. At Anmol Silver, you can access numerous designs to buy at affordable. We offer a wide range of ethnic silver jewellery including silver rings, silver necklace, silver pendants, Earrings, anklets, silver bangles and bracelets.
Our artisans are inspired by diverse traditions and cultures of India to embed the ethnic spirit into the antique silver jewellery. The jewelleryis carefully handcrafted by our artists and the efforts deliver intricate and irresistible designs. Buying authentic silver jewellery generally takes longer and requires you to visit multiple jewellers. Anmol promises guaranteed quality and quick delivery of the finest ornaments for casual wear and festive occasions. Every ornament from our store speaks about our glorious culture and handicrafts. Our collections displayed on our store let the buyers pick their best design and get it at their doorsteps. Different ornaments and accessories at Anmol Silver display different moods of the occasions from daily wear to party wear.
We also offer silver ornaments studded with colourful Kundan and plated with gold. With high-quality material and creative designs, Anmol is an outstanding place for pure silver jewellery online shopping. Our exclusive collections contain all types of designs from delicate and mild to lavish designs to suit different occasions and tastes. Whether you want to buy silver ornaments online for wedding ceremonies or for parties; our collection has it all. The elaborate designs showcase beautiful motifs adding unique beauty to the ornaments. Diverse designs and jewellery decorated with single-coloured or multi-coloured embellishments make a perfect ornament to blend with different outfits.
Silver jewellery in India is being worn since ancient times dating back even more than five thousand years ago. Though we heavily borrow from our traditions, we use our creativity for shaping the best ethnic jewellery of contemporary taste. Our online silver jewellery store is established with the aim of delivering authentic silver ornaments right to your desired location. Buying online jewellery is an exciting alternative to traditional silver jewellery shopping. We guarantee beautiful silver jewellery at an affordable price without any hassles of leaving your homes. Anmol Silver is proud to modernize the concept of buying silver handcrafted jewellery for Indian women. Browse our website to explore mesmerizing collections of your favourite timeless jewellery you would love to buy for any occasion.
Anmol Silver Jewellery welcomes you to the world of stunning silver adornments. With spectacular designs in handmade silver ornaments, we are the best place to buy silver jewellery online in India. At Anmol Silver, you can access numerous designs to buy at affordable. We offer a wide range of ethnic silver jewellery including silver rings, silver necklace, silver pendants, Earrings, anklets, silver bangles and bracelets.
Our artisans are inspired by diverse traditions and cultures of India to embed the ethnic spirit into the antique silver jewellery. The jewelleryis carefully handcrafted by our artists and the efforts deliver intricate and irresistible designs. Buying authentic silver jewellery generally takes longer and requires you to visit multiple jewellers. Anmol promises guaranteed quality and quick delivery of the finest ornaments for casual wear and festive occasions. Every ornament from our store speaks about our glorious culture and handicrafts. Our collections displayed on our store let the buyers pick their best design and get it at their doorsteps. Different ornaments and accessories at Anmol Silver display different moods of the occasions from daily wear to party wear.
We also offer silver ornaments studded with colourful Kundan and plated with gold. With high-quality material and creative designs, Anmol is an outstanding place for pure silver jewellery online shopping. Our exclusive collections contain all types of designs from delicate and mild to lavish designs to suit different occasions and tastes. Whether you want to buy silver ornaments online for wedding ceremonies or for parties; our collection has it all. The elaborate designs showcase beautiful motifs adding unique beauty to the ornaments. Diverse designs and jewellery decorated with single-coloured or multi-coloured embellishments make a perfect ornament to blend with different outfits.
Silver jewellery in India is being worn since ancient times dating back even more than five thousand years ago. Though we heavily borrow from our traditions, we use our creativity for shaping the best ethnic jewellery of contemporary taste. Our online silver jewellery store is established with the aim of delivering authentic silver ornaments right to your desired location. Buying online jewellery is an exciting alternative to traditional silver jewellery shopping. We guarantee beautiful silver jewellery at an affordable price without any hassles of leaving your homes. Anmol Silver is proud to modernize the concept of buying silver handcrafted jewellery for Indian women. Browse our website to explore mesmerizing collections of your favourite timeless jewellery you would love to buy for any occasion. |
Thank you so much! Two perfume oils (lavender sugar and Haus Chai) from Haus of Gloi and the most delicious perfume from Solstice Scents called "Kitchen." It is perfect for me. I love to bake and now I can smell like I just stepped out of a world class bakery during Christmas. |
Q:
Pi GPIO to another GPIO?
Would it be possible to connect one gpio directly to another gpio, and use one as input and the other as output on the pins?
Then I could just supply power to one of them and run them both headless. Wondering if this can be used in some way to cluster them together without the need to use ethernet.
A:
Sure, there's no reason that you couldn't connect one RPi to another via the GPIO pins. You'll have to work out some kind of protocol to pass messages, but that shouldn't be too difficult.
I would be careful about powering multiple RPi's through a daisy chained GPIO setup. If you have three RPis hooked up in a line, the first RPi has to deal with 3x the current it needs so that 1x the current reaches the final RPi. If you're not careful, you could wind up with a string of dead RPis.
|
Basic and clinical aspects of visceral sensation: transmission in the CNS.
Pain and discomfort are the leading cause for consultative visits to gastroenterologists. Acute pain should be considered a symptom of an underlying disease, thereby serving a physiologically important function. However, many patients experience chronic pain in the absence of potentially harmful stimuli or disorders, turning pain into the primary problem rather than a symptom. Vagal and spinal afferents both contribute to the sensory component of the gut-brain axis. Current evidence suggests that they convey different elements of the complex sensory experience. Spinal afferents play a key role in the discriminatory dimension, while vagal input primarily affects the strong emotional and autonomic reactions to noxious visceral stimuli. Drugs, surgical and non-pharmacological treatments can target these pathways and provide therapeutic options for patients with chronic visceral pain syndromes. |
Purple Martin Info – Backyard Birding and How To Be An Upstanding Birdhouse Landlord
Purple Martins are actually members of the Swallow family, which includes the familiar Barn Swallow and also Swifts such as the Chimney Swift. Like the other members of this group—as well as many other songbirds—their numbers are dropping in a scary way. No one is quite sure why, but there are several theories, including habitat loss on wintering grounds and breeding grounds, migration interference, lack of insects due to broad-spectrum pesticide use, and over-predation.
Purple Martins are attractive birds, and we love to watch their aerobatics as they swoop and dive in search of insects. If you succeed in attracting them with birdhouses, they will give hours of entertainment. One side benefit is the number of flying insect pests they consume. The males are dark blue and iridescent, while the females are duller in color, being more brownish or gray, with paler or off-white lower belly, and purplish patches on the upper wing, back and crown.
These birds are high fliers, and though they are our largest swallows, that’s sometimes hard to tell in flight. Martins take all their food on the run, catching flying insects in mid-air, including larger prey that smaller swallows will pass up, such as dragonflies. They even drink while in flight, by skimming over ponds and dipping their beaks in the water as they fly.
More About Purple Martins
Purple Martins breed in temperate North America, and winter in South America, mostly in Brazil. During breeding season, in the East, the Purple Martin nests in colonies, using man-made nesting boxes. These houses may be called martin condominiums, because they are made to house multiple pairs in separate “apartments.” In fact, nesting boxes with less than four apartments are not attractive to the Purple Martin, and six apartments or more are better still. The more the merrier!
Interesting to note that in the West, however, martins still use natural cavities as nesting sites, much as they always have done. They take advantage of old woodpecker holes in trees, or natural cavities formed in rocks or caves. These western Purple Martins may also choose single nest boxes.
Why the difference? It is a highly unusual phenomenon to see a species change its nesting habits entirely. In fact, they have become totally dependent on human constructions for their nesting habits, as mentioned in the video above. There are only three species who have done this, and all are in the swallow family. They are:
The Chimney Swift. They used to nest in enormous, hollow trees, but made the change to nest in chimneys, especially the big old brick industrial smokestacks of the past. Their numbers are now in decline, and one reason is that the old style smokestacks are disappearing. They just can’t seem to remember what they did before humans went industrial! But even if they did remember, huge ancient hollow trees are just really hard to find now, even rarer than huge old smokestacks.
The Barn Swallow. As with the Chimney Swift, the name gives away the nesting preference. Once upon a time, Barn Swallows nested in rock crevices and in the mouths of caves. Their mud and straw nest constructions stick just as well to the rafters of barns however, and they made the switch as agriculture spread throughout North America. Problem is, big old barns with high roofs for hay storage are also getting rarer. Barn Swallows will choose smaller buildings as well, of course, but unlike the old barns, with large doors for harvesters to drive through, open shutter air vents, hay doors and so on, many smaller outbuildings on farms have few doors. What’s more the doors they do have are often closed, and the windows have screens, which won’t work for the parent birds who have to come and go many times a day.
The Purple Martin. Apparently the native Americans started hanging gourds on poles for the Purple Martins, probably several thousand years ago. They must have been as fond of them back then as we are today. The idea spread and was a huge hit with the birds; so much so that the birds abandoned the old ways entirely. Along with the preference for man-made housing, the Purple Martins also have the requirement to nest in colonies now as well, unlike their western counterparts who will nest in a single-family dwelling.
Purple Martin Birdhouse Basics
Many people put up birdhouses. And there are a number of native species here in North America who will use them. Tree Swallows and Wrens are fairly easy to attract to a nest box. But also Chickadees, Downy Woodpeckers, Wood Ducks and even some owls such as the tiny and hands-down cuteness winner the Saw-whet Owl, are known to use the type of nest box designed to their particular needs.
And by needs, we are talking about the overall size, the height from the ground, the shape of the box, the habitat or site, the dimensions outside and of the interior as well, and very importantly, the size of the entrance hole.
When you are considering setting up birdhouses, there are the non-native species such as the Starling and European House Sparrow to think about as well. These are considered to be invasive pest species, and will out-compete many of the natives when it comes to nest sites. Including nest boxes. This is as true of Purple Martin housing as single-family nest boxes.
Wrapping Up For Now
The Purple Martin, as discussed, needs a community situation to be happy and raise a family. Maybe they feel there is safety in numbers. At any rate, all housing for the martins needs to offer many rooms. There are many styles to choose from as well, and it can get very complicated being a Purple Martin landlord!
Along with the challenge of pesky invasive birds, there are many other factors to consider, including how to protect nesting birds from predators who’d find them an easy and obvious target in their community housing. There are solutions; read more about how to set up Purple Martin birdhouses here. |
Wide ranges of medical treatments have been developed using implantable devices such as endoluminal prostheses, which are medical devices adapted for temporary or permanent implantation within a body lumen, including naturally occurring and artificially made lumens. Examples of lumens in which endoluminal prostheses may be implanted include arteries such as those located within coronary, mesentery, peripheral, or cerebral vasculature; veins; gastrointestinal tract; biliary tract; urethra; trachea; hepatic shunts; and fallopian tubes. Various types of endoluminal prostheses have also been developed with particular structure to modify the mechanics of the targeted luminal wall.
Stents are one example of an endoluminal prosthesis. Stents are generally cylindrical shaped devices that are radially expandable to hold open a segment of a blood vessel or other anatomical lumen after implantation into the body lumen. Various types of stents are in use, including balloon expandable and self-expanding stents. Balloon expandable stents generally are conveyed to the area to be treated on balloon catheters or other expandable devices. For insertion, the stent is positioned in a compressed configuration along a delivery device. The stent may be fixed to a balloon that is folded or otherwise wrapped about a guide catheter that is part of the delivery device. After the stent is positioned across a lesion, the stent is expanded by the delivery device. For a self-expanding stent, a sheath is retracted allowing expansion of the stent.
Stents are used in conjunction with balloon catheters in a variety of medical therapeutic applications including intravascular angioplasty. For example, a balloon catheter is inflated during PTCA (percutaneous transluminal coronary angioplasty) to dilate a stenotic blood vessel. The stenosis may be the result of a lesion such as a plaque or thrombus. After inflation, the pressurized balloon exerts a compressive force on the lesion thereby increasing the inner diameter of the affected vessel. The increased interior vessel diameter facilitates improved blood flow. Unfortunately, significant proportions of treated vessels re-narrow or collapse soon after the procedure.
To prevent acute vessel narrowing or collapse, short flexible cylinders, or stents, constructed of metal or various polymers are implanted within the vessel to maintain lumen diameter. The stents acts as a scaffold to support the lumen in an open position. Balloon-expandable stents are mounted on a collapsed balloon at a diameter smaller than when the stents are deployed. Stents can also be self-expanding, growing to a final diameter when deployed without mechanical assistance from a balloon or like device.
Stent insertion may cause undesirable reactions such as inflammation, infection, thrombosis, and proliferation of cell growth that occludes the passageway.
To reduce restenosis stents have been developed with coatings to deliver drugs or other therapeutic solutions. Once the stent is positioned in a target site, these coatings offer long-term treatment from the drug by a controlled release of a specific amount of the drug from the surface of the stent. The rate of release depends upon the chemical and or biological composition of the drug and the amount of the drug depends upon the total depth and depth consistency of the drug coating layer on the stent surface. It has been discovered that methods of loading drugs onto implantable devices may be deficient in their current drug-loading and drug-delivery characteristics. In particular, the amount or volume of the drug capable of being delivered to the target site may be insufficient due to the limited surface areas on the stent and the control of the rate of elution is limited by the chemical characteristics of the drug. In addition, during delivery of the stent, any coating exposed to the body lumen can lose a portion of the coating during delivery, either as a result of blood flow over the surface, or by contacting the vessel tissue prior to delivery to the target site. Furthermore, the use of a polymer matrix to control the release of the drug has been shown to lead to inflammatory response and may be linked to the occurrence of late thrombosis within the stent. Reducing or eliminating the amount of polymer required to achieve a desired controlled drug release would therefore be of great benefit.
To increase the amount of the drug that may be deposited on the surface of the stent, the surface of the stent framework has been modified. Such modifications may be the formation of openings in the stent surface to hold more of the drug. For example, reservoirs can be formed into the surface of the stent with the use of lasers or by dimpling the surface.
One problem that has arisen with drug reservoirs within implantable devices is that after implantation the rate of release of the drug from the reservoir is hard to control due to the size of the opening through which the drug is released.
It would be desirable to have an implantable device with drug reservoirs that would overcome these and other disadvantages. |
Q:
How can I convert .db to .xls?
How can I convert .db to xls ? ı don't know what is it's type. Can anyone explain to me step by step?
A:
You can download TrIDNet, which will analyze the .db file to find out specifically what kind of database it is. It's possible it could be SQLite, MS Access, etc. The interface is similar to below, but you should have some db related results when run on your specific file.
From there, you should be able to determine what software needs to be used to extract the data from the .db file and convert it to an Excel spreadsheet.
TrIDNet - File Identifier
|
Radiation scientists and homeland security.
Radiation scientists represent an important resource in homeland defense. Security analysts worry that a crude but deadly radiological bomb might be fashioned from stolen nuclear material and a few sticks of dynamite. Such a device could kill dozens, hundreds, and possibly thousands and could contaminate a square mile or more. Emergency workers may call upon radiation scientists to aid the injured. Educational materials are available on the ACR, ASTRO, and RRS websites, linked to the Armed Forces Radiobiology Research Institute and the Oak Ridge National Laboratory, to provide radiation workers material that they can use to help emergency room and civil defense personnel after a terrorist attack. Radiation scientists are urged to obtain these materials and contact their local hospital and public health authorities to volunteer their services and expertise. |
Q:
Deleting whitespaces before a certain characters with regex
Say, I have a string like the first line and I need to convert it to the second line.
"English ,Spanish ,Eastern Japanese "
"English,Spanish,Eastern Japanese"
As you see, there are several whitespaces before commas, but each element may have spaces between its variables, too (like "Eastern Japanese"). So, all I need is to delete multiple whitespaces coming before commas. I can trim the last occuring whitespaces before using replaceAll() method, that is no problem.
A:
You can remove excessive spaces with replaceAll:
String s = "English ,Spanish".replaceAll("\\s+,",",");
See IDEONE demo
Or with trim():
System.out.println("English ,Spanish ".replaceAll("\\s+,",",").trim());
Another demo
And another hint: if there are spaces to trim after ,, add \\s* after , in the pattern:
.replaceAll("\\s+,\\s*",",")
|
Q:
Different Command prompt windows does not executing the same command
I've two command prompt windows as follow,
Administrator:Command Prompt -- Opened manually
--
Administrator:C:\Windows\System32\cmd.exe -- open by C# code
(Process.Start)
I'm trying to execute svn command, i.e consider svn update command.
This command executed successfully in the 1st cmd, which I opened manually.
But the same command does not executing in the 2nd cmd window, which is opened by C# code.
Giving the error as "svn" is not recognized as internal or external
command
I want this to trigger from code. Checked path variables.
Created a bat file to execute commands. The same error remains, executing the bat manually works while from code doesn't.
Why the cmd acts differently?
A:
You say that you checked the %PATH% variable, but you didn't say anything about how you checked it and what the result was. What do you get when you run echo %PATH% in the 2nd command window?
Given the error message it's almost certain that the path to the svn executable is missing from your %PATH%. Try the following:
set PATH=%PATH%;C:\path\to\svn\dir
svn update
|
Webseiten
Schlagwort: SEO
As an SEO or site owner, you are bound to run into redirects. Whenever you delete a page, change your URL structure or switch to a new domain, you are going to have to redirect your URLs. You have to tell search engine robots that there has been a change in your URLs and that they have to go somewhere else, temporarily or permanently. Choosing a particular redirect might impact your SEO, so be careful what you pick. In this article, we’ll give a brief of which redirect you could use. |
Tren suspension steroids
Whether you want a Testosterone Cycle, Cutting, Bulking up or a Weight Loss Cycle , you should make the right choice before you start. Make sure that you decide if you want to cut, lose weight, or gain muscle. Maybe even lose weight and gain muscle all at the same time.
A healthy diet along with a good protein supplement will greatly improve performance in any good Cycle. Remember that by losing fat around the body you will increase your strength to mass ratio and improve lean muscle tissue, giving you that lean physique appearance.
Bulking and Cutting Cycles - Those individuals who already have a lean physique wont achieve fat loss gains as quickly as those with more weight and therefore would more than likely opt to go for a combined all in one Bulking and Cutting Cycle to start with.
Injectable steroids are injected into muscle tissue, not into the veins. They are slowly released from the muscles into the rest of the body, and may be detectable for months after last use. Injectable steroids can be oil-based or water-based. Injectable anabolic steroids which are oil-based have longer half-life than water-based steroids. Both steroid types have much longer half-lives than oral anabolic steroids. And this is proving to be a drawback for injectables as they have high probability of being detected in drug screening since their clearance times tend to be longer than orals. Athletes resolve this problem by using injectable testosterone early in the cycle then switch to orals when approaching the end of the cycle and drug testing is imminent.
The question of product integrity is always central in the minds of BM customers, “Can I purchase safe products from this source?” The virtually anonymity of internet sites coupled with traditionally high provider turnover rates has made answering this question even harder in today’s society. The BM is filled with “scammers”, individuals who simply set up shop to dupe customers out of money with no plan or intention of delivering on the promised AAS. These are actually the good guys, those who promote the once bitten syndrome and scare many would-be buyers/users away from further attempts at steroids. At least they have the decency (used lightly) to take your money and run. Numerous dealers run repackaging scams in which very cheap steroids are placed in expensive product labeling and sold at a premium. These less expensive forms of AAS produce greater side effects, which can be particularly dangerous to women who think they are buying a very mild steroid only to receive a significantly harsher product. Still others produce imposter or fake steroids, which are often bottles of vegetable oils labeled to look like AAS. Along the same lines are those manufactured under conditions that are far less sanitary than required by the FDA. All of the above hazards can lead to health problems ranging from minor such as abscesses and infections, to major like severe illness and death.
See what I mean? You need to realize that the products you are buying, the quantity you buy, where the dealer is located, and even who you are - factors into how much you´ll ultimately be paying for your stash. Remember, even though I´ve tried to make the list below as comprehensive as possible, there will always be market fluctuations and exceptions to the rule, as far as pricing goes. SO if you´ve kept up with me this far, you know that there is no "set price" for anabolics, but hopefully this will help you avoid paying too much.
Tren suspension steroids
See what I mean? You need to realize that the products you are buying, the quantity you buy, where the dealer is located, and even who you are - factors into how much you´ll ultimately be paying for your stash. Remember, even though I´ve tried to make the list below as comprehensive as possible, there will always be market fluctuations and exceptions to the rule, as far as pricing goes. SO if you´ve kept up with me this far, you know that there is no "set price" for anabolics, but hopefully this will help you avoid paying too much. |
[Clinical analysis of six cases of acute interstitial eosinophilic pneumonia--with attention to radiographic findings].
We have recently observed six patients with acute interstitial eosinophilic pneumonia. All the patients suffered from an acute febrile illness and severe hypoxemia. Their chest films showed diffuse interstitial infiltrates. Kerley's A and B lines and pleural effusions are characteristic and important for the diagnosis of acute interstitial eosinophilic pneumonia, as they are frequently observed. Eosinophilia in peripheral blood was not initially present in any of the patients. Mild to severe eosinophilia was present during their convalescence. Histological examination showed eosinophilic infiltration of the alveolar walls and spaces. Half of the patients improved following treatment with corticosteroids, and the rest of the patients improved without treatment. To make an early diagnosis, this type of eosinophilic pneumonia should always be considered. It is important to recognize the radiographic findings, that is Kerley's lines and pleural changes, noted in this study. It should be noted that the number of eosinophils in peripheral blood has a tendency to be low during the acute phase. |
A last-minute decision led us to head up North to Collingwood. From treetop canopy walks and ziplining, to caves and caverns, Scenic Caves offers a variety of activities for the adventurous soul. Since we have treetop trekked and ziplined before, we opted for the self-guided tour of the caves, caverns and suspension bridge.
As Southern Ontario's longest suspension bridge, I thought it was rather underwhelming. When you walk to the other side of the bridge, you reach a dead end with a few picnic tables and boards of information about the suspension bridge. You need to head back if you want to participate in other activities. However, the view was lovely since it overlooks the Georgian Bay.
Hiking through the caves and caverns was much more exciting. There's an easy trail to follow to visit the caves and caverns. They made it very safe by installing platforms and bars to hold onto for the rocky areas. You get spectacular lookouts from the edge of the limestone cliffs, a shady hike beneath the canopy of sugar maples and red oak as well as a chance to explore a labyrinth of caves and crevices. |
Endora Crawford, Ph.D.
Life Coach
Are you feeling trapped and unhappy in a job that is not fulfilling, transitioning back in to the workforce or out of the workforce, or wanting to improve the cultural climate at your current place of employment? Through career coaching, I can help individuals deal with adjusting to the many changes in the workforce or work environment, and identify their strengths and get organized so that they are in position for a career change or advancement. I also guide individuals and organizations to becoming more culturally aware and tolerant. I have special interest in working with military members and expatriate executives and their families.
Heather Hall, MSW, LCSW
Psychotherapist
I am happy to provide career counseling for any person considering the mental health field. As I went through the journey myself, I know the various educational routes one can take to become a psychotherapist. In particular, because of my degree in clinical social work, I also have a particularly extensive knowledge of social work and could be of great use in assisting someone considering the field.
Amanda Shanks, LPC
Licensed Professional Counselor
Feeling a little burnt out? Frustrated with the direction your job is taking you and contemplating a career switch? Or perhaps you are happy with your career but experiencing difficulty working with a supervisor or coworker. I can help you identify strengths and assist you in assessing your career options. Let me help you get the most out of your career. Call today for a free phone consultation and to set up an appointment.
Lonnie Mullet, MA, LPC
Licensed Professional Counselor
Do you feel as if your work has chosen you? Do you find it difficult to want to advance? Have you ever thought you have chosen the wrong job? Each person has a need to engage in meaningful work. Sometimes that meaning is discovered through existential means or simply finding a better job match for you! I help people discover internal barriers to their own growth as well as uncover untapped aptitudes and strengths.
Greg Preston, L.P.C.
LPC. Licensed Professional Counselor.
Counseling can offer people insight and direction when looking for a job or with changing careers. It's nice to have someone to help you navigate todays confusing, fast paced society and job market. Whether it's layoffs, job conflict or advancing in one's chosen field, it's helpful to sort out ideas and strategies with an experienced professional.
Blake Clemmons, MA, LPCA
Licensed Professional Counselor Associate
Is anxiety, stress, depression or addiction keeping you from the career of your dreams? Do you lack motivation to do the work necessary to find a fulfilling and satisfying job? I can help you work through these challenges in your journey to finding a better job. Sometimes fear of interviews, procrastination, anger issues, interpersonal problems with coworkers, and fear of taking appropriate risks can be barriers to personal and career growth. Can you imagine what it would be like to overcome these barriers and live in excitement and freedom in your career instead of fear and drudgery? if you are willing to do the personal work it takes to work through these challenges, I believe I can help. |
Ask HN: What sites do you go to mostly to read the comments? - tokenadult
I see in the thread about Facebook competing with Disqus there is discussion about website discussion via comments. I LOVE to read the comments here on HN, so I can plainly see the value of comments from users on websites. And I read several online discussion forums (the one where I spend the most time is College Confidential), so like lots of user-contributed content when it is moderated, and good. But most news sites, and other information sites, I visit have comments that in my opinion REDUCE the value of reading the site, so I often skip the comments entirely. What sites do you visit, besides HN of course, where what draws you to the site is as much the comments from random users as it is the built-in content from the site operators?
======
jacquesm
digg -> just some of the articles, not the comments /. -> articles in some
sections, comments in some sections, there is overlap between the two but not
everything, for instance, most articles on genetics are way over my head but
the comments sometimes explain them HN -> both articles and comments, but
definitely not every article
I'm a bit of a news junkie I guess, it is my source of inspiration and because
of the amazing knowledge in the crowd present on those sites I never come away
from that without learning something useful.
In an earlier article somebody today compared it to 'watching discovery
channel' because it seems like you learn but you really don't. I think that is
up to how you use the internet, if you take a subject and then go in depth I
think it is very well possible to learn a lot.
I also think that each of the sites above has something going for it, digg
because it literally has just about everything on it (even though the crowd
there is absolutely terrible), ./ because it has a very easy way of limiting
the discussion to just those parts that are somewhat interesting with the
capability to 'drill down' in a thread if you want to, HN because of the
general quality of the discussion.
However, I doubt HN will be able to preserve its current culture without some
major moves.
------
pj
I notice comments are better on most sites late at night.
|
Category Archives: Dr Mads Gilbert
What has changed in the intervening years, from my ardent support for Israel which I think was pretty prevalent among most people at the time, to the widespread condemnation of the recent vicious warfare in Gaza, is the fact that people now have access to far more information about what’s going on in the world.
If we relied on conventional media, we would have had no idea of what was happening in Gaza – only what was allowed by Israel and supine media outlets too much intertwined with Zionist interests to publish the truth.But nowadays we have social media – mobile phones, tablets, Twitter, Google, Facebook and other independent news outlets who are showing the carnage as it is – doctors, nurses and medical staff killed when hospitals are bombed; paramedics killed when ambulances are fired on; dead babies and children carried out of the rubble of smashed homes; elderly men and women grief-stricken as they see their homes destroyed; medical staff like Dr Mads Gilbert pleading for an end to the insanity because hospitals are overwhelmed with the dead, the dying, the injured; people praying under the ruins of a mosque bombed to smithereens.And in the face of silence from leaders in Europe, the UK and the US, I would ask how loud their howls would be if synagogues were bombed by Palestinian resistance fighters at the same levels mosques, religious buildings for Islamic people, have been flattened in Gaza. And how loud would the US, British, Israeli and European howls have been if Palestinians had bombed Israel on Holocaust Remembrance Day or another other religious observance day in that country, whereas it’s okay to bomb Gaza during Ramadan, the holiest month of the year for Muslims, and during Eid-Al-Fitr, an important religious festival for Islamic people following on from Ramadan?
In the past few weeks we’ve seen huge support building up for the people of Gaza. Tens of thousands have marched around the world to support Palestinian people and condemn the slaughter by the Israeli Armed Forces. It is people on the street who have come out against the injustice perpetrated by Israel, the US, UK and European leaders.
What to do in your daily life? I fully support the Boycott, Divest, Sanctions grassroots movement which is growing rapidly. You can support calls for an arms embargo on Israel. You can join Palestinian support movements. You can donate to support the rebuilding of Gaza and the support of its people.
What can happen in the future? Whenever political leaders talk about the situation, they start with “I acknowledge Israel’s right to exist.” But why does it have the right to exist? It was founded on terrorism and is maintained by state terrorism. The United Nations passes resolutions critical of Israel, describes its settlements in Palestinian territories as illegal and thumbs its nose at the UN because the US backs Israel to the hilt and has turned the UN into an impotent organisation.
So no, I don’t happen to think Israel has the right to exist although that will probably send some people off into paroxysms of incoherent range. I don’t think it should be demolished by violence either. Violence just begets more violence. My own view is that work needs to begin – perhaps under the aegis of community elders respected around the world (which excludes the despised Tony Blair) – of moving towards a one-nation state of current Israeli residents and Palestinian people. Such a state would need to be secular and with a constitution which includes equal rights for all. Do I believe such a thing could happen overnight? Well, no. But it’s the logical, long-term solution to achieving peace in the Middle East.
Whatever – just don’t be silent. Speak up for justice for the Palestinian people, and also for Israeli people, because when you are consumed by hate, you do yourself an injustice.When Israelis sit on chairs, watch the bombing of Gaza and toast to the deaths of Palestinian people, they are to be pitied because they’ve lost their humanity. The task in the Middle East is to restore humanity to all the people who live there, however hard that task might be. |
@org.junit.Before
public void setUp() {
${BODY}
} |
Transcript Level of MicroRNA Processing Elements in Gastric Cancer.
Aberrant expression of microRNAs (miRNAs) has been implicated in the etiopathogenesis and development of various cancers. Drosha and Dicer are the main components of the miRNA biosynthesis machine. Another enzyme, DGCR8, is the assistant of Drosha in the processing complex. Here, we tried to evaluate the mRNA transcript level of Drosha, Dicer, and DGCR8 genes in involved tissues from patients with gastric cancer. Fifty tumoral and their marginal tissues, as the control group, were obtained from patients with gastric cancer. After RNA extraction from tissues and cDNA synthesis, quantification of mRNA expression of Drosha, Dicer, and DGCR8 was conducted using SYBR Green master mix and real-time PCR. It was observed that mRNA expression levels of Drosha, Dicer, and DGCR8 were significantly upregulated in tumoral tissues compared with marginal tissues. Upregulation of these genes was not correlated with clinical manifestations of the patients. Upregulation of Drosha, Dicer, and DGCR8 plays a role in the development of cancer, probably through dysregulated the expression level of miRNAs. |
Rise of the Avatar
Here we turn to ideas on the construction and expression of identity in modern society, beginning with our introductory essay for this section titled “Through the Looking Glass of Facebook.” Our essay asks an important question not just for social theory, but also for many college students today, whether they are enrolled in a theory course or not: Who would we be individually without the many communities—both online and offline—that support our identities and senses of self? And what are the social and individual consequences of the different versions (or avatars) of ourselves that we present to others on a daily basis? To dig deeper into these questions, we begin with George Herbert Mead’s classic work on the self as a social object and two pieces by the great Georg Simmel on individuality and society: “The Metropolis and Mental Life” and “The Stranger.” We then move on to Erving Goffman’s more contemporary but no less pioneering The Presentation of Self in Everyday Life. The final three selections address more poststructuralist and postmodern takes on the issue of identity with excerpts from Foucault’s History of Sexuality and Judith Butler’s Gender Trouble, and Zygmunt Bauman’s provocative essay on contemporary identity, “From Pilgrim to Tourist.” From the modern to the postmodern, these readings uncover the social origins of identity and that which we often take for granted most—our own sense of self. |
Bacteria and the ubiquitin pathway.
Ubiquitylation participates in a repertoire of reversible post-translational modifications that modulate the function, localization and half-life of proteins by regulating their association with various ubiquitin-binding proteins. In response to pathogen infection, bacterial effectors impact ubiquitin and ubiquitin-like modifications of key proteins in immune and anti-apoptotic signaling cascades. Certain bacteria corrupt the ubiquitylation machinery in order to regulate their virulence factors spatially and temporally or to trigger internalization of bacteria into host cells. Several new examples of how bacterial factors target ubiquitin and ubiquitin-like regulation emphasize the importance of modulating ubiquitin signaling to establish either long-lasting or devastating relationships of bacteria with their hosts. |
What is post-traumatic stress disorder?
Post-traumatic stress disorder is an anxiety disorder that can occur after living through a traumatic event, such as military combat.
Not every combat veteran will get PTSD. But those who do can become easily startled and irritable, and they often feel that they are on guard. They might constantly relive a life-threatening event through flashbacks or nightmares, which often trigger intense feelings of fear, helplessness and horror. Others may isolate themselves or try to numb their memories with drugs or alcohol.
People with PTSD suffer more unemployment, divorce or separation and spousal abuse than people without PTSD.
Join The Conversation
McClatchy Washington Bureau is pleased to provide this opportunity to share
information, experiences and observations about what's in the news.
Some of the comments may be reprinted elsewhere in the site or in the
newspaper. We encourage lively, open debate on the issues of the day,
and ask that you refrain from profanity, hate speech, personal
comments and remarks that are off point. Thank you for taking the time
to offer your thoughts. |
import { EmmyDebugSession } from "./EmmyDebugSession";
EmmyDebugSession.run(EmmyDebugSession); |
mixin button()
-
let buttonTag = "button";
const {
color,
to,
size,
style,
icon,
block: blockAttr,
disabled: disabledAttr,
baseClassName = "button"
} = attributes;
const otherAttrs = _.omit(
["color", "to", "size", "style", "icon", "block"],
attributes
);
const stringToArray = str => str
? str.split(" ").filter(v => v.length)
: [];
const styles = stringToArray(style)
.map(s => `${baseClassName}_style_${s}`)
const classes = _.classNames(
[
baseClassName,
{
[`${baseClassName}_block`]: blockAttr,
[`${baseClassName}_icon`]: icon,
[`${baseClassName}_color_${color}`]: color,
[`${baseClassName}_size_${size}`]: size,
[`${baseClassName}_disabled`]: disabledAttr,
}
].concat(styles)
);
if (to) {
buttonTag = "a";
otherAttrs.href = to;
}
else {
otherAttrs.type = attributes.type || "button";
}
#{buttonTag}(class=classes)&attributes(otherAttrs)
block
|
Q:
iOS unable to see last few rows of custom table cell when scrolling to the bottom.
Currently I have a UITableview, I have enough data that cannot be shown entirely on the screen, so user will have to scroll the table view.
The issue I'm seeing is that when I scroll all the way to the bottom, the last element shown in the table view is not really the last element
however, if I do a touch drag, and try to drag it down really hard, I can see the last element, but if I release the finger, the scroll bounced back to the element that is displayed at the bottom, but not the last element
How can I ensure tableview scroll size is really same height as the container?
I did override the two methods:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
- (NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section
I can make:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
Really high, but still, when scroll down to the bottom, it is not the last element.
A:
try reducing the height of the table view frame. that should do the trick.
as a starter, try reducing it by half and then if everything works fine try to calculate the necessary height.
|
It is common to display consumer electronics (cell phones, tablet devices, etc.) in retail stores by mounting them to posts or similar structures on display countertops. The hand-held is typically tethered to the display. One common form of tethering involves cable reels or “retractors.”
The present disclosure relates to a means for locking a retractor in place, from free rotation, while the retractor's cable or tether is retracted. Retractors in the anti-theft industry are often spring-loaded so that they naturally or automatically pull the cable back into the retractor's housing, after a consumer lifts and returns a tethered hand-held to and from the display. Sometimes, however, the retailer wants the tether “locked down” from extension from the retractor. Because the tether may be the only physical attachment between the product and a display base, an extended tether offers something that is easy to cut by a thief in the store. Locking the tether in retracted mode keeps the product close to the base, but with the tether shielded or in a wound condition such that it is not easy to access for cutting.
As described below, the present disclosure provides a lock-down mechanism that accomplishes the above function. |
using System.Web.Routing;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web.Mvc
{
public class UmbracoVirtualNodeByIdRouteHandler : UmbracoVirtualNodeRouteHandler
{
private readonly int _realNodeId;
public UmbracoVirtualNodeByIdRouteHandler(int realNodeId)
{
_realNodeId = realNodeId;
}
protected sealed override IPublishedContent FindContent(RequestContext requestContext, UmbracoContext umbracoContext)
{
var byId = umbracoContext.Content.GetById(_realNodeId);
return byId == null ? null : FindContent(requestContext, umbracoContext, byId);
}
protected virtual IPublishedContent FindContent(RequestContext requestContext, UmbracoContext umbracoContext, IPublishedContent baseContent)
{
return baseContent;
}
}
}
|
ReconstructionCharacters: West Coast Avengers and...their friends? idk open to creativity.Setting: WCA Headquarters, MalibuContent: Stuff.Summary: A dinner party with the WCA! This will obviously go well.
Not that Tony had cooked, cleaned, decorated or even set this surprisingly expert mood lighting, but he thought he put on a downright respectable party when he was sober. He had even remembered to thank Pepper the last time he called her, and once in the six messages he left after she stopped answering her phone. At that point, he had to defer to Jan, who seemed less inclined to insist on perfection despite it all being her brilliant idea and contributed mostly energy and a single balloon. The latter wasn't exactly in Tony's design vision, but he accepted it as payment for Jan's assistance setting a table. As the food arrived (what it was exactly a surprise to Tony as much as anyone else, as he had managed to get Pepper, in New York, to find a restaurant and a delivery service for him in Malibu before she got tired and frustrated with him), it was JARVIS that suggested a romantic, low golden light as the finishing touch, which did make the silver glow mysteriously. It would have all been a boastable success except for one thing; their guest of honour was still missing.
This wouldn't be so annoying if Quicksilver wasn't always inevitably preoccupied with his own fantastically important life when anyone needed him, and inevitably buzzing around demanding attention when anyone really didn't want him. The pattern was so predictable that Tony could have been all right with Pietro not showing up at all, except in this case that would have been his fault and it was possible that Pietro was dead. Also frustrating and a predictable pattern: why was Tony so regularly at fault when the outcome was mortal danger? He sat at the head of the carefully laid table, chair askance so he could bounce his leg on his knee while he texted Pepper again, hoping she might solve this by talking to the right people at the hospital and a car service. All of the tests had gone exactly as predicted, he assured himself, Pietro's new heart hadn't been rejected and he didn't even have stitches anymore. He was practically bursting out of his bed whenever Tony showed up to do the next step in checking his limitations. He was fine, better than fine, just Pietro. Jan's balloon slowly floated down from the ceiling, lingering half way down the table like it was aiming to drop into someone's salad. Celebrating a plastic heart was a misguided waste of time anyway. One of those boxes from the restaurant had to contain something Tony could eat with his hands and bring with him back to the office.
"I'm not hiding." Clint began with a no-sense tone. It just wasn't an option right now with a hangover. He glanced down at her vase from across the table and frowned. "How do you always have so much energy?" He leaned back in his chair and briefly started thinking on what exactly did energy drinks and liquor do to someone at Jan's size? Was she hitting red bulls or something harder? He clearly recalled her staying up way past four last night and yet here she was now. Zipping along like a teenager. Ugh, this job. If Barton had his way, the only thing on the menu would be water and Tylenol. Which would make an amazing birthday party. At least right now.
Like Clint, Tony made no move in reaction to Jan, but continued to frown at his phone as she buzzed around and threw herself into the vase. There was no way he was hiding, even if Pietro didn't know about the dinner. He didn't tuck himself into cupboards and he didn't surprise recent heart surgery patients. "Pym particle side effect," he mumbled to Clint without looking up. That might have been actually viable. Hank could be just as frenetic about his work. Maybe he should advise looking into that, just in case, before he was making new organs for everybody. Still not looking up or deigning to actually engage himself, he asked Clint, "What's wrong with you?"
A small grinned formed along Clint's face at the Pym Particle line. That Hank. Never stopped being weird. Which somehow also made him funny. Barton turned and glanced Tony's way then and shrugged in defense of the follow up question. "I've got a massive headache today." He frowned then and glanced at the door. Change of subject! "So this is everybody? No Steve or Jess?" He wondered aloud at the obvious absence of Tony's other team members from NYC's Avengers. He shifted his gaze back Stark's way and fiddled with a glass of water. "Oh, and Thor? Don't you guys got Goldilocks back now?"
That was the million dollar question that finally got Tony to react. Obviously, Cap and Spider-woman had more important things to do than join them on the other side of the country for a dinner party that the guest of honour couldn't even be bothered to attend, but Thor was another story entirely. Tony pressed his lips together, his frown of concentration at his screen turning darker for a moment before he pouted and shrugged and finally joined the physical world.
"It was just a visit," he explained, dismissive. Pausing only long enough to drop his phone on the table, he switched abruptly as if he had just noticed, "What about Wanda?" Surely she could waft out of her room for her brother's sake. She didn't even have to put anything on if she didn't want to.
"She's probably getting the guest of honor from the hospital," Janet's voice offered, echoing out from the vase. A moment or two passed before she poked her head back out.
"...He was fine when you checked on him last, right?" she asked apprehensively, as thought that could be the only reason they weren't here yet, "Maybe the heart doesn't work as good as you thought it would."
"I'm sure the heart is fine, Jan. Don't worry." Clint replied quickly though not unkindly. He shot Tony a glance and gave him a nod then turned and smirked her way. "Their probably just running late doing weird twin things." He explained while stretching his arms back. Oh they all knew about the vibe those two put out. It was pretty hard not to pick up on something like that (especially when living in the same house like they all did). Maybe it was a Genosha thing? It certainly wasn't mentioned very often among the team. What was even stranger was how Tony fit into all that. When the three of them got together in a room there was a vibe that made even a circus kid like Clint feel awkward. Which was saying something. Anyway, Barton leaned back again in his chair and sipped his water while he waited. If they weren't here in fifteen minuets he was going to go lay down.
Mere moments later the dining room door opened, interrupting what was probably an awkward silence. Not a result of any 'weird twin things', there had simply been traffic on the road from LA (what else was new?) and Wanda had been insistent that they take a car rather than teleportation or- god forbid- Pietro do anything silly like running back home. Of course the doctors and surgeons assured her that Pietro was going to be perfectly fine, Wanda was stubbornly refusing to risk even the slightest chance that he wouldn't be and begged that her brother humor her at least until they were safely back in Malibu.
Smiling around at the other Avengers and hanging onto her brother's arm, Wanda stepped into the room and eyed the food spread out on the table. It was a welcome sight as it occurred to her that she hadn't actually eaten anything in awhile. Admittedly, she'd been worried. Her faith in Tony's design and the abilities of the country's top surgeons only went so far. In her own experience with anything, something could always go wrong.
Pietro had hoped his previous surgery might have convinced everyone he wasn't going to drop dead at any moment, but he was doing his best to put up with everyone fawning over him. He was almost looking forward to Barton's snark at this point, anything to avoid all this unnecessary concern over his health.
His gaze flicked to the lone sad balloon, lips curling.
"Is this really a balloon occasion?" he asked, smoothing his fingers through his hair, and sparing a smile through his sarcastic voice.
Tony could have put his hand to his heart to thank deities for the entrance of the twins after seriously considering the worthiness of taking up smoking again just for a good excuse to leave the room. He couldn't even look at Jan after her helpful commentary, his eyes wide with panic, and would have been astoundingly grateful for Clint's intervention if he didn't follow it up with the 'twin things' comment. They really shouldn't have all known what that meant, but Tony was tense enough then and felt a collective clearing of throats coming on.
It was with enormous relief that he rose to greet the pair, taking Wanda's free hand and clapping Pietro on the shoulder for all his painfully boring recovery work. "That's to celebrate my success and genius, dear. Not everything is about you," he claimed. "Feeling good?"
"Ah of course, well then congratulations," Pietro replied with a laugh, "You did a good job. I'm feeling goood. A little like my chest was resently cracked open, but good. Have a heart beat and everything." Which was really quite the accomplishment. "You do good work."
With the arrival of the Pietro, Clint turned his attention away from Jan and Tony's ego to make his way over to the twins. It was Quicksilver's party after all. He had to go and greet twinkle toes. He marched over to the other side of him and gave him a good clap on the shoulder. "Glad to hear it pal. It's good to see you on your feet. Happy uh.. whatever-this-is. Can you have a drink? I think we got you some champane. Or are you on medication?" Despite their occasional bickering, Clint had to admit privately he was glad to see him well..not dead. Living in the same building with the guy had sort of endured him. Granted Barton could never admit this. No, not even on his deathbed. But it was nice enough seeing him out and about. Enough even to congratulate. That was safe. |
Q:
Java - What is the simplest was to find if a position exists in an array of primitives?
I have an array of characters, and, for the type of program I have, it will have to check indexes over the boundaries by design. I thought I'd got around this but evidently not. So is there a way to check if an index is out of bounds or not?
A:
Get the array.length which gives how many elements exists in array. Available index will be one less than length of array.
|
Q:
Electron vs electron density
I recently read somewhere that electrons do not exist. it's just the electron density. Is it true that there are no electrons (particles) but only in the form of electron density? And does this contradict the fact of dual nature of electron?
A:
Of course, electrons do exist. We have a myriads of observations confirming their existence. What does not exist is working classical picture of an electron. Electrons can behave in certain circumstances like waves, in some other - like particles. That is already nonsense from the classical physics point of view with its universal dichotomy: something is either a particle or a wave.
But the trickiest part of the wave-particle duality is that despite the fact that electrons can behave as waves and as particles, their are, strictly speaking, neither of them. Our language developed on the basis of observations of macroscopic surroundings with its well-established classical notions of waves and particles is simply inappropriate for the description of the microscopic phenomena. Thus, whenever one tries to use any language except for that of mathematics to describe microscopic world he/she quickly runs into apparent paradoxes.
With respect to the desire of pictorial classical description of an electron I feel like the only thing I have to do is to quote Paul Dirac:
[…] the main object of physical science is not the provision of
pictures, but is the formulation of laws governing phenomena and the
application of these laws to the discovery of new phenomena. If a
picture exists, so much the better; but whether a picture exists or
not is a matter of only secondary importance. In the case of atomic
phenomena no picture can be expected to exist in the usual sense of
the word 'picture', by which is meant a model functioning essentially
on classical lines. One may, however, extend the meaning of the word
'picture' to include any way of looking at the fundamental laws which
makes their self-consistency obvious. With this extension, one may
gradually acquire a picture of atomic phenomena by becoming familiar
with the laws of the quantum theory.
|
Lower brain-stem origin of the median nerve N18 potential.
A patient undergoing intraoperative median nerve somatosensory evoked potential (MSEP) and brain-stem auditory evoked response (BAER) monitoring showed changes during basilar artery aneurysm clipping. There was loss of the BAER wave V, with preservation of waves I and III. Simultaneously, there also was loss of the MSEP N20 potential, with preservation of the N18, N13 and Erb's point potentials. The patient died and autopsy showed an infarct involving the whole rostro-caudal extent of the pontine tegmentum. This combination of electrophysiologic and pathologic findings may help answer questions regarding the exact generators of different MSEP potentials. In particular, it implies that medullary structures can generate the N18 potential. |
Hey,I was looking for the pin assignment on my UNO and I ran into a page that was "members only" and there was no registration option. under hardware>UNO>Input Output>mapping pins to ATMega328 any idea how I can register for a password.I thought this was supposed to be open source
I'm just a volunteer with no life, I don't know about the inner workings of the "powers that be". I suspect its an oversight, the stuff is widely available all over the net. The Uno is largely the same as earlier model Arduinos, The Duemilanove was around a while and is largely similar so most stuff for the Duemilanove also applies to the UNO. |
Q:
Get the real DateTime even if i changed clock on my host (c#)
I want to generate a serial number for an application (to be used just in a period of time), this serial number based on the time, so it's will be unnecessary code if change the clock time in my computer so am asking you if is there any possibility to get the real DateTime even if i changes time on my computer using C# ?
(I assume that the user does not have an internet connection)
A:
am asking you if is there any possibility to get the real DateTime even if i changes time on my computer using C# ?
(I assume that the user does not have an internet connection)
No. The system clock is the local source of time information. If you can't go to a reliable external source (due to a lack of internet connection) there's nothing else you can rely on.
I suggest you use an internet connection to check the time if there is one, otherwise fall back on the system clock, possibly detect time having been reversed significantly (if at one point you "see" the time as April 20th, and then at another you "see" the time as April 15th, you can assume something odd is going on) and accept that a sufficiently motivated user will bypass the check.
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-element-test',
templateUrl: './element-test.component.html',
styleUrls: ['./element-test.component.css']
})
export class ElementTestComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
|
Polyethylene glycol (PEG) is a polyether that is commonly used as a laxative. For example, PEG may be used to purge the GI tract of an individual in preparation for a medical or surgical procedure.
PEG may break down into its component elements, for example, as a result of the digestive process or for other reasons. Breakdown products of PEG include ethylene glycol and diethylene glycol. The ingestion of PEG or a PEG containing substance by an individual may result in the production of certain PEG metabolites including ethylene glycol and diethylene glycol. Following the ingestion of PEG, PEG metabolites may be present in, for example, the blood, urine, or digestive system of an individual who has ingested PEG.
PEG break down may also occur within a PEG containing product or solution. For example, a PEG containing bowel preparation may contain a certain amount of PEG breakdown products even before the PEG containing product or solution is ingested.
Generally, the metabolites of ingested compounds as well as the breakdown products of compounds may be assayed for in samples. Metabolites may be assayed for in samples taken from subjects who have ingested said compounds. Breakdown products may be assayed for in samples taken from compounds or solutions that contain said breakdown products. Such assays may be used to, for example, determine the presence of and quantity of said metabolites or breakdown products in a sample. |
Title
The Improvement of Human Reason
Exhibited in the Life of Hai Ebn Yokdhan |
// +-----------------+
// | |
// v |
// (A) -> (C) -> (D) *+-> [E]
// * ^
// | |
// v @
// (B)
import { shouldBe } from "./resources/assert.js"
import('./fallback-ambiguous/main.js').then($vm.abort, function (error) {
shouldBe(String(error), `SyntaxError: Indirectly exported binding name 'A' cannot be resolved due to ambiguous multiple bindings.`);
}).catch($vm.abort);
|
How is Functional Medicine Different? The Functional Medicine Tree
The illustration to the right uses a tree to visually represent the core aspects of the Functional Medicine paradigm and highlight the difference between conventional medical care and Functional Medicine. The graphic itself has undergone some changes through the years, but its essence remains the same. In order to keep a tree healthy and allow it to flourish, you need to support the most basic and essential elements first; the foundation: the roots and soil. Similarly, if a tree is not healthy, the first place you should look for answers is those same foundational elements.
In Functional Medicine, the same approach applies to patients. The most important factors, and the ones we examine first when gathering information about the patient, are the foundational lifestyle factors; sleep, exercise, nutrition, stress levels, relationships, and genetics. These are the roots and soil, which are in turn influenced by specific predisposing factors (antecedents), discrete events (triggers), and ongoing physiological processes (mediators), and may then result in fundamental imbalances at the trunk. These can eventually result in the signs and symptoms that are grouped into a diagnosable constellation that we call disease, represented by the branches and leaves.
Conventional medicine tends to look at the constellation of symptoms first (the branches and leaves), which usually results in a disease diagnosis. Often, this diagnosis is associated with a drug or drugs that can be prescribed to treat this constellation of symptoms, and that is the end of the story. But this approach neglects the more fundamental aspects of health that reside in the roots and the trunk of the tree. It treats all patients that present with similar symptoms the same and completely neglects both the inherent differences among patients as well as the myriad possible causes that a “disease” can have.
If you are tired of spending your time in the leaves and watching as your patients with chronic disease go through the cycle of diagnosis and drugs without getting any better, IFM invites you to climb down from the canopy and join us at ground level. We will provide you with the tools to make your patients better, without ever needing to leave the ground.
Author: Dr. Ana Orozco
Dr. Orozco specializes in both Traditional Medicine and Integrative Functional Medicine. Her focus is to help her patients achieve the highest expression of health by restoring the natural balance to both the mind and the body. |
I like Dr. Strange, but when you already have the deep personalities of Stark, Rodgers, Thor and Banner, and you talk about throwing in the Pyms, Thanos, possibly Ultron, and maybe even Black Panther, you dont need to add the complexity of Dr. Strange too. Just my opinion. |
So, does this mean these exist as "PAL" version but haven't been dumped to check whether they differ from the US rom or not?! So, basically, what makes them different than normal undumped? Is there a reason to assume they are the same as the US-dump?
hydr0x wrote:
So, does this mean these exist as "PAL" version but haven't been dumped to check whether they differ from the US rom or not?! So, basically, what makes them different than normal undumped? Is there a reason to assume they are the same as the US-dump?
Yes, all those games were released in Europe. However no specific "xxxP" ROM exists, which usually exist for all Europe-released games. Sometimes groups claim that the dump came from an EUR cart, but this is of course not enough, and a check by a trusted dumper is required to ensure a (USA, Europe) tag is properly applied.
There is a bit of guessing exercise when building this list. In example the list suggest checking for "Scooby" and "Sims" (P serial according to boxart, sold in UK). As I said no "xxxP" ROM exist for them. It is reasonable to think that those UK versions just match the USA version, that's why no group has released a "xxxP" ROM. For sure a group dumped those box serials in the past, but if they matched the USA version, the group couldn't release a dupe. They didn't reported this match either, of course. But this is just a reasonable guess, hence the games are on the list, we just need a definitive confirmation of this match.
Other example is Power Rangers TF. A french (xxxF) and German (xxxD) version exist, but no english? For almost sure, the P serial box was dumped, found matching the USA release, so it never hit the scene. Again, just a reasonable guess. Confirmation is required.
You are right, the games in the list are essentially normal undumped games. The difference is the "reasonable guess" that they're going to match the existing USA dump, contrary to normal undumped, which are new releases for sure. Is just a dumping prioritization arrangemement. Nice surprises (whole new dumps) are possible though.
Both are used. After a very quick inspection: videos, Scooby, Sims, SpongeBob and Super Hornet (I might be forgetting some other) are tagged (USA), the rest are (USA, Europe).
This is a bit inconsistent if all of them require (USA, Europe) confirmation. My guess is that the list is a "safe" list. Probably some of them were confirmed (USA, Europe) long time ago and renamed accordingly, but source is now forgotten or lost.
Anyway, @relax: if you think that it would be better to tag all of them back to (USA) until confirmation, please tell me. |
The overall objective of this project is to study the genetic relationships of Corynebacterium diphtheriae and other aerobic corynebacteria to each other and the genetic mechanisms influencing that relationship. DNA-DNA homologies between C. diphtheriae and other aerobic corynebacteria will be determined with special emphasis on strains of Corynebacterium isolated from the skin. A survey will be undertaken of the plasmids in the various species of Corynebacterium included in the homology studies. The relationship between their plasmids will be examined by electron microscope observations, restriction endonuclease digest patterns as determined by agarose gel electrophoresis, and DNA-DNA homology studies of whole plasmids and restriction enzyme fragments. The mechanisms by which plasmids enter or are exchanged in corynebacteria as for example by conjugation, transduction or transformation will be investigated. The extent to which the gene for diphtheria toxin is carried cryptically in non-toxigenic C. diphtheriae and other corynebacteria will also be determined using a radiolabeled DNA fragment bearing the gene for toxin as the probe. The DNA fragment can be isolated from restriction digests of beta converting bacteriophage. Finally a comparative study of converting and non-converting corynephages will be continued as a means of examining the evolution of phage conversion in C.diphtheriae and the possible role of phages as transducers of plasmid or chromosomal DNA. |
Q:
Writing double Select statement in php for sql
I am currently making an online movie rental database and to deal with double bookings I have wrote the following code for the drop down list in bookings. The inputs $start and $return are in the right format i.e. 'YYYY-MM-DD'and all my column names are correct but the could won't work.
I think it might have something to do with the double select statement, even though this would run in mysql?
on top of this seeing as a movie rental place would have more than one copy of a movie i would like the drop down list to only show unique movie names, I can't seem to get this to work either?
Any help at all would be greatly appreciated!
Thanks,
Alan.
<select name="movie" style="width: 280px">
<?php
include("detail.php");
$query="SELECT movie_id, movie_name, movie_year FROM movie WHERE movie_id!=(SELECT movie_id FROM rental where return_date>='$start' and start_date<='$return')";
$result= mysqli_query($db,$query);
while($row=mysqli_fetch_assoc($result))
{
extract($row);
echo('<option value='.$row['movie_id'].'>'.$row['movie_name'].' ('.$row['movie_year'].') '.'</option>\n');
}
?>
</select> </td>
A:
For comparing values to a subquery, don't use equals, use IN;
....WHERE movie_id NOT IN (SELECT...
|
Re-using historical photos and asserting the photo shows something other than what the photo actually shows is extremely common on social media.
This propaganda method works because most people have no familiarity with the photos being used and, typical of propaganda, the claims being made “sound plausible”. For this particular topic, there is also the use of “virtue signaling” with the quote “Save a refugee. Save a life.”, therefore, the person who posted this is signaling that he or she is a good person of good character. And since the poster is a “good person”, the poster must be true!
The goal of this propaganda poster is to support the acceptance of those said to be refugees from the middle east and north Africa.
Text for Search Indexing
These aren’t Syrians; they are Europeans trying to get to North Africa during the last world war…So, next time you think of closing borders you might want to check with your grandparents..” |
Cool pitch and half-reverse play here to spring Tavon Austin for a score. Daryl Johnston got his young black males mixed up, though, and called Austin "Tavon Martin"—because, well, you know—before quickly correcting himself. As unfortunate slips go, this isn't the worst, but I'm sure Moose would rather have that one back. |
I think all Yeelights work the same - so ceiling light should be no exception. I have mono bulbs, color bulbs and led stripe. And they all behave the same. I didn't change any default settings. When for some reason, my wife can't turn on the light with the tablet/phone, she just switches the light off/on with normal switch and it just works. So, yes, I think all yeelights work as standard lights with on/off switch. |
The present invention relates to a process for the continuous determination of the dust content of flowing media with the isokinetic partial flow removal for sampling by separation of the dust or aerosols via cake filtration on a filter.
Known processes for the continuous emission surveillance employ absorption of light waves or other radiation sources. It is also known to monitor the pressure losses in filters for a threshold value at which it is pressurized that the filter needs to be exchanged. Only afterward the integral amount of the particles deposited on the filter can be determined by weight measurements. A continuous surveillance of the amounts deposited over predetermined time steps is not possible with this method.
It is the object of the present invention to provide a process by which the continuous surveillance of dust emissions with subsequent record keeping capability of the sample material regarding the analytical determination of dust content materials such as heavy metals, dioxines, etc. is made possible. |
Critical Mass Testo
Testo Critical Mass
Arriving in boats, black hooded coats
tormenters climbed into my room
I crawled under my bed, covered my head
but they're flushin' me out with a broom
the leader, she's small, pinned my ass to the wall
for my seeds or she'd be losin' her past
time after time, she'd be readin' my mind
but she never got the feelin' to last
celebrate, celebrate, celebrate it
this is the critical mass
so far so good, I heard the other say
so good so far, they're takin' me away
I drink to you, your mind, her ass
we'll take a drink and break the glass
celebrate, celebrate, celebreak it
this is the critical mass
now the tallest of two, with a brush full of blue
paints surrealist scenes on the wall
so I tell her for fun, that it's really well done
but she just ain't listenin' at all
she points to my heart, tellin' me if I'm smart
I'll practice and phase
out and admit, when the shoe doesn't fit
and I went screaming out down the hall
need it
need your love
just then I heard a poundin' on the door
we're all here, sang the voice of twenty more
I drink to you alas, we'll take a drink and break the glass
celebrate, celebrate, celebreak it
we are the critical mass
time and space, is takin' me away
time erase, don't know the time of day |
Poly(ethylene glycol) is commonly used as a polar polymer for immobilization on a substrate's surface. These substrates are used as stationary phases for chromatographic separations and as extraction sorbents. However, poly(ethylene glycol) has insufficient polarity for absorption and analysis of many highly polar analytes. Immobilization of polar polymers, including poly(ethylene glycol), on a substrate's surface is considered a challenge to surface chemists. In a conventional coating process, a thin coating of the polymer is deposited on the substrate's surface, followed by free-radical cross-linking reaction that forms a mesh-like network to anchor the coating to the surface. Bound poly(ethylene glycol) behaves like a pseudo-liquid that retains target analytes via dissolution. The dissolution of analytes in a highly viscous solid can be a slow process that requires long extraction time to reach equilibrium. Absent chemical linkage between the polymer film and the substrate surface, the sorbent coating is vulnerable to being washed out by organic solvents nor can the coated substrate be exposed to high temperature; as when heated for thermal desorption after an analyte extraction or when employed as a chromatographic stationary phase. Incorporation of poly(ethylene glycol) polymer in the sol-gel matrix (sol-gel coating technology) improves solvent resistance and thermal stability of the composite material.
Nevertheless, the limited polarity of poly(ethylene glycol) remains a problem when employed to target very highly polar analytes. To the end a simple and environmental friendly approach of immobilization of highly polar molecules to a metal oxide network for use as superpolar stationary phase and/or extraction sorbent is desirable. Such a composition can have properties derived from being a sol-gel inorganic/hybrid organic-inorganic polymeric network that can be formulated to display adjustable porosity, tunable selectivity, high thermal stability, solvent stability, and wide pH stability. |
The Labour MP for Christchurch East, Lianne Dalziel, says the government's draft recovery strategy has failed to engage Cantabrians and the council should now be given overall responsibility for the city's rebuild. |
Learn about the benefits of taking advantage of flexible spending accounts.
Transcript
Flexible spending accounts, or FSAs, can be an extremely valuable employee benefit. They let you pay for eligible health care and dependent care expenses on a pre-tax basis, reducing your income tax bill.
Health Care FSAs can be used to pay for medical expenses, deductibles and copays not covered by insurance plans.
Dependent Care FSAs are for expenses to care for dependents like children or elderly parents.
Flexible Spending Account contributions are deducted from your paycheck year round. As you incur expenses, you submit receipts for reimbursement.
FSAs have several restrictions, like contribution amounts and no refunds for unused balances.
Bottom line: Flexible spending accounts could save you thousands of dollars every year. |
Left atrial extension of lung malignancy with ECG changes resembling STEMI.
Lung malignancy extending into left atrium is seen very infrequently. We had a patient with a fast growing symptomatic lung mass and electrocardiogram showing persistent coving ST elevation without any biomarker change. Transthoracic echocardiography showed a large left atrial mass which was fixed to the free walls and extended into the appendage. There was also a large lung mass that was compressing the heart from its lateral aspect. CT-scan of chest corroborated the lung mass & CT-guided FNAC showed small cell carcinoma. |
Sterling Silver Vintage Floral Green Amethyst Ring
Silver looks so much sweeter when given a gorgeous Victorian style. This gemstone ring from Apples of Gold helps silver shine with a carefully engraved band that features a leaf-like pattern on either side. The silver mounting holds a small heart in between the prongs for a delightful surprise. Crowning this piece is a lovely green amethyst gemstone that features a round cut for outstanding brilliance and shine. This Victorian-style gemstone ring is one that you don’t want to get away. |
"Women!" "If it were for a bacchanal orgy they would stampede towards it!" "But today, no sign of them!" "Greetings, neighbour Cleonica." " Lysistrata, what's the matter?" "Men call us sly, and rightly so!" "We all agreed to meet and deliberate on serious matters." "But all the women are still asleep!" "They'll be here!" "They have their morning chores." "Their husbands must have their breakfast." "Their babies must be fed and bathed." "This is more important!" "What's it about?" "A big thing..." "Big, hard, and prickly!" "It's not what you think, or they'd be here already!" "It's a big thing I've got on my hands." "The salvation of Greece depends on... the women!" "Then, goodbye, salvation!" "The way things go, all Greeks will perish in the war!" "Spartans and Athenians and everybody else!" "However, if women from all over the country get together they will save Greece!" "No more will man fight against man!" "He will hold spear and shiled no more!" "Down with the sword!" "Shouldn't the women come for such a cause?" "Athenian women are never punctual!" "No-one from the coasts, either." "They're riding the morning masts...!" "No-one from the outskrits, either." "Some women are coming!" "More and more of them!" "They're from Sewerville..." "Where's Lysistrata?" "We're not late, are we?" "It's never too early for such a big thing!" "What is it?" "Tell us!" "Let's wait for the others." "Here comes Lampito from Sparta." "Welcome, Spartan Lampito..." "Why, darling, you're more beautiful than ever!" "You can put a bull to ground!" "Exercise is the thing!" "If I jumped, I could touch my buttocks with my heels!" "You're well provided for!" "It's queer the way you touch them!" "Well, who convened this assembly?" "Me." "I did!" "By Zeus, tell us!" "First..." "A question." "Go ahead and ask!" "When your husbands go to the wars doesn't that screw your necks, but nothing else?" "Wasted lips and thighs and breasts." "Lonely and wasted are our beds!" "Wasted lips and thighs and breasts." "Lonely and wasted are our beds!" "How can you cool your poor heated selves when your refreshing jugs are emptied in the war?" "Wasted lips and thighs and breasts." "Our cage is empty, the bird has flown away." "Wasted lips and thighs and breasts." "Our cage is empty, the bird has flown away." "Wasted lips and thighs and breasts." "Lonely and wasted are our beds!" "Mine has been away for five months!" "And mine, two hundred and seven nights!" "Mine comes stealthily for a quick go and leaves me holding the gate!" "Making love is a thing of the past..." "We have even forgotten how to do it!" "That's why I decided to put an end to our tortures by ending the war!" "I'd give my precious panties for it!" "I'd give all of myself!" "I'd climb high mountains barefooted!" "Here's my plan..." "If we want our men to make peace, ...we must not give it to them!" "What?" "Will you listen?" "Even if we have to die!" "Well, lady, ...if you want peace," "...if peace you want to obtain," "From the joys of sex you must abstain!" "Lady, swear that you will not care for it." "Even if you see it up and kicking." "Be adamant, be firm." "Do not kick back!" "Why are you so pale all of a sudden?" "Well, lady, ...if you want peace, ...if peace you want to obtain," "From the joys of sex you must abstain!" "Lady, if you want a joyful life, ...peace hard and fast." "Refrain from desire and say "avast"!" "Lysistrata," "I can't say avast..." "Instead of a sexual fast let me die if I must!" "Lysistrata, I'm all alone under my bed-covers." "I'm dreaming of lecherous latin lovers!" "Women are utter sluts!" "Euripides was so right in saying it!" "We had it coming to us!" "You and me, good Spartan lady, we can still save the day!" "It's a hard thing for a woman to live without a hard thing." "But if we want to do it, we must have peace!" "You're the only woman worthy of the name!" "Even if we abstained, how would that bring peace?" "We'll stay at home..." "Not caring for anything except for our tempting looks." "We'll make up and dress up..." "We'll be peaches that can't be eaten!" "Our men, blinded with desire they will be asking for it, but not getting it!" ""If you give no peace to us, you get no piece of ass!"" "Well, they'll conclude a treaty in no time!" "Suppose they leave us flat?" "Suppose they take us by force?" "We'll resist!" "Suppose they beat us?" "Then, give in!" "But be nasty about it!" "Forced love is sour!" "In that case, we're all in it together!" "We'll manage with Spartan men." "What about yours?" "All men are the same!" "They have a fleet..." "They have gold in the Acropolis..." "I thought of that!" "We'll steal the gold..." "The old women, pretending to sacrifice will seize the Acropolis and its treasures!" "Now, let's take the Oath to make this binding!" "Go ahead, say the Oath!" "Someone give me the entrails." "What kind of an Oath is it?" "The one Aeschylus wrote." "We will swear on a shield." "An Oath for peace on a war shield?" "Would you like the white horse of an Amazon?" "No!" "A jug of wine!" "A jug!" "A jug!" "A wonderful idea!" "We'll swear that we won't dilute it with water." "Bring out a jug!" "We will not be "made" until peace is made!" "Oh, Mistress Persuasion..." "Me!" "Let me be the first!" "Raise your hands and repeat after me." ""Husband, lover, or any other male I will not let lie with me." "And if he should force me to it my knees will cling together." "I would better rage like a dog but I will not raise my legs!" "If I this oath do not maintain let me from wine forever abstain!"" "Since we all agree, I'll dedicate the ablation." "Bottoms up!" "Never to a man!" "Even to a male cat!" "Men of Athens, on foot and riding slaves and masters, soldiers and generals..." "In short, all men of Athens:" "We've been had by the birds!" "What's the matter?" "The old women have taken the Acropolis!" "Athens, Thebes, Sparta." "And all the islands." "Have lost their best offspring." "In cruel battle." "Peace means happiness and bread!" "Lampito, you'll organise the resistance in Sparta!" "Women..." "The joyful day is here..." "Some of us will go and secure the Acropolis." "What if the men attack us?" "Let them try!" "If they dare!" "By Aphrodite..." "Women of Greece, our war is sacred!" "Be quick, men!" "We'll smoke them out if they won't open the gate!" "We'll burn them out!" "They'll roast like rats!" "Girls be brave!" "Pour water!" "Chase them with broomsticks, pluck them like chicks!" "Old men, drivelling and doting," "...are upon us with flaming torches..." "Pour water!" "Piss them!" "Bring water in jugs and chamber-pots!" "Old man's torch is burning but limp..." "Old pants, full of piss and shit..." "Helen from Corinth, Ariadne from Creta," "raise your skirts, let them burn up!" "Hands down, old man!" "Is this ladylike?" "Why, was that manlike?" "Who are battles for?" "For women too, if need be!" "You've seen nothing yet!" "Go ahead and try!" "I'll make you a eunuch!" "Then who will screw you?" "I'll rip you apart!" "Euripides was so right about you..." ""No creature is more loathsome than woman!"" "I'll barbecue you with this torch!" "Try if you dare!" "You'll be staked!" "I'll give you a pissing bath!" "Impudent bitch!" "I am a free woman!" "I won't be ordered about!" "Nice and fresh?" "I'm shaking all over!" "I'm gardening..." "Perhaps you'll bloom!" "Use your fire to dry up!" "NO GREEK:" "BARBARIAN" "From what I gather, the women are on the warpath!" "Never in history have they done anything good." "See what happened to us:" "We are insulted and soaked!" "As if we had pissed ourselves!" "Whose fault is it?" "By Poseidon, the fault is our own!" "Don't say that!" "We spoiled and pampered them!" "We answered all their wishes!" "Nonsense!" "I am Commissioner of Public Safety... and now I see that the gold for our fleet is stolen!" "I have no time to waste..." "Bring crowbars..." "We'll pry the gate open!" "Save your trouble..." "Here I am!" "Is that you, bitch?" "Arrest the woman!" "Whoever lays a finger on me, will regret it!" "Archers!" "Take her!" "If you dare, you'll lose all your hair!" "Attack, my braves!" "One step, and you'll be toothless and hairless!" "One more, and you'll piss your feet!" "I'll give them a good lesson!" "My braves!" "March!" "Alas!" "The archers are running out on me." "Charge!" "Onward, women!" "You, tavern-waitresses, seamstresses and serving maids..." "At arms, onward!" "You, flesh-mongers, strip-teasers, fortune-tellers..." "You, hookers, bookers, real and phony artists!" "Onward, Athenian women!" "Defend your country!" "Let us raise the eternal flag of the Graeco-Creto-Athenian super-civilisation!" "Let us tear the paper tiger of Male Imperialism!" "Behave, girls!" "Man's habits, plundering and the like, are strictly forbidden!" "Alas!" "My braves have deserted me!" "Serves you right!" "I'm as gentle as can be but I sting back like a waspish bee!" "Why did you take the Treasury from the Acropolis?" "It's simple:" "No money, no war!" "The money's the cause of the war?" "Yes!" "That's why the war goes on!" "The money's behind every evil!" "Now that we have taken it will you be able to go on?" "What are your plans?" "Stupid question!" "We'll budget the money." "You'll handle the money?" "Our national economy?" "We budget the household accounts." "That's different!" "It's the same!" "There is a war on!" "Who needs it?" "How can we be saved?" "We'll save you!" "Say that again!" "We'll save you!" "They are crazy!" "We are sane!" "Tell me how!" "When the war began, we reasoned and thought:" "This is man's job." "But when your mistakes made us suffer, we asked you:" ""Did you talk about peace in the Assembly?"" "You answered: "Shut up!" And we did." "You did right!" "Things went from bad to worse and men got madder..." ""Women, if you ask about peace again, I'll beat you up!"" "Women have nothing to do with public affairs!" "How could we remain indifferent to your tragic blunders?" "There isn't a man left in the country!" "Where are we heading to?" "Where to?" "That's why we decided to save Greece!" "Now you'll take orders from us!" "We'll save you!" "You will save us?" "I won't take orders from a creature who wears a veil!" "Never!" "If that's the obstacle, then you wear a veil too." "Women!" "To the Acropolis!" "# Katerina, Lina, and Lili, # ...follow me to Acropoli!" "# Katerina, Lina, and Lili, # ...follow me to Acropoli!" "# We'll be safe drom drudgery, # ...and from man's skulduggery!" "When our bodies will burn with desire, ...and men will stoop on us with a raging dingus..." "Then, eternal glory will crown our heads:" "We'll have abolished the war!" "You, asparagus-like bag of bones!" "You got mad because we took your money!" "The government is a though thing." "We're used to tough things." "The affairs are in one hell of a snarl..." "We'll unsnarl them, as we do with wool." "How will you appease an insurrection?" "As we appease a morning erection!" "We took the reins from your hands..." "You only took our dirty pans!" "We took your government and all..." "You only took a hollow ball!" "Shameless, you deserve a slap!" "Why don't you shut your trap?" "Female sex, disgraceful and shameless!" "The wrath of the gods will fall upon you!" "What's the matter?" "Shame to utter, pain to hold unsaid..." "The rage from down below has touched our minds!" "In briefest compass, we want to get laid." "By Zeus!" "He can't do it by himself." "We're far too many!" "The women slip out in droves!" "One scooped out a hole from Pan's Grotto..." "Another took off to the nearest bawdyhouse." "Excuses, pretexts for overnight passes!" "Look there!" "Here comes one..." "Where to, wench?" "I've got the wool in the house..." "The moths will batter it to bits!" "No fear!" "Get back inside!" "I must spread it out..." "Shall I let my piecework rot?" "The wool will stay unspread, and you unlaid!" "Quick!" "A midwife!" "Help me deliver!" "Oh, goddess of childbirth!" "Why, I'll be..." "Come here!" "I'm due any second!" "You weren't pregnant yesterday..." "Today I am." "A miracle!" "I may not make it..." "You want to get made!" "I'm going to deliver..." "Your belly is too hard..." "It must be a tough boy..." "Your boy must be made of bronze." "Get lost!" "This is too much!" "You only think of mating..." "Of wool-spreading, belly-laying, and dating!" "Back up!" "Be patient!" "Back up!" "Be chaste!" "This is too much!" "You only think of wooing..." "Of kissing, embracing, and screwing!" "Back up!" "Be patient!" "Back up!" "Be chaste!" "Foolish creatures!" "You miss your men don't you?" "Don't you think their nights are as hard as yours?" "Back up!" "Endure!" "Victory will be ours!" "We're going to do it!" "We'll do it!" "Besides, it's in the prophecy..." "I forgot to tell you about it..." "I got an oracle!" "Straight from the horse's mouth." "From the Pythia." "Be silent, women... unmarried, married, and in-between." ""When the swallows discipline their desire and do not give their bodies to sire..." "Then, whoever is under, will be on top!"" "We'll be on top!" "Lysistrata, let me kiss you!" ""But should these swallows be laid, ...everything will be destroyed, unmade!" "Everything is doomed to flop, ...doomed to flop is everything!"" "We won't be on top?" "We won't be anywhere!" "Never!" "We're united in battle united to sex!" "What great ideas!" "Let's defend our sacred cause!" "Reason alone, stumbles and falls." "The oracle does it, though it be false!" "For when a man, is full of lust how do you expect, a woman to last?" "I have a tale from the olden times to relate." "A married man left his home." "It's never too late." "He reached a deep forrest." "Full of beautiful maidens." "His shop is now closed." "He's singing and dreaming." "He's playing and laughing." "He's forgotten his mother-in-law." "I'd like to kiss you or kick you!" "Go to Hades!" "There's a young man in a deep forrest..." "He's carefree..." "He's living it up... ?" "?" "No weapons, no daggers, no troubles." "He's playing with beautiful maidens." "No fight, no troubles, only maidens." "Maidens in his arms, day and night." "He was a real man." "He was lion-hearted." "You're chicken-hearted!" "You live well, if you love well!" "You live well, if you love well!" "Who's that man with a promontory in front of him?" "He's suffering from an elongated lump!" "That's Kinesias, my loving husband!" "Is that so?" "He's so pitiful, my boy!" "The war!" "You can only put the blame on the war!" "War is the root of all evil!" "That's what we are fighting for." "This fight is a good fight." "And we're on a man-diet!" "You'll do your duty, my good Myrrhine." "Stew him in his own juice!" "Serve our cause!" "General Lysistrata, I'm deeply touched by this mission." "Our fate is in your hands!" "Our little secrets are well known, ...ever since men have given us a raw deal." "They took the arms, the money, and everything." "And they split the world:" "Men and Women." "They split the world in two camps:" "Men and Women." "Sound the alarm!" "An enemy!" "Eat him up!" "We're on a diet!" "Why, hello, Kinesias!" " How do you know me?" " All women know you!" "Your wife talks about you all the time..." ""My Kinesias is a real bull!"" "She keeps saying to all of us:" ""My Kinesias would manage all of you!"" "Thank Zeus!" "The way she goes about it, you must be really special." " She's not complaining..." " Naughty boy!" "She's mad about you!" "When I tell her that you're not the only man, she says:" ""My Kinesias shakes me up!"" "You know what she means..." " Bring her out here!" " My fee?" "You'll have it later." "There's... plenty!" "Your lovely wife first..." "Don't waste any time!" "It's hard, getting harder all the time!" "I love him, but he doesn't want my love." "Myrrhine." "My little bird." "What are you talking about?" "It's true." "You're wrong!" "Come down here!" "Never, never, never!" "You refuse?" "You don't need me." "Myrrhine..." "Can't you see?" "It could be your purse." "I'm not coming." "I'm going." "Wait a moment!" "Think of our child." "Say "mama"." "Say "mama", you bastard!" "How can you be such a pitiless mother?" "Come for the baby's sake." "I'll sin for my baby." "You're so beautiful!" "If you knew how you turn me on!" "My little darling." "Those women are leading you around." "Our home is going to hell!" "Our child will have a hangup." "The house is full of chicken." "But I'm not coming back, unless you stop the war!" "It's up to the Parliament." "For the present I'm sworn off." "Come for just a minute." "I'd like to, but..." "So what's the trouble?" "Lie down!" "In front of the baby?" "Take the bastard away!" "We're rid of the kid." "Let's go to Pan's Grotto." "How can I expunge the pollution?" " What about my oath?" " I'll take the blame!" "I'll get a mattress." "I can't put you to bed in the dirt!" "She's really mad about me!" "There." "Come." "Lie down while I undress." "I forgot!" "We need a mattress!" "Who wants a mattress?" "Not on the ropes!" "A kiss!" "Only one." "Lie down!" "Where is my comb?" "We don't have a pillow!" "Even on our wedding night I was not this turned on!" "Now we have everything." "My sandal." "Don't break your promise." "About the peace." "You have my word!" "We need a sheet." "I don't want it!" "We're nearly finished." "The sheet!" "They're looking at us." "You're taking the hell out of me!" " Get up." " I've been up for hours!" "I'll put some perfume on you." "You smell like a bull." "Damn perfume!" "Wait!" "Don't go!" "Come back!" "The bitch!" "What a blow was that, poor man!" "They poured oil on your flaming fire." "How can you put it out now?" "No man, no human can take such a pole, such a stake." "Such an axe, like a tax." "Go ahead and run." "And hit everyone!" "Oh gods, I'm burning." "I pity you." "What an agony!" "That slut, that hag!" "No!" "Slight not my sweet love!" "That snake?" "Oh Zeus, snatch that bitch up on high, tumble her over, trundle her under, and drop her on our comrade's tool!" "Where is the Council of Elders?" "I bring an important message!" "Who are you?" "Are you a human or what else?" "I'm Spartan, coming for arrangements." " And what is that in front of you?" " What do you think?" " It is becoming bigger and bigger." " Like yours." " I see." " Good, you are smart." "What's the news from Sparta?" "We are very upset." "And the allies too." "It's sent from the gods." "No, it's sent by Lampito." "She said: "Peace, or women-diet!"" "Here is the same situation." "You mean it's all over Greece." "Don't waste time, say that yours are as ours." " What do you mean?" " Our problems." "In spite of this..." "I'm going to tell them..." "Fire, Women, and the Sea..." "Evils are they three!" "They screw me!" "Why don't you stop the war?" "I'll never stop hating you." "Have your heart's desire." "But I'll never stop loving you." "I can't live with you, I can't live without you." "You fawned me into it..." "I swear that we will live peacefully from now on..." "Captains and soldiers, come to your senses." "Girls don't like your daggers and spears." "Captains and soldiers, come to your senses." "Girls don't like your daggers and spears." "Young man, don't let me live alone anymore." "Think of your mother, drop your weapon." "Young man, don't let me live alone anymore." "Think of your mother, drop your weapon." "Captains and soldiers, think of the tax payers." "Girls don't like buying bread so dearly." "Young man, think of your sweetheart." "Your hands are needed in the fields." "Young man, think of your sweetheart." "Your hands are needed in the fields." "Here come the Spartan ambassadors." "You're in the same predicament!" "They look like upside down sailing boats." "Greetings, Spartans!" "You're up a stump!" "Greetings, Athenians!" "You have a hitch in the crotch!" "You're not in a better state yourselves." "Thank Zeus!" "We come for peace." "Now thank Zeus!" "Send for Lysistrata!" "Only she can reconcile our differences." "Hail, great Lysistrata." "The leaders of Greece expect salvation from you!" "Since you could stand up, ...and did not seek solution between yourselves, ...it's proof that Greeks are real men," "True and loyal to their women." "Let peace herself come here." "Being a women, she knows how to put down an uprising." "And every difference that rises," "...she knows how to soothe!" "Brave Greeks, whether Spartans or Athenians!" "You're all Greeks, of one religion and one language." "Why fight each other, while you're all threatened by the Persians?" "Remember how you helped each other in the past." "And learn how to be graceful." "I've never seen such a wise woman!" "And such a lovely bird..." "So, why continue this civil war?" "By Zeus, we'll take this hill!" "What hill?" "The Promontory of Pylos." "Never!" "Give it to them!" "And live without it?" "Demand another spot." "Then you hand over to us, the Maniac Gulf, ...with its curly and furious waves." "It was the cause of war, and is now the solution for peace." "You'll reach an agreement." "Conclude a treaty, and then deliberate with your allies." "There are more pressing matters now!" "The most important has been done." "You have concluded Peace!" "Go to the vineyards!" "Rejoice and be merry!" "And sow your wild oats!" "Now, at long last, don't say "avast"." "Piece by piece, we have joined Peace together." "The tale has its meaning and here it is:" "Up Love and Concord, down with war!" "Villages and towns are fighting no more!" "The tale has its meaning and here it is:" "Help the earth be united and peaceful." "Athenians and Spartans, hand in hand," "...are now making love, not war." "The vineyard needs work and toil." "Death must be scared away." "Never again shall sound the trumpets of war." "Never again shall sound the trumpets of war." "Eat, drink, carouse!" "Praise Peace and Love!" "Love makes life beautiful, my friends!" "Long live Lysistrata!" "You have won!" "Men and women are no longer apart." "Dance, girls." "Dance, boys." "The fertile land needs your hands." "It needs digging and ploughing." "And good rain will do the rest." "Long live Lysistrata!" "You have won!" "Men and women are no longer apart!" "You found out it was a hard thing to beat me." "If you wish a hard thing, go ahead and try me." "Catch me first, if you want to slake your thirst!" "I'll give you children, my wife." "Praise, Peace, Love, and Life!" "But no-one listened to the women in THE END!" |
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast;
import net.sourceforge.pmd.annotation.InternalApi;
import scala.meta.Decl;
/**
* The ASTDeclVal node implementation.
*/
public class ASTDeclVal extends AbstractScalaNode<Decl.Val> {
@Deprecated
@InternalApi
public ASTDeclVal(Decl.Val scalaNode) {
super(scalaNode);
}
@Override
public <D, R> R accept(ScalaParserVisitor<D, R> visitor, D data) {
return visitor.visit(this, data);
}
}
|
Currency
Selenite `Daisy bed Gypsum`
The Eden Valley gypsum (selenite) mines produced this interesting form of gypsum with stellate groups of crystals formed around seeding points creating attractive flower like patterns - 'Daisy Bed' gypsum. This specimen has large 35mm diameter 'flowers' and clearly shows the seeding crystal. The mines around Long Marton are long close and specimens with this unusual form are quite rare now. |
Animée, a new beer from Molson Coors, is targeted squarely at women. The company said fewer women drink beer in the UK and they're hoping their new beer, which comes in pink and two other flavors, will boost marketshare.
Animée, a new beer from Molson Coors, is targeted squarely at women. The company said fewer women drink beer in the UK and they're hoping their new beer, which comes in pink and two other flavors, will boost marketshare. |
Getting Buy In For Your Styleguide
In creating a front-end styleguide, design language and framework for (initially) a small part of a company, getting ‘buy in’ from other departments and developers could be a potential problem.
Here’s this collection of files you’ve created that help you with your day–to–day work with a pattern library of your website, but how can that possibly help another department, or even another company within a larger organisation.
Part of it comes down to how you have gone about creating your design language, your pattern library and your front-end framework. Part of it is how you go about evangelising what you’ve created.
A style guide, built upon a pattern library that is part of the design language is just that. A guide (more on this, in another article (to be written)). It is not ‘the law’, it should have the ability to be wielded masterfully by another designer, to be modified, adapted, re-written (in parts) to suit the sites design and requirements.
In an organisation with many teams potentially creating sites that could be poles apart from each other a clear front-end architecture of possibilities with a component–based, modular pattern library can be of great benefit to all.
You should bestow the virtues of using your front-end framework and pattern library, showing how that, if every developer started using it, it would improve not only itself but the websites that are the customer / visitor / user facing.
The ‘thing’ (the front-end framework and pattern library) can be improved, by everyone, be it someone who’s part of the ‘original team’ or another developer working for another company or part of the organisation.
Using version control and creating a system of how to update the codebase, maybe with peer review, means everyone in the organisation can have their say, giving their opinion on edits to the code all the while helping the overall ‘thing’ and a sites visitor.
If everyone within a large organisation uses the same front-end framework and architecture it allows for an increasing improvement in code quality, bringing new and/or better design patterns, performance improvements all leading to ‘better’ sites (from a code perspective) for everyone.
This can be of benefit, not only to someone visiting the site with a more performant faster page and better accessibility, for example, but also to the organisation as a whole.
If every developer on every project starts to use the same front-framework, the same pattern library it can make it easier for developer to switch teams, or ‘jump in’ as an extra pair of hands. Using the same base elements of the front-end architecture means the developer will be ‘up to speed’ in no time. That’s got to be a good thing.
I think there are many benefits for a company to treat their front-end framework and pattern library as a going concern, there is always room from improvement, the work is never ‘done’.
“No matter how good you get you can always get better, and that’s the exciting part.” |
/**
*
* WARNING! This file was autogenerated by:
* _ _ _ _ __ __
* | | | | | | |\ \ / /
* | | | | |_| | \ V /
* | | | | _ | / \
* | |_| | | | |/ /^\ \
* \___/\_| |_/\/ \/
*
* This file was autogenerated by UnrealHxGenerator using UHT definitions.
* It only includes UPROPERTYs and UFUNCTIONs. Do not modify it!
* In order to add more definitions, create or edit a type with the same name/package, but with an `_Extra` suffix
**/
package unreal.gameplaytaskseditor;
@:umodule("GameplayTasksEditor")
@:glueCppIncludes("K2Node_LatentGameplayTaskCall.h")
@:uextern @:uclass extern class UK2Node_LatentGameplayTaskCall extends unreal.blueprintgraph.UK2Node_BaseAsyncTask {
@:uproperty public var SpawnParamPins : unreal.TArray<unreal.FName>;
}
|
Q:
Indexed object type where the value is a function of the key?
Is it possible to do something like this?
type ShapeParams = {
rectangle: { x:number, y:number, width:number, height:number},
circle: { x:number, y:number, radius:number }
};
type ActualShapes = {
[shapeName in keyof ShapeParams]:{
[paramName in keyof ShapeParams[shapeName]]: number
}
};
A:
Yes. It is possible.
But is it what you want?
Check https://repl.it/repls/ParchedComfortableGnudebugger and hover your mouse over ActualShapes to see if this is the desired type.
|
Motivational interventions in the eating disorders: what is the evidence?
Eating disorder treatments are plagued by poor engagement and high drop-out. People who disengage from eating disorder treatment appear poorly motivated to change, and may benefit from adaptations of Motivational Interviewing (AMIs). To investigate whether the use of interventions specifically designed to enhance motivation in the eating disorders is supported empirically. Literature was reviewed for relevant studies. Eight studies have investigated the efficacy of AMIs. AMIs improve motivation to change bingeing and reduce actual bingeing behavior. There was little support for AMIs for compensatory or restrictive behaviors. There was mixed evidence that AMIs may improve motivation, but little to suggest they are more effective than other approaches. The widespread interest in using motivational approaches in the eating disorders is not strongly supported by the literature. The current evidence base does not support the widespread dissemination of motivation-enhancing interventions in the eating disorders. |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.tracking;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect2d;
import org.opencv.core.Rect2d;
import org.opencv.tracking.MultiTracker;
import org.opencv.tracking.Tracker;
import org.opencv.utils.Converters;
// C++: class MultiTracker
//javadoc: MultiTracker
public class MultiTracker extends Algorithm {
protected MultiTracker(long addr) { super(addr); }
// internal usage only
public static MultiTracker __fromPtr__(long addr) { return new MultiTracker(addr); }
//
// C++: cv::MultiTracker::MultiTracker()
//
//javadoc: MultiTracker::MultiTracker()
public MultiTracker()
{
super( MultiTracker_0() );
return;
}
//
// C++: static Ptr_MultiTracker cv::MultiTracker::create()
//
//javadoc: MultiTracker::create()
public static MultiTracker create()
{
MultiTracker retVal = MultiTracker.__fromPtr__(create_0());
return retVal;
}
//
// C++: bool cv::MultiTracker::add(Ptr_Tracker newTracker, Mat image, Rect2d boundingBox)
//
//javadoc: MultiTracker::add(newTracker, image, boundingBox)
public boolean add(Tracker newTracker, Mat image, Rect2d boundingBox)
{
boolean retVal = add_0(nativeObj, newTracker.getNativeObjAddr(), image.nativeObj, boundingBox.x, boundingBox.y, boundingBox.width, boundingBox.height);
return retVal;
}
//
// C++: bool cv::MultiTracker::update(Mat image, vector_Rect2d& boundingBox)
//
//javadoc: MultiTracker::update(image, boundingBox)
public boolean update(Mat image, MatOfRect2d boundingBox)
{
Mat boundingBox_mat = boundingBox;
boolean retVal = update_0(nativeObj, image.nativeObj, boundingBox_mat.nativeObj);
return retVal;
}
//
// C++: vector_Rect2d cv::MultiTracker::getObjects()
//
//javadoc: MultiTracker::getObjects()
public MatOfRect2d getObjects()
{
MatOfRect2d retVal = MatOfRect2d.fromNativeAddr(getObjects_0(nativeObj));
return retVal;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: cv::MultiTracker::MultiTracker()
private static native long MultiTracker_0();
// C++: static Ptr_MultiTracker cv::MultiTracker::create()
private static native long create_0();
// C++: bool cv::MultiTracker::add(Ptr_Tracker newTracker, Mat image, Rect2d boundingBox)
private static native boolean add_0(long nativeObj, long newTracker_nativeObj, long image_nativeObj, double boundingBox_x, double boundingBox_y, double boundingBox_width, double boundingBox_height);
// C++: bool cv::MultiTracker::update(Mat image, vector_Rect2d& boundingBox)
private static native boolean update_0(long nativeObj, long image_nativeObj, long boundingBox_mat_nativeObj);
// C++: vector_Rect2d cv::MultiTracker::getObjects()
private static native long getObjects_0(long nativeObj);
// native support for java finalize()
private static native void delete(long nativeObj);
}
|
// Package accounts is telephant's account "plugin" system.
package accounts
// Account describes the interface every implementation of a Telephant
// social media account must fulfill.
type Account interface {
Logo() string
Authenticate(code, redirectURI string) (string, string, string, string, error)
Run(eventChan chan interface{}) error
Post(message string) error
Reply(replyid string, message string) error
Share(id string) error
Unshare(id string) error
Like(id string) error
Unlike(id string) error
Follow(id string) error
Unfollow(id string) error
LoadConversation(id string) ([]MessageEvent, error)
LoadAccount(id string) (ProfileEvent, []MessageEvent, error)
}
type Pane struct {
ID string
Title string
Sticky bool
Default bool
Stream func(ch chan interface{}) error
}
|
Q:
QQuickPaintedItem mouseReleaseEvent gets only called after doubleclick
I've derived a class from QQuickPaintedItem in which I want to handle the mousePressEvent and the mouseReleasEvent (and also the mouseMoveEvent but that is not my prolem now).
The mousePressEvent gets called properly everytime the left mouse button is pressed. But the mouseReleaseEvent gets only called after a double click. What I expected is to get the event everytime the button is released. How can I change this?
This is what I do:
MyView::MyView(QQuickItem *parent):
QQuickPaintedItem(parent)
{
setAcceptedMouseButtons(Qt::LeftButton);
}
void MyView::mousePressEvent(QMouseEvent *evt)
{
//gets called after every single mouse click
qDebug("mousePressEvent");
if(evt->button() == Qt::LeftButton)
{
//do something...
evt->accept();
}
else
{
evt->ignore();
}
QQuickPaintedItem::mousePressEvent(evt);
}
void MyView::mouseReleaseEvent(QMouseEvent *evt)
{
//gets only called when releasing the mouse button after a double click
qDebug("mouseReleaseEvent");
if(evt->button() == Qt::LeftButton)
{
//do something...
evt->accept();
}
else
{
evt->ignore();
}
QQuickPaintedItem::mouseReleaseEvent(evt);
}
A:
So I finally found the solution!
Calling the base class implementation is a bad idea since the base class simply calls ignore() on the event. Here is the base class implementation:
void QWindow::mousePressEvent(QMouseEvent *ev)
{
ev->ignore();
}
void QWindow::mouseReleaseEvent(QMouseEvent *ev)
{
ev->ignore();
}
So this is how it works:
MyView::MyView(QQuickItem *parent):
QQuickPaintedItem(parent)
{
setAcceptedMouseButtons(Qt::LeftButton);
}
void MyView::mousePressEvent(QMouseEvent *evt)
{
//gets called after every single mouse click
qDebug("mousePressEvent");
if(evt->button() == Qt::LeftButton)
{
//do something...
evt->accept();
}
else
{
evt->ignore();
}
//DON'T DO THIS:
//QQuickPaintedItem::mousePressEvent(evt);
}
void MyView::mouseReleaseEvent(QMouseEvent *evt)
{
//now gets called with every mouse release since we don't call the base class any more
qDebug("mouseReleaseEvent");
if(evt->button() == Qt::LeftButton)
{
//do something...
evt->accept();
}
else
{
evt->ignore();
}
//DON'T DO THIS:
//QQuickPaintedItem::mouseReleaseEvent(evt);
}
|
You can never go wrong with metallic inspiration for a wedding - and if you decide to go that route, you're in luck! It's very "en vogue". And when I think metallics I think 'rock n roll' or 'vintage' so I decided vintage was a little more apropos for a wedding look :)
So this week we pulled together some lovely metallic, vintage inspired pieces to perfectly complement the Calla Lily. Enjoy! |
"We didn't really talk much about ball," Fitzpatrick said. "It would be fun playing with him again and we talked about it, but we can't control that. He had a great season. He had the one game (against Carolina) with the two touchdowns, that was awesome. I wasn't surprised. That is Eddie. He's a great player. He's a great athlete. I knew he was going to do great when he got to the league and you're seeing it now." |
Q:
weird compiler error when casting in ternary/conditional operator
I'm experiencing unexpected compiler errors with this code:
bool b = true; //or false
StringBuilder builder = ...; // a string builder filled with content
IVersePart vp = b ? (DualLanguageVersePart)builder : (VersePart)builder;
Both DualLanguageVersePart and VersePart implement the IVersePart interface.
Both DualLanguageVersePart and VersePart have an explicit cast operator form StringBuilder.
Since both classes implement the interface that's the type of vp, I would expect this to work flawlessly, or at least compile properly. Instead the compiler reports that no implicit conversion can be done between the two types.
Why is this not working?
A:
I've had this issue before, ternary operator requires both types of the true result or false result either be the same type, or you cast them to the same type.
|
List of historic places in Sunbury County, New Brunswick
This article is a list of historic places in Sunbury County, New Brunswick entered on the Canadian Register of Historic Places, whether they are federal, provincial, or municipal.
List of historic places
See also
List of historic places in New Brunswick
List of National Historic Sites of Canada in New Brunswick
Sunbury County, New Brunswick
Category:New Brunswick-related lists
* |
Polyvalent DNA-graphene nanosheets "click" conjugates.
Graphene is an increasingly important nanomaterial exhibiting great promise in the area of nanotechnology. In this study, the azide-functionalized graphene derivative was synthesized as the 'click' reagent for preparation of polyvalent DNA-graphene conjugates, which provide an effective and stable platform to construct new functional nano-architectures. Assembled with Au nanoparticles, the prepared Au-DNA-graphene nanocomplex exhibits excellent stability that could prevent the nanocomplex from being destroyed by surfactants. Assembled with DNA tetrahedron-structured probes (TSPs), the nanocomplex displays outstanding sensitive electrochemiluminescence properties, which might be used as a biosensor for DNA detection. Therefore, this DNA-graphene conjugates could be explored as the assembly unit for advanced DNA nano-architectures in the field of DNA nanotechnology. |
Indeterminacy and the onset of motion in a simple granular packing.
We examine the relatively simple problem of a disk placed in a symmetric V-shaped channel, and subjected to gravity and a torque. We obtain analytic predictions of the contact forces and disk motion using two different models. In the first model, the disk is assumed to be perfectly rigid, leading to force indeterminacy. In the second model, the disk is assumed to interact with the walls of the channel via linear springs, leading to a unique solution for the contact forces. The results of these two models are compared. It is shown that there are two possible ways motion can occur--through the appearance of a null eigenvector of the stiffness matrix, or through an instability. When motion occurs through an instability, the first model cannot predict when the disk will rotate; it is necessary to know the undetermined forces in order to predict the motion of the disk. It is also shown how indeterminacy in the first model is linked to memory in the second. The analytical results are also compared with numerical simulations using two different methods, each related to one of the models. |
I'm not sure what kind of law I want to do. I'm leaning toward PI/Gov but don't want to rule out Biglaw and I would like to do a clerkship. I have ties to South Florida and would like work in the South but I wouldn't mind working in Chicago. I have some savings and my parents may be able to help me a little but most of the COA will be financed through loans.
Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
GMGP wrote:Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
I dont think this is right at all. With ties to FL, employers really wont care if you went to NW or Duke.
GMGP wrote:Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
meh. I got an offer in Birmingham from NU. obviously this is anecdotal, but southern firms may take you if you sell yourself right. Just something to consider.
GMGP wrote:Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
I dont think this is right at all. With ties to FL, employers really wont care if you went to NW or Duke.
Depends what ties. Everyone has a grandmother or even parents living in South Florida, so unless you grew up there might be a little harder of a sell if you go to northern schools. Especially if your grades are below median they might think you are running away to a secondary market cause you couldn't get a NY job.
GMGP wrote:Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
I GOT A FULL RIDE SCHOLARSHIP. Dickslangs out of room. Gets offer AND partners number.
Duke might help in the south but I wouldn't pay that much for the extra help. Working in the market 1l summer will help a lot for sofla, but its a tough nut to crack regardless. I'm a duke student and am happy with it, but unless you really prefer duke I'd follow the money. Fwiw the price difference may be less since you can live well below duke's Col estimate.
GMGP wrote:Wanna work in the South? You're gonna have a hard time explaining that to employers if you don't do Duke or UVA. Both of these will easily get you to Chicago or NYC as well and have better PI/gov tracks than NU. Appeal and see what happens but it might be worth it at COA of 120k.
I dont think this is right at all. With ties to FL, employers really wont care if you went to NW or Duke.
Depends what ties. Everyone has a grandmother or even parents living in South Florida, so unless you grew up there might be a little harder of a sell if you go to northern schools. Especially if your grades are below median they might think you are running away to a secondary market cause you couldn't get a NY job.
This argument is awful. If your ties are weak/nonexistent, then whether you're shooting for the south out of Duke or out of NW is irrelevant. And if your ties are solid, then it similarly won't matter - provided you can articulate why you chose NW/Michigan. In other words, attending Duke for geographic considerations would be a really bad idea here. |
Cobrapost, a non-profit website, conducted an expose on more than three dozen Bollywood celebrities who were willing to promote any political party on their social media in the run-up to the Lok Sabha elections for a price.
Among these celebs are directors, actors, singers, stand-up comedians and dancers: Noted playback singers Abhijeet Bhattacharya, Kailash Kher, Mika Singh and Baba Sehgal; actors Jackie Shroff, Shakti Kapoor, Vivek Oberoi, Sonu Sood, Amisha Patel, Mahima Chaudhry, Shreyas Talpade, Puneet Issar, Surendra Pal, Pankaj Dheer and his son Nikitin Dheer, Tisca Chopra, Deepshikha Nagpal, Akhilendra Mishra, Rohit Roy, Rahul Bhat, Salim Zaidi, Rakhi Sawant, Aman Verma, Hiten Tejwani and spouse Gauri Pradhan, Evelyn Sharma, Minissha Lamba, Koena Mitra, Poonam Pandey, Sunny Leone; comedians Raju Srivastava, Sunil Pal, Rajpal Yadav, Upasana Singh, Krushna Abhishek and Vijay Ishwarlal Pawar; and choreographer Ganesh Acharya and dancer Sambhavana Seth.
The few exceptions were Vidya Balan, Arshad Warsi, Raza Murad and Saumya Tandon. They turned down such propositions and refused to get involved.
Cobrapost reporters pretended to be from a fictitious PR agency and approached these celebrities with a proposal to promote a political party discreetly on Twitter, Facebook and Instagram. |
Q:
How to Toggle Visibility of VueJs Component?
In my Laravel App, I have a button on Blade template to show/hide a Vue Component. I tried with the following with the help of the following code here. I get following error:
[Vue warn]: Property or method "isShow" is not defined on the instance
but referenced during render. Make sure that this property is
reactive, either in the data option, or for class-based components, by
initializing the property. See:
https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
@extends('layouts.app')
@section('content')
<button v-on:click="isShow = !isShow">Toggle hide and show</button>
<site-email v-if="isShow"></site-email>
@endsection
Component
<template>
<div class="label label-info"> {{domain}}'s Email</div>
<template>
<script>
export default {
data(){
return {
isShow : false,
}
}
}
</script>
I will highly appreciate your help.
A:
Vue's reactive data property is Component scope.
You are now accessing isShow outside of the component, so Vue can't access the property.
My suggest: You may insert the button in <site-email> component.
<template>
<button v-on:click="isShow = !isShow">Toggle hide and show</button>
<div v-show="isShow" class="label label-info"> {{domain}}'s Email</div>
<template>
<script>
export default {
data(){
return {
isShow : false,
}
}
}
</script>
Or, if you don't want to include the button in the component, you have to use a method to communicate between components like "Event bus", ".sync props"
|
Okay, The Lord of the Rings, the big enchilada. Tolkien wrote about a half a million words about his war of the ring. His son Christopher has made a cottage industry of publishing every scrap of draft paper that his father ever scribbled and analyzing them as if they were papyrus palimpsests of the lost plays of Sophocles. In the last sixty plus years an unending stream of analysis both professional and personal has been generated about these books. Everything that could be said has been said and about a million times. So, what possible justification is there for me to add to the ocean?
Well, it’s my damn blog and I want to. So, without further ado…
I read the Lord of the Rings when I was about twelve. I was highly impressed. Obviously as I matured my opinion of the story was based on an evolving baseline of experience with fiction and personal experience of the world around me. Over the years my personal preferences among the various characters and scenes have altered somewhat. But my overall opinion of the work is still very high and very enthusiastic.
Over the course of the time I have been a fan of the Lord of the Rings, Hollywood has from time to time attempted to produce motion picture versions of it. Some of these were animated films. One was drawing superimposed over live action frames of film (Ralph Bakshi’s film). Recently a sophisticated live action and CGI combination was produced by Peter Jackson and managed to win the Academy Award for best picture. The relationship between these films and the text is the subject of this post.
I will state categorically that none of the film versions of the Lord of the Rings before Peter Jackson’s version ever succeeded (except in very small sections) in capturing the feeling of the book. The inability to draw the viewer into the reality of the story was always too strong. But in the Jackson version it succeeded.
Okay, here come the qualifiers. Do not confuse the above statement with an unconditional endorsement of every aspect of the movie. There are any number of things about the movie that I object to (some extremely strenuously). For instance, Denethor is rendered as a terrible man. I do not think that reflects Tolkien’s intent or description. Also, some aspects of the treatment of Frodo and Sam’s friendship is oddly portrayed and off-putting. The super human abilities of Legolas seem exaggerated and some of the silly treatment of Gimli are annoying. A hundred little and not so little problems exist.
Getting that out of the way I will say that Jackson’s movies bring the Lord of the Rings alive. In a certain sense these films will give Tolkien’s work a chance to become part of the mythology of the whole human race. Because although millions of people have read the books, billions of people will see the movies. Not every viewer will be impacted deeply by the story but enough of the books comes across in the films that the films will act as an amplifier of the story in the digital realm we now inhabit. So, on balance the Jackson films are a net positive for the Tolkien lovers of the world.
I’ll cut this first Tolkien post short here. After all this is an endless pursuit. Best not to drone on too much. But I’ll end with my opinion on the best scene in the Jackson films. And I’ll specify I’m talking about the extended versions. The best scene is the Ride of the Rohirrim at the Battle of Minas Tirith. It was stirring and well done. Feel free to leave your opinion on the best scene in the comments. |
[Scalability and extensionality of innovative Chinese medicine preparation under guidance of component structure theory].
Chinese medicine preparation is a science to study how to make raw material into suitable dosage forms to be used in clinical operations. Its study scope is significantly different from traditional chemical drugs. As is known, the ingredients of Chinese medicine are complex and various, as a result, the composition of the ingredients is not clear and the property is not unified. The pre-treatment process is the key factor to affect the druggability, safety and efficacy of the Chinese medicine. The connotation of Chinese medicine is a huge systematic project, not only including the traditional dosage form design process but also including the components structure optimization process on material basis, components extraction, separation and purification process, components characterization process as well as the pharmacological and toxicological study processes which aim to select suitable dosage form to exert the maximum drug efficacy and evaluate the properties of preparations. Therefore, according to the requirement of modern innovative preparations and based on the integrity and systematicness of Chinese medicine, in this paper we will explore the scalability and extensionality of modern Chinese medicine, including the material basis of Chinese medicine based on component structure theory; separation, refining and purification of components; component structure optimization and network pharmacology and regulation, as well as biopharmaceutics properties of representative components, and we will construct the multi-unit drug delivery system and Chinese medicine multi-dimensional dynamic quality control system. This paper elaborates the scientific connotation and systematicness of modern Chinese preparation, and provides ideas and methods for the development of modern innovative Chinese preparations. |
The workshop will highlight the necessity to make the Internet accessible to
all, regardless of individual capabilities of different users. This impacts
not only the need to eliminate information deprivation but also to eliminate
social economic discrimination. Access to the Internet is important for all
people of all nations so that they can benefit from e-commerce, e-health,
e-education and in general e-communications. Including the needs of persons
with disabilities in the planning of the Universalization of the Internet
will facilitate reaching the next billion and will increase the
participation in the Global Internet Society.
Background
The ITU is one of the founder Members of the IGF Dynamic Coalition on
Accessibility and Disability (DCAD). The aim of the DCAD is to facilitate
interaction between relevant bodies, and ensure that ICT accessibility is
included in the key debates around Internet Governance in order to build a
future where all sectors of the global community have equal access to the
Information Society. We are convinced that the entire community can benefit
from an “accessible ICT world”, as people can be permanently or temporarily
disabled due to personal, environmental (e.g. a phone call in a noisy
environment) or cultural (e.g. spoken language diversity) conditions.
Moreover, we will all grow old and lose abilities that we take for granted
now, thus enlarging the part of the population that would benefit from
accessible communication. We cannot allow isolation of a part of the
population due to lack of appropriate functionality that prevents the use of
ICT resources by everybody to the fullest possible degree. The ITU, in
collaboration with a Steering Committee formed by various stakeholders that
are also partners of the DCAD, has organized this workshop. |
Thanks for visiting my site! If we haven’t met yet, I’m Jonathan. I run multiple companies that help churches think creatively. While creating these businesses, I realized some of the same concepts I use for churches could be applied to life in general. I’ve written about these in my two books, The Hidden Option and Created for More. I’d love if you checked those out. I love helping people discover new possibilities for their life and their church.
Want to get weekly encouragements from me? Sign up for my email list. It’s free, not spammy. And it’s always encouraging. That’s kind of my thing.
The Possibility Matrix
The Possibility Matrix is a simple brainstorming tool I created to help me find creative hidden options. Grab the PDF and follow the instructions to help you see all of your options and opportunities for innovation. A more detailed explanation of the tool is available in the book, The Hidden Option. |
Q:
Can public keys be a security risk when performing password-less SSH logins?
Some companies use monitoring software such as nagios or icinga. In order to perform checks on the servers, they often need password-less SSH logins.
The servers being checked put the public key of the nagios server in a file /root/.ssh/authorized_keys
Now if I see a nagios server in an enterprise network, couldn't I just fetch the public key of this server and replace mine with it and log into the servers without password?
A:
The values in .ssh/authorized_keys are public keys -- these are mathematical objects, each of them being linked with another mathematical object called the private key. When the nagios server connects to one of the monitored servers, it uses its private key: the nagios server demonstrates its knowledge of the private key through a mathematical operation (a digital signature), which the target server verifies using the corresponding public key.
The magic of the construction is that the public key can be made public: although the private and public key share a common structure, that structure is "hidden" and cannot be rebuilt from the public key alone (here, "cannot" means "you would need a computer bigger than the whole state of Wyoming, and programmed by Chuck Norris").
So, to log into the target servers, you do not need to grab the public key, but the private key -- and that one never leaves the entrails of the nagios server.
(On the other hand, if you can get a read access to the nagios server, e.g. you can have a look at a backup tape, then you may get the private key, and access all the servers. Attacker's Nirvāṇa. That can be a serious security issue: protect your backups !)
A:
I don't know if I get you right, but SSH certificate authentication works in a way that you have to configure your SSHD with trusted certificates so, in order to add your certificate as trusted by the server, you have to be able to access it in a first place.
|
Read More
All that is required is that you have your own transport as the sets will be in 'fairly rural' locations, the WalesOnline reports.
The company behind the search, The Casting Collective, provide extras to some high profile film and TV productions including Jurassic World: Fallen Kingdom, Harry Potter and most recently the currently unnamed Danny Boyle/Richard Curtis project.
A spokesperson at The Casting Collective refused to reveal exactly which shows are being filmed but said the call is for more than one "major new TV series".
Successful candidates have been promised a "good rate of pay" for their time. |
This invention relates generally to an insulating device and method for insulating a capacitor, and more particularly to a device and method for insulating a dry film capacitor within a ballast can.
Conventional ballast circuitry typically includes a dry film capacitor connected to a secondary winding of a transformer. The capacitor is generally insulated from the ballast housing (i.e. ballast can) through the insertion of paper therebetween or by wrapping plastic around the capacitor.
These conventional insulating methods are time consuming and require considerable physical labor resulting in an undesirable increase in manufacturing cost. Paper inserts are also capable of absorbing moisture from the air. Such absorption before potting and from tar after potting detrimentally affects the capacitive properties of the capacitor thereby shortening its effective life expectancy. |
Q:
Using JQuery, wanting checkboxes to be checked based off of criteria
I have implemented several apex:inputCheckboxes in my Visualforce pages. I used a JQuery function to handle the showing and hiding of these functions. I have outer checkboxes that once checked displays inner checkboxes for each outer one.
Everything works perfectly except for one thing. I added an "if" statement to check if all of the inner checkboxes have been unchecked, then uncheck the corresponding outer checkbox. This works in all aspects except one. I have a "Return" function on my pages that will allow the user to go to a previous search and it will save the users selections(which are the checkboxes). When the user comes back to the search page, the appropriate checkboxes are checked, however, deselecting the inner checkboxes does not deselect the outer one. I know this is happening because the outer one was never "clicked" when it returns (I set the selected value in the controller).
Sorry if this was long-winded. Here is my JQuery function:
<script type="text/javascript">
var j$ = jQuery.noConflict();
j$(document).ready(function() {
j$('.check').click(function () {
var divId = '#versionCheckboxes' + j$(this).attr('title').trim(), //get the id of the versions checkboxes
extendedDiv = divId + ' .versionCheckbox tbody tr td input', //get the exact location
chk = (this); //used for closing checkboxes
if(j$(this).is(':checked')) {
j$(extendedDiv).attr('checked', true);
j$(divId).show();
//this function is called if you uncheck all inner boxes, it will uncheck the outer box
j$(extendedDiv).click(function() {
if (j$(extendedDiv).is(':checked') == false) {
j$(chk).attr('checked', false);
j$(divId).hide();
}
});
}
else {
j$(extendedDiv).attr('checked', false);
j$(divId).hide();
}
});
});
</script>
Now when I return to the search page, and I manually deselect then re-select the outer checkbox, it works. It is just the initial return that doesn't do what I want.
I am not extremely knowledgeable with JQuery so any help would be greatly appreciated.
A:
What if you do something as simple as: $j('.check:checked').each(function(){$j(this).trigger('click');}); on doc ready? That would simulate a click event and kick off the JS you pasted. You may wind up needing to find the deepest checkbox in the DOM to get the exact results you are looking for though.
|
A little while ago, we had some new Jon Hamm photos, and as an after-thought, I noted that Jon Hamm’s bulge was looking particularly glorious in his jeans. This item was picked up by Gawker, who ran a “photographic investigation” into the state of The Hamm’s package. Turns out, there’s lots of Hamm Bulge photos, and there is much visual evidence to suggest that Our Beloved Hamm is well-endowed. Now we have another piece of evidence – the National Enquirer claims that The Hamm hates to wear underwear, preferring to let his large dong fly freely. God Bless America.
“KEEP your junk in your trunk and stop going commando!” That’s what the cast and crew of the Emmy-winning series Mad Men are saying about star JON HAMM’s bizarre “no underwear” rule! Hamm, who’s notorious for skipping skivvies, even has bloggers going nuts over his not-suitable for- work attire, an insider told The ENQUIRER. “Jon refuses to wear underwear and there have been so many close calls on the set that someone finally had to tell him to secure his goods,” a source confided. “During filming, his character has had to wear some very short shorts, and that’s when everyone’s especially on edge. Some of the actresses and crew members wouldn’t mind a sneak peek, but the majority of the cast and crew don’t want Jon to accidentally expose himself.” Hamm – who plays brooding ad man Don Draper on the hit AMC series – is “getting a kick out of all the fuss,” says the source. “Jon thinks it’s hilarious.”
[From The National Enquirer]
Yes, it’s so hilarious that I’m drooling. It’s so hilarious that I’m going to fly to LA and apply for a job in Mad Men’s costuming department. Sweet Jesus. I’ve heard many well-endowed men claim that they hate wearing underwear in general, and anything tight or restricting in general. You would think that boxers would be the obvious choice for the well-endowed man, but I guess when you’re Jon Hamm, you want to share the bulging goodness with everyone. The Hamm really is an American hero.
By the way, I was just trying to find some good shots of his bulge. Your eye is drawn to it, right? |
Diffusion-tensor magnetic resonance imaging in children with language impairment.
We evaluated the integrity of the white matter tract using diffusion-tensor magnetic resonance imaging in children with language impairments who exhibited a structurally normal brain on conventional magnetic resonance imaging, and compared it with age-matched normal children. After generating fractional anisotropy and color-coded vector maps, fractional anisotropy values of the major white matter tracts were measured in six locations and compared between the two groups. Compared with the normal control group, the fractional anisotropy values of children with language impairments showed a statistically significant reduction in the genu of the corpus callosum, which is rarely revealed on conventional magnetic resonance images. Our results suggest that delayed maturation of the white matter plays a partial role in the pathophysiological mechanisms of language impairments. |
Ugandaprohibitssportsbetting
Uganda’s President Yoweri Museveni has issued an order that effectively bans sports betting in the country. As per the order, new licences should not be issued to sports betting companies and renewal of permits for the existing ones should not entertained.
According to Minister of State for Finance, Mr David Bahati, the President issued the order, as gambling has diverted attention of the youth from hard work.
“We have received a directive from President Museveni to stop licensing sports betting, gaming and gambling companies. The President has now directed the board which has been regulating them. From now onwards, no new companies are going to be licensed. Those which are already registered, no renewal of licences when they expire,” Mr Bahati revealed on Sunday during a church service in Rugarama Hill in western Kabale town.
Mr Bahati said church leaders who have been against sports betting can now praise the Lord because their prayers have been answered.
However, the Ministry of Finance spokesman, Mr Jim Mugunga, said he was unaware of the president’s directive but added that he does not doubt it.
“I don’t know but since it was said by a minister, quote him. That’s good news,” Mr Mugunga said. |
Video card/adapter NVidia drivers downloads
NVidia Video card/adapter drivers: there are drivers for NVidia Video card/adapter for all modifications on this page.
Select a modification of NVidia Video card/adapter and you can download NVidia Video card/adapter drivers.
Nothing to select from видеокарты NVidia drivers? Use the search engine. |
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
import { UpdateActionTargetRequest, UpdateActionTargetResponse } from "../models/models_0";
import {
deserializeAws_restJson1UpdateActionTargetCommand,
serializeAws_restJson1UpdateActionTargetCommand,
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
MiddlewareStack,
HttpHandlerOptions as __HttpHandlerOptions,
MetadataBearer as __MetadataBearer,
SerdeContext as __SerdeContext,
} from "@aws-sdk/types";
export type UpdateActionTargetCommandInput = UpdateActionTargetRequest;
export type UpdateActionTargetCommandOutput = UpdateActionTargetResponse & __MetadataBearer;
export class UpdateActionTargetCommand extends $Command<
UpdateActionTargetCommandInput,
UpdateActionTargetCommandOutput,
SecurityHubClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
constructor(readonly input: UpdateActionTargetCommandInput) {
// Start section: command_constructor
super();
// End section: command_constructor
}
resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: SecurityHubClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const handlerExecutionContext: HandlerExecutionContext = {
logger,
inputFilterSensitiveLog: UpdateActionTargetRequest.filterSensitiveLog,
outputFilterSensitiveLog: UpdateActionTargetResponse.filterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
(request: FinalizeHandlerArguments<any>) =>
requestHandler.handle(request.request as __HttpRequest, options || {}),
handlerExecutionContext
);
}
private serialize(input: UpdateActionTargetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1UpdateActionTargetCommand(input, context);
}
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateActionTargetCommandOutput> {
return deserializeAws_restJson1UpdateActionTargetCommand(output, context);
}
// Start section: command_body_extra
// End section: command_body_extra
}
|
The Ouroboros Model, selected facets.
The Ouroboros Model features a biologically inspired cognitive architecture. At its core lies a self-referential recursive process with alternating phases of data acquisition and evaluation. Memory entries are organized in schemata. The activation at a time of part of a schema biases the whole structure and, in particular, missing features, thus triggering expectations. An iterative recursive monitor process termed 'consumption analysis' is then checking how well such expectations fit with successive activations. Mismatches between anticipations based on previous experience and actual current data are highlighted and used for controlling the allocation of attention. A measure for the goodness of fit provides feedback as (self-) monitoring signal. The basic algorithm works for goal directed movements and memory search as well as during abstract reasoning. It is sketched how the Ouroboros Model can shed light on characteristics of human behavior including attention, emotions, priming, masking, learning, sleep and consciousness. |
The present invention relates to pneumatic control of exit device hardware and more particularly to pneumatic control of a door latch through use of a pneumatic piston coupled to an air source through protected air lines.
Limiting uncontrolled entrance or exit from a building or other contained space is often required for safety and security. However, in an emergency situation it is necessary to have a procedure for quickly and safely exiting the building or contained space. Conventionally, such exit procedures involve use of doors having easy operating push bars or pads for panic exits.
Such doors are commonly found in buildings where security personnel are not available to control egress. To allow for centralized control of door lock operation, it is known to automatically operate the door latch from a remote location. For example, when a fire alarm is triggered by building smoke detectors, a signal can be sent to lock the latch mechanism of all fire doors, while still allowing mechanical override to allow for emergency exit of building occupants. Those individuals already within the building can escape, while entrance into fire threatened areas is limited. Alternatively, security personnel can remotely control unlocking of particular doors as necessary to allow ingress.
Such remote controlled doors are conventionally operated by electrical connections between each door and one or more control stations. In use, a control station operator flips a switch to either unlock or lock the latch bolt holding the door latch of the door in a closed position. In one class of latch devices, a solenoid assembly is used to hold the latch bolt in a retracted position. Activation of the control switch, whether automatically in response to a fire alarm or by the control station operator, breaks the electrical connection with the solenoid, and allows extension of the latch bolt. Optionally, a sensor can be placed to indicate whether the door latch is extended. This type of device has a failsafe operation, with any break in the electrical connection between the control station and the door causing deenergization of the solenoid and extension of the door latch.
However, electrical door control mechanisms may be too costly or unsafe to use in many situations. For example, currently available automatic electrical door control systems require installation of a costly separate power supply to operate electrical solenoid. In addition, safety regulations often do not permit electrical devices having a potential for sparking and electrical ignition in areas containing volatiles or other combustibles. To overcome these problems, pneumatically controlled door latch mechanisms for controlling ingress are needed.
The foregoing illustrates limitations known to exist in present devices and methods. Thus, it is apparent that it would be advantageous to provide an alternative directed to overcoming one or more of the limitations set forth above. Accordingly, a suitable alternative is provided including features more fully disclosed hereinafter. |
package com.overviewdocs.ingest.model
case class PendingProcessTask(
writtenFile2: WrittenFile2,
stepKey: String
)
|
April Mullen’s DEAD BEFORE DAWN 3D follows an unwitting group of college kids who accidentally unleash an evil curse that causes people to kill themselves and turn into Zombie Demons, aka Zemons. The horror/comedy starring Christopher Lloyd (Back to the Future) and Devon Bostick (Diary of a Wimpy Kids series) has been gaining a lot of momentum and has a tone that some are describing as Shaun of the Dead meets The Goonies.
DEAD BEFORE DAWN 3D was shot from start to finish in Stereoscopic 3D, making it the first live-action, fully Canadian Stereoscopic 3D feature. Not only that, director April Mullen, from Niagara Falls, is now the youngest and only woman ever to direct a film of this kind.
The film is set to release in late fall. It was written by Tim Doiron, who also produces with Mullen.
For more information visit the film’s official website & Facebook!
SYNOPSIS: |
[The ultrasound diagnosis of a subcapsular haematoma of the spleen (author's transl)].
Two patients with sub-capsular haematomas of the spleen are described. In both patients the diagnosis was made by ultrasound examination. Ultrasound fills a gap in the diagnosis of splenic rupture, since sub-capsular haematoma cannot be satisfactorily demonstrated by angiography. |
Q:
ClientDataSet filter with "NOT LIKE"
When using the Filter property of the ClientDataSet with filter
Name NOT LIKE 'Paulo%'
says that the syntax is incorrect.
how can I make a workaround in the filter?
A:
Change the Filter syntax to
Clientdataset.Filter := 'NOT [Name] LIKE ' +QuotedStr('Paulo%');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.