Analysis of the impact of corticosteroids adjuvant treatment during experimental invasive meningococcal infection in mice.
Invasive meningococcal disease (IMD) is usually associated with intense inflammatory response that is correlated with severe infection. Corticosteroids may regulate this inflammatory response through an early but transient induction of IL-10 that is suggested to improve the outcome of IMD. We explored the mechanism of action of corticosteroids as an adjuvant treatment to antibiotics. Transgenic mice expressing the human transferrin were infected by a hyperinvasive meningococcal strain and transcriptomic analysis were then performed in the blood for all conditions of infection and treatment. Infected untreated mice, infected antibiotic-treated mice and infected amoxicillin and dexamethasone-treated mice were compared. Treatment using both corticosteroids and antibiotics was associated with differential gene expression in the blood especially in Monocytes-Macrophages pathways. Depletion of these cells in infected mice was associated with a more severe bacterial infection and uncontrolled production of both pro-inflammatory and anti-inflammatory cytokines. Accordingly, children suffering from severe IMD had low counts of monocytes at admission. Our data are in favor of a role of corticosteroids in enhancing a polarization from pro-inflammatory to anti-inflammatory phenotypes of Monocytes-Macrophages axis that may help controlling meningococcal invasive infections.


Q:

Video capturing in iOS with MonoTouch

