text:
"""ImageNet preprocessing for ResNet."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import tensorflow as tf

IMAGE_SIZE = 224
CROP_PADDING = 32

def distorted_bounding_box_crop(image_bytes,
                                bbox,
                                min_object_covered=0.1,
                                aspect_ratio_range=(0.75, 1.33),
                                area_range=(0.05, 1.0),
                                max_attempts=100,
                                scope=None):
  """Generates cropped_image using one of the bboxes randomly distorted.

  See `tf.image.sample_distorted_bounding_box` for more documentation.

  Args:
    image_bytes: `Tensor` of binary image data.
    bbox: `Tensor` of bounding boxes arranged `[1, num_boxes, coords]`
        where each coordinate is [0, 1) and the coordinates are arranged
        as `[ymin, xmin, ymax, xmax]`. If num_boxes is 0 then use the whole
        image.
    min_object_covered: An optional `float`. Defaults to `0.1`. The cropped
        area of the image must contain at least this fraction of any bounding
        box supplied.
    aspect_ratio_range: An optional list of `float`s. The cropped area of the
        image must have an aspect ratio = width / height within this range.
    area_range: An optional list of `float`s. The cropped area of the image
        must contain a fraction of the supplied image within in this range.
    max_attempts: An optional `int`. Number of attempts at generating a cropped
        region of the image of the specified constraints. After `max_attempts`
        failures, return the entire image.
    scope: Optional `str` for name scope.
  Returns:
    (cropped image `Tensor`, distorted bbox `Tensor`).
  """
  with tf.name_scope(scope, 'distorted_bounding_box_crop', [image_bytes, bbox]):
    shape = tf.image.extract_jpeg_shape(image_bytes)
    sample_distorted_bounding_box = tf.image.sample_distorted_bounding_box(
        shape,
        bounding_boxes=bbox,
        min_object_covered=min_object_covered,
        aspect_ratio_range=aspect_ratio_range,
        area_range=area_range,
        max_attempts=max_attempts,
        use_image_if_no_bounding_boxes=True)
    bbox_begin, bbox_size, _ = sample_distorted_bounding_box

    # Crop the image to the specified bounding box.
    offset_y, offset_x, _ = tf.unstack(bbox_begin)
    target_height, target_width, _ = tf.unstack(bbox_size)
    crop_window = tf.stack([offset_y, offset_x, target_height, target_width])
    image = tf.image.decode_and_crop_jpeg(image_bytes, crop_window, channels=3)

    return image

def _at_least_x_are_equal(a, b, x):
  """At least `x` of `a` and `b` `Tensors` are equal."""
  match = tf.equal(a, b)
  match = tf.cast(match, tf.int32)
  return tf.greater_equal(tf.reduce_sum(match), x)

def _decode_and_random_crop(image_bytes):
  """Make a random crop of IMAGE_SIZE."""
  bbox = tf.constant([0.0, 0.0, 1.0, 1.0], dtype=tf.float32, shape=[1, 1, 4])
  image = distorted_bounding_box_crop(
      image_bytes,
      bbox,
      min_object_covered=0.1,
      aspect_ratio_range=(3. / 4, 4. / 3.),
      area_range=(0.08, 1.0),
      max_attempts=10,
      scope=None)
  original_shape = tf.image.extract_jpeg_shape(image_bytes)
  bad = _at_least_x_are_equal(original_shape, tf.shape(image), 3)

  image = tf.cond(
      bad,
      lambda: _decode_and_center_crop(image_bytes),
      lambda: tf.image.resize_bicubic([image],  # pylint: disable=g-long-lambda
                                      [IMAGE_SIZE, IMAGE_SIZE])[0])

  return image

def _decode_and_center_crop(image_bytes):
  """Crops to center of image with padding then scales IMAGE_SIZE."""
  shape = tf.image.extract_jpeg_shape(image_bytes)
  image_height = shape[0]
  image_width = shape[1]

  padded_center_crop_size = tf.cast(
      ((IMAGE_SIZE / (IMAGE_SIZE + CROP_PADDING)) *
       tf.cast(tf.minimum(image_height, image_width), tf.float32)),
      tf.int32)

  offset_height = ((image_height - padded_center_crop_size) + 1) // 2
  offset_width = ((image_width - padded_center_crop_size) + 1) // 2
  crop_window = tf.stack([offset_height, offset_width,
                          padded_center_crop_size, padded_center_crop_size])
  image = tf.image.decode_and_crop_jpeg(image_bytes, crop_window, channels=3)
  image = tf.image.resize_bicubic([image], [IMAGE_SIZE, IMAGE_SIZE])[0]

  return image

def _flip(image):
  """Random horizontal image flip."""
  image = tf.image.random_flip_left_right(image)
  return image

def preprocess_for_train(image_bytes, use_bfloat16):
  """Preprocesses the given image for evaluation.

  Args:
    image_bytes: `Tensor` representing an image binary of arbitrary size.
    use_bfloat16: `bool` for whether to use bfloat16.

  Returns:
    A preprocessed image `Tensor`.
  """
  image = _decode_and_random_crop(image_bytes)
  image = _flip(image)
  image = tf.reshape(image, [IMAGE_SIZE, IMAGE_SIZE, 3])
  image = tf.image.convert_image_dtype(
      image, dtype=tf.bfloat16 if use_bfloat16 else tf.float32)
  return image

def preprocess_for_eval(image_bytes, use_bfloat16):
  """Preprocesses the given image for evaluation.

  Args:
    image_bytes: `Tensor` representing an image binary of arbitrary size.
    use_bfloat16: `bool` for whether to use bfloat16.

  Returns:
    A preprocessed image `Tensor`.
  """
  image = _decode_and_center_crop(image_bytes)
  image = tf.reshape(image, [IMAGE_SIZE, IMAGE_SIZE, 3])
  image = tf.image.convert_image_dtype(
      image, dtype=tf.bfloat16 if use_bfloat16 else tf.float32)
  return image

def preprocess_image(image_bytes, is_training=False, use_bfloat16=False):
  """Preprocesses the given image.

  Args:
    image_bytes: `Tensor` representing an image binary of arbitrary size.
    is_training: `bool` for whether the preprocessing is for training.
    use_bfloat16: `bool` for whether to use bfloat16.

  Returns:
    A preprocessed image `Tensor`.
  """
  if is_training:
    return preprocess_for_train(image_bytes, use_bfloat16)
  else:
    return preprocess_for_eval(image_bytes, use_bfloat16)

redpajama_set_name: RedPajamaGithub


text:
Fiction (A-E)
0-9 A-E F-J K-O P-T U-Z
Above the Waterfall
Publisher Ecco/Harper, October 1, 2015 In this poetic and haunting tale set in contemporary Appalachia, New York Times bestselling author Ron Rash illuminates lives shaped by violence and a powerful connection to the land Les, a long-time sheriff just three-weeks from retirement, contends with the r …
All The Numbers
Publisher Random/Ballantine, August 2006 In ALL THE NUMBERS, author Judy Merrill Larsen skillfully takes us through every parent's worst nightmare as she brilliantly explores, through fiction, how love makes us vulnerable and how very isolating yet very human is the desire for revenge. A trial takes …
I Always Loved You
Publisher Viking, February 4 2014 Paris, 1926. An aging Mary Cassatt, eyesight failing, searches through the clutter of her art studio for a bundle of lost letters. The sight of them—bound in silk ribbon, fading and difficult to make out—takes her back to her fateful introduction to Edgar Degas and …
American Savior
Publisher Algonquin Books, August 2008 What if Jesus suddenly appeared and announced that he planned to run for President of the United States? Yes, that Jesus. And what if a well-meaning but utterly inexperienced band of disciples not only helped him mount a seat-of-the-pants campaign but ran it we …
American Ghost
Publisher Scribner/Simon and Schuster, October 9, 2012 AMERICAN GHOST is a complex and compulsively readable novel about love and identity. Jolie Hoyt is a small town girl living in panhandle Florida. Her father is a Pentecostal preacher who sells insurance on the side and her best friend is a livel …
Publisher Nan A. Talese Books/Knopf/Doubleday, March 11, 2014 Set in the Dutch Golden Age, an engrossing historical novel that brilliantly imagines the complex story behind one of Rembrandt's most famous paintings Commissioned by the Amsterdam Surgeons' Guild, The Anatomy Lesson of Dr. Nicolaes Tulp …
And She Was
Publisher Wm Morrow, February 2006 Fusing past and present, a fierce new novelist pens a remarkable debut novel of courage across time and culture, set amid the stark beauty of the Aleutian Islands – an heir to the classics Clan of the Cave Bear and Shipping News, but with a female protagonist as en …
Publisher Random House, April 2007 From the critically acclaimed, New York Times bestselling author comes a brilliant, completely original new novel that is part Victorian ghost story, part murder mystery, part psychological puzzle. When Constance, a lowly clerk in a London stationery, married Josep …
Publisher Gallery/Simon and Schuster, publication November 2, 2021 From the author of the "engrossing historical epic" (Booklist) The Scribe of Siena comes a thrilling tale set in the crumbling city of Mystras, Greece, in which a scientist's vacation with her young son quickly turns into a fight for …
The Architect of Flowers
Publisher Houghton Mifflin Harcourt, March 23, 2011 The stories in William Lychack's dazzling new collection, The Architect of Flowers, explore the dear and inevitable distance between people in loving relationships and find hope in dark situations. With tiny, precise details, Lychack observes the o …
Publisher Viking/Penguin, February 9, 2016 She'd made it sound as though her husband would be joining them for dinner. She'd made it sound that way on purpose, and then she arrived alone. Los Angeles, 1934. Mary Frances is young, restlessly married, and returning from her first sojourn in France. Sh …
The Atlas of Forgotten Places
Thomas Dunne Books/St. Martin, July 11, 2017 With empathy and political intrigue, this is a gripping story of two women from different worlds who become inextricably bound in a quest to save their loved ones. The Atlas of Forgotten Places is that rare novel that delivers an exquisite portrait of fam …
Avenged
This is Book number 3 in The Aranaud Legacy Series Publisher Kensington – February 28, 2017 Long ago I was a servant girl at the great manor house in the quiet English village of Grenshire. My mistress, Madame Arnaud, proved cruel, and many died at her hands.To stop her, I tried to kill her. I faile …
Publisher Harper Collins, September 9, 2014 A novel set in 1999 in New York City about people whose lives revolve around the rhythms of a soon-to-be-demolished ballroom. Each believes that something special is waiting: Seen from the shadows, those on the dance floor appear as shimmering stars swirli …
Becoming Mrs. Lewis
Publisher Thomas Nelson, October 2, 2018 Based on the real life love story between poet and author Joy Davidman and literary icon C.S. Lewis, Patti Callahan's latest novel, BECOMING MRS. LEWIS, is the story of a woman, who, until now, has been overlooked by history, but who was Lewis's best friend, …
Bells for Eli
Mercer University Press, March 2020 "A stunning debut, Bells for Eli establishes Susan Beckham Zurenda as one of the most exciting new voices in Southern fiction," says Cassandra King Conroy, award-winning and New York Times bestselling author of five novels and the memoir Tell Me a Story: My Life w …
You Belong Here Now
Publisher William Morrow – April 6, 2021 You Belong Here Now opens in the wide open spaces of Montana, a rough and tumble place with rules all its own, a place perhaps big enough to provide a home for three unwanted orphans. An unlucky trio travels west on a Children's Aid Society orphan train only …
This is Book number 2 in The Aranaud Legacy Series Publisher Kensington – February 23, 2016 When Phoebe Irving moved from San Francisco to my English country village, we discovered how much we have in common. We also realized that her family's home, the Arnaud Manor, has a twisted history that goes …
The Blind Astronomer's Daughter
Publisher Bloomsbury, October 18, 2016 The Blind Astronomer's Daughter is a dazzling new historical novel, by the author of Woodsburner, about one woman's life in a time of stunning scientific advancement and violent rebellion. In late-eighteenth-century Ireland, Arthur Ainsworth and his adopted dau …
The Bookshop at Water's End
Publisher Berkley/Penguin Random House, July 11, 2017 The women who spent their childhood summers in a small southern town discover it harbors secrets as lush as the marshes that surround it… Bonny Blankenship's most treasured memories are of idyllic summers spent in Watersend, South Carolina, wit …
Breakfast with Buddha
Publisher Algonquin, October 2, 2007 Otto Ringling is a straightlaced publishing executive with two kids, a lovely wife, a fine home in a fancy New York suburb, and a nagging suspicion that something's missing. How, then, does he end up on traveling through Middle America with a berobed Mongolian mo …
Bristol House
Publisher Viking, April 4, 2013 Annie Kendall arrives at London's Bristol House to research ancient artifacts from the Holy Land. Her flat has two remarkable features: a stunning black-and-white mural of London scenes, and—apparently—the ghost of a Carthusian monk who leaves mysterious traces and re …
Publisher Ecco/Harper Collins, March 2010 The acclaimed Pen/Faulkner finalist and New York Times best-selling author of Serena captures the eerie beauty, stark violence, and rugged character of Appalachia in stories that span the Civil War to present day. Few writers know the heart and soul of a reg …
Publisher Harper Collins, April 2007 In THE CAMEL BOOKMOBILE, Masha Hamilton tells the story of a restless American librarian searching for more meaning in her life who travels to Africa to help start a library carrying books to remote settlements on the backs of camels. The bookmobile divides the s …
Cancel The Wedding
Publisher Harper Collins, August 8, 2014 A heartfelt tale of one woman's journey to discover the secrets of her mother's hidden past—and confront her own uncertain future—for fans of Emily Giffin's Southern charm and Jennifer Weiner's compelling, emotionally resonant novels about the frustrations of …
The Canterbury Papers
Publisher William Morrow, February 2004 This historical novel opens in the year 1200. Alais Capet, once in line for the throne, is a middle-aged spinster, an aging Princess of France who lives in Paris at the mercy of her brother and his court. Her youthful betrothal to Richard the Lionheart, King …
A Carrion Death: A Detective Kubu Mystery
Publisher Harper Collins, April 2008 In this mesmerizing thriller, Michael Stanley penetrates Africa's exotic façade to share an authentic look at a modern land caught between tribal culture and globalism, colonial paternalism and independence; a beautiful and wild continent teeming with poachers, d …
Chemistry and Other Stories
Publisher Henry Holt, April 2007 Ron Rash is the poet laureate of Appalachia, a writer whose insight and empathy have illuminated this terrain in three transcendent novels, stories and collections of poems. In his latest volume of stories, spanning the entire twentieth century in this region, Rash c …
Children of the Street
Publisher Random House, July 12, 2011 Kwei Quartey's debut novel Wife of the Gods charmed reviewers and readers alike. With his protagonist Inspector Darko Dawson, literary fans found a new keen-eyed and all too human detective to root for. In CHILDREN OF THE STREET Dawson returns to solve an even m …
The Collide – #3 in The Outliers trilogy
Publisher Harper Collins, July 3, 2018 Book number 3 in The Outliers trilogy KEEP YOUR ENEMIES CLOSE. Wylie is finally out of the detention center, but that doesn't mean she's safe. As much as she wants to forget everything that's happened and return to her normal life, Wylie knows that true freedom …
Come November
Publisher Scholastic, October 30, 2018 The idea for COME NOVEMBER, the debut teen novel by Katrin van Dam, took root after she read a newspaper article about an old-school radio prophet who predicted the world would end on May 23, 2011. Many of his listeners believed him, and dedicated their lives ( …
Confessions of a Falling Woman
Publisher Harper Collins, February 2008 The author of the highly acclaimed and bestselling THE MADONNAS OF LENINGRAD returns with a collection of stories by turns tender, comic, and devastating. Debra Dean, author of the bestselling THE MADONNAS OF LENINGRAD, has been writing award-winning short sto …
Confessions of a Jane Austen Addict
Publisher Dutton, August 2007 In this Jane Austen–inspired comedy, love story, and exploration of identity and destiny, a modern LA girl wakes up as an Englishwoman in Austen's time. After nursing a broken engagement with Jane Austen novels and Absolut, Courtney Stone wakes up and finds herself not …
THE COVE by Ron Rash Publisher Ecco/Harper Collins, April 2012 Laurel Shelton and her brother Hank are living out on farmland the locals say is cursed. And maybe it is. Laurel is born with a large birthmark that neighbors take as a sign of witchery. Hank loses an arm while serving overseas in WW I. …
Publisher Sourcebooks Landmark, October 11, 2022 Jennifer Coburn's CRADLES OF THE REICH is a fictional account of young women of the Reich, based on true events, frighteningly reminiscent of Margret Atwood's The Handmaid's Tale , this historical novel was inspired by the true and largely untold stor …
Crossing California
Publisher Riverhead/Putnam, June 2004 Hilarious and poignant, ambitious and tremendously fun, CROSSING CALIFORNIA is a novel about two generations of family and friendship in Chicago in the 1970s. In 1979, California Avenue, in Chicago's West Rogers Park neighborhood, separates the upper middle-clas …
A Cup of Friendship
Publisher Random House, January 25, 2011 From the author of the "big-hearted…inspiring" (Vogue) New York Times bestseller Kabul Beauty School comes a fiction debut as compelling as real life: the story of a remarkable coffee shop in the heart of Kabul, and the women who meet there–each with a sto …
The Cure for Modern Life
Atria/Simon and Schuster, April 2008 Matthew and Amelia were once in love and planning to raise a family together, but a decade later, they have become professional enemies. To Amelia, who has dedicated her life to medical ethics, Matthew's job as a high-powered pharmaceutical executive has turned h …
Think of a multicultural Lord of the Flies with the addition of girls. Their survival is in their own hands… Samantha Mishra opens her eyes and discovers she's alone and injured in the thick of a jungle. She has no idea where she is, or what happened to the plane taking her and the rest of the Dra …
Death of the Mantis
Publisher Harper Collins, September 6, 2011 The Kalahari: a place where men go to die. When a Kalahari ranger is found dead in a dry ravine, his corpse surrounded by three Bushmen, the local police arrest the nomads. Botswana's Detective 'Kubu' Bengu investigates the case and is reunited with his ol …
Death Overdue
Publisher Simon and Schuster, November 2013 Ropes, revolvers, daggers, arsenic. . . . They are the classic, go-to murder weapons, from Christie to Clue. But death by bookcase? With one good shove, a crafty killer can keep investigators guessing: did it fall or was it pushed? That's what sassy Midwes …
Death by His Grace
Publisher Soho Press, August 29, 2017 Atmospherically set in Accra, Ghana, Chief Inspector Darko Dawson investigates the brutal murder of a high-society bride. In order to expose the truth, Darko must confront the pivotal role religion plays in Ghana—and wrestle with his old demons the investigation …
Design Flaws of the Human Condition
Publisher Broadway/Doubleday, June 2007 Set in Manhattan–the conniption capital of the world–a riotously funny and fresh debut novel about anger, infidelity, and friendship. Through a hilarious series of events, two strangers find themselves railroaded into an anger management class where they soon …
Dinner with Buddha
Publisher Algonquin, June 2015 Algonquin's long-awaited follow-up to Breakfast with Buddha–one of our best-loved "word of mouth" bestsellers (with 200,000 copies in print)–finds Otto Ringling and Mongolian monk Volya Rinpoche on another unexpected road trip of discovery. In Roland Merullo's Breakf …
The Distance Between Us
Publisher Unbridled Books, November 2004 Caddie Blair is an American journalist who has been covering the Middle East conflict for years. She knows the scent of teargas and the sound of tank fire, and has had to step over bodies to get the story. But when her lover dies beside her on the way to the …
Dollbaby
Publisher Pamela Dorman Books/Viking, July 1, 2014 A big-hearted coming-of-age debut set in Civil Rights-era New Orleans—a novel of Southern eccentricity, secrets, and laughter. When Ibby Bell's father dies in a tragic accident in the summer of 1964, her mother unceremoniously deposits Ibby with her …
Dorothy on the Rocks
Publisher Algonquin Books, July 2008 In Maggie Barlow's world, reality is overrated. So what if her singing career has hit a sour note or she's no longer the ingénue that she used to be? So what if she drinks and smokes a bit too much or likes to chat with a fairy godperson who appears to her from t …
The Egyptologist
Publisher Random House, September 2004 From the critically-acclaimed, best-selling author of PRAGUE comes a witty, inventive, brilliantly constructed novel about an Egyptologist obsessed with finding the tomb of an apocryphal king. This darkly comic labyrinth of a novel opens on the desert plains of …
Ellington Boulevard
Publisher Spiegel & Grau/Doubleday, January 2008 When Langer's debut novel Crossing California was published in 2004, Publishers Weekly heralded it as "brilliant" and dozens of other critics followed suit, with the Los Angeles Times calling it "…extraordinary…a rich saga worthy of Philip Roth …
The Emancipation of Evan Walls
Publisher Koehler Books, June 15, 2019 Evan Walls has been married to his wife Izzy for thirteen years, yet she knows nothing about half of his life. That part of him he put away long ago and they have lived peacefully alongside the dead spot it has left in their love. However, the birth of their f …
Envious Moon
Published by William Morrow May 1st 2007 ENVIOUS MOON is a harrowing tale of the sometimes dark obsession, and often sensual beauty that accompanies young love. With a nod to Romeo and Juliet and reminiscent of Endless Love, Greene tells the story of two young lovers and their journey to find perfec …
The Evil Men Do
Publisher Putnam, March 3, 2020 What if the one good thing you did in your life doomed you to die? A hard-nosed real estate baron is dead, and detectives P.T. Marsh and Remy Morgan learn there's a long list of suspects. Mason Falls, Georgia, may be a small town, but Ennis Fultz had filled it with p …

redpajama_set_name: RedPajamaCommonCrawl


text:
Child welfare under scrutiny
National · January 30, 2013 3:14 am ·
A government-appointed panel has proposed that Ontario's child welfare system raise the age for Crown Wards to stay in foster care until they are 25 instead of 18.
Former Crown Wards Anna Ho and Jacob Fraboni helped to write the report that called for "fundamental change" of Ontario's child welfare system to address the isolation, vulnerability and sense of abandonment experienced by many young people in foster and group home care.The report also shows that only 44 per cent of the wards graduate from high school compared to 82 per cent of Ontario youth. They are more likely to experience poverty and homelessness, suffer mental health problems and become involved with the criminal justice system.
"Research suggests that one of the most important factors in the health of an individual is the support of their community," said Derek Stockley, the associate dean of social and community service at Humber College. "We know that many of those that are required to leave foster care and crown support at age 18 struggle with completing school and obtaining the resources they require to be successful themselves."
Having previously worked as a coordinator of social services at Humber College, Stockley believes that the proposed idea of linking continued financial and emotional support to staying in school is a win-win proposition for former Crown Wards.
"By extending the age from 18 to 25 and providing this link, you have the ability to help individuals build a foundation of experience and support that will help counter some of the current struggles those leaving foster care currently face, including homelessness and poverty," Stockley explained.
Heather Snell, program coordinator of the child and youth program at Humber College, sees this report as an opportunity to help Crown Wards in terms of adolescent development, as the research is very clear that adolescence is an extended period and the primary focus on adolescents is identity information.
"We're looking at a group of people who are still in the development experimentation stages, well into their twenties," Snell said. "We see this no more so [than] in people who have been in foster care, who have additional struggles marking their identities."
With these former wards still trying to find an identity on top of work, the lack of support from the current government is resulting in poor success statistics in terms of education and jobs, according to Snell.
"The wards are expected to leave care at 18. Although legally it makes sense, the socioeconomic institutions are quite at odds with that," Snell explained. "It's a transitional process of independence and you perhaps more so than ever in those years [you] require the support of your family not only financially but also for socio and regional support that you require for making decisions as an independent young adult."
The report's key recommendation was for the government to work with them to draft a blueprint to overhaul the system in which a final decision can be made.
"It would be difficult to imagine that the ROI [Return On Investment] would not be strong, especially when you look at the fact that youth in the Crown ward are almost half as likely to graduate from high school as the rest of the province," Stockley concluded. "Helping young people obtain education is akin to helping them obtain opportunity."
Author: Alanna Fairey3rd year English, 3rd year with The Cord. Since her first week with The Cord when she was assigned to the life section, Alanna knew that she was meant to be the Life Editor one day. Though confident as a writer, Alanna knew that she was not yet ready to make that jump to an editor position and worked as the Local/National Lead Reporter. Thankful for the experiences she gained, Alanna focused on her desire to be an editor and had her platform for life done by the beginning of January. Now her dream has come true and she couldn't be any happier. Alanna also drinks too much coffee and is obsessed with Leonardo DiCaprio.


May 22th thru May 28th!
This proprietary blend of mineral oil and beeswax is designed specifically to restore, condition, preserve and maintain the luster of any wood boards, tools or bowls, as well as our complete line of wood composite cutting boards and kitchen tools. Formulated and produced in Minnesota, this butter-like formula is packaged in a tin and includes an applicator.


Hunting with the .303 British cartridge. - Enfield (T) or clone..
Forum Name: Hunting with the .303 British cartridge.
Forum Description: Share your hunting stories with the rest of us.
Topic: Enfield (T) or clone..
Subject: Enfield (T) or clone..
I have a question. Do any of the members that have a true Enfield (T) or clone hunt with them? Curious to know if they are reserved for the range only. Thanks.
I don't have one (much to my chagrin), but if I did, I certainly wouldn't hunt with it - given the pounding my rifles have to take when I'm in the bush, hunting.
I would end up with a badly dented & scratched historical piece!
The clone I'm currently working on, although in my opinion nice, is now where near some of the examples I've seen on this site, lacking the "correct scope/mount". I currently use the DAI mount with a 2.5x Weaver. But to me, it will be a range rifle. I have a couple of sporters I use. One with a Bishop walnut stock has harvested much venison!
My genuine No.4 T is only used on the range. The serious modern hunter will realize that he now has access to both better ballistics and optics.
I am definitely not one of those! I have used a .303 forever, my black powder rifle is a TC Renegade. Shoot 420gr buffalo bullet with 90 grs of real black powder. My shotgun is a '34 Winchester pump! Sorry to stray from the main topic a bit. I do realize there are more modern rifles, but for me, it's very rewarding to bag deer with a weapon with all that history.
Kind of moving this off topic, sorry.
Any of you guys ever see the movie "Spy Games"? I don't think I had developed an interest in the SMLE yet when it was in the theater, but my wife put the DVD in the box a month or so ago. The story is about a character that Brad Pitt plays with his backstory being that of a USMC sniper at the very end of the VN war (1975). Yeah, I know. I'm enjoying my bowl of snacks, but this scene gets my attention.
Heah! That's an SMLE! So, I look it up on http://www.imfdb.org/wiki/Spy_Game#Parker_Hale_Lee_Enfield_T4_Sniper" rel="nofollow - IMFDB and it is a Parker Hale T4!
If you want one go to the Joe Salter Canadian site. He has one for close to $5k.


It has nowadays become a standard to not just decorate your living room and kitchen exclusively, the two most popular places for visitors to check out when they drop by, but to also tag in bedrooms as well. We treat our bedroom as our own personal shrine, so it's only fair that we design it as such. But one such room that usually goes unnoticed is the children's room. It was far less concerning to design a growing kids room since they would eventually grow out of it and will serve no further purpose. But lately the tables have turned and parents are really looking into spending a couple of bucks to also include their child's room as a part of their home, décor wise.
Designing a kid's room is quite a challenging task since their moods change just as quickly as their room wallpapers. Designers have to be equally I tune with the little ones to know what tastes and colors suit their preferences. The growing up process has to be equally kept in mind, so it is challenging to find objects and colors that would seem timeless in this regard. Coming up are 11 kids room ideas to save you some trouble in finding out what is best for your child.
Your best bet when it comes to choosing a color for your kid's room, is to keep it neutral. Light grey, white, pale yellow, powder blue or peach are your best bets to not just keep the room gender neutral but to also keep it classic and timeless. Color also impacts certain benefits of sleep. It also plays an important role in your child's attitude towards their room. If you want something that appeals to both, you and your child, then you cannot go wrong with neutral tones. The entire room doesn't only have to be one color. You can leave a wall or two blank and fill the rest up, or you can keep one wall stripped, or inculcate two different complementary colors side by side to bring up interest, the list is endless. You can also hire a professional interior decorator to help you pick out the best color scheme to match your child's mood, whether it be a boy or girl.
Decals are an interesting way to give your child's room more personality. There are tons of different decals to choose from in the market nowadays, and the best part is they can be removed and put away if your child does not prefer that same design all the time. They are cheap and affordable and can match your child's mood in so many ways. Wallpapers play the same role but are a bit steeper when it comes to price. It is still a good investment to make if you want one or two of your walls to stand out more. You can even wallpaper your ceiling if you don't want your child to get their hands or crayons on it. It adds more elegance and uniqueness to the whole room.
Children need a lot of space not only to play but also to store their immeasurable playthings. It is a wise investment to look into wall storage, hidden storage, and cabinets for your child's room. Not only will it an excellent kids room idea to make it look like there is a lot more space in the room, but will also make cleaning up very easy to do. Turn the bottom of your bed into a storage section or make a bench out of storage boxes, so once playtime is over they will have the space to put their stuff in. these are very versatile, as they can be used when they are grown up as well and is not very noticeable. You can invest or make your own shelves to keep books and other items that your child won't always need.
After all the framing and coloring has been done, you will have to move on to the main attraction; the bed. Nothing else can frame a room better than to get the most comfortable bed and mattress that will help your child get the sleep they deserve after a long day of running around. You can design your own headboard with sturdy wood and soft cloth or cushions, or you can go the old fashioned way and buy one. Either way, you need a state of the art mattress to help your child travel to dreamland.
Nectar mattresses are one such amazing brand that promises just that. Their bedding is as soft as sleeping on a cloud. Their air regulated mattress keeps your child cool during warm summers and contours to their tiny bodies so they will wake up well rested. So you can be rest assured that they will get the full benefits of sleep they deserve.
Set up little whiteboards or chalkboards for your kids if you don't want them scribbling all over the walls. You can even buy a roll of paper sheets and hang them up on the wall for them to draw on. Or you can get an easel for your little artist. If they are exceptionally proud of their skills, you can frame them in colorful frames and hang them up as their own wall paintings.
Children are highly imaginative and creative beings, so it won't come as a surprise when they try to make different things with household products. If there are really keen to put their skills to the test, you can get many DIY kits for kids at very nominal prices. This not just keeps them busy and out of your way, but later on, you can hang them up on their walls or shelves to add a bit more personality to the room.
So it's a rainy day and your child is stuck in his or her room. You can help lighten up the mood by hanging up pretty fairy lights or keep a reading lamp on their bed stand to keep them occupied. You can hang up colorful lanterns that you can make yourself from tiny bulbs and crepe paper, or you can stick multi-colored wall lamps that come in various shapes, sizes, and objects. Not only will this help brighten up the room, but lift their spirits as well.
You need to cover your child's windows with something that matches the entire theme of the room. If they are past the toddler stage, then it is safe to go for curtains. They come in varying styles and colors, so your child can also pick one of their likings. You can also hang-wrap a thin curtain around your child's bed for a design factor. Or if you want to keep things mess-free and need a little cleaning, then shutters or blinds will be your calling. They will also help keep the sun out more than a curtain.
If you have two kids who share a room, you can invest in space-saving bunk beds instead of having two beds that take up more space. The versatility of bunk beds is that the bottom bed can be converted to a makeshift table if one of your children has grown out of it or also if you have an only child. It is highly economical to get one of these.
Your child's room should be tastefully decorated with the appropriate furniture as well. Now that you have your bed and storage space figured out, you can utilize the rest of the space for a desk and some chairs. You can get some bean bags to add some color to the room and a place to sit if their friends come over. Placing a desk near the window will not just stop their boredom from staring at their books for so long, but will also look elegant and shed some natural light on their books while they are studying.
Rugs and carpets are a style statement on its own. They add color to your kid's room and is an excellent kid's room idea to set it apart. You can go for completely carpeted floors but would require a bit more cleaning and maintenance, or you can keep a roll-up rug handy during play time. Either way, make sure the fabric used is of excellent quality and safety on a child's skin.
There are many more crafts and décor ideas that involve more of your and your child's personal approach to the theme and outcome of their room. These few tips can help you kick start on planning to change your child's room to something they will cherish throughout their life.


text:
Novonikolayevskoye () is a rural locality (a village) in Mrakovsky Selsoviet, Kugarchinsky District, Bashkortostan, Russia. The population was 328 as of 2010. There are 3 streets.

Geography
Novonikolayevskoye is located 8 km southwest of Mrakovo (the district's administrative centre) by road. Kanakachevo is the nearest rural locality.

References

Rural localities in Kugarchinsky District

redpajama_set_name: RedPajamaWikipedia


text:
Bellwether Magazine
Animal Care & Welfare
Penn Vet in the News
Penn Vet News
View All News Stories
With remarkable similarities to MS, a disease in dogs opens new avenues for study
By: Katherine Unger Baillie | Kbaillie@Upenn.Edu | 215-898-9194 Date: Jun 25, 2021
A naturally occurring canine disease called granulomatous meningoencephalomyelitis replicates many features of multiple sclerosis, including the involvement of B cells (in red) and T cells (green) in the tissues that line the central nervous system. (Image: Penn Vet)
The canine disease granulomatous meningoencephalomyelitis (GME), the most common neuroinflammatory disease that affects dogs, shares key features of its pathology and immunology with multiple sclerosis (MS), according to a new study.
Dr. Jorge Alvarez
A detailed investigation of GME by a team led by Molly Church and Jorge Iván Alvarez of Penn's School of Veterinary Medicine, incorporating MRI images and studies of brain tissue, found that defining characteristics of MS—notably the accumulation of B cells in the tissues that line the central nervous system—were also present in dogs with GME. B cells are a type of white blood cell involved in immune responses. In healthy people, such immune cells are present in very low numbers in the membranes that line the spine and brain, known as the meninges. The team reported its findings in the Journal of Immunology.
"That's a novel aspect of the disease in dogs that is mirroring the pathology in humans," says Alvarez. "And it's something that people are not able to replicate in mouse models of MS. We feel that by studying dogs with GME, we can expand knowledge of a human disease and contribute to the pressing need to understand the disease in dogs as well."
Dr. Molly Church
"We looked at these accumulations of B cells in the dogs' meninges and saw striking similarities to MS. Those specific accumulations in the meninges overlying the cerebrum has never been looked at in GME dogs," says Church. "Describing this new component of GME that hadn't yet been considered could lead the way to better diagnostics, as well as better therapeutics to augment what is already in use."
Nearly a million people in the United States are living with MS. The disease is characterized by gradual destruction of the protective lining of nerve cells, leading to a wide array of possible symptoms, from vision problems to pain to fatigue. Severity can range from patient to patient. Yet despite its prevalence, MS remains somewhat a mystery. It's only been intensively studied since the 1970s, and sometimes proves difficult to diagnose. While a dozen or more approved drugs exist to treat its relapsing-and-remitting forms, treating its more advanced, progressive forms has proved challenging.
Similarly, GME is a disease that has only been characterized in the past few decades and is generally diagnosed by exclusion of other diseases. While some dogs respond well to immunosuppressive treatment, others briefly stabilize clinically, and still others decline rapidly following diagnosis.
Both MS and GME are more common in females and tend to affect young and middle-aged patients.
In MS, a high degree of inflammation was linked with poorer outcomes, and it was believed that T cells, another immune cell type, were to blame.
"Most drugs developed in the '90s and 2000s were aiming at those cell types," says Alvarez. "It's only in the last 10 years or so that people have come to recognize that B cells play a role." Given the important function of B cells in MS, Alvarez and Church collaborated with Amit Bar-Or, chief of the MS & Related Disorders Center at Penn's Perelman School of Medicine. He is an expert on B cells who brings the perspective of the human disease to these findings.
Advancements in MS research has been impeded in part by the lack of animal models that faithfully replicate the involvement of B cells in the disease, the researchers say, motivating a closer look at GME.
Embedded in the very name of the disease, granulomatous is a belief that macrophages, a component of the innate immune system that responds to infection and can result in inflammation, were the primary cultprits in causing harm. But in the new study, Alvarez, Church, and colleagues looked deeper.
In 13 dogs diagnosed with GME, as well as four unaffected dogs, Church, a pathologist, examined areas of the brain typically not looked at during GME diagnosis. MRI images analyzed by Penn Vet's Charles Vite showed increased contrast in the meninges. When assessing the corresponding tissue from the dogs, they found accumulations of inflammatory cells, and of B cells, specifically, in those areas.
A dog with GME has areas of higher contrast (indicated by arrows) in the meninges, where B cells accumulate.
This is also seen in chronic forms of multiple sclerosis. (Image: Penn Vet)
Alvarez's lab, which focuses on the link between central nervous system inflammation and MS, evaluated the components of these inflamed regions of the meninges and found an accumulation of B cells.
"In humans it has been shown that those collections of B cells correlate with underlying pathology in the brain," Alvarez says, "And we observe the same feature in GME. That's why we believe that this model holds great potential."
The fact that dogs and humans often share an environment and that the biology of dogs is more similar to humans than the mice often used in preclinical MS studies adds to the value of studying GME as a model of MS, the researchers note.
"We can all learn from studying this disease in dogs," says Church, "certainly as a model for human disease, but the wonderful thing that can come out of comparative studies like this is that we not only help people, we help our canine patients as well."
Jorge Iván Alvarez is an assistant professor of pathology in the University of Pennsylvania School of Veterinary Medicine. He also held the David L. Torrey EndMS transitional career development award from the Multiple Sclerosis Society of Canada.
Molly E. Church is an assistant professor of pathology in Penn's School of Veterinary Medicine.
Alvarez and Church's coauthors are Guadalupe Ceja, Megan McGeehan, Miles C. Miller, Priscilla Farias, Melissa D. Sánchez, Gary P. Swain, Charles-Antoine Assenmacher, and Charles H. Vite of Penn Vet; Amit Bar-Or of the Universtiy of Pennsylvania Perelman School of Medicine; and Edward G. Stopa of Brown University.
This study has been supported by the the National Institutes of Health by grants NINDS 5K01NS097519-03 and NCATS 5UL1TR001878-04 to the Institute of Translational Medicine and Therapeutics and via the Program in Comparative Animal Biology of the University of Pennsylvania.


The following are the RPG/LE fully free-form definitions and instructions needed for using the Diagnose service procedure. This service procedure simply allows the caller to send a diagnostic message to a previous message queue in the call stack.
// Send a diagnostic message to previous message queue in the caller's stack.


We have done quite a bit of travelling in our old Bongo and now the motor-home around Scotland over the past 5 years. On the way up from Blackpool we usually stay at the Loch Lomond pier carpark at Tarbet ( luss - Google Maps (http://g.co/maps/a5rgb)). A bit further North after Tyndrum you could stay at the Bridge of Orchy, over the bridge behind the pub. Again further north on Ranoch Moor behind the Kings Houses Hotel, for that one you drive North past it for about 1/2 mile and then a sharp right towards the Hotel. There is usually wild camping tents there as its an official wild camp for the West Highland way ( as it is at the Bridge of Orchy).
Hope that's a start for you, enjoy Scotland, its great !
I've passed Loch Leven many times and, always thought it would be a good spot for wilding, do a google map street view, I'd be surprised for you not to find a location?
Watching this thread with great interest as I am off to Scotland on Sunday. Just gonna play it by ear!
There's a park & Cp at Kinross right next to Loch Leven. I remember parking there to go biking, but no idea if your allowed to O/N there. But very nice location.
loads of places to stop in Scotland,wherever you go,laybyes,car parks,dirt tracks,,,just follow your nose and enjoy yourselves...dont be afraid!!!
We are from Scotland and have parked many times around the lochness area, There are large laybys which are signed no overnight parking but anytime we have parked overnight the police just drive past and ignore us, There are some nice laybys right next to the loch with fantastic views, Enjoy !!!


text:
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NoeSbot.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using NoeSbot.Helpers;
using Microsoft.Extensions.Caching.Memory;
using NoeSbot.Enums;
using NoeSbot.Database;
using System.Threading;
using NoeSbot.Database.Services;
using NoeSbot.Resources;

namespace NoeSbot.Modules
{
    [Name("Ignore")]
    [ModuleName(ModuleEnum.Customize)]
    public class CustomizeModule : ModuleBase
    {
        private readonly DiscordSocketClient _client;
        private readonly IPunishedService _punishedService;
        private readonly IProfileService _profileService;
        private readonly ICustomCommandService _customCommandService;
        private IMemoryCache _cache;

        public CustomizeModule(DiscordSocketClient client, IPunishedService punishedService, IProfileService profileService, ICustomCommandService customCommandService, IMemoryCache memoryCache)
        {
            _client = client;
            _punishedService = punishedService;
            _profileService = profileService;
            _cache = memoryCache;
            _customCommandService = customCommandService;
        }

        #region Commands

        #region Add Custom Punish

        [Command(Labels.Customize_AddCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunish()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustomPunish_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunish([Summary("The user")] SocketGuildUser user,
                                        [Remainder] string input)
        {
            await AddCustom("punish", user, input);
        }

        #endregion

        #region Add Custom

        [Command(Labels.Customize_AddCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustom()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustom_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustom([Summary("Name of the module")] string moduleName,
                                    [Summary("The user")] SocketGuildUser user,
                                    [Remainder] string input)
        {
            switch (moduleName)
            {
                case "punish":
                    var reason = input;
                    var delaymessage = "";
                    var lastIndex = input.LastIndexOf('"');
                    if (input.StartsWith("\"") && lastIndex > 0)
                    {
                        reason = input.Substring(1, lastIndex - 1);
                        delaymessage = input.Substring(lastIndex + 1);
                    }

                    var hasDelayMsg = !string.IsNullOrWhiteSpace(delaymessage);

                    var success = await _punishedService.SaveCustomPunishedAsync((long)user.Id, reason, delaymessage);
                    if (success)
                    {
                        var result = $"Added a custom punish message for {user.Mention}{Environment.NewLine}";
                        result += $"Custom message:{Environment.NewLine}{reason.GetProcessedString()}{Environment.NewLine}{Environment.NewLine}";
                        await ReplyAsync(result);

                        if (hasDelayMsg)
                        {
                            result = $"Custom delay message:{Environment.NewLine}{delaymessage.GetProcessedString()}";
                            await ReplyAsync(result);
                        }
                    }
                    else
                    {
                        await ReplyAsync("Failed to save the custom punish rule");
                    }
                    break;
            }
        }

        #endregion

        #region Add Custom Profile Background

        [Command(Labels.Customize_AddCustomProfileBackground_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomProfileBackground()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustomProfileBackground_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustomProfileBackground_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomProfileBackground(SocketGuildUser user,
                                                     string url)
        {
            var success = await _profileService.AddOrUpdateProfileBackground((long)Context.Guild.Id, Database.Models.ProfileBackground.ProfileBackgroundSetting.Custom, url, (long)user.Id);
            if (success)
                await ReplyAsync($"Successfully added a custom background for {user.Nickname}");
            else
                await ReplyAsync($"Failed to add a custom background for {user.Nickname}");
        }

        [Command(Labels.Customize_AddCustomProfileBackground_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomProfileBackground(string customtype,
                                                    string url,
                                                    [Remainder] string aliases)
        {
            if (!customtype.Equals("game", StringComparison.OrdinalIgnoreCase))
            {
                await ReplyAsync($"Invalid custom type");
                return;
            }

            var aliasesList = aliases.Trim().Split(' ').ToList();

            var success = await _profileService.AddOrUpdateProfileBackground((long)Context.Guild.Id, Database.Models.ProfileBackground.ProfileBackgroundSetting.Game, url, (long)Context.User.Id, aliasesList);
            if (success)
                await ReplyAsync($"Successfully added a custom background for a game");
            else
                await ReplyAsync($"Failed to add a custom background for a game");
        }

        #endregion

        #region Add Custom Punish Command

        [Command(Labels.Customize_AddCustomPunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunishedCommand()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustomPunishCommand_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustomPunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunishCommand(string customCommand,
                                                   SocketGuildUser user)
        {
            await AddCustomPunishCommand(customCommand, user, "5m");
        }

        [Command(Labels.Customize_AddCustomPunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunishCommand(string customCommand,
                                                   SocketGuildUser user,
                                                   string time)
        {
            await AddCustomPunishCommand(customCommand, user, time, "No reason given");
        }

        [Command(Labels.Customize_AddCustomPunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomPunishCommand(string customCommand,
                                                   SocketGuildUser user,
                                                   string time,
                                                   [Remainder] string reason)
        {
            var durationInSecs = CommonHelper.GetTimeInSeconds(time);

            var success = await _customCommandService.SaveCustomPunishCommandAsync(customCommand, (long)Context.Guild.Id, (long)user.Id, durationInSecs, reason);
            if (success)
            {
                await ReplyAsync($"Successfully created the custom punish command");
            }

            RemoveCache();
        }

        #region Add Custom Alias Command

        [Command(Labels.Customize_AddCustomAliasCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomAliasCommand()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustomAliasCommand_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustomAliasCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomAliasCommand(string customCommand,
                                                string aliasCommand)
        {
            await AddCustomAliasCommand(customCommand, aliasCommand, false);
        }

        [Command(Labels.Customize_AddCustomAliasCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomAliasCommand(string customCommand,
                                                string aliasCommand,
                                                bool removeMessages)
        {
            var success = await _customCommandService.SaveCustomAliasCommandAsync(customCommand.RemovePrefix(GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes), (long)Context.Guild.Id, aliasCommand, removeMessages);
            if (success)
            {
                await ReplyAsync($"Successfully created the custom alias command");
            }

            RemoveCache();
        }

        #endregion

        #endregion

        #region Add Custom Unpunish Command

        [Command(Labels.Customize_AddCustomUnpunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomUnpunishCommand()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_AddCustomUnpunishCommand_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_AddCustomUnpunishCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task AddCustomUnpunishCommand(string customCommand,
                                                   SocketGuildUser user)
        {
            var success = await _customCommandService.SaveCustomUnpunishCommandAsync(customCommand, (long)Context.Guild.Id, (long)user.Id);
            if (success)
            {
                await ReplyAsync($"Successfully created the custom unpunish command");
            }

            RemoveCache();
        }

        #endregion

        #region Get Custom Punish

        [Command(Labels.Customize_GetCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task GetCustomPunish()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_GetCustomPunish_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_GetCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task GetCustomPunish([Summary("The user")] SocketGuildUser user)
        {
            await GetCustom("punish", user);
        }

        #endregion

        #region Get Custom

        [Command(Labels.Customize_GetCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task GetCustom()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_GetCustom_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_GetCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task GetCustom([Summary("Name of the module")] string moduleName,
                                    [Summary("The user")] SocketGuildUser user)
        {
            switch (moduleName)
            {
                case "punish":
                    var existing = await _punishedService.RetrieveAllCustomPunishedAsync((long)user.Id);
                    if (existing == null || existing.Count() == 0)
                    {
                        await ReplyAsync("This user does not have any custom rules");
                        return;
                    }

                    var builder = new EmbedBuilder()
                    {
                        Color = user.GetColor(),
                        Description = "This user has the following custom rules:"
                    };

                    var i = 1;
                    foreach (var custom in existing)
                    {
                        var description = custom.Reason;
                        builder.AddField(x =>
                        {
                            x.Name = $"Custom {i} reason";
                            x.Value = description.GetProcessedString();
                            x.IsInline = false;
                        });

                        if (!string.IsNullOrWhiteSpace(custom.DelayMessage))
                        {
                            description = custom.DelayMessage;
                            builder.AddField(x =>
                            {
                                x.Name = $"Custom {i} delay message";
                                x.Value = description.GetProcessedString();
                                x.IsInline = false;
                            });
                        }
                        i++;
                    }

                    await ReplyAsync("", false, builder.Build());

                    break;
            }
        }

        #endregion

        #region Remove All Custom Punish

        [Command(Labels.Customize_RemoveAllCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveAllCustomPunish()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveAllCustomPunish_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveAllCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomPunish([Summary("The user")] SocketGuildUser user)
        {
            await RemoveCustom("punish", user);
        }

        #endregion

        #region Remove All Custom

        [Command(Labels.Customize_RemoveAllCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustom()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveAllCustom_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveAllCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustom([Summary("Name of the module")] string moduleName,
                                    [Summary("The user")] SocketGuildUser user)
        {
            if (!(Context.User.Id == user.Id))
            {
                switch (moduleName)
                {
                    case "punish":
                        var success = await _punishedService.RemoveCustomPunishedAsync((long)user.Id);
                        if (success)
                            await ReplyAsync("Successfully removed all rules from a user");
                        else
                            await ReplyAsync("Failed to remove all rules from a user");
                        break;
                }
            }
            else
            {
                await ReplyAsync("https://cdn.discordapp.com/attachments/285808114052104193/289916801502937089/img.png");
            }
        }

        #endregion

        #region Remove Custom Punish

        [Command(Labels.Customize_RemoveCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomPunish()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveCustomPunish_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveCustomPunish_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomPunish([Summary("The user")] SocketGuildUser user,
                                        [Summary("The index")] int index)
        {
            await RemoveCustom("punish", user, index);
        }

        #endregion

        #region Remove Custom

        [Command(Labels.Customize_RemoveCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveSpecificCustomPunish()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveCustom_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveCustom_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustom([Summary("Name of the module")] string moduleName,
                                    [Summary("The user")] SocketGuildUser user,
                                    [Summary("The index")] int index)
        {
            if (!(Context.User.Id == user.Id))
            {
                switch (moduleName)
                {
                    case "punish":
                        var success = await _punishedService.RemoveCustomPunishedAsync((long)user.Id, (index - 1));
                        if (success)
                            await ReplyAsync("Successfully removed a rule from a user");
                        else
                            await ReplyAsync("Failed to remove a rule from a user");
                        break;
                }
            }
            else
            {
                await ReplyAsync("https://cdn.discordapp.com/attachments/285808114052104193/289916801502937089/img.png");
            }
        }

        #endregion

        #region Remove Custom Command

        [Command(Labels.Customize_RemoveCustomCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomCommand()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveCustomCommand_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveCustomCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomCommand(string customCommand)
        {
            var success = await _customCommandService.RemoveCustomCommandAsync(customCommand, (long)Context.Guild.Id);
            if (success)
            {
                await ReplyAsync($"Successfully removed the custom command");
            }

            RemoveCache();
        }

        #endregion

        #region Remove Custom Alias Command

        [Command(Labels.Customize_RemoveCustomAliasCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomAliasCommand()
        {
            var user = Context.User as SocketGuildUser;
            await ReplyAsync("", false, CommonDiscordHelper.GetHelp(Labels.Customize_RemoveCustomAliasCommand_Command, GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes, user.GetColor()));
        }

        [Command(Labels.Customize_RemoveCustomAliasCommand_Command)]
        [MinPermissions(AccessLevel.ServerMod)]
        [BotAccess(BotAccessAttribute.AccessLevel.BotsRefused)]
        public async Task RemoveCustomAliasCommand(string customCommand)
        {
            var success = await _customCommandService.RemoveCustomCommandAsync(customCommand.RemovePrefix(GlobalConfig.GetGuildConfig(Context.Guild.Id).Prefixes), (long)Context.Guild.Id);
            if (success)
            {
                await ReplyAsync($"Successfully removed the custom alias command");
            }

            RemoveCache();
        }

        #endregion

        #endregion

        #region Private

        public void RemoveCache()
        {
            _cache.Remove(CacheEnum.CustomCommmands);
        }

        #endregion
    }
}


text:
Private Manning
While the government clearly has a right to detain and prosecute Private Bradley Manning for his violation of security clearances in the Wikileaks case (although a broader issue of the nature and sanctity of the "secret" classification also obviously exists in a government rife with "official" leaking as a strategy for dealing with select media), there are very serious questions being raised about the terms of his detention and solitary confinement. Glenn Greenwald has the best round-up of information here.
Solitary confinement is inherently punitive and over extended periods such confinement constitutes a form of imposed stress that is, in effect, torture. It literally can drive an individual crazy. And using extended punitive or extreme stress measures to extract acquiescence in one's own prosecution or implication of others is essentially the textbook definition of Inquisition-style "justice."
This apparent treatment of Manning goes far beyond bargaining away charges or other routine prosecution measures to gain leverage with a defendant. Manning's case needs to be brought into the light - but the "mainstream media" seems to be avoiding even minimal journalistic responsibility. (Imagine the press outcry if Judith Miller had been subjected to this treatment when she was incarcerated.)
By Reg
Jan 5, 2011 1:54:11 PM | Journalism, Torture
Precisely Why George W. Bush is a Coward
I watched a segment of Matt Lauer's interview with former President George W. Bush. When asked about waterboarding, Bush commented that it was legal because a lawyer(s) told him so.
Notwithstanding the fact that the matter has not been adjudicated, and while lawyers are certainly capable of giving advice, but it is not definitive. That's why we have courts - and I'm sure the former president does not want to have a day in court on this matter. One can question in which direction Bush's moral compass, assuming he has one, is pointing. If his lawyer told him it was legal to crush a detainee's testicles would he have that done?
But here's where his cravenness comes to light. Lauer attempted to ask Bush how he would respond if US soldier faced such treatment, upon which Bush interrupted him by saying that he didn't want to debate this question.
One can certainly understand why: any time a US soldier is a POW and gets tortured, Bush has pissed away our moral authority to protest torture. He, of course, despite the swagger, is too much of a coward to acknowledge this.
Nov 16, 2010 11:27:11 PM | Adventures in Wingnuttery, Crimes Against Humanity, Republican Perfidy and Cowardice, Torture
Not content to let John Yoo figuratively wipe his ass with the Convention Against Torture, an enterprising artist has found a way for him to do so literally:
May 2, 2010 12:31:21 AM | Crimes Against Humanity, Republican Perfidy and Cowardice, Torture, War Crimes
John Yoo and Dick Cheney get punked:
The takeaway from the Yoo portion, by the way is watching him run out of the room only to return with a middle-aged woman to defend him.
Jul 22, 2009 11:31:14 PM | Adventures in Wingnuttery, Republican Perfidy and Cowardice, Torture
A Sensible Proposal
What James Wimberly said here.
Back tomorrow.
Jul 15, 2009 10:57:25 PM | Torture
More on Making a Difference
As a follow up to this post, Physicians for Human Rights has a link here for New York State Residents to push for the passage of Assembly Bill A6665 and its corresponding Senate bill, S4496.
It will enable you to send an e-mail to your Assemblymember and Senator. Please do so; they'll pay attention.
The text of the bill can be found here.
May 20, 2009 10:47:18 PM | Torture
Are you as tired of cursing the darkness as I am? Here's one possible candle.
New York State Assemblymember, Richard Gottfried is sponsoring along with several other members assembly bill A06665. Simply put, as New York State licenses ay number of healthcare providers, and as healthcare providers are often involved with the practice of torture, participation by a NYS licensed healthcare provider in torture is illegal under state law and may result in sanctions including, but not limitedto revocation of their license.
The bill also has two important provisions:
A requirement by healthcare providers to report incidents of torture.
Protection for whistleblowers.
If you live in New York, I urge you to contact your assemblymember and state senator and urge them to support this legislation. If you don't live in New York, please bear in mind that all states license healthcare providers. Urge your state repreentatives to develop and pass legislatio along these lines.
Would you want yourself, a friend or a family member to be treated by someone who facilitated torture?
When Healers Harm
Last Thursday,May 14, I attended a symposium entitled When Healers Harm: Accountability for Health Professional Abuse of People in Custody, sponsored by the Center for Constitutional Rights and Physicians for Human Rights (PHR).
Continue reading "When Healers Harm" »
May 17, 2009 11:25:37 PM | Current Affairs, Torture
Dick Cheney!
Here..
May 14, 2009 12:37:40 AM | Torture
Harold E. Fischer, Jr.
Harold E. Fischer, Jr. died on April 30. He does not appear to be a man who sought out celebrity, but had it thrust upon man. He was a fighter pilot in the Korean War who was shot down and landed in Chinese territory.
Captured by the Chinese he was eventually tortured with this result:
Nine months into his captivity, Captain Fischer managed to escape by digging a hole through the wall of his cell. He was re-captured at a railroad station. Relentless interrogation, led by a guard named Chong, began.
"He wanted me to admit that I had been ordered to cross the Manchurian border," Captain Fischer told Life magazine. "I was grilled day and night, over and over, week in and week out, and in the end, to get Chong and his gang off my back, I confessed to both charges. The charges, of course, were ridiculous. I never participated in germ warfare and neither did anyone else. I was never ordered to cross the Yalu. We had strict Air Force orders not to cross the border."
"I will regret what I did in that cell the rest of my life," the captain continued. "But let me say this: it was not really me — not Harold E. Fischer Jr. — who signed that paper. It was a mentality reduced to putty."
Fischer was tortured by the Chinese. The SERE program - which served as the basis for the Bush administration's enhanced interrogation torture program - was developed from torture practices of the Chinese.
Fischer confessedd to committing acts that he did not do. Of course the mouth breathers on the right will still trot out the "ticking time bomb" scenario or some other example based more on fantasy and less on reality.
Perhaps they should spend a few days in Mr. Fischer's shoes before trumpeting the effectiveness of torture. On the other hand, perhaps their mentalities have already been reduced to putty.
May 10, 2009 1:05:21 AM | Passings, Torture


Chris has offered to walk 100km in a dress if he gets a nominated donation to JDRF of $200. I would love to see this, would you?
Two days now until we fly into New Zealand..... excited and nervous for our expedition, lots of months of planning coming together.
Body reserves now in place, fuller figures tick....yes winter has helped this process.
Awesome guys, looking well prepared for your NZ adventure. Enjoy the beautiful Aotearoa scenery.
We would love to see Chris in a dress.
How do we make $200.00 donation?


Everyone knows the story of Amanda Berry, Gina deJesus, and Michelle Knight, the three Cleveland teens, now adults, who were kidnapped and held captive for 10 years or so by a sadistic sexual predator and his two brothers. The joy and relief of their families, to have their daughters back is unimaginable, and the rest of the country celebrates with them.
What we also need to remember, on this Mother's Day, is the 170 prisoners still held in Guantanamo, in our name, with our tax dollars. Very few of the detainees at Guantanamo have been charged with anything, let alone brought to trial. Eighty-six of them have been cleared for release. Their plight is so desperate that over 100 of them have been fasting for the last three months, seeing death as the only way to escape their misery.
Many detainees have been at the prison for more than a decade, with no prospect for release or transfer, or even trial, in their future. Meanwhile, they have seen President Obama promise to close the prison in the first year of his administration, only to blame his failure to do so on divisive party politics. While blaming Congressional obstruction for blocking plans to close Guantanamo, he has even been reluctant to fight the political battles necessary to make any progress on the issue.
Who are the detainees? One cleared detainee is a British citizen, Shaker Aamer. He has been cleared for release twice, but is still behind bars after 11 years. Kuwaiti prisoner Fouzi Al Awda, has been held for 11 years while the Kuwaiti government, another US ally, has repeatedly called for his repatriation.
Many Americans believe that anyone detained at Guantanamo must be guilty of terrorism. However, just as the three women in Cleveland did nothing to deserve their abuse and captivity, many of the prisoners held in Guantanamo were picked up because someone in their village had a vendetta against them, or someone who wanted the reward, turned them in to the US military. For the most part, any detainee who has enough court-admissable evidence against him, has already been tried.
We all know how we feel about the injustices done to the young women in Cleveland. But for most of the detainees in Guantanamo, the injustice is also great, also deserving of our compassion. More compelling, however, for the detainees, we, whose elected officials act in our name, bear the responsibility.
What can President Obama do? Congress has imposed unprecedented restrictions on detainee transfers, but President Obama still has the power to transfer men right now. He should use the certification/waiver process created by Congress to transfer detainees.
Nonetheless, repeated efforts to prompt the President to do the right thing have failed. Now, on Mother's Day, it is time to lobby the First Lady.


text:
Q: Question about marked poisson process Let's say I have a Poisson point process on $\left[0,T\right]$ with rate $\lambda\left(t\right)=2t^2$. Suppose I attach a mark $m_t$ to each point $t$ of the process such that $m_t\sim N\left(t,1\right)$. Then do I calculate the mean measure of the marked process $\left(m_t\right)$ by taking this?
\begin{equation}
\mu\left(\left[0,T\right]\right)=\int_0^T 2t\times\frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}\left(m-t\right)^2}\,dt
\end{equation}
What if $m_t$ were a discrete random variable? For example, the mark associated with the point $t$ is now either $t+1$ or $t-1$ with probability $1/2$ each.

A: For the normally distributed marks case, I think you can forget about the variance since it increases the mean measure by as much as it decreases it.  So, set it to zero to make things simple.  Then, you have a process whose intensity is $2t^2$ and whose marks are $t$.  As far as the mean is concerned more events is the same as bigger marks, so I think it's the same as having intensity $2t^3$.  That makes the expectation $\frac12T^4$.
For the Bernoulli case, I think the same logic applies.

redpajama_set_name: RedPajamaStackExchange


Naoki Yoshimochi, Tomohiro Hiramoto, Atsushi Mizuki, Chang-Jun Ahn and Iwao Sasase, "LDPC coded unitary space time modulated OFDM system in broadband mobile channel," 2003 Asia Pacific Symposium on Information Technology (APSITT'03), pp.409-416, New Caledonia, Nov. 2003. - Keio University Sasase Lab.
Naoki Yoshimochi, Tomohiro Hiramoto, Atsushi Mizuki, Chang-Jun Ahn and Iwao Sasase, "LDPC coded unitary space time modulated OFDM system in broadband mobile channel," 2003 Asia Pacific Symposium on Information Technology (APSITT'03), pp.409-416, New Caledonia, Nov. 2003.


text:
James Gang - Rides Again (1970 us, excellent classic hard rock with funky shades, 2010 SHM remaster)
With their second album Rides Again, the James Gang came into their own. Under the direction of guitarist Joe Walsh, the group -- now featuring bassist Dale Peters -- began incorporating keyboards into their hard rock, which helped open up their musical horizons. For much of the first side of Rides Again, the group tear through a bunch of boogie numbers, most notably the heavy groove of "Funk #49."
On the second side, the James Gang departs from their trademark sound, adding keyboard flourishes and elements of country-rock to their hard rock. Walsh's songwriting had improved, giving the band solid support for their stylistic experiments. What ties the two sides of the record together is the strength of the band's musicianship, which burns brightly and powerfully on the hardest rockers, as well as on the sensitive ballads.
by Stephen Thomas Erlewine
1. Funk #49 (Fox, Peters, Walsh) - 4:06
2. Asshtonpark (Fox, Peters, Walsh) - 1:51
3. Woman (Fox, Peters, Walsh) - 4:38
4. The Bomber: Closet Queen/ Boléro/ Cast Your Fate To The Wind (Fox, Peters, Walsh, Maurice Ravel, Vince Guaraldi) - 7:04
5. Tend My Garden - 5:39
6. Garden Gate - 1:41
7. There I Go Again - 2:50
8. Thanks - 2:20
9. Ashes, The Rain And I - 4:58
All songs by Joe Walsh except where noted
The James Gang
*Joe Walsh - Guitars, Vocals, Keyboards, Piano, Percussion
*Dale Peters - Bass Guitars, Vocals, Guitars, Keyboards, Percussion
*Jim Fox - Drums, Vocals, Percussion, Keyboards, Organ, Piano
*Rusty Young - Pedal Steel Guitar
1969 James Gang - Yer' Album (Japan SHM remaster)
James Gang - Rides Again (1970 us, excellent class...