text:
package com.google.common.primitives;

import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.testing.Helpers;
import com.google.common.testing.NullPointerTester;
import com.google.common.testing.SerializableTester;

import junit.framework.TestCase;

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

/**
 * Unit test for {@link Booleans}.
 *
 * @author Kevin Bourrillion
 */
@GwtCompatible(emulated = true)
public class BooleansTest extends TestCase {
  private static final boolean[] EMPTY = {};
  private static final boolean[] ARRAY_FALSE = {false};
  private static final boolean[] ARRAY_TRUE = {true};
  private static final boolean[] ARRAY_FALSE_FALSE = {false, false};
  private static final boolean[] ARRAY_FALSE_TRUE = {false, true};

  private static final boolean[] VALUES = {false, true};

  public void testHashCode() {
    assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true));
    assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false));
  }

  public void testCompare() {
    for (boolean x : VALUES) {
      for (boolean y : VALUES) {
        // note: spec requires only that the sign is the same
        assertEquals(x + ", " + y,
                     Boolean.valueOf(x).compareTo(y),
                     Booleans.compare(x, y));
      }
    }
  }

  public void testContains() {
    assertFalse(Booleans.contains(EMPTY, false));
    assertFalse(Booleans.contains(ARRAY_FALSE, true));
    assertTrue(Booleans.contains(ARRAY_FALSE, false));
    assertTrue(Booleans.contains(ARRAY_FALSE_TRUE, false));
    assertTrue(Booleans.contains(ARRAY_FALSE_TRUE, true));
  }

  public void testIndexOf() {
    assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE));
    assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE));
    assertEquals(0, Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE));
    assertEquals(0, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE));
    assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE));
    assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE));
    assertEquals(0, Booleans.indexOf(ARRAY_TRUE, new boolean[0]));
  }

  public void testIndexOf_arrays() {
    assertEquals(-1, Booleans.indexOf(EMPTY, false));
    assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true));
    assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true));
    assertEquals(0, Booleans.indexOf(ARRAY_FALSE, false));
    assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, false));
    assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, true));
    assertEquals(2, Booleans.indexOf(new boolean[] {false, false, true}, true));
  }

  public void testLastIndexOf() {
    assertEquals(-1, Booleans.lastIndexOf(EMPTY, false));
    assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE, true));
    assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE_FALSE, true));
    assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE, false));
    assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, false));
    assertEquals(1, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, true));
    assertEquals(2, Booleans.lastIndexOf(new boolean[] {false, true, true}, true));
  }

  public void testConcat() {
    assertTrue(Arrays.equals(EMPTY, Booleans.concat()));
    assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY)));
    assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY, EMPTY, EMPTY)));
    assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(ARRAY_FALSE)));
    assertNotSame(ARRAY_FALSE, Booleans.concat(ARRAY_FALSE));
    assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)));
    assertTrue(Arrays.equals(
        new boolean[] {false, false, false},
        Booleans.concat(ARRAY_FALSE, ARRAY_FALSE, ARRAY_FALSE)));
    assertTrue(Arrays.equals(
        new boolean[] {false, false, true},
        Booleans.concat(ARRAY_FALSE, ARRAY_FALSE_TRUE)));
  }

  public void testEnsureCapacity() {
    assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1));
    assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 0, 1));
    assertSame(ARRAY_FALSE, Booleans.ensureCapacity(ARRAY_FALSE, 1, 1));
    assertTrue(Arrays.equals(
        new boolean[] {true, false, false},
        Booleans.ensureCapacity(new boolean[] {true}, 2, 1)));
  }

  public void testEnsureCapacity_fail() {
    try {
      Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
      fail();
    } catch (IllegalArgumentException expected) {
    }
    try {
      // notice that this should even fail when no growth was needed
      Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
      fail();
    } catch (IllegalArgumentException expected) {
    }
  }

  public void testJoin() {
    assertEquals("", Booleans.join(",", EMPTY));
    assertEquals("false", Booleans.join(",", ARRAY_FALSE));
    assertEquals("false,true", Booleans.join(",", false, true));
    assertEquals("falsetruefalse",
        Booleans.join("", false, true, false));
  }

  public void testLexicographicalComparator() {
    List<boolean[]> ordered = Arrays.asList(
        new boolean[] {},
        new boolean[] {false},
        new boolean[] {false, false},
        new boolean[] {false, true},
        new boolean[] {true},
        new boolean[] {true, false},
        new boolean[] {true, true},
        new boolean[] {true, true, true});

    Comparator<boolean[]> comparator = Booleans.lexicographicalComparator();
    Helpers.testComparator(comparator, ordered);
  }

  @GwtIncompatible // SerializableTester
  public void testLexicographicalComparatorSerializable() {
    Comparator<boolean[]> comparator = Booleans.lexicographicalComparator();
    assertSame(comparator, SerializableTester.reserialize(comparator));
  }

  public void testToArray() {
    // need explicit type parameter to avoid javac warning!?
    List<Boolean> none = Arrays.<Boolean>asList();
    assertTrue(Arrays.equals(EMPTY, Booleans.toArray(none)));

    List<Boolean> one = Arrays.asList(false);
    assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.toArray(one)));

    boolean[] array = {false, false, true};

    List<Boolean> three = Arrays.asList(false, false, true);
    assertTrue(Arrays.equals(array, Booleans.toArray(three)));

    assertTrue(Arrays.equals(array, Booleans.toArray(Booleans.asList(array))));
  }

  public void testToArray_threadSafe() {
    // Only for booleans, we lengthen VALUES
    boolean[] VALUES = BooleansTest.VALUES;
    VALUES = Booleans.concat(VALUES, VALUES);

    for (int delta : new int[] { +1, 0, -1 }) {
      for (int i = 0; i < VALUES.length; i++) {
        List<Boolean> list = Booleans.asList(VALUES).subList(0, i);
        Collection<Boolean> misleadingSize =
            Helpers.misleadingSizeCollection(delta);
        misleadingSize.addAll(list);
        boolean[] arr = Booleans.toArray(misleadingSize);
        assertEquals(i, arr.length);
        for (int j = 0; j < i; j++) {
          assertEquals(VALUES[j], arr[j]);
        }
      }
    }
  }

  public void testToArray_withNull() {
    List<Boolean> list = Arrays.asList(false, true, null);
    try {
      Booleans.toArray(list);
      fail();
    } catch (NullPointerException expected) {
    }
  }

  public void testAsListIsEmpty() {
    assertTrue(Booleans.asList(EMPTY).isEmpty());
    assertFalse(Booleans.asList(ARRAY_FALSE).isEmpty());
  }

  public void testAsListSize() {
    assertEquals(0, Booleans.asList(EMPTY).size());
    assertEquals(1, Booleans.asList(ARRAY_FALSE).size());
    assertEquals(2, Booleans.asList(ARRAY_FALSE_TRUE).size());
  }

  public void testAsListIndexOf() {
    assertEquals(-1, Booleans.asList(EMPTY).indexOf((Object) "wrong type"));
    assertEquals(-1, Booleans.asList(EMPTY).indexOf(true));
    assertEquals(-1, Booleans.asList(ARRAY_FALSE).indexOf(true));
    assertEquals(0, Booleans.asList(ARRAY_FALSE).indexOf(false));
    assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).indexOf(true));
  }

  public void testAsListLastIndexOf() {
    assertEquals(-1, Booleans.asList(EMPTY).lastIndexOf((Object) "wrong type"));
    assertEquals(-1, Booleans.asList(EMPTY).lastIndexOf(true));
    assertEquals(-1, Booleans.asList(ARRAY_FALSE).lastIndexOf(true));
    assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
    assertEquals(1, Booleans.asList(ARRAY_FALSE_FALSE).lastIndexOf(false));
  }

  public void testAsListContains() {
    assertFalse(Booleans.asList(EMPTY).contains((Object) "wrong type"));
    assertFalse(Booleans.asList(EMPTY).contains(true));
    assertFalse(Booleans.asList(ARRAY_FALSE).contains(true));
    assertTrue(Booleans.asList(ARRAY_TRUE).contains(true));
    assertTrue(Booleans.asList(ARRAY_FALSE_TRUE).contains(false));
    assertTrue(Booleans.asList(ARRAY_FALSE_TRUE).contains(true));
  }

  public void testAsListEquals() {
    assertEquals(Booleans.asList(EMPTY), Collections.emptyList());
    assertEquals(Booleans.asList(ARRAY_FALSE), Booleans.asList(ARRAY_FALSE));
    assertFalse(Booleans.asList(ARRAY_FALSE).equals(ARRAY_FALSE));
    assertFalse(Booleans.asList(ARRAY_FALSE).equals(null));
    assertFalse(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE)));
    assertFalse(Booleans.asList(ARRAY_FALSE_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE)));
    assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
    List<Boolean> reference = Booleans.asList(ARRAY_FALSE);
    assertEquals(Booleans.asList(ARRAY_FALSE), reference);
    assertEquals(reference, reference);
  }

  public void testAsListHashcode() {
    assertEquals(1, Booleans.asList(EMPTY).hashCode());
    assertEquals(Booleans.asList(ARRAY_FALSE).hashCode(), Booleans.asList(ARRAY_FALSE).hashCode());
    List<Boolean> reference = Booleans.asList(ARRAY_FALSE);
    assertEquals(Booleans.asList(ARRAY_FALSE).hashCode(), reference.hashCode());
  }

  public void testAsListToString() {
    assertEquals("[false]", Booleans.asList(ARRAY_FALSE).toString());
    assertEquals("[false, true]", Booleans.asList(ARRAY_FALSE_TRUE).toString());
  }

  public void testAsListSet() {
    List<Boolean> list = Booleans.asList(ARRAY_FALSE);
    assertFalse(list.set(0, true));
    assertTrue(list.set(0, false));
    try {
      list.set(0, null);
      fail();
    } catch (NullPointerException expected) {
    }
    try {
      list.set(1, true);
      fail();
    } catch (IndexOutOfBoundsException expected) {
    }
  }

  public void testCountTrue() {
    assertEquals(0, Booleans.countTrue());
    assertEquals(0, Booleans.countTrue(false));
    assertEquals(1, Booleans.countTrue(true));
    assertEquals(3, Booleans.countTrue(false, true, false, true, false, true));
    assertEquals(1, Booleans.countTrue(false, false, true, false, false));
  }

  @GwtIncompatible // NullPointerTester
  public void testNulls() {
    new NullPointerTester().testAllPublicStaticMethods(Booleans.class);
  }
}