I have the code to create, configure and start a video capturing session in Objective-C running without problems. I'm porting the sample to C# and MonoTouch 4.0.3 and have a few problems, here is the code:
    void Initialize ()
    {
        // Create notifier delegate class
        captureVideoDelegate = new CaptureVideoDelegate(this);

        // Create capture session
        captureSession = new AVCaptureSession();
        captureSession.SessionPreset = AVCaptureSession.Preset640x480;

        // Create capture device
        captureDevice = AVCaptureDevice.DefaultDeviceWithMediaType(AVMediaType.Video);

        // Create capture device input
        NSError error;
        captureDeviceInput = new AVCaptureDeviceInput(captureDevice, out error);
        captureSession.AddInput(captureDeviceInput);

        // Create capture device output
        captureVideoOutput = new AVCaptureVideoDataOutput();
        captureSession.AddOutput(captureVideoOutput);
        captureVideoOutput.VideoSettings.PixelFormat = CVPixelFormatType.CV32BGRA;
        captureVideoOutput.MinFrameDuration = new CMTime(1, 30);
        //
        // ISSUE 1
        // In the original Objective-C code I was creating a dispatch_queue_t object, passing it to
        // setSampleBufferDelegate:queue message and worked, here I could not find an equivalent to
        // the queue mechanism. Also not sure if the delegate should be used like this).
        //
        captureVideoOutput.SetSampleBufferDelegatequeue(captureVideoDelegate, ???????);

        // Create preview layer
        previewLayer = AVCaptureVideoPreviewLayer.FromSession(captureSession);
        previewLayer.Orientation = AVCaptureVideoOrientation.LandscapeRight;
        //
        // ISSUE 2:
        // Didn't find any VideoGravity related enumeration in MonoTouch (not sure if string will work)
        //
        previewLayer.VideoGravity = "AVLayerVideoGravityResizeAspectFill";
        previewLayer.Frame = new RectangleF(0, 0, 1024, 768);
        this.View.Layer.AddSublayer(previewLayer);

        // Start capture session
        captureSession.StartRunning();

    }

    #endregion

    public class CaptureVideoDelegate : AVCaptureVideoDataOutputSampleBufferDelegate
    {
        private VirtualDeckViewController mainViewController;

        public CaptureVideoDelegate(VirtualDeckViewController viewController)
        {
            mainViewController = viewController;
        }

        public override void DidOutputSampleBuffer (AVCaptureOutput captureOutput, CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
        {
            // TODO: Implement - see: http://go-mono.com/docs/index.aspx?link=T%3aMonoTouch.Foundation.ModelAttribute

        }
    }

Issue 1:
Not sure how to use correctly the delegate in the SetSampleBufferDelegatequeue method. Also not found an equivalent mechanism to dispatch_queue_t object that works fine in Objective-C to pass in the second parameter.
Issue 2:
I did not find any VideoGravity enumerations in MonoTouch libraries, not sure if passing a string with the constant value will work.
I have look for any clue to solve this but no clear samples around. Any sample or information on how to do the same in MonoTouch would be highly appreciated.
Many thanks.

A:

All issues solved and finally working fine, the freezing was happening because in my test I was not yet disposing the sampleBuffer in the method DidOutputSampleBuffer. The final code for my view is here:
UPDATE 1: Changed assignment of VideoSettings CVPixelFormat, was incorrect and would cause a wrong BytesPerPixel in the sampleBuffer.
public partial class VirtualDeckViewController : UIViewController
{
    public CaptureVideoDelegate captureVideoDelegate;

    public AVCaptureVideoPreviewLayer previewLayer;
    public AVCaptureSession captureSession;
    public AVCaptureDevice captureDevice;
    public AVCaptureDeviceInput captureDeviceInput;
    public AVCaptureVideoDataOutput captureVideoOutput;

...
    public override void ViewDidLoad ()
    {
        base.ViewDidLoad ();

        SetupVideoCaptureSession();
    }

    public void SetupVideoCaptureSession()
    {
        // Create notifier delegate class
        captureVideoDelegate = new CaptureVideoDelegate();

        // Create capture session
        captureSession = new AVCaptureSession();
        captureSession.BeginConfiguration();
        captureSession.SessionPreset = AVCaptureSession.Preset640x480;

        // Create capture device
        captureDevice = AVCaptureDevice.DefaultDeviceWithMediaType(AVMediaType.Video);

        // Create capture device input
        NSError error;
        captureDeviceInput = new AVCaptureDeviceInput(captureDevice, out error);
        captureSession.AddInput(captureDeviceInput);

        // Create capture device output
        captureVideoOutput = new AVCaptureVideoDataOutput();
        captureVideoOutput.AlwaysDiscardsLateVideoFrames = true;
                    // UPDATE: Wrong videosettings assignment
        //captureVideoOutput.VideoSettings.PixelFormat = CVPixelFormatType.CV32BGRA;
                    // UPDATE Correct videosettings assignment
                    captureVideoOutput.VideoSettings = new AVVideoSettings(CVPixelFormatType.CV32BGRA);
        captureVideoOutput.MinFrameDuration = new CMTime(1, 30);
        DispatchQueue dispatchQueue = new DispatchQueue("VideoCaptureQueue");
        captureVideoOutput.SetSampleBufferDelegateAndQueue(captureVideoDelegate, dispatchQueue);
        captureSession.AddOutput(captureVideoOutput);

        // Create preview layer
        previewLayer = AVCaptureVideoPreviewLayer.FromSession(captureSession);
        previewLayer.Orientation = AVCaptureVideoOrientation.LandscapeLeft;
        previewLayer.VideoGravity = "AVLayerVideoGravityResizeAspectFill";
        previewLayer.Frame = new RectangleF(0, 0, 1024, 768);
        this.View.Layer.AddSublayer(previewLayer);

        // Start capture session
        captureSession.CommitConfiguration();
        captureSession.StartRunning();
    }

    public class CaptureVideoDelegate : AVCaptureVideoDataOutputSampleBufferDelegate
    {
        public CaptureVideoDelegate() : base()
        {
        }

        public override void DidOutputSampleBuffer (AVCaptureOutput captureOutput, CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
        {
            // TODO: Implement buffer processing

            // Very important (buffer needs to be disposed or it will freeze)
            sampleBuffer.Dispose();
        }
    }

The final piece of the puzzle was answered with the Miguel de Icaza sample I finally found here: link
Thanks to Miguel and Pavel


Noninvasive near-infrared imaging of fluorochromes within the brain of live mice: an in vivo phantom study.
Near-infrared fluorescence (NIRF) imaging has great potential for studying physiological and pathophysiological processes noninvasively in several locations of the body. In this study, we evaluated the feasibility of NIRF imaging to visualize fluorescent compounds within the brains of live mice commonly used in brain research. To simulate the presence of a molecular NIRF reporter agent at the site of a lesion, we developed a new in vivo phantom model wherein capsules containing different amounts of an NIRF dye (Cy5.5) were stereotactically implanted deep into the left hemispheres of living mice. To precisely locate the implanted capsules, magnetic resonance imaging (MRI) was performed. Fluorescence reflectance imaging (FRI) and transillumination fluorescence imaging (TFI) were conducted to analyze and compare sensitivity and target-to-background ratios of the two methods. The sensitivities of FRI and TFI to background fluorescence from circulating dye was tested by imaging fluorescent capsules in mice intravenously injected with increasing amounts of long-circulating Cy5.5-dextran. The results show that capsules containing dye amounts as low as 10(-12) mol can be detected. TFI yielded significantly higher target-to-background ratios than FRI at 10(-11) mol (p < .05). Comparatively low amounts of fluorescence in the blood vessels can extinguish the signal. We conclude that keeping the signal from circulating NIRF dye low, NIRF imaging offers high sensitivity in detecting fluorochromes noninvasively within brains of mice, especially by using TFI. This encourages the application of NIRF for molecular imaging in the mouse brain using NIRF reporters.


Derby Talk

Derby Talk is a forum for Pinewood Derby, Awana Grand Prix, Kub Kar Rally, Shape N Race Derby, Space Derby, Raingutter Regatta and other similar races where a child and an adult work together to create a race vehicle and a lot of fun and memories

Our District has used this peculiar schedule method for years now. I've not seen it anywhere else so for that reason I have dubbed it the Single Lane Start Lane Rotation schedule. We race on a four lane track....so we start with one boy on lane 1...next heat said boy advances to lane 2 and a new boy comes in on lane 1....next heat previous boys move over a lane and a new boy comes in on lane one....I'm sure you get the idea now. Race continues until last racer is eventually by himself during the last heat. The older pinewood derby chairperson in our district tells me this rotation makes it easier on the boys since they all start in lane 1 and simply move over a lane during the next heat. I think this maybe true but also know they use to race on a old plastic track that some scouts built 25 years ago and while they had a timer they had no computer system so times had to be wrote down by someone after each heat.....so I think that also came into play. Now that I am the Pinewood derby chair and this is our second year with a new 42' Best Track with GPRM software I am slowly trying to feed everyone normal lane rotation schedules created by GPRM.....I just have to print out the race schedule so my older official that helps boys stage their cars understands which boy goes where.

Normal lane rotation schedules are slow and boring. Slow, because you are always waiting on cars to return from the finish line to be loaded back to the track. Boring, because racers pretty much face the same opponents over and over. Billy always beats Johnny.

If you must do a Lane Rotation schedule, at least use the Phase Shifted type. Less slow and less boring. Better yet, try the Perfect-N scheduling. Fastest and least boring.

Wow, that is a horrible way to race bobcat. First of all, it seems inefficient not to have all four lanes running cars, but most of all it's unfair.

The first and last car get a free run with no "dirty air." I.e., the aero turbulence each car produces that affects the car(s) next to it. This effect is probably less pronounced at the Scout level, but it seems totally unnecessary to create the possibility of an unfair race.

Lastly, those cars that race earlier in the round get a clean track to run on, whereas those who go last have a filthy track. Dirty wheels kill speed.

Years ago, we switched to a system that is essentially another implementation of Partial Perfect-N (PPN). The cars get to race against different opponents each time, they get to race more often (no waiting for cars to return from the finish line), and it's more accurate.


HMIS Sind (K274)

HMS Betony was a  of the Royal Navy. She was ordered in 1941, and commissioned in August 1945. She was immediately transferred to the Royal Indian Navy, where she was commissioned as HMIS Sind. She was transferred back to the Royal Navy in May 1946, as the war ended just days after her transfer. She was then sold to the Royal Thai Navy in 1947 as HTMS Prasae, and eventually scuttled in 1951.

History
Betony was ordered from Alexander Hall and Sons for the Royal Navy in 1941.

She was transferred to the Royal Indian Navy and the Eastern Fleet immediately upon commissioning in August 1945 and served as HMIS Sind. She developed engine trouble soon after her transfer. With the end of World War II just days after her transfer and the imminent independence of India, she was transferred back to the Royal Navy in 1946.

In 1947, she was sold to the Royal Thai Navy and commissioned as HTMS Prasae. On 7 January 1951, during a snowstorm, she was beached on the east coast of Korea. After unsuccessful attempts to pull her off the beach, she was scuttled.

Notes

See also
Thailand in the Korean War

Category:Flower-class corvettes of the Royal Indian Navy
Category:1943 ships


Q:

java.lang.NullPointerException when a try to invoke setContentView in a class to extends MainActivity

sorry for my bad English, this is the deal, I'm traying to adapt a QR code scanner with ZXingScanner Library, but I have this issue.
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference

first of all, send the context to the second one which extends to Mainactivity.

Mainactivity

//cast floatingbutton

  FloatingButton = (FloatingActionButton) findViewById(R.id.A1);
    View.OnClickListener l = new Eventoqr(this);
    FloatingButton.setOnClickListener(l);

Eventoqr  class

    public class Eventoqr extends MainActivity implements View.OnClickListener, ZXingScannerView.ResultHandler

//method that implements start camera

public void QRscan(View vista)
{
    Log.e("Inicio de camara", cntx.toString());
    MyscannerView = new ZXingScannerView(cntx);
    setContentView(MyscannerView); /* Error generates here
}

I hope someone can help me whit this, thanks any way.

A:

Obviously, your android.view.Window is null, could you provide this call inside your code?


Trump vs Clinton: Bet on America’s Future with Bitcoin

You can use bitcoin to play poker, play casino games and bet on sports. You can also bet on Trump or Clinton the US presidential election. In a little over two months, there will be a new president. Who do you think will be the next president?

Also read: Bet on MMA with bitcoin – Mc Gregor vs. Diaz

Trump vs Clinton: The Candidates

Hillary Clinton: former First Lady and Secretary of State. If elected, Clinton would be the first female president. After a hard fought primary season she has done her best to appeal to Bernie Sanders voters with mixed results. She is currently the favourite at every sportsbook and prediction market.

Donald Trump: a New York businessman, known for his reality show “The Apprentice.” After resistance from more traditional Republicans, Trump chose Mike Pence as a running mate, which appealed to the conservative Christian Republican base. He is known for his big promises to build a wall on the Mexican border. Even though…


A Craigclowan spokeswoman said: “Given the considerable investment involved in privately educating a young person, this is a unique opportunity to learn more about the top schools - both boarding and day - collect literature and speak to representatives from headmasters to former pupils.”


Pages

Sunday, December 14, 2008

South Asia’s Deadly Dominoes

By HELENE COOPER, New York Times, Published: December 6, 2008

The Mumbai attacks may have begun with Lashkar-e-Taiba, a Pakistani guerrilla group known in the West mostly for its preoccupation with Kashmir. But by the time the crisis finally ends, foreign policy experts say, the fallout may have expanded to include the United States, NATO, Afghanistan and Iran.

Once again, South Asia is showing itself to be vulnerable to contagion.

President-elect Barack Obama during the campaign laid out an intricate construction for what might happen in South Asia with the right American push. He advocated increasing American troops in Afghanistan and pressing Pakistan to do more to evict foreign fighters and to attack training camps for radical terrorists along the Afghanistan-Pakistan border.

Such actions, Mr. Obama said, would help prevent the Taliban and Al Qaeda from using Pakistani soil as a staging area for attacks in Afghanistan or on the United States or other Western targets.

Seldom did Mr. Obama mention or include India in his roadmap to peace in South Asia. During an interview with Time magazine, Mr. Obama did hint at trying to make a diplomatic push to mediate the Kashmir issue. But most of his South Asia focus has been on Afghanistan and Pakistan.

The trouble, South Asia experts say, is that just about every issue in the region is somehow interconnected, and they all have a tendency to set each other off. The Mumbai attacks killed 163 civilians and members of the security forces, , and terrorized India’s most populous city for more than three days. But when the dust had cleared, “there was a lot more wreckage than just that,” said Teresita C. Schaffer, a South Asia expert at the Center for Strategic and International Studies in Washington.

Strategically, the Mumbai massacres have brought into stark relief just how tenuous are American hopes for any kind of calm in Pakistan and Afghanistan, let alone victory over militant forces in the region.

Forget worrying about the hunt for Osama bin Laden along their shared border, and the battle against a resurgent Taliban. After Mumbai, it is suddenly all anyone can do just to keep Indians and Pakistanis from war.

“Step back and consider the situation the Mumbai attackers have created,” said George Friedman, chief executive of Stratfor, a geopolitical risk analysis company.

1. India’s already weak government decides it has to retaliate against Pakistan or risk falling.

India didn’t retaliate after the deadly bombing of the Indian embassy in Kabul July 7. But many Indians view the Mumbai attacks the same way Americans viewed the Sept. 11, 2001, attacks, and the Indian government is under enormous pressure to retaliate, perhaps by bombing training camps in Pakistan. Seven years ago, when gunmen attacked India’s Parliament in New Delhi, the Indian government moved forces close to the Pakistani border and brought its nuclear forces to a higher alert level, prompting a similar response from Pakistan and an intense crisis between the two nuclear rivals. Since then, the Indian government has been more restrained. But you can’t expect that restraint to dissolve were a firm link between the Mumbai attack and Pakistan’s intelligence service to emerge.

2. Pakistan responds by withdrawing forces from western Pakistan, where they can fight Al Qaeda and the Taliban, to the India-Pakistan border.

Pakistan security officials have already warned that if the situation with India worsens, they will shift troops from western areas, and pointedly noted during a news conference that such a step would likely upset the United States because it would mean resources were being moved from the fight against Islamic militants along the Afghan border. The Americans have been pressing Pakistan for more military action against the militants, not less.

While part of Pakistan’s threat was “half designed to scare the daylights out of the United States,” part of it was serious, Ms. Schaffer said. “The serious part of it is, as far as the Pakistan Army is concerned, India is still the existential threat. If it looked as if India was going to take some kind of military action, there would be a re-deployment so fast it would make your head spin.”

3. Taliban forces, freed from having to watch out for Pakistani troops, are strengthened along the Afghan border; Qaeda operatives are more secure.

A resurgent Taliban that is freed from having to fight a two-front war will turn its full attention to American and NATO troops in Afghanistan. Mr. Obama has already said he wants to send two additional combat brigades to Afghanistan, where violence has climbed — allied military deaths there have reached 267 this year, the most ever. The American military plan for the war in Afghanistan assumes some help from Pakistani troops on the border. It also assumes that the United States can continue to use Pakistan for logistical support for the Afghanistan war.

4. The United States’ situation in Afghanistan goes from bad to worse.

For the American military effort in Afghanistan to succeed, the Pakistani military needs to establish control of the lawless territory between the two countries. It is virtually impossible, South Asia experts say, to envision a scenario where American soldiers themselves could establish control of the border regions, with their mountainous terrain and a local population that is sympathetic to Islamist militants. So America is seeking a greater willingness from Pakistani leaders to go after Qaeda and Taliban operatives along the border; a Pakistani government that is distracted by a new flare-up with India would not figure into those plans.

5. Iran, watching Pakistan and India rattling their nuclear sabers, concludes that it is in a better position to insist on pursuing its nuclear program.

Mr. Obama has said he will do whatever he can to prevent Iran from acquiring a nuclear weapon, including breaking with years of American foreign policy and sitting down with Iran’s leaders, if necessary. But for decades, some Iranians have argued that their country needs a nuclear weapons capacity to match the influence of, or deter, neighbors like India, Pakistan and Israel — not to mention Russia and China. Foreign policy experts say that persuading Iran’s leaders to stop their current uranium enrichment program before it makes such a goal attainable would only get harder if they could point to a nuclear standoff taking place between Pakistan and India.

Turkish officials have stepped in to try to help, summoning Afghanistan’s president, Hamid Karzai, and Pakistan’s president, Asif Ali Zardari, to Istanbul for talks. A senior Turkish official involved in the talks expressed optimism that diplomacy could somehow avert a further ratcheting up of tensions in South Asia. Speaking on condition of anonymity under normal diplomatic rules, the diplomat said that the Mumbai terrorists “wanted to create a problem for the whole region, because they knew this could radicalize the population more.” But, he said, none of that has to happen — if the Indian government resists the domestic pressure to hit back at Pakistan.

“It would be too much,” he said, “to start a war just to keep a government in place.”


4138 Hillview AveShively,
KY40216

Property Details
for 4138 Hillview Ave

Description provided by Trulia

4138 Hillview Ave
This is a Single-Family Home located at 4138 Hillview Avenue, Shively KY. 4138 Hillview Ave has 1 bed, 1 bath, and approximately 768 square feet. The property was built in 1948. 4138 Hillview Ave is in the 40216 ZIP code in Shively, KY. The average list price for ZIP code 40216 is $86,849.

Public Records
for 4138 Hillview Ave

Official property, sales, and tax information from county (public) records as of 10/2013:

Corporate

This is a Single-Family Home located at 4138 Hillview Ave, Shively KY, 40216. 4138 Hillview Ave has has 1 bed, 1 bath, and approximately 768 square feet. The property was built in 1948. 4138 Hillview Ave is in Shively and in ZIP Code 40216. The average sale price for 40216 sold homes is $93,694. The average sale price for Shively sold homes is $84,659.


Towards the determination of sulfonamides in meat samples: A magnetic and mesoporous metal-organic framework as an efficient sorbent for magnetic solid phase extraction combined with high-performance liquid chromatography.
A magnetic, mesoporous core/shell structured Fe3O4@JUC-48 nanocomposite was synthesized and employed as a magnetic solid phase extraction (MSPE) sorbent for the determination of trace sulfonamides (SAs) in meat samples. The synthesized nanocomposite was characterized by X-ray diffraction, Fourier transform infrared spectra, transmission electron microscopy, scanning electron microscopy, Brunner-Emmet-Teller, and vibrating sample magnetometry; the Fe3O4@JUC-48 nanocomposite exhibited a distinctive morphology, large surface area, high magnetism, open adsorption sites, and high chemical stability. By combining the optimized MSPE conditions with high performance liquid chromatography diode array detection, an accurate and sensitive method for the determination of 5 SAs, including sulfadiazine (SDZ), sulfathiazole (STZ), sulfamerazine (SMR), sulfamethazine (SMZ), and sulfamethoxypyridazine (SMP), was developed. The method exhibited good linearity in the range of 3.97-1000ng/g with R ranging from 0.9991 to 0.9994, high sensitivity with LODs ranging from 1.73 to 5.23ng/g, adequate recoveries between 76.1 and 102.6% with low relative standard deviations ranging from 2.1 to 6.4%, and high precision with RSD<4.5%. The Fe3O4@JUC-48 magnetic nanocomposite is a promising sorbent for the rapid and efficient extraction of SAs from complex biological samples such as chicken, pork, and shrimp.


Chiral amino ether-controlled catalytic enantioselective arylthiol conjugate additions to alpha,beta-unsaturated esters and ketones: scope, structural requirements, and mechanistic implications.
Asymmetric conjugate addition reaction of 2-trimethylsilylbenzenethiol with enoates and enones is catalyzed by a chiral amino ether-lithium thiolate complex and affords adducts with high enantioselectivity. Both the s-cis conformation and a steric wall at one side of the carbonyl group are structural requirements in substrates yielding adducts with high enantioselectivity. Reactions with tert-butyl enones gave addition products with high enantioselectivity. Construction of two contiguous chiral centers was possible by this addition-protonation sequence. Methyl tiglate was stereoselectively converted to a single syn-adduct of 95% enantiomeric excess (ee) bearing two contiguous chiral centers. Methyl 2-phenyl-2-butenoate was converted to a single syn-adduct of 95% ee, which was desulfurized to methyl 2-phenylbutanoate of 95% ee. These additions generate a transient lithium enolate that is protonated by a thiol anti to the C-S bond, giving the corresponding product having two adjacent stereocenters.


Q:

ssh keychain for git pull cron

I am a bit of a newbie with linux, so must apologize straight away if this is something obvious and/or silly.
I am trying to create a git pull cronjob that gets update from GitHub repo every few minutes.
Now the problem is that I can not get it working without entering pass-phrase every time cron runs.
ssh-agent and ssh-add does not do the trick as they loose the passwords every time user logs out. So I got the guide http://www.cyberciti.biz/faq/ssh-passwordless-login-with-keychain-for-scripts/ and followed it, but still no results.
I can not seem to get the keychain working properly. I think.
The steps I have done:

Installed the keychain from RPMforge.
Edited the vi $HOME/.bash_profile to include:
/usr/bin/keychain $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
And according to the guide, after I re-log, keychain should be working and I should not need to enter the pass-phrase every time I ssh -T git@github.com

I am probably missing something, but can not seem to figure out what. Maybe someone has some suggestions ?

A:

try this link to solved  same problem  link
its help full  to you..


# Copyright 2015-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

doc = """Depend plug-in module for repoman.
Performs Dependency checks on ebuilds."""
__doc__ = doc[:]

module_spec = {
	'name': 'depend',
	'description': doc,
	'provides':{
		'profile-module': {
			'name': "profile",
			'sourcefile': "profile",
			'class': "ProfileDependsChecks",
			'description': doc,
			'functions': ['check'],
			'func_desc': {
			},
			'mod_kwargs': ['qatracker', 'portdb', 'profiles', 'options',
				'repo_metadata', 'repo_settings', 'include_arches',
				'include_profiles', 'caches',
				'repoman_incrementals', 'env', 'have', 'dev_keywords'
			],
			'func_kwargs': {
				'ebuild': (None, None),
				'pkg': (None, None),
			},
			'module_runsIn': ['ebuilds'],
		},
	},
	'version': 1,
}


Poor tree growth can doom a new planting.

Planting an orchard today is riskier than it used to be, says Jerry Haak, a fruit grower at Sunnyside, Washington, and one of the biggest risks is not getting the trees to grow well, because tree caliper directly relates to fruit tonnage. “You can’t mess up on production because the costs are so high there’s not a big margin for error,” he said.

A new study by Washington State University economists shows that the cost of establishing a 40-acre block of Gala apples in the Pacific Northwest is more than $13,000 per acre, or $23,634 if costs through year three are included. The cost of buying and planting trees is estimated at $7,677 per acre for trees planted on a 4- by 10-foot spacing.

Though growing the trees in the orchard, starting with sleeping eyes or bench grafts, reduces initial planting costs, it can be a false economy, said Haak. If the grower can find nursery trees of the right variety on the right rootstock with a guaranteed 5/8-inch caliper for a contract price, that’s a better deal than planting in place, he believes. “There’s no cheap way to grow an orchard. If you cut corners, it’s probably going to cost you more in the long run. It’s always cheapest to do it right the first time. You have to do whatever it takes to get the trees to grow.

Contract price

Disadvantages of growing trees in place, besides the extra work involved, are that they will take longer to come into production, and the ground is out of production longer. “Buying trees at a nursery at a contract price is going to get you into production faster,” Haak said, noting that the speculation price is usually about 25 percent higher than for contract nursery trees.

A grower might ask the nursery about working out a payment plan—but pay before receiving the trees, not after, he stressed. If you don’t have time to order contract-grown trees for your target planting date and there are none available, you might be put on a waiting list and end up receiving trees of 3/8- to ½-inch caliper. “Absolutely don’t do that,” Haak warned. If you can’t delay your planting date, then growing your own trees is preferable to planting small nursery trees and spending the first year growing the trees anyway, he believes.

Dan Plath, orchard manager at Washington Fruit and Produce Company in Yakima, said his company, which is expanding at a rate of 10 percent a year (not including replanted orchards), uses some nursery trees and grows some in place. “I don’t think either one is better,” he said. “Doing some of both is another way to diversify ourselves. You spend more money on a big nursery tree, but that way you get to pick some apples in year two and potentially a substantial crop in year three, and, if the market’s good, that’s going to look like a good investment.

Conversely, if the market’s not good or you have hail, you would have been better off to go the cheap route by planting bench grafts or sleeping eyes. We can’t predict which one’s going to be better, so we’re going to do both, and we’re going to focus on planting trees on good sites and making the right decisions in terms of genetics.”

A profitable outcome depends on a second-leaf crop, said Haak, who aims to harvest 15 bins per acre the year after planting, enough to cover half of the third-leaf operating costs. “Inability to get a tree to grow is probably the biggest cost that you have, and it’s an indirect cost—you just take longer to produce fruit. It delays getting the income side going.” Haak, whose parents were dairy farmers, got into the orchard business in the early 1980s after working as a loan officer for Farm Credit Services.

He had seen people making good money growing apples and wanted to be a part of it. He got advice from industry leaders, such as Ralph Broetje, Grady Auvil, Bruce Allen, and Dave Allan, and planted Gala, Fuji, and Granny Smith. Haak now is owner or part owner of about 700 acres of tree fruits. In 2000, he sold 150 acres of Gala, Fuji, and Granny Smith to help him recapitalize his operation and plant newer strains. He has not planted managed varieties because acreage royalties can add thousands of dollars per acre to the up-front costs.

The industry has changed since the 1980s, when all the new varieties were returning big money, he recalled. “Then, we were paying off orchards in three and four years. We were getting $700 a bin for our first Fuji returns, with 35 bins per acre in the third year.” Today, the grower must plant a variety with the potential to return at least $180 to $200 per bin, he said. “If you’re only going to get $150 per bin for your fruit, you should not be planting apples.”

On the cost side of the balance sheet, labor is becoming a bigger factor, so Haak is planting orchards that are more labor efficient. He’s looking for ways to reduce labor and ladder work for pruning, thinning, and tree training. He’s using three-leader trees on a V-trellis system and instead of tying every limb down flat to the wire, he is more inclined to let the tree grow the way it wants to. While he’s planting with new technology in mind, he’s not made major changes and notes that increasing the alley width from 12 feet to 13 feet results in an 8 percent reduction in the plantable area.

The orchard will have fewer trees per acre, and yields are directly related to tree number in the first five years of an orchard. Plath said he thinks the industry is moving towards rows only 10 feet apart or narrower in order to optimize tree density. “We’re not going to build our orchards to fit a machine. They have to build the machine to fit our orchards.”

He’s found platforms to be a good investment for the company, with each machine clocking 1,200 hours per season. Another good investment has been a tree planter that he copied from Allan Brothers, which can plant three rows at a time. “When I first started here in 2003, we were mostly planting trees with a shovel,” he said. “We probably spent $600 per acre to plant an orchard, and at that time we were planting 700 trees per acre.”

With the machine, which cost $30,000, planting costs are down to only $200 per acre. Since the company plants around 500 acres annually, the machine quickly paid for itself. “The little things like that add up,” Plath observed. •

Geraldine Warner was the editor of Good Fruit Grower from 1992-2015. During her tenure, she planned and prepared editorial content, wrote for the magazine, and managed the editorial team.
Read her stories: Story Index


Our studies continue on the molecular pathology of JC virus and human glial cells in culture, and more recently, with human brain tissue sections from infected patients wth progressive multifocal leukoencephalopathy (PML). Experiments have focues at the intracellular level describing the nature of viral persistance in the CNS, pathogenesis of PML as a demyelinating disease, and the mechanisms of generic regulation of the viral and cellular genes involved. Our results include solving the biggest problems that working with JC has presented, namely the host and tissue restriction for growth to primary human fetal glial cells in culture. We have estalbished an immortalized line of human fetal astroglial cells using a mutant transforming gene of SV40. These cells are able to produce infectious JCV and have allowed us to examine the kinetics of CV DNA replication and T protein synthesis. We have also found that the SV40 T protein made in human glial cells complexes with a glial cell protein, p53, and stablizes this protein in the cell. The JCV T protein does not appear to complex with the p53 protein, perhaps due to confirmational differences between the T proteins of SV40 and JCV. Additional evidence for such differences came from our experiments suggesting alkylation of cycteine residues of the JCV T protein was necessary in order to resolve the immunoprecipitated T protein using denaturing gel electrophoresis. This was not necessary for either the T proteins of SV40 or the related human BK virus. Studies of paraffin embedded or fozen brain tissue from PML patients showed the presence of JCV DNA using in situ hyridization and correlated with the detection of viral capsid antigen using immunocytochemical tests. These studies also revealed that aligodendroglian cells are the main target for JCV gene expression but that bizarre astrocyctes present in PML plaques showed JCV DNA and capsid antigen. This latter finding questions role the of JC virus may have in the pathogenesis of malignant gliomas in the general population that has been suggested by others.


Q:

.NET - Thread synchronization

I've been working on a thread which will live as long as the application is running, and runs at a interval of 500ms. I noted that I could be uselessly processing if there's nothing in the queue for it to process, so I went around looking at some sources I had locally, and I found an example close to mine, but it's in Java.
The example had this:
synchronized(this) {
    try {
        wait();
    } catch (InterruptedException e) {
        cleanup();
        break;
    }
}

Inside a while loop which goes on forever.
The thread has this to notify the wait:
synchronized(this) {
    notifyAll();
}

This was inside the enqueue thread.
I'd also like you to note that the class inherits Runnable.
Could anyone quickly explain the corresponding functions in C#? And maybe an example if you could!

A:

.NET/C# best practice would be to use an EventWaitHandle.
You'd have some variable shared between the threads as so:
EventWaitHandle handle = new EventWaitHandle(false, EventResetMode.AutoReset);

In the consumer thread (the one that you're waking up every 500ms right now), you'd loop waiting for the handle (perhaps with a timeout):
try
{
    while(true)
    {
        handle.WaitOne();
        doSomething();
    }
}
catch(ThreadAbortException)
{
    cleanup();
}

And in the producer thread:
produceSomething();
handle.Set();