// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//

/*
Package multipart implements MIME multipart parsing, as defined in RFC
2046.

The implementation is sufficient for HTTP (RFC 2388) and the multipart
bodies generated by popular browsers.
*/
package multipart

import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	"io/ioutil"
	"mime"
	"net/textproto"
)

var emptyParams = make(map[string]string)

// A Part represents a single part in a multipart body.
type Part struct {
	// The headers of the body, if any, with the keys canonicalized
	// in the same fashion that the Go http.Request headers are.
	// For example, "foo-bar" changes case to "Foo-Bar"
	//
	// As a special case, if the "Content-Transfer-Encoding" header
	// has a value of "quoted-printable", that header is instead
	// hidden from this map and the body is transparently decoded
	// during Read calls.
	Header textproto.MIMEHeader

	buffer    *bytes.Buffer
	mr        *Reader
	bytesRead int

	disposition       string
	dispositionParams map[string]string

	// r is either a reader directly reading from mr, or it's a
	// wrapper around such a reader, decoding the
	// Content-Transfer-Encoding
	r io.Reader
}

// FormName returns the name parameter if p has a Content-Disposition
// of type "form-data".  Otherwise it returns the empty string.
func (p *Part) FormName() string {
	// See http://tools.ietf.org/html/rfc2183 section 2 for EBNF
	// of Content-Disposition value format.
	if p.dispositionParams == nil {
		p.parseContentDisposition()
	}
	if p.disposition != "form-data" {
		return ""
	}
	return p.dispositionParams["name"]
}

// FileName returns the filename parameter of the Part's
// Content-Disposition header.
func (p *Part) FileName() string {
	if p.dispositionParams == nil {
		p.parseContentDisposition()
	}
	return p.dispositionParams["filename"]
}

func (p *Part) parseContentDisposition() {
	v := p.Header.Get("Content-Disposition")
	var err error
	p.disposition, p.dispositionParams, err = mime.ParseMediaType(v)
	if err != nil {
		p.dispositionParams = emptyParams
	}
}

// NewReader creates a new multipart Reader reading from r using the
// given MIME boundary.
//
// The boundary is usually obtained from the "boundary" parameter of
// the message's "Content-Type" header. Use mime.ParseMediaType to
// parse such headers.
func NewReader(r io.Reader, boundary string) *Reader {
	b := []byte("\r\n--" + boundary + "--")
	return &Reader{
		bufReader:        bufio.NewReader(r),
		nl:               b[:2],
		nlDashBoundary:   b[:len(b)-2],
		dashBoundaryDash: b[2:],
		dashBoundary:     b[2 : len(b)-2],
	}
}

func newPart(mr *Reader) (*Part, error) {
	bp := &Part{
		Header: make(map[string][]string),
		mr:     mr,
		buffer: new(bytes.Buffer),
	}
	if err := bp.populateHeaders(); err != nil {
		return nil, err
	}
	bp.r = partReader{bp}
	const cte = "Content-Transfer-Encoding"
	if bp.Header.Get(cte) == "quoted-printable" {
		bp.Header.Del(cte)
		bp.r = newQuotedPrintableReader(bp.r)
	}
	return bp, nil
}

func (bp *Part) populateHeaders() error {
	r := textproto.NewReader(bp.mr.bufReader)
	header, err := r.ReadMIMEHeader()
	if err == nil {
		bp.Header = header
	}
	return err
}

// Read reads the body of a part, after its headers and before the
// next part (if any) begins.
func (p *Part) Read(d []byte) (n int, err error) {
	return p.r.Read(d)
}

// partReader implements io.Reader by reading raw bytes directly from the
// wrapped *Part, without doing any Transfer-Encoding decoding.
type partReader struct {
	p *Part
}

func (pr partReader) Read(d []byte) (n int, err error) {
	p := pr.p
	defer func() {
		p.bytesRead += n
	}()
	if p.buffer.Len() >= len(d) {
		// Internal buffer of unconsumed data is large enough for
		// the read request.  No need to parse more at the moment.
		return p.buffer.Read(d)
	}
	peek, err := p.mr.bufReader.Peek(4096) // TODO(bradfitz): add buffer size accessor

	// Look for an immediate empty part without a leading \r\n
	// before the boundary separator.  Some MIME code makes empty
	// parts like this. Most browsers, however, write the \r\n
	// before the subsequent boundary even for empty parts and
	// won't hit this path.
	if p.bytesRead == 0 && p.mr.peekBufferIsEmptyPart(peek) {
		return 0, io.EOF
	}
	unexpectedEOF := err == io.EOF
	if err != nil && !unexpectedEOF {
		return 0, fmt.Errorf("multipart: Part Read: %v", err)
	}
	if peek == nil {
		panic("nil peek buf")
	}

	// Search the peek buffer for "\r\n--boundary". If found,
	// consume everything up to the boundary. If not, consume only
	// as much of the peek buffer as cannot hold the boundary
	// string.
	nCopy := 0
	foundBoundary := false
	if idx := bytes.Index(peek, p.mr.nlDashBoundary); idx != -1 {
		nCopy = idx
		foundBoundary = true
	} else if safeCount := len(peek) - len(p.mr.nlDashBoundary); safeCount > 0 {
		nCopy = safeCount
	} else if unexpectedEOF {
		// If we've run out of peek buffer and the boundary
		// wasn't found (and can't possibly fit), we must have
		// hit the end of the file unexpectedly.
		return 0, io.ErrUnexpectedEOF
	}
	if nCopy > 0 {
		if _, err := io.CopyN(p.buffer, p.mr.bufReader, int64(nCopy)); err != nil {
			return 0, err
		}
	}
	n, err = p.buffer.Read(d)
	if err == io.EOF && !foundBoundary {
		// If the boundary hasn't been reached there's more to
		// read, so don't pass through an EOF from the buffer
		err = nil
	}
	return
}

func (p *Part) Close() error {
	io.Copy(ioutil.Discard, p)
	return nil
}

// Reader is an iterator over parts in a MIME multipart body.
// Reader's underlying parser consumes its input as needed.  Seeking
// isn't supported.
type Reader struct {
	bufReader *bufio.Reader

	currentPart *Part
	partsRead   int

	nl               []byte // "\r\n" or "\n" (set after seeing first boundary line)
	nlDashBoundary   []byte // nl + "--boundary"
	dashBoundaryDash []byte // "--boundary--"
	dashBoundary     []byte // "--boundary"
}

// NextPart returns the next part in the multipart or an error.
// When there are no more parts, the error io.EOF is returned.
func (r *Reader) NextPart() (*Part, error) {
	if r.currentPart != nil {
		r.currentPart.Close()
	}

	expectNewPart := false
	for {
		line, err := r.bufReader.ReadSlice('\n')
		if err == io.EOF && r.isFinalBoundary(line) {
			// If the buffer ends in "--boundary--" without the
			// trailing "\r\n", ReadSlice will return an error
			// (since it's missing the '\n'), but this is a valid
			// multipart EOF so we need to return io.EOF instead of
			// a fmt-wrapped one.
			return nil, io.EOF
		}
		if err != nil {
			return nil, fmt.Errorf("multipart: NextPart: %v", err)
		}

		if r.isBoundaryDelimiterLine(line) {
			r.partsRead++
			bp, err := newPart(r)
			if err != nil {
				return nil, err
			}
			r.currentPart = bp
			return bp, nil
		}

		if r.isFinalBoundary(line) {
			// Expected EOF
			return nil, io.EOF
		}

		if expectNewPart {
			return nil, fmt.Errorf("multipart: expecting a new Part; got line %q", string(line))
		}

		if r.partsRead == 0 {
			// skip line
			continue
		}

		// Consume the "\n" or "\r\n" separator between the
		// body of the previous part and the boundary line we
		// now expect will follow. (either a new part or the
		// end boundary)
		if bytes.Equal(line, r.nl) {
			expectNewPart = true
			continue
		}

		return nil, fmt.Errorf("multipart: unexpected line in Next(): %q", line)
	}
}

// isFinalBoundary reports whether line is the final boundary line
// indicating that all parts are over.
// It matches `^--boundary--[ \t]*(\r\n)?$`
func (mr *Reader) isFinalBoundary(line []byte) bool {
	if !bytes.HasPrefix(line, mr.dashBoundaryDash) {
		return false
	}
	rest := line[len(mr.dashBoundaryDash):]
	rest = skipLWSPChar(rest)
	return len(rest) == 0 || bytes.Equal(rest, mr.nl)
}

func (mr *Reader) isBoundaryDelimiterLine(line []byte) (ret bool) {
	// http://tools.ietf.org/html/rfc2046#section-5.1
	//   The boundary delimiter line is then defined as a line
	//   consisting entirely of two hyphen characters ("-",
	//   decimal value 45) followed by the boundary parameter
	//   value from the Content-Type header field, optional linear
	//   whitespace, and a terminating CRLF.
	if !bytes.HasPrefix(line, mr.dashBoundary) {
		return false
	}
	rest := line[len(mr.dashBoundary):]
	rest = skipLWSPChar(rest)

	// On the first part, see our lines are ending in \n instead of \r\n
	// and switch into that mode if so.  This is a violation of the spec,
	// but occurs in practice.
	if mr.partsRead == 0 && len(rest) == 1 && rest[0] == '\n' {
		mr.nl = mr.nl[1:]
		mr.nlDashBoundary = mr.nlDashBoundary[1:]
	}
	return bytes.Equal(rest, mr.nl)
}

// peekBufferIsEmptyPart reports whether the provided peek-ahead
// buffer represents an empty part. It is called only if we've not
// already read any bytes in this part and checks for the case of MIME
// software not writing the \r\n on empty parts. Some does, some
// doesn't.
//
// This checks that what follows the "--boundary" is actually the end
// ("--boundary--" with optional whitespace) or optional whitespace
// and then a newline, so we don't catch "--boundaryFAKE", in which
// case the whole line is part of the data.
func (mr *Reader) peekBufferIsEmptyPart(peek []byte) bool {
	// End of parts case.
	// Test whether peek matches `^--boundary--[ \t]*(?:\r\n|$)`
	if bytes.HasPrefix(peek, mr.dashBoundaryDash) {
		rest := peek[len(mr.dashBoundaryDash):]
		rest = skipLWSPChar(rest)
		return bytes.HasPrefix(rest, mr.nl) || len(rest) == 0
	}
	if !bytes.HasPrefix(peek, mr.dashBoundary) {
		return false
	}
	// Test whether rest matches `^[ \t]*\r\n`)
	rest := peek[len(mr.dashBoundary):]
	rest = skipLWSPChar(rest)
	return bytes.HasPrefix(rest, mr.nl)
}