text:
New Brewpub with Hops-Inspired Menu Coming to Downtown Denton
Beth Rankin
Denton's about to get a lot hoppier.
Audacity Brew House
Beth Rankin | March 3, 2016 | 10:49am
Sweet Denton is on a roll lately when it comes to getting cool new stuff, and it appears their momentum isn't slowing anytime soon. Today, Audacity Brew House (Denton's first brewery) and Travelstead (where Oaktopia Festival is held) announced they're partnering to open the Audacity Brew House at Travelstead in downtown Denton by the end of 2016. From the press release:
... the facility will focus on creating a complete craft beer concept, from the brews created onsite to the hops-inspired menu. This project is the culmination of shared passion by an active team of folks who love creating and lifting up the Denton community. With willing hearts, creative minds and strong work ethics, the combination of the team that has brought you LSA Burger Co. and Barley & Board combined with the highly skilled team of Audacity Brew House will bring to life an experience that not only honors the history of Travelstead but also provides an amazing view into the world of craft brewing.
The roughly 8,000-square-foot existing structures will be adapted to create the brewery, kitchen, a specialty market and an "outdoor entertainment environment" that will host live music, according to the release. The new brewery will produce 10,000 barrels a year (or 30,000 gallons a month, according to the press release) and you'll be able to consume beer on-site or take it home in growlers. The new venue and beer-porium will be located at 215 E. Hickory St.
Denton's New Brewpub, Barley & Board, Is Hip and Ambitious
Rasoi in Denton Is Renaming, Relocating and Adding a Nightclub
Boss Raptor is Back For Good: Audacity's Ever-Changing Experimental IPA Returns
You can follow their progress on Facebook and Twitter.
Beth Rankin is an Ohio native and Cicerone-certified beer server who specializes in social media, food and drink, travel and news reporting. Her belief system revolves around the significance of Topo Chico, the refusal to eat crawfish out of season and the importance of local and regional foodways.
Facebook: Beth Rankin
Twitter: @beth_rankin

redpajama_set_name: RedPajamaCommonCrawl


Wordfast LLC is a private company based in the USA. The company develops Wordfast and provides related services. Wordfast's architect is Yves Champollion. Wordfast is adhocratic in its structure and in its approach to developing new solutions.
The first version of Wordfast was developed in 1999. At that time, there were only a few TM software packages available, at steep prices. The initial idea was to develop a power-to-the people TM package at an affordable price.
Right from the beginning, Wordfast made a point of constantly submitting any new development to a group of real translators for feedback and criticism. We went to great lengths, for example, to only use a plain-text format for TMs and glossaries so that translators can use standard tools to manipulate data.
Today, Wordfast is used by over 35,000 translators world-wide in practically all languages. It has earned rave reviews from numerous publications for its simplicity and power. Wordfast is widely used in the academical world for training students in translation technology.


text:
How The Washington Redskins Are Approaching Free Agency And The Rest Of The NFL Off-Season
Michael LoRé Contributor
Alex Smith is a long-shot to play next season, so the Washington Redskins have to address their quarterback situation. (Photo by Toni L. Sandys/The Washington Post via Getty Images)
The Washington Redskins were in the thick of the NFC East title race until Week 11 when big-money quarterback Alex Smith suffered a season-ending and potentially career-threatening leg injury. Washington dropped six of its final seven games rotating Colt McCoy, Mark Sanchez and Josh Johnson under center to finish 7-9, good for third in the division.
The biggest question surrounding the Redskins this off-season—as it seems to be each off-season—is who will be under center for Week 1?
The biggest free-agent name for Washington is running back Adrian Peterson. The 33-year-old UFA had a resurgence in 2018, rushing for 1,042 yards and seven TDs, signing after highly touted rookie Derrius Guice was lost for the year with a torn ACL in Week 1 of the preseason. Guice hopes to rejoin the team for OTAs this summer, and Washington also has Chris Thompson and Samaje Perine on the depth chart at running back. Peterson may be re-signed as an insurance policy and/or mentor to the rest of the running back corps.
For Forbes' full NFL off-season preview, featuring analysis of all 32 teams, click here.
Photo by Andy Lyons/Getty Images; Illustration by Brett Knight/Forbes
Wide receiver Jamison Crowder, free safety Ha Ha Clinton-Dix, guard Jonathan Cooper and linebacker Preston Smith are all also unrestricted free agents. Head coach Jay Gruden has already expressed interest in re-signing Crowder and Clinton-Dix.
Clinton-Dix's situation is the most intriguing. Arriving in a trade with the Green Bay Packers to bolster the safety unit last season, it is now a position of turmoil for the Redskins. D.J. Swearinger was released in December after criticizing defensive coordinator Greg Manusky, Montae Nicholson was suspended after being arrested for assault, and Troy Apke ended up on the IR to conclude 2018. Clinton-Dix had 66 tackles and one fumble recovery in nine games, but a big pay day doesn't seem in the cards, not only due to his performance but also because of the $20.4 million salary cap hit tied to Smith in 2019.
Team Needs
The biggest need for Washington, which has approximately $20 million in cap space, is at the most important position on the field: quarterback. NFL Network's Ian Rapoport says the Redskins are planning as if they won't have Smith for 2019 and will be "pleasantly surprised" if he's ready to play. With that being said, Smith, who signed a four-year, $94-million extension with Washington after they acquired him from Kansas City, has the team strapped for cash as it tries to find a temporary replacement.
Smith's deal will eat up $20.4 million in cap space in 2019 and another $21.4 million against the cap in 2020. Because of this, signing or trading for a bigger name like Joe Flacco, Nick Foles, Ryan Fitzpatrick, Tyrod Taylor or Teddy Bridgewater appears to be farfetched, with Washington likely to stick with McCoy, who has been in the organization since 2014, or bolster the position via the NFL Draft. Washington has the No. 15 pick, but falls behind the quarterback-needy New York Giants (No. 6), Jacksonville Jaguars (No. 7) and Miami Dolphins (No. 13) vying for the likes of Dwayne Haskins, Kyler Murray and Drew Lock.
Newly promoted offensive coordinator Kevin O'Connell will have his hands full whether he's grooming the team's quarterback of the future or working with a temporary contingency plan until Smith's health and future are clearer.
Defensively, bolstering the linebacker position will need to be a priority should Washington lose Smith to free agency and Reuben Foster to suspension; NFL commissioner Roger Goodell recently said Foster may still be disciplined by the league.
Off-Season Targets
Before they can sign anyone, the Redskins need money to play with, and in order to get an increased cash flow they may have to make a significant decision regarding one of their most expensive players. There's a chance Washington releases cornerback Josh Norman, who has the roster's third-highest cap hit at $14.5 million in 2019. Norman has two years left on a five-year, $75 million contract he signed in 2016.
With increased money, the Redskins can re-sign guys like Crowder, Clinton-Dix, Smith and Cooper, while getting more depth at linebacker and safety in free agency and the draft. New York Giants safety Landon Collins and Seattle Seahawks safety Earl Thomas are good possibilities to boost the defense.
If Washington decides for a temporary bandage at QB via free agency—in the hopes Smith will be ready for the 2020 season—the team can address one of its many other needs in the first round of the draft, namely edge rusher, cornerback or offensive line, with OL Cody Ford (Oklahoma), CB Greedy Williams (LSU) or DE Jachai Polite (Florida).
Washington has a lot of holes to fill on all sides of the ball, so it's just a matter of what team president Bruce Allen and his staff prioritizes.
It's a game of inches—and dollars. Get the latest sports news and analysis of valuations, signings and hirings, once a week in your inbox, from the Forbes SportsMoney Playbook newsletter. Sign up here.
Michael LoRé
I have more than 10 years of experience in the sports industry as a writer and editor. I have covered sports and events around the globe from the World Series to surfing...


Roots music fingerstyle guitar virtuoso Toby Walker, who blends blues, ragtime, country, bluegrass, rock and old time jazz into his own unique style, has toured the US, England, Wales, France, Germany, Belgium and Holland.
He has been featured in the New York Times, the London Sunday Times, the London BBC, Sirius-XM radio and was the 1st place recipient of the International Blues Challenge Award - Solo division - given out by the Blues Foundation in Memphis TN.
Jorma Kaukonen of Hot Tuna and the Jefferson Airplane says "Flat out... you have to hear this great musician... I'm blown away" and has employed Walker to teach at his famous Fur Peace Ranch Guitar Camp for 6 years.
In 2010 Walker won the NY Music Award for 'Best Instrumental CD,' sharing the honors with Mariah Carey, Rufus Wainwright and Judy Collins among many others.
Walker has recently released three instructional guitar DVD's for the world famous company Homespun Tapes which have been getting rave reviews. And Carnegie Hall acknowledged his rare talents and hired him to augment and teach in their "American Roots" program aimed at honor level middle school students.


text:
Social Contracts of the Early Settlers
[Editors Note: The issue of social security is prevalent in our lives today. But this has always been a concern. In exploring our town's archives, Rich Church has come across information about how people met the needs of being cared for in their later years. In this article (and another to be published in the near future) Rick shows us what solutions were put in place.
Waterfall on the road to Benjamin Sawyer's farmhouse
Families moving to a frontier town like Packersfield employed a number of strategies to sustain themselves. They often came with others they knew from their hometowns and settled near one another in their new home. Often those clusters of new arrivals were related. In the second generation they often took steps to keep the farm in the family and provide for their old age. The Sawyer Family who settled in the northeast corner of Packersfield did all of these things.
Benjamin Sawyer was born in Amherst, New Hampshire in 1758 to Josiah and Hannah Sawyer. Benjamin married Tabitha Kitteridge of Tewksbury, Massachusetts in 1778 when he was twenty and his wife a year younger.
45×40' stone foundation for the home of Benjamin and Tabitha Sawyer and their 14 children.
Their first child, Benjamin, was born in Amherst in 1779. That year the young family bought 104 acres on the western side of Rollstone Mountain from Benjamin's father and moved their child, two horses, bed, teakettle and other possessions on horseback to Packersfield. A cousin of Tabitha's on her mother's side, Solomon Ingalls, owned 104 acres nearby and soon moved into the neighborhood. Nathaniel Barrett, another neighbor from Amherst joined them in 1778. Tabitha's brother, Solomon Kitteridge bought another 104-acre lot and joined them in 1781.
Joel Sawyer built a modest house at this site on his father's farm
Children for the Sawyers came every year or two and totaled 14 with all but two reaching adulthood. By 1810 Benjamin and Tabitha were in their early fifties. They had accumulated a large farm with over 200 acres; their daughters were marrying, their sons moving away to establish farms of their own. They had four children still living at home. The oldest of these, Joel, had been married a year and was certainly trying to figure out where to settle and how to acquire his own farm. The Sawyers used a "maintenance contract", a device used in England as far back as the 12th century, to keep Joel on the farm and provide for their own old age. They sold Joel a half interest in their farm in return for a lifetime of care. The details reflect a carefully thought out plan and the items needed to sustain life on a largely self-sufficient New Hampshire hill farm of the time.
The agreement provided for all that Benjamin and Tabitha would need for the rest of their lives, provided for their remaining unmarried daughters, for their care and for their funeral expenses. It also anticipated three remaining phases of their lives: full ability to work the farm, semi retirement, where they kept some animals, and old age. For the first four years of the agreement father and son split the costs and labor of running the farm. Joel built a house on the farm for himself and his family.
"the said Joel [Sawyer] shall improve the said Two lots of land four years from the first day of April last according to the Rules of Good husbandry. And Shall deliver to the said Benjamin one half of the Profits of said Land and the use of one half of the Buildings on the Same in each year by said Benjamin Finding one half of the seed and paying one half of the Taxes on each Year during said term. "
Benjamin provided the other half of these expenses. The two generations shared the result.
After the first four years, Benjamin and Tabitha probably expected to work on the farm, but they were guaranteed what they needed to live:
"And after the end of said four years. The said Joel shall keep for the said Benjamin Two Cows and the Calves that said Cowes [Sic] Shall bring in each Year until they are five weeks old and one horse and Tacking for said horse Suitable for all seasons of the year for said Benjamin and Tabitha use and pay and deliver to the said Benjamin in each Year of his life eighteen Bushells [Sic] of Bread Corn Seven of Indian Corn Seven of Rye and four Bushells [Sic] of Wheat. If it is Raised on said land if not raised four Bushells [Sic] of Rye instead of the Wheat. Ten score [200#] of good Pork, ninety weight of Beef hind quarter Thirty pounds of Flax. Twelve weight of good Fleece Wool. Twelve weight Tallow, one Bushell [and a] half of Salt and all the Thick Shoes and Boots for Benjamin that he need for his own use, also provide for the said Benjamin and his wife Tabitha a comfortable house to dwell in during each of their lives and fire wood cut at the door Sufficient for their use and allow to the said Benjamin one half of the use of the Orchard on the two lots during his life if he needs so much for his own use also pay all necessary Doctoring also Sauce of all kinds [garden vegetables] Sufficient for their use…"
This is both a list of the necessities for an early Nelson farm family, but a list of the normal product of an early nineteenth century farm. The elder Sawyers were provided with cows for milk, butter and cheese. Two cows was a common number on an 1815 farm. Two meant having a constant supply as their breeding cycle could be managed for a constant supply of milk. Tabitha Sawyer was expected to spin the flax into linen and the wool into yarn. She was to weave the cloth and make the clothes. The only items in the list not produced on the farm were likely the salt, shoes, boots and harness.
At some point Benjamin and Tabitha might get too old to care for the animals:
"….also at any Time when the said Benjamin or Tabitha or both of Them shall agree to give Up the use of said Cowes [Sic] then the said Joel shall suitably provide for and comfortably support the said Benjamin and Tabitha in sickness and in health during each of their lives it is considered that after the decease of the said Benjamin one half of the specified antirety [entirety] are to be relinquished…" [Joel receives half of the farm outright] ,
The two daughters still at home were provided for:
"…also Shall pay to Fanny and Nancy Sawyer [Nancy aged 9 at the date of the agreement. Fanny is probably a nickname for daughter, Tabitha aged 17] when they arrive to the age of eighteen Years or sooner if they are or either of them shall Marry before that Time as much as their elder sisters received of their father when they were married: Also if the said Fanney [Sic] Sawyer shall remain Single after the decease of the said Benjamin the said Joel shall provide for her while she remains Single a Comfortable room to live in and firewood cut at the Door Sufficient for one fire…"
This suggests that Fanny was not expected to marry. She may have been incompetent or disabled.
And finally: "…. and Shall at the Decease of the said Benjamin and Tabitha give each of them a decent Burial and pay all the funeral Charges."
The arrangement seemed to work for both parties. Benjamin sold his son the other half of the farm in 1816 taking back a mortgage for the full amount.
Benjamin died in 1846 and Tabitha in 1845. They were eighty-eight and eighty-seven. They outlived their son, Joel, who died in 1832 aged 45. Joel JR seems to have managed the farm in his father's stead. He bought the farm from his mother, Susannah in 1846. Joel JR moved to Mason, New Hampshire and the farm passed out of the family with his death in 1857.
The final resting place of one of Nelson's earliest residents: Benjamin Sawyer, age 88
Joel Sawyer, died at age 45, before he could fulfill his promise to his parents
Rick Church2021-01-07T16:26:40+00:001751 - 1800, 1801 - 1850, Farms and Forests, How People Lived, Rick Church|


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<meta http-equiv="content-type" content="text/html; charset=utf-8" >
<title>Paris 14-15 April 2015
 - sponsor</title>
<meta name="author" content="" >

<link rel="alternate" type="application/rss+xml" title="devopsdays RSS Feed" href="http://www.devopsdays.org/feed/" >

<link rel="stylesheet" href="/css/devops.min.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/css/blueprint/print.css" type="text/css" media="print">

      Home

      Contact

      Events

      Presentations

      Blog

Paris 14-15 April 2015
 - sponsor

Platinum sponsors

welcome
propose
register
program
location
sponsor
contact
code of conduct

We greatly value sponsors for this open event.  If you are interested in sponsoring drop us an email.

        Packages
        Startup
        Silver
        Gold
        Platinum

        Conditions
        < 3 years old
< 10 people
< 500k € turnover
        Unlimited
        Max: 5
        Max: 3

        Price
        750 €
        1500 €
        4000 €
        6000 €

        Free tickets
        2
        2
        4
        6

        Logo on website
        Yes
        Yes
        Yes
        Yes

        Logo on programme
        Yes
        Yes
        Yes
        Yes

        Poster in exhibition hall
        Yes
        Yes

        Swag on shared table

        Yes
        Yes
        Yes

        Logo in attendee emails

        Yes
        Yes

        1 minute Sponsor pitch w/ full audience

        Yes
        Yes

        Small table / booth w/ roll-ups

        Yes

        Large table / booth in prime placement

        Yes

        Logo featured on stage

        Yes

DevOpsDays is a self-organizing conference for DevOps practitioners that depends on your sponsorships to happen. However, because of the nature of the event, we do not have vendor booths or book product pitches.

Gold and Platinum sponsors do get a table they can hang out at and put materials on for interested people to come visit during breaks, and of course all attendees are welcome to propose any subject they want during the openspaces, but this is not 'that kind of conference' and heavy marketing will probably work against you when trying to make a good impression on the attendees. The best thing to do is send engineers to interact with the experts at DevOpsDays on their own terms.

We also welcome alternative proposals for sponsoring outside the grid above - for example "I want to sponsor the lunch and be listed as a Gold sponsor for a roughly equivalent amount but I need to pay the caterer directly", etc. Please get in touch to discuss these options.

Gold sponsors

Special sponsors

Silver sponsors

Media sponsors

redpajama_set_name: RedPajamaGithub


text:
"Inconvenient Facts, Far Beyond The Pale": Crazy Nut Donald Trump Thinks George W. Bush Was President On 9/11
Last fall, Donald Trump claimed that, on September 11, 2001, thousands of Muslims cheered the fall of the World Trade Center. This vicious fiction drew the scorn of fact-checkers and social liberals but caused nary a ripple in the Republican field. But, on Saturday night, Trump said something else about 9/11, something so far beyond the pale that conservatives finally rose up in righteous indignation. He claimed that on 9/11 the president of the United States was George W. Bush.
Republicans disagree internally on aspects of Bush's domestic legacy, but his record on counterterrorism remains a point of unified party doctrine. Bush, they agree, Kept Us Safe. To praise the president who oversaw the worst domestic terrorist attack in American history for preventing domestic terrorism is deeply weird, and the only way this makes any sense is to treat 9/11 as a kind of starting point, for which his predecessor is to blame. (Marco Rubio, rushing to Dubya's defense at Saturday night's Republican debate, explained, "The World Trade Center came down because Bill Clinton didn't kill Osama bin Laden when he had the chance to kill him.") Trump not only pointed out that Bush was president on 9/11 and that the attacks that day count toward his final grade, but he also noted that Bush failed to heed intelligence warnings about the pending attack and that his administration lied to the public about weapons of mass destruction in Iraq.
Conservatives have always dismissed such notions as far-left conspiracy theorizing, often equating it with the crackpot notion that 9/11 was an inside job. The ensuing freak-out at Trump's heresy has been comprehensive. "It turns out the front-runner for the GOP nomination is a 9/11 'truther' who believes Bush knew 9/11 was going to happen but did nothing to stop it," says Marc Thiessen, the columnist and former Bush administration speechwriter. "Moreover, Trump says, Bush knew there were no weapons of mass destruction in Iraq but lied to the American people to get us into a Middle East war." Trump is "borrowing language from MoveOn.org and Daily Kos to advance the absurd 'Bush lied, people died' Iraq War narrative," cried National Review's David French. Weekly Standard editor Bill Kristol demanded that, even should Trump win the nomination, fellow Republicans refuse to "conscientiously support a man who is willing to say something so irresponsible about something so serious, for the presidency of the United States."
In fact, Trump has not claimed that Bush had specific knowledge of the 9/11 attacks. He said, "George Bush had the chance, also, and he didn't listen to the advice of his CIA." That is correct. Bush was given numerous, detailed warnings that Al Qaeda planned an attack. But the Bush administration had, from the beginning, dismissed fears about terrorism as a Clinton preoccupation. Its neoconservative ideology drove the administration to fixate on state-supported dangers — which is why it turned its attention so quickly to Iraq. The Bush administration ignored pleas by the outgoing Clinton administration to focus on Al Qaeda in 2000, and ignored warnings by the CIA to prepare for an upcoming domestic attack. The Bush administration did not want the 9/11 attacks to occur; it was simply too ideological and incompetent to take responsible steps to prevent them.
It is certainly true that Trump took his attack a step too far when he insisted the Bush administration "knew" there were no weapons of mass destruction in Iraq. All of the evidence suggests that the Bush administration, along with intelligence agencies in other countries, believed Saddam Hussein was concealing prohibited weapons. But the evidence is also very clear that the Bush administration manipulated the evidence it had to bolster its case publicly, like police officers framing a suspect they believed to be guilty.
The cover-up was grotesquely crude. Republicans in Congress insisted that the original commission investigating the issue confine itself to faulty intelligence given to the Bush administration and steer clear of manipulation by the Bush administration itself. The report stated this clearly: "Our executive order did not direct us to deal with the use of intelligence by policymakers, and all of us were agreed that that was not part of our inquiry." It was not until a subsequent commission that the administration's culpability was investigated. And that commission, which became known as the "Phase II" report, found that the Bush administration did indeed mislead the public: "[T]he Administration repeatedly presented intelligence as fact when in reality it was unsubstantiated, contradicted, or even non-existent."
You might think Republicans would have developed a sophisticated response, but they haven't. Their defense for the last decade has consisted of claiming the Phase I report, which was forbidden from investigating the Bush administration, actually vindicated Bush, and ignoring the existence of the Phase II report. Today's Wall Street Journal editorial does it again, calling the claim that Bush lied a "conspiracy theory," which was refuted by — you guessed it — the Phase I report. ("Their report of more than 600 pages concludes that it was the CIA's 'own independent judgments — flawed though they were — that led them to conclude Iraq had active WMD programs.'")
Republicans have walled inconvenient facts about the Bush administration's security record out of their minds by associating them with crazed conspiracy theorists. It is epistemic closure at work: Criticism of Bush on 9/11 and Iraq intelligence is dismissed because the only people who say it are sources outside the conservative movement, who by definition cannot be trusted. The possibility that the Republican Party itself would nominate a man who endorses these criticisms is horrifying to them. To lose control of the party in such a fashion would be a fate far worse than losing the presidency.
By: Jonathan Chait, Daily Intelligencer, New York Magazine, February 16, 2016con
February 17, 2016 Posted by raemd95 | 9-11, Conservatives, Donald Trump, George W Bush	| 9/11 Truthers, Alqaeda, Bill Kristol, CIA, Counterterrorism, Iraq War, Muslims, Neo-Cons, Phase II Report, Republicans, WMD's | 3 Comments
"The Scandal Is In What's Legal": Holding Congress Accountable For National Security Agency Excesses
It didn't generate much attention at the time, but in the closing days of 2012, while most of the political world was focused on the so-called "fiscal cliff," Congress also had to take the time to reauthorize the government's warrantless surveillance program. A handful of senators — Ron Wyden (D-Ore.), Jeff Merkley (D-Ore.), Pat Leahy (D-Vt.), Rand Paul (R-Ky.) — proposed straightforward amendments to promote NSA disclosure and add layers of accountability, but as Adam Serwer reported at the time, bipartisan majorities rejected each of their ideas.
In effect, every senator was aware of dubious NSA surveillance — some had been briefed on the programs in great detail — but a bipartisan majority was comfortable with an enormous amount of secrecy and minimal oversight. Even the most basic of proposed reforms — having the NSA explain how surveillance works in practice — were seen as overly intrusive. The vast majority of Congress was comfortable with NSA operating under what are effectively secret laws.
With this in mind, Jonathan Bernstein asked a compelling question over the weekend and provided a persuasive answer: "If you don't like the revelations this week about what the NSA has been up to regarding your phone and Internet data, whom should you blame?"
There is, to be sure, plenty of blame to go around. The NSA has pushed the limits; federal courts approved the surveillance programs; George W. Bush got this ball rolling; President Obama kept this ball rolling; and telecoms have clearly participated in the efforts.
But save plenty of your blame — perhaps most of your blame — for Congress.
Did you notice the word I used in each of the other cases? The key word: law. As far as we know, everything that happened here was fully within the law. So if something was allowed that shouldn't have been allowed, the problem is, in the first place, the laws. And that means Congress.
It's worth pausing to note that there is some debate about the legality of the exposed surveillance programs. Based on what we know at this point, most of the legal analyses I've seen suggest the NSA's actions were within the law, though we're still dealing with an incomplete picture, and there are certainly some legal experts who question whether the NSA crossed legal lines.
But if the preliminary information is accurate, it's hard to overstate how correct Bernstein is about congressional culpability.
Towards the end of the Bush/Cheney era, there was a two-pronged debate about surveillance. On the one hand, there were questions about warrantless wiretaps and NSA data mining. On the other, there was the issue of the law: the original FISA law approved in 1978 was deemed by the Bush administration to be out of date, so officials chose to circumvent it, on purpose, to meet their perceived counter-terrorism needs.
In time, bipartisan majorities in Congress decided not to hold Bush/Cheney accountable, and ultimately expanded the law to give the executive branch extraordinary and unprecedented surveillance powers.
In theory, Obama could have chosen a different path after taking office in 2009, but the historical pattern is clear: if Congress gives a war-time president vast powers related to national security, that president is going to use those powers. The wiser course of action would be the legislative branch acting to keep those powers in check — limiting how far a White House can go — but our contemporary Congress has chosen to do the opposite.
This is, by the way, a bipartisan phenomenon — lawmakers in both parties gave Bush expansive authority in this area, and lawmakers in both parties agreed to keep these powers in Obama's hands. What's more, they not only passed these measures into law, they chose not to do much in the way of oversight as the surveillance programs grew.
OK, but now that the NSA programs are causing national controversies again, perhaps Congress will reconsider these expansive presidential powers? Probably not — on the Sunday shows, we heard from a variety of lawmakers, some of whom expressed concern about the surveillance, but most of whom are prepared to allow the programs continue untouched.
Indeed, for many lawmakers on the right, the intended focus going forward won't be on scaling back NSA efforts, but rather, will be on targeting the leaks that exposed the NSA efforts.
Conservatives, in particular, seem especially eager to leave these powers in the president's hands — even though they have nothing but disdain for this particular president. And as Jon Chait explained, support for the NSA programs from the right will matter a great deal: "The Republican response is crucial, because it determines whether the news media treats the story as a 'scandal' or as a 'policy dispute.'"
Michael Kinsley, referencing campaign-finance laws, once argued that in Washington, the scandal isn't what's illegal; the scandal is what's legal. I've been thinking a lot about this adage in recent days.
If the reports are accurate and the NSA is acting within the law, but you nevertheless consider the surveillance programs outrageous, there is one remedy: Congress needs to redraw the legal lines. At least for now, the appetite for changes among lawmakers appears limited, which only helps reinforce the thesis about who's ultimately responsible for this mess.
By: Steve Benen, The Maddow Blog, June 10, 2013
June 13, 2013 Posted by raemd95 | Congress	| Conservatives, Counterterrorism, FISA, George W. Bush, Jeff Merkley, National Security Agency, Rand Paul, Ron Wyden, Senate | 1 Comment
"If War Is Hell, What Is Perpetual War?": The Question That Lindsey Graham Should Be Asked Every Day
I've been staring at Sen. Lindsey's Graham's comments yesterday from Fox News Sunday, when he criticized the president's big counter-terrorism speech, and wondering what it would take to satisfy him that it's time to declare the Global War On Terrorism over?
At a time we need resolved the most, we are sounding retreat. Our enemies are emboldened all over the planet. Al Qaeda in Iraq is coming back with vengeance, in Libya together. Our friends are uncertain. Syria is falling apart. We are talking about helping the rebels but doing nothing about it. Iran is marching toward a nuclear weapon….
At the end of the day, this is the most tone deaf president I've ever — could imagine and making such a speech at a time when our homeland is trying to be — attacked literally every day.
So are the only alternatives for the United States a world free of threats or perpetual war? That would seem to be Graham's essential argument. And what a forfeiture of national sovereignty he calls for, if we are prohibited from adjusting our national security strategy and returning to a normal constitutional regime so long as one "emboldened" enemy or "uncertain" friend might notice!
The habit, carried over from the Cold War, of waging undeclared wars fought under hazy international and domestic auspices is dangerous enough. The idea that anything other than a permanent war footing invites disaster is an extension of the Cold War "Peace Through Strength" doctrine that in fact rules out peace.
If, as Sherman rightly said, "War is hell!"–then what kind of existence do advocates of perpetual war propose for us? It's a question that Lindsey Graham should be asked to ponder every time he objects to even the smallest steps away from fear and hysteria.
By: Ed Kilgore, Contributing Writer, Washington Monthly Political Animal, May 27, 2013
May 28, 2013 Posted by raemd95 | National Security	| Al Qaeda, Cold War, Conservatives, Counterterrorism, Lindsey Graham, Republicans, Terrorism, War, War on Terror | 1 Comment
"History Advises And Democracy Demands": Why President Obama Is Right To Limit The Authorization Of Military Force Against Terrorists
On CNN's State of the Union this morning, Rep. Michael McCaul (R-TX) the chair of the House Committee on Homeland Security, attacked President Obama for calling for the post-9/11 Authorization for Use of Military Force (AUMF) to be rolled back — a topic the Senate Armed Services Committee recently held a related hearing on. According to McCaul, when President Obama "calls for repeal" of this Authorization, he risks taking away America's "counterterrorism footprint to respond to the future bin Ladens of the world."
It is not accurate to claim that Obama wants to strip the United States of its power to fight terrorism, or to imply that he wants to repeal the AUMF right away. Here are President Obama's exact words regarding this authorization of force:
I intend to engage Congress about the existing Authorization to Use Military Force, or AUMF, to determine how we can continue to fight terrorists without keeping America on a perpetual war-time footing.
The AUMF is now nearly twelve years old. The Afghan War is coming to an end. Core al Qaeda is a shell of its former self. Groups like AQAP must be dealt with, but in the years to come, not every collection of thugs that labels themselves al Qaeda will pose a credible threat to the United States. Unless we discipline our thinking and our actions, we may be drawn into more wars we don't need to fight, or continue to grant Presidents unbound powers more suited for traditional armed conflicts between nation states. So I look forward to engaging Congress and the American people in efforts to refine, and ultimately repeal, the AUMF's mandate. And I will not sign laws designed to expand this mandate further. Our systematic effort to dismantle terrorist organizations must continue. But this war, like all wars, must end. That's what history advises. That's what our democracy demands.
So Obama does want to reshape the AUMF, but his immediate plans do not include repeal. They include recognizing the substantial gains America has made towards crippling al Qaeda and developing a legal framework that makes sense in light of that reality — one that will still enable us to fight terrorists without relying on the very broad powers granted by the AUMF.
There should be little question that the current AUMF is too broad. Enacted by reeling lawmakers in the immediate aftermath of 9/11, and signed into law just one week after those attacks, the AUMF gives the president sweeping authority to identify and target terrorist threats with little or any external checks on this authority. In the AUMF's words, "the President is authorized to use all necessary and appropriate force against those nations, organizations, or persons he determines planned, authorized, committed, or aided the terrorist attacks that occurred on September 11, 2001, or harbored such organizations or persons, in order to prevent any future acts of international terrorism against the United States by such nations, organizations or persons."
As a constitutional matter, the president's powers are at their apex when he acts pursuant to an express grant of authority from the Congress. As Justice Robert Jackson famously explained, the validity of a president's actions made pursuant to congressional authorization are entitled to the "strongest of presumptions and the widest latitude of judicial interpretation, and the burden of persuasion would rest heavily upon any who might attack it." Accordingly, there are minimal limits on what President Obama — or any future president — may do within the bounds of the AUMF's text. The president may unilaterally determine that a family in Pakistan once harbored an al Qaeda leader, and then bring America's military might to bear against this family. Such breathtaking power may have seemed appropriate in September of 2001, when the nation was still in mourning and the scope of the threat facing us was still unclear, but it is not an appropriate power to permanently place in the hands of a single person.
The Obama Administration, for its part, imposed its own limits on when it will invoke this power to kill a suspected terrorist. Among them, "[t]he policy of the United States is not to use lethal force when it is feasible to capture a terrorist suspect," there must be "[n]ear certainty that non-combatants will not be injured or killed," and lethal force will be used "only against a target that poses a continuing, imminent threat to U.S. persons" (although it's worth noting that the administration has also defined the word "imminent" broadly in the past). But it is not at all clear that the Constitution requires future presidents to abide by these limits, and unlikely that any court would step in to enforce them absent a significant change in federal law. As a practical matter, this administration's rules probably just function as limits the Obama Administration places on itself so long as it chooses to abide by them.
So, ultimately, the question Congress needs to ask is whether the permanent scope of presidential war-making power should be fixed by the immediate response of a wounded nation struck by an unprecedented attack with no ability to determine right away whether a series of similar attacks would soon follow. Should President Hillary Clinton have this sweeping power? How about President Ted Cruz?
Or, alternatively, should Congress recognize that the world has changed for the better in the last 12 years? Osama bin Laden is dead and al Qaeda is far weaker than it was in 2001. American law should recognize this reality.
By: Ian Millhiser, Think Progress, May 26, 2013
May 28, 2013 Posted by raemd95 | Democracy, Terrorism	| 911, Al Qaeda, Authorization for Use of Military Force, Congress, Counterterrorism, Michael McCaul, National Security, Ted Cruz | 1 Comment
RT @ilyseh: Kavanaugh Court will hear a case on whether companies can decide not to provide birth control to their employees, just because.…-----------	1 hour ago
RT @KamalaHarris: As we saw almost three years ago at the first Women's March, women are a force that cannot be dismissed or pushed to the…-----------	1 hour ago
RT @TomthunkitsMind: It ain't hard to be kind. This is the Twitter content I'm here for...💪😍🎄🎅❤🔥 https://t.co/iKLaaP2xzn via RexChapman-----------	2 hours ago
RT @cracraft_teresa: Honest to god! Nancy Pelosi, Greta Thunberg, Rachel Maddow, Ruth Bader-Ginsburg, Malala Yousefzi, Hillary Clinton, Mic…-----------	2 hours ago
RT @ZerlinaMaxwell: Imagine having all of the money and privilege in the world handed to you and you still wake up mean.-----------	2 hours ago


text:
<?xml version="1.0" encoding="utf-8"?>

<resources>

    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>

    <!-- Style for a category in the add/edit person -->
    <style name="CategoryStyle">
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_weight">1</item>
        <item name="android:paddingTop">16dp</item>
        <item name="android:paddingLeft">16dp</item>
        <item name="android:paddingRight">16dp</item>
        <item name="android:textColor">#0077CC</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:textAppearance">?android:textAppearanceSmall</item>
    </style>

    <!-- Style for field in the add_edit person -->
    <style name="FieldStyle">
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_width">match_parent</item>
        <item name="android:fontFamily">sans-serif-light</item>
        <item name="android:textAppearance">?android:textAppearanceSmall</item>
    </style>

    <!-- Style for unit (inches) in add/edit person -->
    <style name="UnitsStyle">
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_alignParentRight">true</item>
        <item name="android:paddingRight">16dp</item>
        <item name="android:paddingTop">6dp</item>
        <item name="android:textAppearance">?android:textAppearanceSmall</item>
    </style>

    <style name="AppTheme.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>


text:
Q: DateTime formatting to have trailing zeroes and snap to milli, micro or nano format I have some code like this
import java.time.Instant

val tstamp = 1546344620.1877
val nanoAdj = ((BigDecimal(tstamp) - tstamp.toLong) * 1000000000).toLong
Instant.ofEpochSecond(tstamp.toLong, nanoAdj).toString
// will print : 2019-01-01T12:10:20.187700Z

The toString from the Instant object created from ofEpochSecond is great with trailing zeroes to milli/micro/nano group, but I'm struggling to get the formatted to do the same. I need to change the format a little to something like 2019-01-01 12:10:20.187700 UTC
Other examples:
2019-01-01 12:10:20 UTC // no fractions
2019-01-01 12:10:20.180 UTC // milliseconds
2019-01-01 12:10:20.187700 UTC // microseconds
2019-01-01 12:10:20.187738200 UTC // nanoseconds

I'm using DateTimeFormatter like below, but I'm open for other suggestions.
def formatter: DateTimeFormatter = {
      val tz_format = new DateTimeFormatterBuilder()
        .optionalStart
        .parseCaseSensitive()
        .appendZoneRegionId()
        .toFormatter

      val datetime_format = new DateTimeFormatterBuilder()
        .appendValue(HOUR_OF_DAY, 2)
        .appendLiteral(':')
        .appendValue(MINUTE_OF_HOUR, 2)
        .optionalStart()
        .appendLiteral(':')
        .appendValue(SECOND_OF_MINUTE, 2)
        .optionalStart()
        .appendFraction(NANO_OF_SECOND, 0, 9, true)
        .toFormatter

      new DateTimeFormatterBuilder()
        .parseCaseInsensitive
        .append(ISO_LOCAL_DATE)
        .appendLiteral(' ')
        .append(datetime_format)
        .appendLiteral(' ')
        .append(tz_format)
        .toFormatter
        .withZone(ZoneId.of("UTC"))
    }

A: As Andreas said in the comment, the class for formatting, DateTimeFormatter, does not support this nifty functionality. My best suggestion is to leverage LocalTime.toString(), which has it:
private static final DateTimeFormatter dateFormatter
        = DateTimeFormatter.ofPattern("uuuu-MM-dd ");

private static String formatEpochSeconds(String epochSeconds) {
    BigDecimal totalSeconds = new BigDecimal(epochSeconds);
    long seconds = totalSeconds.longValue();
    long nanos = totalSeconds.subtract(new BigDecimal(seconds))
            .multiply(new BigDecimal(TimeUnit.SECONDS.toNanos(1)))
            .longValue();
    OffsetDateTime dateTime = Instant.ofEpochSecond(seconds, nanos)
            .atOffset(ZoneOffset.UTC);
    return dateTime.format(dateFormatter)
            + dateTime.toLocalTime()
            + " UTC";
}

Trying it out:
System.out.println(formatEpochSeconds("1546344600.0"));
System.out.println(formatEpochSeconds("1546344620.0"));
System.out.println(formatEpochSeconds("1546344620.18"));
System.out.println(formatEpochSeconds("1546344620.1877"));
System.out.println(formatEpochSeconds("1546344620.1877382"));

Output is:

2019-01-01 12:10 UTC
2019-01-01 12:10:20 UTC
2019-01-01 12:10:20.180 UTC
2019-01-01 12:10:20.187700 UTC
2019-01-01 12:10:20.187738200 UTC

Notice that the seconds are omitted completely if they are 0.0. If you don't want this, you will need to code a special case.

redpajama_set_name: RedPajamaStackExchange


RD Grup, was established in TURKEY in 2003 to create genuine products and systems in HVAC field. RD grup is proud of being capable of offering a wide range of products and systems by combining its creative and dynamic structure with shareholders' more than 30 years experience gained in well-known brand companies.
Our Vision, To reach a company profile, which is leading in designing and manufacturing innovative energy saving and high technology HVAC products. And also to reach such a company profile, which is sustaining innovative and creative performance providing a good reputation and well-known brand in local and global markets.
Our Scope of Business; RD Grup deals with design, improvement, production, sale, after-sale service, and training & consulting. RD Grup offers specific solutions to comprehensive projects with the aid of its long term experience in different fields of HVAC BUSİNESS. RD Grup is proud of being capable of offering high technology and innovative products for different types of buildings such as commercial and residential buildings, factories, hotels, social activity buildings, shopping centers, sports halls, swimming pools, etc. As a result of special care and effords on the quality & innovation activities and successful cooperations with partner companies, RD Group is going on to add new original and quality products to their product range.
Product Range; RD Grup is capable of supplying different HVAC products and equipment in addition to their own products that may be demanded by customers. Heat and Energy Recovery Ventilation Units, Swimming Pool Dehumidifying Units, Natural Cooler & Fresh Air Processing Units, Polymer Air-To-Air Heat Exchangers are being manufactured within the scope of the product range.
Training and Consultancy ; RD Grup shares its long-term experience & knowledge with companies and business people in HVAC field. Product design and improvement, laboratory and test systems and product certification are the subjects of training and consultancy.
Accept a well designed and organized Quality Policy as the main strategy of our company.
Environment Policy: RD grup pays the highest attention to preserving the environment, in particular, by focusing on energy saving products and selecting materials which have the lowest negative effects on the environment.
Safety and Health Care Policy: RD Grup's priority is to select and use materials that have minimum negative effect on safety and health of employees, service technicians, and users.
Values added commercial prosperity in our business must be shared fairly between suppliers, employees, shareholders, and state.
Granting enough share from economic growth to our suppliers will enable them to grow and to provide us with the best services and products.
Satisfaction of our employees causes a positive effect on our service and products.
Satisfaction of our customers feeds our future.We, RD Grup, always try to improve the benefits of our customers by reducing cost and increasing quality.
To correctly define priorities in financial planning is a vital matter for economic growth and strength of our company.
Cost reduction, avoiding unnecessary expenses, searching and supplying external financial resources must be our routine and continuous activities.
The importance of reserving enough budget for safety & health care, environment protections, innovation and improving skills of employees.


text:
Tagged: catcher
June 4 – Happy Birthday Tony Pena
I was an oversized kid. My first little league baseball coach kept asking me if I wanted to try catching. We already had a kid on the team doing the catching and I believe his name was John Malec. John had a tendency to get lazy back there and he would sometimes sit instead of squat in in his crouch at which point our coach would scream, "Get your damn rump off the ground Malec. If you're tired go home!"
Young Malec was not alone. That same phrase or words very similar could be heard shouted to boys dressed in oversized catcher's gear by coaches and parents at thousands of baseball fields across our country. It was against protocol and considered taboo for a catcher to let his buttocks come in contact with the dirt when assuming the catchers' crouch position to await the next pitch. So every time Coach Aldi would ask me if I wanted to catch, I would quickly say no because I did not want to have anybody yelling at me to keep my rump off the ground.
Now if today's Beantown Baseball Birthday Celebrant had started his Major League career in 1960 instead of 1980, either John Malec would be walking around with a lot fewer emotional scars or I myself might have even given the tools of ignorance a shot. Why? Because Tony Pena gave every lazy kid catcher an automatic retort to the phrase "Get your damn rump off the ground catcher."
Pena sat on his rump waiting to receive every pitch thrown to him in 1,950 games during the eighteen-years he spent in the big leagues. That put him in fourth place on the all-time Major League list for most games caught. He wore a Red Sox uniform for 534 of those games.
Boston signed this native Dominican as a free agent after the '89 season for four years and $9 million. He spent those next four years as Boston's starting catcher. By then, Pena was no longer the .280 hitter he had been during his early years with the Pirates but he could still handle his responsibilities behind the plate. In fact, he won the AL Gold Glove for catchers during his second season with the Red Sox, in '91. When his average plummeted into the .180s during the final year of his contract, however, it made the decision to not re-sign him easy for Boston's front office. He then moved on to Cleveland, where he backed up and mentored Sandy Alomar Jr. for the next three seasons. The five-time All Star retired after the 1997 season with a total of four Gold Gloves, 1,687 career hits and a lifetime average of .260. He is now the highly-respected bench coach for the Yankees.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with catcher, june 4, red sox, tony pena
May 19 – Happy Birthday Rick Cerone
For one brief shining moment in his Major League career, it looked as if Rick Cerone was becoming the heir to the Dickey-Berra-Howard-Munson succession of great Yankee catchers. The moment actually lasted for one entire regular season and 147 games in 1980, the year after Munson died. New York had acquired Cerone from the Blue Jays during the offseason and thrown the then 25-year-old Newark, New Jersey native into the huge empty space behind Yankee Stadium's home plate to see if he would sink or swim. He responded with career highs in home runs with 14, RBIs with 82 and a .277 batting average, quickly becoming a hit with Yankee fans.
The shining moment then ended for Cerone almost as quickly as it began, spurred on by two events. The Yankees lost an ALCS for the first time in their history after that 1980 regular season and in 1981, Major League went on strike. Cerone hit just .244 during the strike-shortened season and then got into a famous locker room argument with "The Boss" during the '81 World Series, putting his Yankee career on much thinner ice. Cerone's batting average over the next few seasons fell into the toilet and by 1985 his Yankee career was over, when he was traded to the Braves.
He would make seven more moves during the next eight seasons and one of them was to Boston, where he was signed as a free agent at the beginning of the 1988 regular season to serve as Rich Gedman's backup. He did fine in that role, getting into 84 games and averaging a decent .269. In 1985, he actually caught more games for the Red Sox than Gedman did. By then, however, Cerone was in his mid thirties and one of his traditional strengths behind the plate, a strong throwing arm, had begun to desert him. Boston let him walk at the end of '85 and he ended up walking all the way back to the Bronx and re-signing with the Yankees. He retired as a player after the 1988 season, his 18th year in the big leagues.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with catcher, may 19, red sox, rick cerone
May 6 – Happy Birthday Russ Gibson
During spring training before Boston's 1967 Impossible Dream season, Red Sox manager Dick Williams had three receivers in camp competing for the team's two catcher's slots. Bob Tillman had replaced Jim Pagliaroni as Boston's starting receiver in 1962. He held onto that job until 1966, when then 24-year-old Mike Ryan got the nod. Joining Tillman and Ryan at the Red Sox Winter Haven, Florida facility that spring was a 27-year-old, ten year veteran of Boston's farm system by the name of Russ Gibson.
A native of Falls River, Massachusetts, Gibson had been signed by the Red Sox way back in 1957, but he'd never done anything special enough during his lengthy stay in the minors to warrant even a late-season, cup-of-coffee call-up to the parent club. Then in 1965, he was assigned to Boston's triple A International League team in Toronto, which was being managed by Dick Williams. It was his solid play for Williams over the next two seasons combined with the skipper's promotion to Red Sox field boss that finally got Gibson a real shot at getting to Boston. He was ready for that challenge.
He had a great spring training that year and not only made the roster, in his big league debut, in Boston's third game of the season, Gibson caught fellow rookie Bill Rohr's complete game one-hitter over the Yankees. He also got off to a fast start at the plate, averaging better than .300 during most of the first month of the season and taking over as Williams de-facto starting catcher. He then went hitless in three straight games and the impatient Williams didn't hesitate switching to Ryan. That's when Gibson injured his hand, landing him back in the minors for rehab. When he got back to Boston, his hitting woes continued and the only reason he ended up making the the team's postseason roster was that his .203 batting average that year was four points higher than Ryan's, fifteen points higher than Tillman's and over fifty points higher than the .145 average veteran Elston Howard managed after coming to the Red Sox from the Yankees that August. He struck out in both of his at bats against the Cardinals in the 1967 Fall Classic and then shared the starting catcher's job with Elston Howard in 1968 and with Tom Satriano and Gerry Moses in '69.
His best year was that '69 season, his final year with Boston, when he hit a career high .251 in 307 plate appearances. Boston sold him to the Giants just as the 1970 season began and he spent three years as a back-up for San Francisco. He later went to work for the Massachusetts Lottery Department and coached some baseball at the junior college level. Gibson died in 2008 at the age of 69.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with boston red sox, catcher, may 6, russ gibson
May 2 – Happy Birthday Jarrod Saltalamacchia
When the Red Sox acquired catcher Jarrod Saltalamacchia from Texas for three prospects at the 2010 regular season trading deadline, I did not think this native of West Palm Beach, Florida was going to start behind the plate for Boston. He had been only a backup receiver since making his big league debut with the Braves in 2007. Though injury prone and not very good defensively, Vic Martinez was hitting the ball very well as the Red Sox starting catcher in 2010. I figured "Salty" was being picked up at the time to replace second stringer Jason Varitek, who was nearing retirement.
Then at the end of that season, Martinez's contract expired and Boston let him sign with the Tigers. I was still expecting Boston to swing a deal for a starting catcher, but when Opening Day came around the following year, the switch-hitting Saltalamacchia had that job and the veteran Varitek was now his backup. He ended up remaining the team's top receiver during his three complete years with the Red Sox and though he was by no means an All Star at the position, he did perform admirably, especially offensively. He slugged a career high 25 home runs in 2012 and then increased his batting average by 50 points during Boston's World Championship 2013 season. After his success in Beantown, I did believe the Red Sox would re-sign him after the World Series. Again they surprised me by letting the Marlins grab Saltalamacchia while they signed the veteran A.J. Pierzynski.
Another former Red Sox born on this same date is Eddie Bressoud, who made the AL All Star team when he started at shortstop for Boston back in the 1960s.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with catcher, jarrod saltalamacchia, may 2, red sox, salty
April 13 – Happy Birthday Jake Stahl
Jake Stahl is one of just 11 Red Sox players to have won AL home run titles. He performed the feat way back in 1910, during the Deadball Era, which helps explain why Stahl's 10 home runs were enough to lead both leagues. He's also one of just six Red Sox managers to win a World Championship with Boston.
A native of Elkhart, IL, Stahl starred in both baseball and football for the University of Illinois before making his big league debut with the Red Sox as a backup catcher with the 1903 team. Boston then sold him to the Washington Nationals where Stahl was immediately inserted as that team's starting first baseman. At the time, the Washington franchise was barely surviving and being run by AL President Ban Johnson until new ownership could be found. Johnson liked the college-educated Stahl so much, he made him the team's player manager in 1905. Though he had some early success in that role, the team then faltered and Stahl was traded to the White Sox in 1906. By then he had married a girl he met in college, who had a wealthy businessman for a father and Stahl had started a second career in the banking business. He probably would have retired from baseball then and there except for the fact that he was traded back to the Red Sox in 1908.
He put together three solid seasons as Boston's starting first baseman but was faced with a career dilemma. He was doing much better financially with his banking career than he was playing baseball and he knew the wise personal decision was to quit the game and devote himself full time to the financial industry. That's what he did after the 1910 season.
Then in 1911, he was approached by the Red Sox with an offer to become player-manager of the team and a co-owner of the franchise. He accepted and led the 1912 Red Sox to an AL Pennant and a World Series victory over the New York Giants. Stahl started at first base for that ball club and hit a career high .301. The success didn't last. By the following season he was done as a player and after quarreling with the team's other owners over how the club was being run, he quit and went back to his banking career. Unfortunately, he pretty much worked himself to death, suffering a nervous breakdown in 1920 and then dying in a California tuberculosis sanitarium two years later, at the age of 43.
The six Red Sox managers who won World Championships with the club are: Jimmy Collins, Stahl, Bill Carrigan (twice), Ed Barrow, Terry Francona (twice) and John Farrell. Here is a list of Boston's AL Home Run champions
2006 – David Ortiz – 54
2004 – Manny Ramirez – 43
1984 – Tony Armas – 43
1983 – Jim Rice – 39
1981 – Dwight Evans – 21
1967 – Carl Yastrzemski – 44
1965 – Tony Conigliaro – 32
1949 – Ted Williams – 43
1939 – Jimmy Foxx – 35
1919 – Babe Ruth – 29
1912 – Tris Speaker – 10
1911 – Jake Stahl – 10
1903 – Buck Freeman – 13
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with april 13, catcher, first baseman, jake stahl, manager, red sox
April 11 – Happy Birthday Jason Varitek
He was known to his teammates and all of Red Sox Nation as "Tek." He was brought to Boston with Derek Lowe in July of 1997 in exchange for reliever Heathcliff Slocumb, in what was the best trade former Red Sox GM Dan Duquette's ever made. A switch-hitting catcher, who had been a two-time first-round draft choice (Twins-'93 & Mariners-'94) Varitek became the cornerstone on which Boston built two World Championship teams.
There were better players than Varitek on those 2004 and 2007 Red Sox ball clubs, but there were no better leaders. Boston pitching staffs had complete confidence in his game management skills, he was one of the game's premier defensive catchers and he had a knack of being involved in many of the important runs scored by those great Red Sox teams. He seldom smiled, never grandstanded and really didn't say much to anybody except his teammates and especially his pitchers. I liked him a lot.
He's a native of Rochester, Michigan who moved to Florida during his childhood and attended college in Georgia. He also played for USA teams in both the Little League World Series and the Olympics. He ended up playing 15 seasons at Fenway and by the time he was done, Varitek had established himself as the greatest catcher in Red Sox history.
It really was hard for Red Sox fans to watch this great warrior grow old. He became a part-time player during the last couple of seasons of his career and was just a shell of the hitter he had been. He waited till he was about to turn 40-years-old to announce his retirement, just before the 2012 regular season began. Boston's front office has yet to find the next Varitek. It will be a very difficult and challenging search.
Trot Nixon, a former teammate of Varitek and another Red Sox "Warrior," shares his birthday.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with april 11, catcher, jason varitek, red sox
March 12 – Happy Birthday Alex Gaston
This New York City born catcher was a horrible hitter, who had good enough defensive skills behind the plate that John McGraw kept him on the big league roster of his New York Giants ball cub as the team's third string receiver from 1921 through the 1923 season. He then went back to the minors for a couple of years before joining the Red Sox in 1926. He was actually Boston's first string catcher that season but his .223 batting average and powerless bat earned him a ticket to St Paul, where he put together solid back-to-back offensive campaigns for the double A Saints.
That earned him another call-up to Boston in 1929, where he became a team- and battery mate of his younger brother Milt, a right-handed starting pitcher who would put together a 97-164 record during his own 11-season big league career. They were the first pair of brothers to play on the same Red Sox team. In later years the Farrell's (pitcher Wes and catcher Rick,) the Conigliaro's (outfielders Tony and Billy) and the pitching Martinez brothers (Pedro and Ramon) would be added to the list of Red Sox siblings who shared the same Fenway dugout during their careers.
That 1929 season turned out to be Alex Gaston's last one in the Majors. Though he was 36 years-old at the time, he would keep on playing at the minor league level for another nine years before becoming a successful insurance salesman. He passed away in 1979, at the age of 85.
Written by mlblogsbeantownbirthdays Leave a comment Posted in Uncategorized	Tagged with alex gaston, catcher, march 12, red sox


text:
Q: what is the problem with my left alignment? I use konva.js and I try to align texts with the align function but I can't do it with the left alignment (right and center works on the other hand)
my code
 var text1 = new Konva.Text({
    y: 26,
    fontSize: 40,
    text: 'ligne1',
    draggable: true,
   width : 550,
    align: 'center',

  });
  layer.add(text1);
  layer.draw();

Thank you

A: The text.align() method sets the alignment. In the snippet below I have drawn a rect around the text shape to give a visualisation of the effect.

let
  // Set up a stage
  stage = new Konva.Stage({
    container: 'container',
    width: window.innerWidth,
    height: window.innerHeight
  }),
  layer = new Konva.Layer(),
  rect = new Konva.Rect({
    x: 0,
    y: 26,
    width: 550,
    height: 40,
    stroke: 'magenta'
  }),
  text1 = new Konva.Text({
    y: 26,
    fontSize: 40,
    text: 'ligne1',
    draggable: true,
    width: 550,
    align: 'center',
    fill: 'cyan'
  });

stage.add(layer);
layer.add(rect, text1);
layer.draw();

$('#left').on('click', function() {
  text1.align('left');
  layer.draw();
})
$('#center').on('click', function() {
  text1.align('center');
  layer.draw();
})
$('#right').on('click', function() {
  text1.align('right');
  layer.draw();
})
body {
  margin: 10;
  padding: 10;
  overflow: hidden;
  background-color: #f0f0f0;
}

Click a button to change alignment of the text.

<button id='left'>Left</button>
<button id='center'>Center</button>
<button id='right'>Right</button>