// skipLWSPChar returns b with leading spaces and tabs removed.
// RFC 822 defines:
//    LWSP-char = SPACE / HTAB
func skipLWSPChar(b []byte) []byte {
	for len(b) > 0 && (b[0] == ' ' || b[0] == '\t') {
		b = b[1:]
	}
	return b
}


Q:

after submit redirect to the same page

I am using smoothscroll navigation, like this:

HOME

And I have a contact form, like this:

    @using (Html.BeginForm("contact","Home", FormMethod.Post, new { @enctype = "multipart/form-data" }))
    {
        @Html.AntiForgeryToken()

CONTACT Microrout.nl

                        Microrout.nl

frederik hendriklaan 253-b

Den Haag

0641697144

                        @Html.LabelFor(m => m.FromName, new { @class = "col-md-3" })

                            @Html.TextBoxFor(m => m.FromName, new { @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.FromName)

                        @Html.LabelFor(m => m.FromEmail, new { @class = "col-md-3 control-label" })

                            @Html.TextBoxFor(m => m.FromEmail, new { @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.FromEmail)

                        @Html.LabelFor(m => m.Message, new { @class = "col-md-3 control-label" })

                            @Html.TextAreaFor(m => m.Message, new { @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.Message)

                            <input type="submit" value="SHOOT MESSAGE" class="form-control">

            @*

*@

    }

and this are the Contact methods:
public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }

        [HttpPost]
        [ValidateAntiForgeryToken]
        public async Task<ActionResult> Contact(EmailFormModel model)
        {
            string message2 = "There are a few errors";
            if (ModelState.IsValid)
            {
                try
                {

                    message2 = "Thanks! We'll get back to you soon.";
                    var body = "
Email From: {0} ({1})

Message:

{2}
";
                    var message = new MailMessage();
                    message.To.Add(new MailAddress("nengelen@online.nl")); //replace with valid value
                    message.Subject = "Your email subject";
                    message.Body = string.Format(body, model.FromName, model.FromEmail, model.Message);
                    message.IsBodyHtml = true;

                    using (var smtp = new SmtpClient())
                    {
                        await smtp.SendMailAsync(message);

                    }

                }
                catch (Exception error)
                {
                    Response.Write("Error sending email: " + error.Message + "
 StackTrace: " + error.StackTrace);
                }
                ViewBag.Message = "Thank you for contact us";
                //return new RedirectToActionAnchor("Contact", "", "#contact");

            }

            //if (Request.IsAjaxRequest())
            //{
            //    return new JsonResult { Data = new { success = true, message = message2 } };
            //}

            //TempData["Message"] = message2;

            return View(model);
        }

But how to return back to the contact form, after submit, because after the submit the url changed to:
http://localhost:53534/Home/contact

Thank you
I have it now like this:
[HttpPost]
        [ValidateAntiForgeryToken]
        public async Task<ActionResult> Contact(EmailFormModel model)
        {
            string message2 = "There are a few errors";
            if (ModelState.IsValid)
            {
                try
                {

                    message2 = "Thanks! We'll get back to you soon.";
                    var body = "
Email From: {0} ({1})

Message:

{2}
";
                    var message = new MailMessage();
                    message.To.Add(new MailAddress("nengelen@online.nl")); //replace with valid value
                    message.Subject = "Your email subject";
                    message.Body = string.Format(body, model.FromName, model.FromEmail, model.Message);
                    message.IsBodyHtml = true;

                    using (var smtp = new SmtpClient())
                    {
                        await smtp.SendMailAsync(message);

                    }

                }
                catch (Exception error)
                {
                    Response.Write("Error sending email: " + error.Message + "
 StackTrace: " + error.StackTrace);
                }
                ViewBag.Message = "Thank you for contact us";
                //return new RedirectToActionAnchor("Contact", "", "#contact");

            }

            //if (Request.IsAjaxRequest())
            //{
            //    return new JsonResult { Data = new { success = true, message = message2 } };
            //}

            //TempData["Message"] = message2;

            return View("Contact",model);
        }

but the problem is that it then goes to: http://localhost:53534/Home/contact
But the Url of Contact is:http://localhost:53534/#contact
And this is my navigation:

HOME

STUDIO

TEAM

SERVICES

WORK

PRICING

CONTACT

                            @*
@Html.ActionLink("Contact", "Contact", "Home")

*@

This is my Home controller:
public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application.";

            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }

        [HttpPost]
        [ValidateAntiForgeryToken]
        public async Task<ActionResult> Contact(EmailFormModel model)
        {
            string message2 = "There are a few errors";
            if (ModelState.IsValid)
            {
                try
                {

                    message2 = "Thanks! We'll get back to you soon.";
                    var body = "
Email From: {0} ({1})

Message:

{2}
";
                    var message = new MailMessage();
                    message.To.Add(new MailAddress("nengelen@online.nl")); //replace with valid value
                    message.Subject = "Your email subject";
                    message.Body = string.Format(body, model.FromName, model.FromEmail, model.Message);
                    message.IsBodyHtml = true;

                    using (var smtp = new SmtpClient())
                    {
                        await smtp.SendMailAsync(message);

                    }

                }
                catch (Exception error)
                {
                    Response.Write("Error sending email: " + error.Message + "
 StackTrace: " + error.StackTrace);
                }
                ViewBag.Message = "Thank you for contact us";
                //return new RedirectToActionAnchor("Contact", "", "#contact");

            }

            //if (Request.IsAjaxRequest())
            //{
            //    return new JsonResult { Data = new { success = true, message = message2 } };
            //}

            //TempData["Message"] = message2;

            return View("Home",model);
        }
    }

it seems that if I use this:return Redirect(Url.RouteUrl("Home") + "#contact"); the anchor(#) will be skipped

A:

Instead of returning a view, return a redirect:
return RedirectToAction("Index");

As you also want to jump to an anchor on the page, you can use the following:
return Redirect(Url.RouteUrl("Index") + "#contact");

This is the Post-Redirect-Get pattern, which ensures you can't double-submit an action.  However, in this case you will lose the information in your ViewBag.Message.


Flavor

Botika Is Hosting One of the Best Barbecue Joints in Texas for a Pop-up

If you haven't made a protein pilgrimage to 2M Smokehouse & Catering, one of two San Antonio restaurants to make Texas Monthly's list of Top 50 barbecue joints list, here's your chance.

Pitmaster Esaul Ramos and co. will share a kitchen with Botika (the Peruvian fusion restaurants will prepare appetizers, desserts and beer pairings) and they're bringing the hits: brisket, pulled pork, turkey, pickled nopales and two new items specifically for the pop-up.

2M Smokehouse opened last December and quickly became a favorite among the 'cue cult with very good reason. For the dinner on October 15, Botika will offer unlimited seating, but reservations are a must. Reserve your spot at botikapearl.com.


Q:

Change SVG Viewbox size with CSS

The Question:
Is there a way to change the size of the SVG viewbox with CSS, but preserve the aspect ratio? OR is there another way to preserve the aspect ratio of the SVG without a view box.
The Problem:
I want to responsively adjust the size of the SVG, but keep the aspect ratio.  The width of the viewbox adjusts with the page, but the height doesn't adjust with the width. The problem with that is that the height of the container div is dependent on the height of the viewbox.  So the container div may be really tall even if there's nothing showing in the bottom half of the viewbox.
Fiddle:
http://jsfiddle.net/hT9Jb/1/
<style>
    div{
        width: 100%;
        height: 500px;
        background-color: #00ffff;
    }

    svg{
        width: 50%;
        background-color: #ffff00;
    }
</style>

<div>
    <svg version="1.1" id="Layer_1" x="0px" y="0px" width="250px" height="400px" viewBox="0 0 250 400" enable-background="new 0 0 250 400" aspect-ratio="XminYmin">
        <rect x="0" y="0" fill="#FF0000" width="250" height="400"/>
    </svg>
</div>

(Object SVGs and img SVGs wont work for my purposes.  It has to be inline.  The solution doesn't have to be CSS...javascript is definitely an acceptable solution.)

A:

You could use a transform:
transform: scale(0.75); // 75% of original size

A:

I haven't yet found a way to change the viewBox property with CSS. However this Javascript solution works well:
var mySVG = document.getElementById('svg');
mySVG.setAttribute("viewBox", "0 0 100 100");

Also remove any references to width and height from the SVG and set them in CSS. Even though your working with an SVG, it's inline so cascading rules apply.

A:

The width and height values specified in your SVG are the cause of your problem.
The solution is to fix your SVG file.  Change:
width="250px" height="400px"

to
width="100%" height="100%"

Or with CSS:
width: 100%;
height: 100%;


31 Orionis

31 Orionis is a binary star system in the equatorial constellation of Orion, located near the bright star Mintaka. It is visible to the naked eye as a faint, orange-hued point of light with a baseline apparent visual magnitude of 4.71. The distance to this system is approximately 490 light years away based on parallax, and it is drifting further away with a mean radial velocity of +6 km/s.

As of 2008, the pair had an angular separation of . The brighter member, designated component A, is an aging giant star with a stellar classification of K5III. It is reported as a semi-regular variable with magnitude ranging from 4.68 to 4.72 over 141 days, although the General Catalogue of Variable Stars describes this as unconfirmed by subsequent observations. It has the variable star designation CI Orionis, while 31 Orionis is the Flamsteed designation. The magnitude 10.2 companion star, component B, is an F-type main-sequence star with a class of F7V.

References

Category:K-type giants
Category:K-type main-sequence stars
Category:Binary stars

Category:Orion (constellation)
BD-01 0913
Orionis, 31
036167
025737
1834
Orionis, CI


// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.gerrit.extensions.restapi;

import com.google.common.collect.ListMultimap;

/**
 * Optional interface for {@link RestCollection}.
 *
 * <p>Collections that implement this interface can get to know about the request parameters.
 */
public interface NeedsParams {
  /**
   * Sets the request parameter.
   *
   * @param params the request parameter
   */
  void setParams(ListMultimap<String, String> params) throws RestApiException;
}


{{#ne_and live.repo 'fathead' 'longtail'}}

                    Template

                    {{#if live.template}}
                        {{live.template}}
                    {{else}}
                        —
                    {{/if}}

                    {{edited.template}}

            Edit

            Done

{{/ne_and}}


CONGRATULATORY LETTER

To all living beings within Buddhism, who are our relatives and friends: H.H. Dorje Chang Buddha III Yangwo Wan Ko Yeshe Norbu, the Wish-Fulfilling Jewel Holy One, has taken action that spreads and makes grander the true Buddha-dharma. How wonderful! Thus, I specially send this congratulatory letter. The book A Treasury of True Buddha-Dharma, which shows mastery of the Five Vidyas, is like countless brilliant lights in a rare holy world, illuminating our world, benefiting living beings, and providing happiness to living beings. The good reputation of this book will spread among those who learn Buddhism around the world. His Holiness has achieved a level of mastery of all Five Vidyas, including painting and calligraphy, never attained by any of the ancients. Even persons of great virtue have never seen the accomplishments contained in this precious book. May all who have the karmic affinity to read it become accomplished in the dharma, attain the great and unhindered mind, and realize the truth. Shechen VII Rijianba Angwangquebei Gyatso

October 22, 2007

BRIEF INTRODUCTION TO H.E. DHARMA KING RABJAM

H.E. Dharma King Rabjam is the dharma king of the Shechen Monasteries, which is one of the six main groups of monasteries of the Nyingma sect.

The present Dharma King Rabjam is the seventh Dharma King Rabjam. His birth on an auspicious day in 1966 in Qiangdiga, India caused the appearance of auspicious signs. H.H. the sixteenth Great Jewel Dharma King recognized him as the incarnation of H.E. the sixth Dharma King Rabjam and performed an enthronement ceremony for him. In the year of 2007, as requested by the International Buddhism Sangha Association, H.H. Dorje Chang Buddha III recognized H.E. the seventh Dharma King Rabjam as the incarnation of Shechen Rabjam Rinpoche.

When H.E. Rabjam Rinpoche was fifteen years old, he was tonsured by H.E. Dharma King Trulshik of the Nyingma sect and entered the monastic life. At the age of twenty, the rinpoche received the upasampada (complete set of precepts given to a monk who enters the order) from H.E. Dharma King Trulshik. He later learned from many extremely holy masters, especially from his root master, H.H. Dharma King Dilgo Khyentse, and from H.H. the fourteenth Dalai Lama, H.H. Sakya Trizin, H.H. the sixteenth Great Jewel Dharma King, H.E. Dharma King Chogye Trichen, H.H. Dharma King Penor of the Nyingma sect, and H.E. Kalu Rinpoche of the Shangpa Kagyu. He finally became a vajra master and famous dharma king of the unbroken Nyingma lineage.

Currently, besides building monasteries, H.E. Dharma King Rabjam is propagating the dharma and benefiting living beings around the world. He also is responsible for supervising and training Khyentse Yangsi Rinpoche, who is the incarnation of H.H. Dharma King Dilgo Khyentse.


How To Choose And Acquire The Very Best Video Gaming

Video games are among the very best forms of leisure available. Also, they are probably the most high-priced forms of leisure, with gaming system games which range from $50 to $60, and consoles them selves inside the 100s. There are ways to save o read more...

Taking Your Video Game playing To Another Level

Video gaming can be a entertaining pastime one that is appreciated worldwide. The info in this article can help you browse through the industry of games without having purchasing a very poor game, a treadmill that isn't age-appropriate.

Exceptional Advice For Perfecting The Video Games

Who doesn't enjoy a game title? Video gaming have exploded on the scenario in recent years. From sports to cooking to spy online games, there exists genuinely a video online game for anyone. Regardless if you are a kid of three or an mature of 53, read more...


INTRODUCTION {#s1}
============

Transcutaneous electrical nerve stimulation (TENS) is a useful physical therapy for pain-relief; however, the effects of this therapy are said to be influenced by the site of placement of the TENS stimulating electrodes[@r1]^)^. Furthermore, TENS applied to the site contralateral to the site of pain is reportedly effective in patients, including those with wounds or amputations, who are unable to receive direct stimulation to the site of their pain[@r2],[@r3],[@r4],[@r5]^)^. However, much currently remains unclear about whether TENS applied to the site contralateral to the site of pain is effective. There are no published reports that discuss the effects of TENS applied simultaneously to the site contralateral to the site of pain and to the neck at the same dermatome level as the site of pain. Moreover, almost no current reports discuss the relationship between changes in pain and brain activity after TENS[@r6]^)^.

The purpose of this study was therefore to develop a proposal for more effective options for therapeutic stimulation sites by comparing the pain-relieving effects of TENS applied at either the contralateral dorsal wrist joint at the same dermatome level as the site of pain in the dorsal wrist joint or the neck at the same dermatome level as the site of pain in the dorsal wrist joint, or both sites simultaneously.

SUBJECTS AND METHODS {#s2}
====================

The subjects in this study were 15 healthy adult females (mean age: 21.9 ± 0.3 \[21--22\] years) without any neurological or orthopedic disease in the four limbs or trunk. The Research Ethics Committee of Konan Women's University approved this study (12203) to be conducted, and all subjects gave their informed consent to participate after receiving a full explanation of the study's purpose and methods.

The design for this study was set as a single session of heat stimulation during measurement based on the single-epoch design of Koyama et al.[@r7]^)^ ([Fig. 1](#fig_001){ref-type="fig"}Fig. 1.Experimental protocol (single-epoch design). After a baseline session of 30 seconds, a control was performed followed by three 60-second interventions (TENS to CW, N, and CWN). The rest between the control and the three interventions was 5 minutes. TENS was applied to CW, N, and CWN using 47 °C heat stimulation. CW: Contralateral right dorsal wrist joint at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); N: Neck at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); CWN: Both CW and N simultaneously; 30 sec: Baseline session of 30 seconds; 60 sec: Control and three interventions were performed for 60 seconds; 5 min: Rest between control and three interventions; 20 sec: Rest at the end of all TENS interventions; 47 °C: 47 °C heat stimulation; TENS: transcutaneous electrical nerve stimulation). The study protocol involved 30 seconds of rest at baseline, followed by a control of 60 seconds of heat stimulation with 47 °C conductive heat from a Peltier device using a pain thermometer (UDH-201; Unique Medical Co., Ltd., Tokyo, Japan) to produce quantitative pain in advance in the left dorsal wrist joint. Next, to achieve pain-relief, a total of three different types of TENS were applied randomly. These three TENS interventions were: TENS applied to the contralateral right dorsal wrist joint at the same dermatome level as the site of pain in the left dorsal wrist joint (CW), TENS applied to the neck at the same dermatome level as the site of pain in the left dorsal wrist joint (N), and TENS applied to both CW and N simultaneously (CWN). Five minutes of rest was scheduled before each TENS intervention, and 20 seconds of rest was scheduled at the end after completion of all TENS interventions. CW was performed on a rectangular site measuring 10 cm horizontally and 5 cm vertically, established on the skin on the dorsum of the right wrist joint at the same dermatome level as the site of pain in the left dorsal wrist joint. The myelomere levels of this dermatome were C6, C7, C8 and T1. Meanwhile, N was the location on the neck at the same levels of C6, C7, C8 and T1 associated with the site of pain in the left wrist joint ([Fig. 2](#fig_002){ref-type="fig"}Fig. 2.CW and N placements of TENS electrodes for a site of pain in the left dorsal wrist joint. CW: Contralateral right dorsal wrist joint at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); N: Neck at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); TENS: transcutaneous electrical nerve stimulation).

TENS was performed using an electrostimulator (ES-520; Ito Co., Ltd., Tokyo, Japan) for 60 seconds at a frequency of about 15 Hz[@r8], [@r9]^)^ and a wavelength of 200 μs, which can trigger the release of large quantities of hormones including endorphins, enkephalins, β-endorphin and dynorphins, which are opioid peptides. The intensity of TENS was set at the threshold of pain for CW based on diffuse noxious inhibitory controls (DNIC)[@r10], [@r11]^)^, and at a comfortable intensity for N based on gate control theory[@r12]^)^.

To determine the therapeutic effect, a visual analogue scale (VAS) was used for pain evaluation. To evaluate brain activity on the basis of blood flow measurements of the primary somatosensory cortex and prefrontal cortex mainly in accordance with the 10--20 system, a device based on near-infrared spectroscopy (LABNIRS; Shimadzu Corporation, Kyoto, Japan) was used for the control, CW, N and CWN to measure all 44 channels. Indices used were oxygenated hemoglobin (oxy-Hb) at 10, 30 and 60 seconds after starting each stimulation session of CW, N and CWN. Numeric values obtained were tallied and calculated as means.

The effect size (mean oxy-Hb during task − mean oxy-Hb at rest/standard deviation at rest) of the value obtained for each channel was also calculated. This effect size was used in statistical processing. One-way analysis of variance was used for comparisons by condition, and Tukey's post-hoc test was used for multiple comparisons. The level of statistical significance was set at \<0.05.

RESULTS {#s3}
=======

The mean intensity of TENS in CW at the DNIC-based threshold of pain was 9.9 ± 4.7 mA (4--21.5 mA), and in N at a gate control theory-based comfortable intensity was 28.1 ± 8.6 mA (13.5--40 mA). The levels of pain measured by VAS after CW, N and CWN were 27.2 ± 16.1, 27.4 ± 19.2 and 27.5 ± 17.7, respectively, which were significantly reduced levels compared with 41.1 ± 20.8 for the control ([Table 1](#tbl_001){ref-type="table"}Table 1.VAS comparison of TENS between the control and each site (n=15)ControlCWNCWNVAS41.1 ± 20.827.2 ± 16.1^\*^27.4 ± 19.2^\*^27.5 ± 17.7^\*^\*Significant difference compared with the control, p\<0.05 (Tukey's post-hoc test). One-way analysis of variance (F=4.491, df=3.56, p\<0.05). VAS: Pain rating scale (from 0 to 100). Zero was defined as no pain and 100 was defined as the worst imaginable pain; CW: Contralateral right dorsal wrist joint at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); N: Neck at the same dermatome level as the site of pain in the left dorsal wrist joint (C6--T1); CWN: Both CW and N simultaneously; VAS: visual analogue scale; TENS: transcutaneous electrical nerve stimulation). Multiple comparisons of post-intervention levels of pain measured by VAS between the three interventions (CW, N and CWN) revealed no significant difference between any of the combinations.

Furthermore, in comparing the cerebral blood flow in a total of 44 channels, mainly of the primary somatosensory cortex and prefrontal cortex between the control, CW, N and CWN interventions (all 10, 30 and 60 seconds after starting stimulation), no significant difference was seen in any of the interventions.

DISCUSSION {#s4}
==========

The application of TENS to CW, N, and both CW and N simultaneously resulted in significantly decreased VAS scores compared with the control. TENS applied to CW could therefore trigger a pain-relieving effect. This suggests that TENS applied N could be effective in patients whose site of impairment cannot be treated directly due to an amputation, wound or other reason. Although the elements of DNIC and gate control theory were taken into account in CW and N, respectively, the lack of a difference between the three interventions also suggests that TENS applied to a site at the same dermatome level as the site of pain, a common factor in all three interventions, could be effective. On the other hand, no significant differences were seen between all four interventions in terms of the pain-relieving effect of TENS on cerebral blood flow at all 44 measured sites. This lack of change in the measured primary somatosensory cortex and prefrontal cortex suggests that a pain-relieving effect may be triggered via another cerebral limbic system[@r13]^)^.

Platon et al.[@r14]^)^ compared the pain-relieving effects of pharmacotherapy and TENS in postoperative induced abortion patients and reported that electrical stimulation with TENS applied to the skin area at the same dermatome as the myelomere level innervating the uterus was equally as effective as pharmacotherapy. In an animal experiment involving the application of noxious stimuli, Garrison et al.[@r15]^)^ suggested that when electrode stimulation at the site perceiving pain is interrupted, the effects of this electrical stimulation can still be obtained by placing the electrodes at the contralateral dermatome. The above shows that reports exist that describe a significant pain-relieving effect as a result of placing electrodes with consideration to dermatomes, indicating the same tendency as that discovered in the present study using dermatomes. As for the significance of applying stimulation to sites of pain that cannot be directly stimulated, electrical stimulation has long been a mainstream method of stimulating sites of pain (spontaneous pain, tenderness), but few studies involving electrical stimulation to sites including the periphery of the site of pain and dermatomes have been performed. Symptoms of acute trauma and complex regional pain syndrome including allodynia, phantom limb pain and post-herpetic neuralgia have a history of difficulties because the affected site often cannot be treated. We therefore investigated if other effective analgesic treatment sites exist besides the affected site in conditions such as phantom limb pain and reflex sympathetic dystrophy. Our accumulated research indicates that it is important to make effective use of other sites including contralateral dermatomes and trunk dermatomes. Contralateral stimulation has been described in studies that recorded brain activity at the site of brain response to pain stimuli in both the contralateral and ipsilateral cerebral hemispheres using magnetoencephalography[@r16],[@r17],[@r18]^)^. Because it is possible to record equivalent current dipoles that respond to unilateral electrical stimulation in the somatosensory cortexes of both the contralateral and ipsilateral cerebral hemispheres, applying stimulation to a site contralateral to the site of pain (for example, when pain is in the left wrist joint, stimulation applied to the right wrist joint could stimulate the somatosensory cortex of the right cerebral hemisphere responding to pain in the left wrist joint) could stimulate the ipsilateral hemisphere responding to the site of pain and thereby be a useful intervention.

A possible limitation to the present study was the somewhat unclear exact anatomical and physiological bases for the input path of stimulation and the pain-relieving mechanism in TENS applied to the site contralateral to the site of pain, to another dermatome at the same level, or to both sites simultaneously. Reported mechanisms are those based on gate control theory, endogenous opioid peptides, the descending pain modulatory system, and DNIC. However, without a treatment protocol systematized according to site of treatment, symptoms and other factors, TENS therapy has a history of being practiced on the basis of trial and error. Moving forward, it will be vital to continue exploring clues to elucidate the therapeutic effects of TENS through collaboration between clinical and basic research investigations.


Metal nanoparticle plasmons operating within a quantum lifetime.
We investigate the dynamics of a plasmonic oscillation over a metal nanoparticle when it is strongly coupled to a quantum emitter (e.g. quantum dot, molecule). We simulate the density matrix evolution for a simple model, a coupled classical-quantum oscillators system. We show that the lifetime of the plasmonic oscillations can be increased several orders of magnitude, up to the decay time of the quantum emitter. This effect shows itself as the narrowing of the plasmon emission band in the spaser (surface plasmon amplification by the stimulated emission of radiation) experiment [Nature, 2009, 460, 1110], where a gold nanoparticle interacts with the surrounding molecules. Enhancement of the plasmonic excitation lifetime enables stimulated emission to overcome the spontaneous one. The enhancement occurs due to the emergence of a phenomenon analogous to electromagnetically induced transparency (EIT). The effect can find applications in many areas of nanoscale physics, such as in quantum information with plasmons and in increasing solar cell efficiency.


Allianz Golf Open du Grand Toulouse

The Allianz Golf Open Toulouse Metropole was an annual golf tournament held near Toulouse, France. It was founded in 2000 and became part of the Alps Tour schedule the following year. From 2003 to 2012, it was an event on the Challenge Tour.

Winners

PO – won following playoff

External links

Coverage on the Challenge Tour's official site

Category:Former Challenge Tour events
Category:Golf tournaments in France


Photovoltaic installations and wind farms have gained popularity as alternative methods of power generation. Recent efforts in the search for suitable sources of renewable energy as substitutions for more archaic sources of power generation such as the burning of coal, petroleum, and natural gas has placed both photovoltaic power and wind power in the forefront of technological research.


Ketamine antagonizes hypoxia-induced dopamine release in rat striatum.
The purpose of this study is to investigate the hypothesis that ketamine, a non-competitive antagonist of the N-methyl-D-aspartate (NMDA) receptor, attenuates hypoxia-induced striatal dopamine release in vivo. High-speed chronoamperometric recording techniques, using Nafion-coated carbon fiber electrodes, were used to evaluate extracellular dopamine (DA) concentration in the striatum. KCl and DA were locally applied directly to the striatum of urethane-anesthetized Sprague-Dawley rats, in order to measure release and clearance, respectively, of DA. These anesthetized animals were paralyzed with D-tubocurarine and connected to a respirator to allow controlled respiration. Systemic concentrations of oxygen and carbon dioxide were altered by changing the partial pressure of O2, CO2, N2 of inspired air and the rate of the respirator. Our data indicate that lowering the respiratory rate from 90 to 20 times/min for 5 min, in room air, caused a decrease in blood O2 while increasing the CO2 concentration. These changes in blood gas concentration were reversible and reproducible. We also found that lowering the respiratory rates potentiated K(+)-induced DA release but not DA clearance in the striatum. In an attempt to induce hypercapnia, the room air was replaced with high CO2-containing air (15% CO2 + 20% O2 + 65% N2), and this change resulted in increased blood CO2 levels without lowering O2 concentration. The hypercapnia did not alter K(+)-induced DA release in the striatum. Next, we attempted to simulate anoxic hypoxia in the absence of hypercapnia. Respiration with pure N2 for 30 s resulted in lowering blood O2 without increasing CO2 levels. Both basal and K(+)-evoked DA releases were increased during N2-induced anoxic hypoxia. These data suggested that transient hypoxia facilitates DA release in the striatum. It has been suggested that NMDA is involved in many hypoxia-mediated responses. We also found that systemic application of ketamine, which itself did not affect blood O2 or CO2 levels, antagonized hypoxia-induced electrochemical responses. These data suggest that the increase in DA release in vivo during short-term hypoxia may probably be mediated through NMDA receptors.


Foster Friess: 'Contraception’s been very, very good to me'

Republican mega-donor Foster Friess on Friday pledged to support Rick Santorum for president again in 2016, but he also demonstrated he’s not quite over a contraception controversy that caused headaches for him and his candidate last year.

Widespread suggestions that Santorum and other socially conservative Republicans were prosecuting a “war on women” highlighted Democrats’ messaging superiority and willingness to treat politics as a “blood sport,” Friess told reporters at a breakfast sponsored by the Christian Science Monitor.

Text Size

-

+

reset

“It took advantage of all the low-information women voters out there who just follow Joy Behar and had no idea that Rick Santorum and Mother Teresa believe that contraceptives are against the Catholic teaching,” Friess said. “But a lot of the women out there, they were — I guess, what’s the proper word I want to use? — they were seduced that this is a war on women.”

Friess, a pioneering mutual fund manager who retired to Wyoming with a net worth of several hundred million dollars, donated $1.7 million to super PACs supporting Santorum’s 2012 bid for the Republican presidential nomination. The cash played a pivotal role in launching and prolonging the former Pennsylvania senator’s cash-strapped campaign, which won surprising victories in key nominating contests during a primary battle with eventual GOP nominee Mitt Romney.

Friess also emerged as a prominent traveling surrogate for Santorum and became one of the faces of a new breed of big-money politics in which a single donor can essentially float a presidential campaign with unlimited contributions in outside groups, including super PACs.

But Friess also tripped up Santorum during the height of the primary with a television interview in which he was asked about whether the candidate’s conservative stances on contraception and other cultural issues could pose problems with general election voters.

“I get such a chuckle when these things come out,” he told MSNBC host Andrea Mitchell. “And this contraceptive thing, my gosh, it’s such inexpensive. Back in my day, they used Bayer aspirin for contraceptives. The gals put it between their knees and it wasn’t that costly,” he said in a comment that dominated the news, forcing Santorum to disavow it and Friess to apologize.

On Friday, Friess said he had no regrets and planned to support Santorum if he ran again and to also support congressional candidates in 2014.

“Whether it’s a super PAC route or not, I have been blessed with wealth and, I believe, a responsibility to use it properly, and I think getting the correct people in office who believe in America and believe in the American dream so there can be more Steve Jobses and more Mark Zuckerbergs and more Foster Friesses,” he said.

But he also said Republicans need to rethink their tactics, suggesting there should be more investment in ground organizing and messaging.

“For President Obama to keep his offices open with paid people and paid staff for the last four years was brilliant,” Friess said.

Republicans need to act more forcefully to challenge liberal mischaracterizations of their stances, he added, citing Behar’s claim that Santorum “says he’s going to take [contraception] away” and Playboy founder Hugh Hefner’s claim that Friess and other conservatives are trying to roll back women’s rights, reproductive rights and privacy.

“Well, I have four kids,” Friess told reporters Friday. “They’re two years apart. And contraception’s been very, very good to me. My family is two years apart and so how the Democrats got away with this, I think is another indication of the flaw of the Republicans. No one confronted that. No one confronted that and said this is a bald-face demagoguery.”


Q:

Insert data using Core Data

i am using following written code to insert bulk data using core data technique...
Please tell me is it right approach to do the same...I am taking context and entity object inside the loop...if taken outside only last element of arrays gets inserted...Please advise...
DataGetSet *objDataGetSet=nil;
NSManagedObjectContext *context=nil;

for(int i=0;i<[arrTemp count];i++)
{
  context = [obj_delegate managedObjectContext];

  NSManagedObject *propertyInfo = [NSEntityDescription
                   insertNewObjectForEntityForName:@"Property"
                   inManagedObjectContext:context];

  objDataGetSet=[arrTemp objectAtIndex:i];

  [propertyInfo setValue:[objDataGetSet code] forKey:@"Code"];
  [propertyInfo setValue:[objDataGetSet location] forKey:@"Location"];
  [propertyInfo setValue:[objDataGetSet ownershipType] forKey:@"OwnershipType"];
  [propertyInfo setValue:[objDataGetSet price] forKey:@"Price"];
  [propertyInfo setValue:[objDataGetSet propertyType] forKey:@"PropertyType"];
  [propertyInfo setValue:[objDataGetSet size] forKey:@"Size"];
}
NSError *error;
if (![context save:&error]) {
  NSLog(@"Whoops, couldn't save: %@", [error localizedDescription]);
}

A:

Yes, thats correct. But it could be better:
First of all, it's not that good to take manageObjectContext from appDelegate. You can pass it to your rooViewController class manually from AppDelegate's method, for example like this:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    if ( !managedObjectContext_ )
    {
       [self createManagedObjectContext]; // you should write this method(create and insert your enities)
    }

    self.yourRootViewControllerClass.managedObjectContext_ = self.managedObjectContext;
    self.window.rootViewController = self.yourRootViewControllerClass;
    [self.window makeKeyAndVisible];

    return YES;
}

Then (if you have sub ViewControllers) you have to pass your managedObjectContext from your rootViewController class in the same manner like from AppDelegate.
One more thing is that you can make a managedObject subclass, and then you'll be able to get and set properties in an easier manner (not [propertyInfo setValue:[objDataGetSet code] forKey:@"Code"] but just propertyInfo.Code = [objDataGetSet code]
You can read about how-to do it clearly here.


[Degradation of anthraquinone blue by Trametes trogii].
The ability of the white rot fungus Trametes trogii BAFC 463 (high producer of ligninolytic enzymes, especially laccase and manganese peroxidase) to degrade the dye anthraquinone blue, refractory to bacterial attack, was evaluated. Both tropho- and idiophasic T. trogii cultures in synthetic medium (glucose/asparagine) and complex medium (malt extract/glucose) were able to transform up to 88% dye in 4 hours. The activity of laccase, an oxygen-dependent phenoloxidase which was present at high levels in all the conditions assayed, might be related to the ability of the fungus to degrade the colorant. This is supported by the fact that in bioreactor experiences carried out at pH 4.5 the addition of anthraquinone blue caused a decrease in the levels of soluble oxygen. However, although high levels of laccase were produced at pH 7.5, the enzyme was not active, and neither dye transformation nor loss in the levels of soluble oxygen were quantified.


Tuesday, February 9, 2010

In one of the myriad of commentaries Red Pine scoured through to put together his book on the Diamond Sutra, there was this from late 4th century Chinese monk Seng-chao:

"When your practice and understanding meet, you will see the Buddha."

An interesting line, don't you think? One that immediately sparks for me thoughts of time, and steps made in one's life. Ultimately, we are told, there isn't any time in the way we humans understand time. What we regularly view as time is just a construction. So, when is this "when" being spoken about?

Zen tends to toss out developmental approaches to practice, pointing it's students back to the now, to your breath, to your life in this moment. And yet, even to speak of a "moment," or of "now," is a construction. So, what now? There's not even a single square inch of earth upon which to stand, said Dogen, in a commentary on the Ten Grave precepts.

This kind of talk tends to upset most of us if we actually take time (laugh, laugh) to let it sink in. Hearing it, intellectualizing it feels good - maybe even dead on. But when you actually start to experience groundlessness, it's kind of scary, don't you think?

It could be said that in this moment, as I type these words, practice and understanding are meeting. Or now, as I type and watch the snow fall outside. Or now, as the car passes. Or ...

At the same time, if you don't do the work of meditation, chanting, applying teachings to your everyday life, then any appearance of the Buddha in your life will prompt you to commit murder before its time.

On Seng-chao's line: When I think about it from the context of shikan-taza (just sitting, or wholeheartedly-engaged sitting, the style of meditation of the Soto schol), it makes a lot of sense. Practice-realization is an understanding of the practice. So you sit, and you understand the practice of sitting as practice-realization, and once you're actually doing it (you and zazen and no separation between the "two") ego-centered self is forgotten and you're the sloppy, radiant Buddha you've always been. Or something along these lines.

Yeah, there are wholes in that, but it's late and I have to hit the sack. Why? Got to be robed up and in the zendo nice and early.

About Me

is a writer interested in both the big questions of life and the everyday details. I am also a Zen meditation and yoga practitioner, herbalist, and teacher.
If you'd like to contact me, my e-mail address is ngthompson04 at yahoo.com


A photograph of the U.S.S. Nashville (LPD-13), 1969, as viewed off the starboard quarter. It is an Amphibious Transport Dock (LPD) of the Austin-class, designed to embark, transport, and land elements of a landing force by sea or air during...


Divergent Labor Markets: Private Gains, Public Losses

Job applicants meet potential employers at the NYC Startup Job Fair in September. Last month, the private sector created jobs while the public sector resumed laying off workers.

John Moore
/ Getty Images

Listen

Listening...

/

Originally published on November 3, 2012 11:00 am

The last unemployment report before the election came out Friday, and the news was middling: Unemployment ticked up to 7.9 percent.

The private sector created more than 180,000 new jobs, but state and local governments resumed laying workers off. That discrepancy is part of a longer-term trend.

For a few years now, private sector employment has been growing, but since mid-2010, state and local governments have eliminated roughly half a million jobs.

"There's real consequences to these huge cuts in the public sector, for overall growth in the economy and for public services that we all need," says Sylvia Allegretto, labor market economist at the University of California, Berkeley.

She says close to 40 percent of all the public-sector jobs losses have come in California.

"Class sizes are increasing because we laid off a ton of school K-12 teachers," she says. "Our police department, which we've had to lay off a lot of those officers, is struggling."

Distributing Stimulus

But to really tell the story of these two labor markets, you have to go back four years, to the beginning of the financial crisis. In early November 2008, Barack Obama had just been elected president.

The economy was in turmoil, and the October job report had just come out: 240,000 jobs had been cut and the unemployment rate hit a 14-year high of 6.5 percent.

Those numbers were horrible, but they actually understated the real scale of the crisis.

Even before he was elected, Obama was pushing for a stimulus bill that was supported by a broad coalition of groups.

But by the time that stimulus bill was passed and signed into law in February 2009, more than 2.2 million more jobs had disappeared. The bill's effect on private-sector employment has been debated ever since.

The next year, however, the number of government-sector jobs remained relatively stable.

"We didn't start losing these jobs immediately," Allegretto says.

She says there is often a lag in a downturn before governments start laying people off: "It takes time for the government to institute their austerity measures."

But there was another factor, too. Even though many state and local budgets were decimated, the stimulus bill offered those governments more than $53 billion in aid. That cash prevented hundreds of thousand of layoffs, at least for a while.

Lagging Public Sector Losses

By 2010, the private labor market had begun to show signs of life. At the same time, stimulus aid to state government had begun run out.

"The large losses in the government sector actually started occurring once the recovery was underway," Allegretto says.

And the political climate had changed. The newly elected Republican House had no appetite for another stimulus. Without more federal aid, local governments started to lay off workers.

Allegretto believes those layoffs created another powerful drag on the economy, but most economists on the right don't share that view.

"You can have a fiscal expenditure to try to hire workers or keep workers in their jobs, but someone has to pay for that. That doesn't come for free," says University of Chicago professor Randall Kroszner, who served on President George W. Bush's Council of Economic Advisers.

"It's very important for sustainable, overall economic growth to be creating private-sector jobs," he says. "The government perhaps can provide a stopgap, but that's very, very temporary at best."

Instead, he prefers to see the federal government hold the line on new spending and then do everything it can to help the economy grow up around it.

Copyright 2017 NPR. To see more, visit http://www.npr.org/.

SCOTT SIMON, HOST:

This is WEEKEND EDITION from NPR News. I'm Scott Simon. The government's last employment report before the election came out yesterday and the news was kind of middling. The unemployment rate ticked up to 7.9 percent as more Americans joined the labor force. Private employers created more than 180,000 new jobs, but state and local governments resumed layoffs. NPR's Steve Henn reports that this is part of a longer-term trend.

STEVE HENN, BYLINE: For a few years now, private sector employment has been growing, but since mid 2010, state and local governments have eliminated roughly a half-million jobs.

SYLVIA ALLEGRETTO: There's real consequences to these huge cuts in the public sector for overall growth in the economy and for public services that we all need.

HENN: Sylvia Allegretto is an Oakland resident and a labor market economist at the University of California, Berkeley. She says close to 40 percent of the all public sector jobs losses have come in California.

ALLEGRETTO: Class sizes are increasing because we laid off a ton of school K-12 teachers; our police department, which we've had to lay off a lot of those officers, is struggling.

HENN: But to really tell this story of two labor markets, you have to go back four years, to the beginning of the financial crisis. In early November 2008, Barack Obama had just been elected. The economy was in turmoil, and the October job report had just come out.

(SOUNDBITE OF ARCHIVED TAPE)

HENN: Those numbers were horrible, but they actually understated the real scale of the crisis. Even before he was elected, Obama was pushing for stimulus. A broad coalition of groups supported the bill.

(SOUNDBITE OF ARCHIVED TAPE)

HENN: By the time that stimulus bill was passed and signed into law in February 2009, more than 2.2 million more jobs had disappeared. And the bill's effect on private sector employment has been debated ever since. However, the next year, the number of government sector jobs remained relatively stable.

ALLEGRETTO: We didn't start losing these jobs immediately.

HENN: Sylvia Allegretto says there is often a lag in a downturn before governments start laying people off.

ALLEGRETTO: It takes time for the government to institute their austerity measures.

HENN: But there was another factor, too. Even though many state and local budgets were decimated, the stimulus bill offered those governments more than 53 billion dollars in aid. That cash prevented hundreds of thousands of layoffs - at least for a while. By 2010, the private labor market had begun to show signs of life. At the same time, the stimulus aid to state government had begun run out.

ALLEGRETTO: The large losses in the government sector actually started occurring once the recovery was underway.

HENN: And the political climate changed.

REPRESENTATIVE NANCY PELOSI: I now pass this gavel and the sacred trust that goes with it to the new speaker.

HENN: The newly elected Republican House had no appetite for another stimulus. Without more federal aid, local government started to lay off workers. Allegretto believes those layoffs created another powerful drag on the economy, but most economists on the right don't share that view.

RANDALL KROSZNER: You can have a fiscal expenditure to try to hire workers or keep workers in their jobs, but someone has to pay for that. That doesn't come for free.

HENN: University of Chicago's Randall Kroszner served on President George W. Bush's Council of Economic Advisers.

KROSZNER: It's very important for sustainable overall economic growth to be creating private sector jobs. The government perhaps can provide a stopgap, but that's very, very temporary at best.

HENN: Instead, he prefers to see the federal government hold the line on new spending and then do everything it can to help the economy grow up around it. Steve Henn, NPR News. Transcript provided by NPR, Copyright NPR.


Oil prices spiked Friday amid reports OPEC members and their allies will hold a virtual meeting to discuss an end to their price war.

Continue Reading Below

Brent crude oil, the international benchmark, climbed as much as 15 percent to $34.42 per barrel while West Texas Intermediate crude oil, the U.S. benchmark, gained as much as 12 percent to $28.31.

The reports say the alliance is willing to cut production, but that U.S. shale producers must also be willing to lower output. Trump, who is scheduled to meet with oil executives at the White House on Friday, has not yet indicated that's something U.S. producers are willing to do.

OIL'S RECORD CORONAVIRUS SLIDE IS NOWHERE NEAR BOTTOM

“I think they both want to make a deal,” Trump told reporters at a press briefing on Thursday evening.

Oil prices posted their biggest one-day gain in history on Thursday, with WTI surging 25 percent, after President Trump tweeted that he expected Russia and the Saudis to cut production by about 10 million barrels per day.

The oil market, which was already experiencing a glut, saw prices crash to an 18-year low last month as Saudi Arabia and Russia lurched into a price war after the latter refused to join OPEC in deepening production cuts. In response, Saudi Arabia lowered prices and increased output, causing Russia to follow suit.

CLICK HERE TO READ MORE ON FOX BUSINESS

That meant the world’s three largest producers, including the U.S., were pumping out record amounts of crude oil at a time when the COVID-19 pandemic was causing significant demand destruction.


Much needed rain in drought-stricken Winton has brought not only delight to locals but also confusion, with the mysterious appearance of small fish far from any water holes.

Tahnee Oakhill from Bernfels station said she was stunned to see a number of fish flapping on a gravel road in front of her home on Wednesday.

Loading

The fish appeared after 75 millimetres of rain fell on the Oakhill's property, 70 kilometres north-west of Winton in western Queensland.

"It's pretty crazy, getting that much rain was pretty shocking and then that happening after that ... it's been a weird week," Ms Oakhill said.

Ms Oakhill said her husband found the fish and raced inside to tell her and their children.

"If he tells me it's just rained fish I'm going to go out and have a look because he's either mad or it's [really] just happened," she said.

Ms Oakhill said her children spent hours rescuing the fish.

"They had a ball, they were going a little bit bat crazy in the house with the rain and the wet day," she said.

"[Then] they were out there in the mud for hours after that, collecting them up and putting them in a container with some water and trying to figure out what they were going to do with these fish.

"They were pretty amazed, I think it was very exciting for them."

Ms Oakhill shared a video of the fish on social media, which prompted a storm of discussion, with many saying they had seen something similar before.

She said her father was particularly delighted to hear about the fish.

"When I told him about it he said 'You need to make sure you put that on the internet or Facebook because it happened to me one and no-one believed me!'" she said.

Simple explanation for fishy mystery

Ecologist Dr Peter Unmack from the University of Canberra said it was unlikely the fish had fallen from the sky.

He said the fish appeared to be spangled perch.

"This is the most widespread fish across Australia, almost anywhere there's water in northern Australia you can find this fish," Dr Unmack said.

"In central Australia it's ubiquitous, it's pretty much everywhere and they are amazing dispersers."

Dr Unmack said the spangled perch was an aggressive fish and very adept at moving across big distances in a short period of time — even in a small amount of water.

"When water comes they want to get away from their brothers and sisters because they've all been beating each other up horribly for a long time," he said.

"They just want to get away as fast as they can the first chance that comes along."

However, he said it was possible for fish to fall from the sky in very rare circumstances.

"The other key point is if you did get massive updrafts of water and fish that got carried up into the clouds, everything up there is frozen because it's too cold," he said.

"So if you dropped the fish from the sky they'd be frozen solid, not flapping around.

"So it is theoretically possible, but it's difficult to see many situations where fish get picked up by strong winds and can survive."

Winton's wettest March day in more than a decade

Winton locals getting cheeky following rainfall on Wednesday. ( Supplied: Dolly Grant )

Winton township recorded more than 100 millimetres on Wednesday, making it the town's wettest day since November 2000.

It was the town's wettest March day since 1994.

Some outside the town recorded even bigger falls with 250 millimetres falling at Leeson station north-west of Winton.

Grazier Brett Campbell said he had not seen rain like it for 16 years.

"The country needed it badly, there's no moisture in the ground at all," he said.

"It's done a hell of a lot of good."

But he said the rainfall did not mean the drought was over.

"No, we'll need a lot more rain, the Mitchell grass is all dying ... it's going to take a fair bit more than just one fall," he said.

More than 80 per cent of Queensland is currently drought declared following three failed wet seasons in the region.


Gene-expression programs in embryogenic and non-embryogenic carrot cultures.
Somatic embryogenesis can be synchronized by enriching carrot (Daucus carota L.) suspension cultures for small, dense clusters of cells termed proembryogenic masses (PEMs). Gene-expression programs of PEMs were compared with those of embryonic and mature tissues by in-vitro translation of representative mRNA populations and by nucleic-acid hybridization. Analysis of invitro-translated polypeptides by two-dimensional polyacrylamide gel electrophoresis revealed striking similarities between the mRNA populations of PEM and torpedo-stage embryos; substantial differences, however, were observed when in-vitro translation products of PEMs and torpedo embryos were compared with those of hypocotyls and leaves. Northern blots of RNA isolated from PEMs, staged embryos, and mature carrot tissues were hybridized with cDNA probes for Dc3, Dc5 and Dc13; these cDNA recombinants represent mRNAs that are regulated during carrot somatic embryogenesis. The pattern of expression of these embryo-regulated transcripts was similar in PEMs and somatic embryos but differed in other carrot tissues. These results indicate that many of the molecular processes of embryogenesis are already established in PEMs in the presence of auxin. Additional experiments indicate the utility of Dc3 as a molecular marker for the acquisition of embryogenic potential.


Q:

How to give link for lable/Legend in chart.js? and if the value is 0 how to remove the legend?

I am working on Doughnut chart.js. Here I am showing all the legends if the value is 0 then also its showing. I need to give a link for each legend how i can implement this.
There is no information about this in chart.js documents
here is my code

            <canvas id="chart-area" width="500" height="500"/>

Java Script


Facet-dependent electronic properties of hexagonal silicon nanowires under progressive hydroxylation and surface reconstruction.
The effects of surface reconstruction and progressive hydroxylation on the electronic properties of [110] hexagonal silicon nanowires are investigated by ab initio calculations within the density functional theory. Progressive hydroxylation changes the density of states close to valence band maxima and leads to a general decrease in the band gap. The magnitude of band gap reduction is dependent on the facet where the hydroxyl group is bonded. While a high reduction in band gap (10%) is observed for hydroxylation on (111) facets, for (001) facets the reduction is more pronounced (21%) only when there is a (3 x 1) reconstruction. The reduction in band gap is generally accompanied by an off-center radial shift in the location of the charge density arising from the HOMO. These results go to show the impact of surface reconstruction and termination groups on the electronic properties of Si nanowires, which are important for using these materials for biosensor and transistor applications.


Brighton volunteer ambulance hosts open house May 19

Friday

May 24, 2019 at 3:08 PMMay 24, 2019 at 3:08 PM

Messenger Post MediaBrighton Volunteer Ambulance kicked off National Emergency Medical Services Week that runs May 19-25 with an open house held May 19.BVA’s celebration brings together the local community and emergency services personnel to publicize how they work together to go “Beyond The Call.” It honors the dedication of those who provide the day-to-day lifesaving services on the Pre-hospital “front line,” as well as those that provide support to their daily mission. BVA, founded in 1983, put its first ambulance on the road in 1986. It serves the emergency medical response needs of the Brighton community, including not only residents of Brighton, but also Brighton businesses and their employees. Additionally, it provides Mutual Aid, as needed to the surrounding communities and has responded, when directed to disasters such as the World Trade Center 9/11 attack and the Broome County floods in the Binghamton area. Brighton is one of the largest districts in the area, with BVA’s annual call volume reaching over 6,000 emergency calls in 2018 alone.This year’s open house is the first one in its $1.9 million — 11,000-square-foot expansion and remodeled base. BVA crews were excited to show off their home to the community. Sen. Joseph E. Robach, R-56th District, and former New York State Assembly major deader, now U.S. Democrat Congressman, Joseph D. Morelle, jointly provided $500,000 in NYS grants to help fund the needed expansion.There were ambulance vehicle tours to explain to those attending all the equipment that is inside every ambulance. Individuals got to sit inside the “rigs” and had the opportunity to question crewmembers on why they do some the things they do when treating patients. Kids attending also were able to listen to their hearts through a stethoscope, as the medics do.A cost demonstration display was set up to educate to the public the cost of providing the state-of-the-art equipment BVA has on each rig. Examples were the Lifepak 15 monitor/defibrillator used to monitor/shock a cardiac patient at $46,000 each, Stryker power gurneys help prevent crew back injuries at $17,000 each, Thermal Angel IV fluid warmer are $1,000 and TrueCPR device at $1,000 to help maximize CPR performance.The BVA Training Department demonstrated the $30,000 SimMan mannequin used to build individual medic’s skills in airway, breathing, cardiac and circulation management through various training scenarios. BVA medics ran a Teddy Bear Clinic, where kids were able to bring in their Teddy Bear for a check-up. All the learning was balanced with fun. There was a “bounce house” for kids to jump in and coloring books and sticker giveaways.BVA invited their Public Safety partners to participate. Brighton Police and Brighton Fire Department sent vehicles for kids to explore. The Monroe County Sheriff’s Office sent a mounted patrol officer with their horse. Additionally, MCSO sent deputies with Operation Safe Child.That program, in cooperation with the New York State Division of Criminal Justice Services, provides free child ID cards that contain biographical information, fingerprints and photo for use in a missing child scenario. The New York State Police demonstrated their “rollover” vehicle simulator to show why all should wear seat belts. The city of Rochester/Monroe County 911 Center demonstrated how a call to 911 is handled from the time it is received to dispatch of emergency responders. The Brighton Recreation Department handed out information on summer programs.Brighton Town Supervisor William W. Moehle presented BVA with a town proclamation for National EMS Week. Judy Schwartz, the president of Brighton Neighbors United, presented BVA President Daniel L McCue, III and BVA Vice President Dennis Mietz with its “Beautification Award” “for the addition to the base and the new landscaping which enhances the entire project. BVA Government Liaison Michael E. Pollock announced that the Brighton Chamber of Commerce would be presenting BVA with the chamber’s 2019 Building Pride in Brighton Award on June 5. It is for BVA’s 11,000-square-foot expansion. The award, established in 1993, provides public recognition to a business or organization that has improved the quality of life in Brighton through property enhancements or outstanding achievements.


Augmentation cheiloplasty by using mucomuscular flaps.
If one excludes the controversial use of silicone injections and the not fully researched new biomaterials for implant (e.g., Gore-Tex), there are no lip augmentation techniques that give stable and lasting results. Collagen and dermal or fascial grafts are almost always reabsorbed. Local flaps (either W or V/Y) give only a slight outward protrusion of the lips and do not increase volume and therefore have negligible cosmetic impact. In plastic surgery flap rotation is standard practice when the objective is stable tissue reconstruction. We feel that this technique achieves lasting increases in lip volume. Therefore, we propose the rotation of a mucous-muscle flap obtained from the inner cheek wall or from the other lip, the fulcrum of which is the labial commissure. The surgical technique is given in detail here together with the results and complications of 28 cases.


With Manchester United chasing a treble and Manchester City trying to pick up their first silverware in over 30 years, this edition of the Manchester Derby has the potential to be one of the best ones yet―even if it is to be played in London rather than Manchester.

Ferguson will have been buoyed by his side's recent form, including victories home and away against Chelsea.

Mancini, on the other hand, likely has questions over his side's prowess, epitomized by their 3-0 defeat to Liverpool on Monday.

Why is this derby more significant than any other?

Well, first of all, United are chasing a Treble of Premier League, FA Cup and Champions League. Should they win at Wembley on Saturday, they will likely go on to win the FA Cup, beating Stoke City or Bolton in the process. Add in the Premier League trophy that they have all but won, and that's two-thirds of the potential trophy haul.

Though there's no telling whether, having presumably beaten Schalke, they would be able to unlock a mercurial Barcelona or rampant Real Madrid in the final, they would certainly fancy their chances having won two trophies already.

City, on the other hand, were pitted among the favorites to win the league the beginning of the season. Names like Mario Balotelli, Gareth Barry, Adam Johnson and Carlos Tevez are enough to give many managers a tactical nightmare.

Unfortunately, they sit in fourth place in the League, having failed to achieve their potential. This is their last chance at some silverware and who better to dismiss en route than their biggest rivals, whom they haven't beaten since 2008?

While the difference in the League may present means of comparison for fans (especially the ones from Old Trafford, who have a banner reminding their enemies how long it's been since they've won a trophy), the gulf in class between the two teams is the smallest it has been in a while.

Though much of this can be (negatively) attributed to City's owners, it is without doubt that the two clubs are closer in terms of ability than they have been in a while, further stoking the already volatile inferno that is known as this grudge match.

Despite United's "biggest league game of the season" being against arch rivals Liverpool, Ferguson's side will definitely have ammunition for this one.

Their impetus, notoriously strong at this point in the season, has the ability to rip apart any side.

With the potential to replicate their success of 1999, Ferguson will have his men ready to go. They will want to ensure that their crosstown rivals will not get a sniff of a trophy, especially not ones that they feel entitled to.

However, City shouldn't be counted out, as they will be desperate to put a halt to their 35-year drought. Roberto Mancini will have given Mario Balotelli a stern talk over his antics, and the Italian striker—along with his compatriots―will surely want to right the wrongs that were so evident in the defeat at Anfield this week.

These men will be on a mission, perhaps even more so than their opponents, whose name has been synonymous with success for the past two decades.

I think they have just enough to do what they haven't done in 35 years: win a trophy.

Sit back and enjoy this one, ladies and gentlemen. It's going to be a cracker.


It is difficult to share my prison experience with anyone because …, – Lamido

KANO – Fresh from a week long incarceration, former Governor of Jigawa state, Alhaji Sule Lamido Wednesday declared that he bears no grudge against anyone over his prison experience.

Lamido who made a triumphant entry into Kano on a chattered aircraft 5N—LDM was welcome by thousands of his supporters who scaled the perimeter fence of theVIP section of Malam Aminu Kano International Airport.

The self style Talakawa apostle whose chattered flight touched ground by 1.26pm in company of his two sons, Aminu and Mustapha, relatives and retinue of aides walked into a chaotic reception by supporters that turned the security area into a carnival.

Chants of ‘Sai Lamido’ Sai Lamido, Sai PDP’ charged the serene atmosphere for half an hour before the 69-year old Jigawa born politician sneaked into a waiting SUV on a journey to his NNDC palatial residence in company of over 2,000 cars.

Briefing newsmen in his home, Lamido said that he was a veteran of incarceration, pointing out that there was nothing new in it.

“I’m not new to detention facility, it’s all part of the struggle for life. If the purpose is to humiliate, deconstruct me and my family, well that is thehazard of occupying a high office”.

The two-term former Governor while admitting that human institutions are not perfect, however stated that his prison experience exposed his other side.

Sule Lamido said that “it is difficult to share my prison experience with anyone because it’s not like hunger or something tangible. You have to be in there to feel what I went through with my children”.

Lamido stressed that ” yes, people hate me because of I am outspoken, I want to make it clear that Nigeria remains my country, there is no way I can run away to another country and even at that,where do I go?”

The former Governor expressed his gratitude to the judiciary to have recognised his personality as he stressed that the gesture has restored confidence in the polity.

He however declared his readiness to clear his name of financial impropriety during the trial proper, adding that he was confident to walk out of it unscathed.


package events

const (
	// ContainerEventType is the event type that containers generate
	ContainerEventType = "container"
	// ImageEventType is the event type that images generate
	ImageEventType = "image"
	// VolumeEventType is the event type that volumes generate
	VolumeEventType = "volume"
	// NetworkEventType is the event type that networks generate
	NetworkEventType = "network"
	// DaemonEventType is the event type that daemon generate
	DaemonEventType = "daemon"
)

// Actor describes something that generates events,
// like a container, or a network, or a volume.
// It has a defined name and a set or attributes.
// The container attributes are its labels, other actors
// can generate these attributes from other properties.
type Actor struct {
	ID         string
	Attributes map[string]string
}

// Message represents the information an event contains
type Message struct {
	// Deprecated information from JSONMessage.
	// With data only in container events.
	Status string `json:"status,omitempty"`
	ID     string `json:"id,omitempty"`
	From   string `json:"from,omitempty"`

	Type   string
	Action string
	Actor  Actor

	Time     int64 `json:"time,omitempty"`
	TimeNano int64 `json:"timeNano,omitempty"`
}


353 P.2d 28 (1960)
In re Application of Howard R. SIMPSON, No. 59575.
No. A-12913.
Court of Criminal Appeals of Oklahoma.
June 8, 1960.
Howard R. Simpson, petitioner, pro se.
Mac Q. Williamson, Atty. Gen., Lewis A. Wallace, Asst. Atty. Gen., for the State.
*29 POWELL, Presiding Judge.
This petitioner filed herein what he styles a "Petition for Writ of Error", which he attempts to file in a case determined by this Court two years ago. The writ of error was abolished by the State of Oklahoma in 1910. 12 O.S. 1951 § 980.
However, in order to dispose of this case once again and for all time, we have permitted the petition to be filed, and have treated it as a petition for writ of habeas corpus.
The history of this case is about as follows: This petitioner was convicted in two cases in the district court of Tulsa County. In case No. 17005 he was convicted on a charge of possession of narcotic drugs after former conviction of a felony, and sentenced to serve six years in the State Penitentiary. In case No. 17076 he was convicted of robbery by fear, after former conviction of a felony, and given a sentence of ten years in the penitentiary. Upon the application of the defendant, this Court ordered Tulsa County to furnish to the defendant transcripts of the evidence and proceedings in the two cases; which was done.
The petitioner here attempted to have the two cases consolidated and to appeal *30 from both judgments and sentences, without the benefit of an attorney to advise him. This Court has often held that proceedings filed by an inmate of the penitentiary, without advice or assistance of an attorney, will be carefully scrutinized and liberally construed. Ex parte Cassidy, 83 Okl.Cr. 159, 174 P.2d 271; Ex parte Fisher, 88 Okl.Cr. 1, 199 P.2d 238; Ex parte Sherrill, Okl.Cr., 285 P.2d 469, and cases cited. We therefore considered the appeal of the defendant in the two cases, and every consideration was given to the records, and the judgments were affirmed. Simpson v. State, Okl.Cr., 325 P.2d 1118. Defendant filed a petition for rehearing, which was also duly considered and denied. Thereafter and on November 19, 1958, this petitioner was permitted to file a petition for habeas corpus, and the same was by this Court denied.
It has often been held that where a case is appealed to this Court, and the judgment of conviction affirmed, petition for writ of habeas corpus will be denied. Ex parte Baker, 76 Okl.Cr. 396, 137 P.2d 242; In re Solomon, 82 Okl.Cr. 46, 165 P.2d 843; Peoples v. McLeod, Okl.Cr., 306 P.2d 364.
The general rule of this Court, as often announced, is that where a petitioner is in custody under sentence of conviction, and seeks his discharge on habeas corpus, the inquiry is limited to the questions of whether or not the court in which the prisoner was convicted had jurisdiction of the person of the defendant and of the crime charged, and if the court had jurisdiction to render the particular judgment. Ex parte Fisher, supra, and cases cited.
All of the matters and facts set forth in the petition herein, if true, existed at the time of the appeal. This Court will not permit an accused to appeal his judgment of conviction and speculate upon his chances of securing a reversal and then, after the judgment of conviction is affirmed, come into court in a habeas corpus proceeding and raise the same or other grounds which might entitle the petitioner to a new trial, or his release from custody. Ex parte Herren, 74 Okl.Cr. 154, 124 P.2d 276; In re Vassar, Okl.Cr., 338 P.2d 359; Massey v. Raines, Okl.Cr., 346 P.2d 733.
The writ is denied.
NIX and BRETT, JJ., concur.


// Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten

package org.stellar.sdk.xdr;

import java.io.IOException;

// === xdr source ============================================================

//  enum SetOptionsResultCode
//  {
//      // codes considered as "success" for the operation
//      SET_OPTIONS_SUCCESS = 0,
//      // codes considered as "failure" for the operation
//      SET_OPTIONS_LOW_RESERVE = -1,      // not enough funds to add a signer
//      SET_OPTIONS_TOO_MANY_SIGNERS = -2, // max number of signers already reached
//      SET_OPTIONS_BAD_FLAGS = -3,        // invalid combination of clear/set flags
//      SET_OPTIONS_INVALID_INFLATION = -4,      // inflation account does not exist
//      SET_OPTIONS_CANT_CHANGE = -5,            // can no longer change this option
//      SET_OPTIONS_UNKNOWN_FLAG = -6,           // can't set an unknown flag
//      SET_OPTIONS_THRESHOLD_OUT_OF_RANGE = -7, // bad value for weight/threshold
//      SET_OPTIONS_BAD_SIGNER = -8,             // signer cannot be masterkey
//      SET_OPTIONS_INVALID_HOME_DOMAIN = -9     // malformed home domain
//  };

//  ===========================================================================
public enum SetOptionsResultCode implements XdrElement {
  SET_OPTIONS_SUCCESS(0),
  SET_OPTIONS_LOW_RESERVE(-1),
  SET_OPTIONS_TOO_MANY_SIGNERS(-2),
  SET_OPTIONS_BAD_FLAGS(-3),
  SET_OPTIONS_INVALID_INFLATION(-4),
  SET_OPTIONS_CANT_CHANGE(-5),
  SET_OPTIONS_UNKNOWN_FLAG(-6),
  SET_OPTIONS_THRESHOLD_OUT_OF_RANGE(-7),
  SET_OPTIONS_BAD_SIGNER(-8),
  SET_OPTIONS_INVALID_HOME_DOMAIN(-9),
  ;
  private int mValue;

  SetOptionsResultCode(int value) {
      mValue = value;
  }

  public int getValue() {
      return mValue;
  }

  public static SetOptionsResultCode decode(XdrDataInputStream stream) throws IOException {
    int value = stream.readInt();
    switch (value) {
      case 0: return SET_OPTIONS_SUCCESS;
      case -1: return SET_OPTIONS_LOW_RESERVE;
      case -2: return SET_OPTIONS_TOO_MANY_SIGNERS;
      case -3: return SET_OPTIONS_BAD_FLAGS;
      case -4: return SET_OPTIONS_INVALID_INFLATION;
      case -5: return SET_OPTIONS_CANT_CHANGE;
      case -6: return SET_OPTIONS_UNKNOWN_FLAG;
      case -7: return SET_OPTIONS_THRESHOLD_OUT_OF_RANGE;
      case -8: return SET_OPTIONS_BAD_SIGNER;
      case -9: return SET_OPTIONS_INVALID_HOME_DOMAIN;
      default:
        throw new RuntimeException("Unknown enum value: " + value);
    }
  }

  public static void encode(XdrDataOutputStream stream, SetOptionsResultCode value) throws IOException {
    stream.writeInt(value.getValue());
  }

  public void encode(XdrDataOutputStream stream) throws IOException {
    encode(stream, this);
  }
}


In allA criminal prosecutions, the trial must be
in the county in whichwhere the offense
was committed, except as otherwise provided by law or by these Rulesunless a statute or
these rules permit otherwise. The initial appearance, arraignment, or other hearing or
proceeding may take place outside the county of venue.

EXPLANATORY NOTE

Rule 18 was amended, effective March 1, 2001;_____________.

Rule 18 was amended, effective March 1, 2001, to allow proceedings, other than the trial,
to occur outside the county of venue. In deciding to move a trial or proceeding, a trial court
must consider N.D. Sup. Ct. Admin. R. 6(B) and 7(B).

The exception clause is intended to emphasize the provisions of Rules 19, 20 and
21.

Rule 18 was amended, effective ______________, in response to the December 1,
2002,
revision of the Federal Rules of Criminal Procedure. The language and organization of the
rule were changed to make the rule more easily understood and to make style and
terminology consistent throughout the rules.

CROSS REFERENCE: N.D.R.Crim.P. 19 (Transfer Within District); N.D.R.Crim.P. 20
(Transfer From County for Plea and Sentence); N.D.R.Crim.P. 21 (Transfer From the
County or Municipality for Trial); N.D.Sup.Ct.Admin.R. 6 (Judicial Districts);
N.D.Sup.Ct.Admin.R. 7 (Designation of Judgeships and Chambers with Assignments).


The truth is out. The "truthiness" is no longer in doubt. There is a minimum of one confirmed concentration camp built on American soil in rural Wyoming.

Okay, many have heard the rumors, dismissed them as kook theories, believed by nobody, perpetuated by the ABB (Anybody but Bush) crowd or as a topic of interest for the Art Bell and Jeff Rense radio audience.

An undisclosed DHS (Department of Homeland Security) order was placed with DigitalGlobe to photograph the near completed work camp facility only listed by location as "central Wyoming" on the mistakenly published photographs.

DHS accidentally placed these photos on a publicly accessible portion of their website on March 28th and they were pulled within one hour. Fortunately Google had cached the images. They too though have been removed in the past 48 hours. The images are not gone forever though.

I am employed by a large Minnesota based construction company doing sub-contracting work for KBR and due to the sensitive nature of these images I wish to remain anonymous. However these images must get out. Someone must be the whistleblower, someone must warn the American public what the Bush Administration has in store for dissidents, political opponents, civil libertarians and "fifth columnists" as defined by the Justice Department.

There has been plenty written about this topic and plenty of historical evidence to back up this is a clear and present danger.

2006 Press Releases (Official KBR Press Release)

FOR IMMEDIATE RELEASE: January 24, 2006

KBR AWARDED U.S. DEPARTMENT OF HOMELAND SECURITY CONTINGENCY SUPPORT PROJECT FOR EMERGENCY SUPPORT SERVICES

ARLINGTON, Virginia - KBR announced today that its Government and Infrastructure division has been awarded an Indefinite Delivery/Indefinite Quantity (IDIQ) contract to support the Department of Homeland Security's (DHS) U.S. Immigration and Customs Enforcement (ICE) facilities in the event of an emergency. KBR is the engineering and construction subsidiary of Halliburton (NYSE:HAL).

With a maximum total value of $385 million over a five-year term, consisting of a one-year based period and four one-year options, the competitively awarded contract will be executed by the U.S. Army Corps of Engineers, Fort Worth District. KBR held the previous ICE contract from 2000 through 2005.

"We are especially gratified to be awarded this contract because it builds on our extremely strong track record in the arena of emergency operations support," said Bruce Stanski, executive vice president, KBR Government and Infrastructure. "We look forward to continuing the good work we have been doing to support our customer whenever and wherever we are needed."

The contract, which is effective immediately, provides for establishing temporary detention and processing capabilities to augment existing ICE Detention and Removal Operations (DRO) Program facilities in the event of an emergency influx of immigrants into the U.S., or to support the rapid development of new programs. The contingency support contract provides for planning and, if required, initiation of specific engineering, construction and logistics support tasks to establish, operate and maintain one or more expansion facilities.

Halliburton Press Release

Concentration Camps Being Built on US Soil? Published by the Daily Kos

Daily Kos Diary Entry

Atty. Gen. John Ashcroft's announced desire for camps for U.S. citizens he deems to be "enemy combatants" has moved him from merely being a political embarrassment to being a constitutional menace.

Ashcroft's plan, disclosed last week but little publicized, would allow him to order the indefinite incarceration of U.S. citizens and summarily strip them of their constitutional rights and access to the courts by declaring them enemy combatants.

Truthout.org

A History of Executive Orders

EXECUTIVE ORDER 10990 allows the government to take over all modes of transportation and control of highways and seaports.

EXECUTIVE ORDER 10995 allows the government to seize and control the communication media.

EXECUTIVE ORDER 10997 allows the government to take over all electrical power, gas, petroleum, fuels and minerals.

EXECUTIVE ORDER 10998 allows the government to seize all means of transportation, including personal cars, trucks or vehicles of any kind and total control over all highways, seaports, and waterways.

EXECUTIVE ORDER 10999 allows the government to take over all food resources and farms.

EXECUTIVE ORDER 11000 allows the government to mobilize civilians into work brigades under government supervision.

EXECUTIVE ORDER 11001 allows the government to take over all health, education and welfare functions.

EXECUTIVE ORDER 11002 designates the Postmaster General to operate a national registration of all persons.

EXECUTIVE ORDER 11003 allows the government to take over all airports and ?aircraft, including commercial aircraft.

EXECUTIVE ORDER 11004 allows the Housing and Finance Authority to relocate communities, build new housing with public funds, designate areas to be abandoned, and establish new locations for populations.

EXECUTIVE ORDER 11005 allows the government to take over railroads, inland waterways and public storage facilities.

EXECUTIVE ORDER 11051 specifies the responsibility of the Office of Emergency Planning and gives authorization to put all Executive Orders into effect in times of increased international tensions and economic or financial crisis.

EXECUTIVE ORDER 11310 grants authority to the Department of Justice to enforce the plans set out in Executive Orders, to institute industrial support, to establish judicial and legislative liaison, to control all aliens, to operate penal and correctional institutions, and to advise and assist the President.

EXECUTIVE ORDER 11049 assigns emergency preparedness function to federal departments and agencies, consolidating 21 operative Executive Orders issued over a fifteen year period.

EXECUTIVE ORDER 11921 allows the Federal Emergency Preparedness Agency to develop plans to establish control over the mechanisms of production and distribution, of energy sources, wages, salaries, credit and the flow of money in U.S. financial institution in any undefined national emergency. It also provides that when a state of emergency is declared by the President, Congress cannot review the action for six months. The Federal Emergency Management Agency has broad powers in every aspect of the nation. General Frank Salzedo, chief of FEMA's Civil Security Division stated in a 1983 conference that he saw FEMA's role as a "new frontier in the protection of individual and governmental leaders from assassination, and of civil and military installations from sabotage and/or attack, as well as prevention of dissident groups from gaining access to U.S. opinion, or a global audience in times of crisis." FEMA's powers were consolidated by President Carter to incorporate the...

National Security Act of 1947 allows for the strategic relocation of industries, services, government and other essential economic activities, and to rationalize the requirements for manpower, resources and production facilities.

1950 Defense Production Act gives the President sweeping powers over all aspects of the economy.

Act of August 29, 1916 authorizes the Secretary of the Army, in time of war, to take possession of any transportation system for transporting troops, material, or any other purpose related to the emergency.

International Emergency Economic Powers Actenables the President to seize the property of a foreign country or national. These powers were transferred to FEMA in a sweeping consolidation in 1979.


import { RuleConverter } from "../ruleConverter";

export const convertNoSubmoduleImports: RuleConverter = (tslintRule) => {
    const allow: string[] = [];

    if (
        tslintRule.ruleArguments.length !== 0 &&
        tslintRule.ruleArguments[0] !== false &&
        tslintRule.ruleArguments.length >= 2
    ) {
        allow.push(
            ...tslintRule.ruleArguments.map((ruleArg) => {
                return typeof ruleArg === "string" ? ruleArg.concat("/*") : ruleArg;
            }),
        );
    }

    return {
        rules: [
            {
                ruleName: "import/no-internal-modules",
                ...(allow.length !== 0 && { ruleArguments: [{ allow }] }),
            },
        ],
        plugins: ["eslint-plugin-import"],
    };
};