Members of Music Haven perform for and teach New Haven area children how to play instruments.
Music Haven, the resident string quartet in New Haven, has now also become a resident of SCSU.
Their partnership with Southern will encompass a few concert performances and lectures in this and the coming semesters, as well as some hands-on work with classes, particularly freshman Inquiry classes.
There they will talk about music and its impact on society and learning, according to Donna Jean Fredeen, dean of Arts and Sciences.
Fredeen said that the idea to partner with Music Haven first came about when Stanley Battle, former interim president at SCSU, saw the group in concert.
Music Haven is led by Tina Lee Hadari, a violinist who earned her master's degree at Yale School of Music and doctorate at the University of Colorado before founding the quartet.
The children come from various New Haven schools.
Hadari said she drew her inspiration for creating the group from a man named Bill Strickland who runs a non-profit organization called Manchester Craftsman's Guild in Pittsburgh, PA. Strickland, a successful businessman, returned to the poverty-stricken neighborhood of his youth and set up a transparent window right in the heart of this area, where painters and potters and the like could practice their craft in plain sight.
Colin Benn, the resident violist, can relate to this program, having seen things from the opposite perspective. Prior to attending college at Juilliard, Benn joined one of the first string scholarship programs in his native Boston when he was then just 11-years-old.
The two remaining members of the quartet, violinist Yaira Matyakubova and cellist Matt Beckman both grew up in musical families and have been playing their respective instruments since early childhood.
Beckman discussed why he became interested in joining Music Haven.
The group will hold their first lecture and concert on Jan. 24, in Garner Recital Hall at 7 p.m.
Over the course of the next few semesters and possibly beyond, Music Haven looks to share their unique model for combining music and ideas for social justice and public service with the Southern community, Hadari said.


text:
Q: Java: preorderEnumeration in TreeModel, how to get depthindex and sibling index?     for (Enumeration e = root.preorderEnumeration(); e.hasMoreElements() && theNode == null;) {
        DefaultMutableTreeNode node = (DefaultMutableTreeNode) e.nextElement();

    }

For that example above, how can you find out how deep you are in the tree branch? If you are iterating over siblings, how do you get it's index?

A: You can get the depth by counting the number of parents iterating on getParent() from node until result is null.
You can get node's index thanks to node.getIndex(node.getParent()).
If you need both information for each node you traverse, I recommend you for efficiency to write your own traversor code, either inspired from DefaultMutableTreeNode.getNextNode() or DefaultMutableTreeNode.PreorderEnumeration inner class. In that later case, the generated stack should contain a structure { node, treeDepth, siblingIndex }

redpajama_set_name: RedPajamaStackExchange


text:
Ismaili Centre invites public to immerse themselves in musical and cultural riches
Over the next several days, ordinary Londoners can step out of their busy work days and slip into the serenity of the Ismaili Centre, to be whisked away by the sounds of MUSIC@ONE — inspired by the Silk Road.
Over the next several days, ordinary Londoners can step out of their busy work days and slip into the serenity of the Ismaili Centre, to be whisked away by the sounds of MUSIC @ONE — inspired by the Silk Road.
Athletes leave Far East regional games with hope in their hearts
As Ismailis around the world prepare for the Jubilee Games in Dubai, the Jamat of the Far East came together in November to participate in their own sports tournament, which served as a regional qualifier for the international Games.
Nour festival brings the Silk Road to life
As a partner in the 2014 Nour Festival, the Ismaili Centre hosted a series of events showcasing the colours, sounds and life of the Silk Route.
Celebrating cultural diversity from the Silk Road at the Nour Festival of Arts 2014
London, 26–29 November 2014 — The annual Nour Festival of Arts, which shines a light on contemporary Middle Eastern and North African arts and culture, was held across the Royal Borough of Kensington and Chelsea during October and November 2014.
(-) Remove Singapore filter Singapore
Zainul Abidin Rasheed (1) Apply Zainul Abidin Rasheed filter
(-) Remove Nour Festival filter Nour Festival

redpajama_set_name: RedPajamaCommonCrawl


text:
NYPD Officer Will Not Face Federal Criminal Charges In Eric Garner's Death
Olisa Metuh Wheeled To Court On A Stretcher
Metuh's lead counsel, Dr. Onyechi Ikpeazu, SAN, told the court that his client discharged himself from hosiptal contrary to serious warning from his doctors. "M...
President Trump to promote tax overhaul in Cincinnati Monday
Wilkin said it was impressive to listen to employees discuss how much the bonuses meant to them, as well as the savings they will see from reduced payroll taxes...
Alabama police identify suspect in child sex assault video
The video spread as many across the region attempted to get the word out and find the person responsible. "If you receive any image or video that you believe ...
US Has No Doubt that Russia Is Honoring Its New START Obligations
Earlier on Monday, Russia's foreign ministry said that Russia confirmed its firm commitment to the treaty on Measures for the Further Reduction and Limitation o...
Modi lies, BJP cheats folks: Karnataka Congress
Siddaramaiah said Modi has no moral right to make corruption allegations against his government when half a dozen of his colleagues, including their own chief ...
One Chinese killed in gun attack in Karachi, Pakistan
Chen Zhu who was on the driving seat was seriously injured in the attack, while Ye Fan remained unhurt. After having lunch at China Town in Clifton, the duo w...
No one can interfere when two consenting adults decide to get married
The bench posted the PIL filed by NGO Shakti Vahini for further hearing next Friday. "They are deemed to have descended from a common ancestor and hence, are si...
5-year-old Delhi boy rescued from kidnappers after 12 days
On January 28, the kidnappers had called the boy's parents to demand a Rs 50-lakh ransom, after which police reportedly got a lead. The shootout started soon ...
Supreme Court denies GOP request to block Pennsylvania gerrymandering decision
Most legal observers had expressed doubt that the Supreme Court would intervene in the case, since it was based on the state constitution. Alito did not give a...
Paris terror attack suspect Salah Abdeslam goes on trial over police shootout
Three Belgian police officers and a French colleague were lightly injured when a gunman opened fire as they searched a property in the Forest district of Bruss...
WADA recommends IOC use 2016 doping bottles at Olympics
As Pound and Werthein clashed, 32 Russian athletes on Tuesday filed yet more appeals with the Court of Arbitration for Sport seeking spots in the games. Thoma...
Afrin Offensive: Seven Turkish Soldiers Die in Syria
Mattis continued to express his displeasure withe situation in general with, "See, right now, we're at a point where ISIS is on the ropes, we need to keep the p...
China Aims to Eradicate Cryptocurrency Trading with Ban on Foreign Platforms
The Chinese government is reportedly about to block all access to cryptocurrency websites from inside China, redoubling its efforts to stamp out the industry i...
Melania Trump Refused to Pose for a Joint Picture With Her Husband
Again, her arms were not in the sleeves of her jacket. The first lady visited the Cincinnati Children's Hospital Medical Center during his speech. The presi...
Super Bowl advertising campaign a boon for Aussie outback tourism: government
Norman took to Instagram today to endorse the NT News campaign #BringBackDundee , saying: "Turns out Tourism Australia was just teasing us, but I think...
TDP Leaders Meet Rajnath Singh Amid Strain In Ties
Despite the disappointment with the budget, TDP is expecting a positive response from the centre in the next four days, Chowdary said. "Mr Chowdary had yester...
Detectives vie to re-interview husband in Natalie Wood death
How did Natalie Wood die? The Splendour was a boat that was owned by Wagner and Wood. Natalie Wood poses in a Yves Saint Laurent costume on September 19...
Cops Dead In Alleged Militant Firing Inside Srinagar Hospital, Pak Terrorist Escapes
Reports reaching here said that one of the two cops identified as Mushtaq Ahmed died on the spot and another identified as Baber Ahmed has succumbed to injuri...
India test-fires nuclear-capable Agni-I missile off Odisha coast
This was the 18th version of Agni-I since it was inducted into service in 2004, unidentified sources told the agency. Describing the balloon a "complete succe...
Amtrak train collision has Arizona connection
Derek Pettaway was a passenger in one of the train's rear cars, headed for Orlando, he told CNN on Sunday morning. Officials from both companies expressed c...
Brooklyn Nets center Tyler Zeller traded to Milwaukee Bucks
Per Wojnarowski , the Nets will receive the Bucks' 2018 second-round pick if it lands between the 31st and 47th slots. This season with the Nets, Zeller appea...
Israel stops 87 Palestinians leaving West Bank
Most countries consider Israeli settlements in the West Bank - land captured by Israel in the 1967 war but wanted by Palestinians for a future state - to be i...
US, Argentina to tackle Hezbollah funding
Tillerson said that the U.S.is concerned "with reports of weaponizing chlorine in particular", and other potential uses of chemical weapons on civilians, includ...
Support stir in Kashmir, says Pakistan PM
He claimed that today's public gathering is the biggest gathering in the history of Azad Kashmir as compared to the previous three times public meetings. The de...
Colorado Deputy Killed After Responding To Vehicle Theft
The gunman was also killed on Monday, local media reports said . A second deputy was wounded by gunfire and a Colorado Springs officers was also wounded,...
Trump accuses House intel panel's top Democrat of leaking information
Bannon's lawyer has been negotiating with the committee and the White House about the interview's terms. However, Schiff said that that he would also be see...
Selling pakodas better than begging: Amit Shah in Rajya Sabha
Shah didn't spare former finance minister P Chidambaram , who ridiculed Prime Minister Narendra Modi for his comments that those who sell pakodas (fritters...
Father Who Attacked Larry Nassar Speaks Out About The Incident
A man who tried to attack Larry Nassar in a MI courtroom has publicly apologized again and insists he's "no hero". Larry Nassar, a former team USA Gymnastics ...
Turkey's Erdogan makes historic visit to Vatican
New twist in Natalie Wood's 1981 death
US' Reliance on Nukes Bringing Mankind Closer to Annihilation: Iran
China on February 4 criticized the USA government for portraying Beijing as a potential nuclear adversary after the nuclear-policy review said Washington wante...
Last surviving Paris terror suspect on trial over police gunfight
Neo-Nazi Will be Republican Nominee for Congress in IL
The 70-year-old retired insurance salesman is not your typical Congressional hopeful . Jones's Nazi costume and celebrations of Hitler's birthday, his protes...
Super Bowl 52: Nick Foles Finds Alshon Jeffery deep for TD
Sunday's game will be played indoors at U.S. Bank Stadium on a frigid day in Minneapolis . The Eagles again held firm against Brady and the Patriots on the f...
Rod Rosenstein, deputy AG, feels warmth from FISA memo backlash
On Friday, Trump declassified a memo, written by Republicans, which accuses the Federal Bureau of Investigation of abusing its powers, adding that it revealed...
Sharma fires 62 to surge to Maybank Championship win
Sharma's second win of the current European Tour season is also likely to help him break into the top 100 in the Official World Golf Ranking (OWGR) when the u...
Pakistani nation stands united on Kashmir issue: PM Khaqan
By condemning the atrocities and genocide of Kashmiris committed by Indian Occupation forces, the participants also paid great tribute to the fearless people of...
Snow to end, cold air is next
Snow will spread across Iowa into western Illinois Monday forenoon - reaching our westernmost portions by late morning and spreading across the remainder of n...
German talks on coalition govt transfer forward as deadline…
Many of the SPD's 443,000 members - who will get the chance to vote on any coalition deal - would prefer to revamp the party in opposition rather than another a...
Coldest Super Bowl Ever? Getting Ready for the Big Game
The kick-off for Super Bowl LII is scheduled for 11.30pm on Sunday night in the UK. During Super Bowl VI - played outdoors in New Orleans - the temperatur...
Fans flock to cheer joint Korean ice hockey team
Choi Byung Kwan remembers the broken bridges, barbed wire encircling a beach, and wildflowers growing over landmines in the Korean demilitarized zone. Tensions ...
Nehal Hashmi arrested, disqualified for five years
A number of contempt notices were issued to senior politicians, journalists, and even PCO judges over charges of scandalising and ridiculing the judiciary. A th...
United States lawmakers nominate Hong Kong activists for Nobel Prize
According to the Basic Law, the mini-constitution in effect since the handover, Hong Kong was promised it would be allowed to elect its leader and legislators b...
Amber Rudd warns Brexiteers to back off ahead of crucial week
Speaking in Shanghai, Mrs May suggested it would not be necessary to choose between the two, telling the: "I don't believe that those are the alternatives". May...
2 dead, 70 Hurt After Amtrak Rams Freight Train in Southern Carolina
An Amtrak passenger train diverted onto a side track slammed into a parked freight train in SC on Sunday, killing two crew members and injuring at least 116 o...
Gunman in Italy goes on shooting rampage targeting black people
Police said one of the six victims was seriously hurt and needed surgery, but gave no further details. Images have emerged of Saturday's drive-by shooting spr...
Snow on the way for Super Bowl Sunday
Amounts were generally an inch or less, but the snow came in heavier bursts and gusty winds. Snow continues for most of the day, with the peak of the event expe...
Cypriot President Nicos Anastasiades wins second term
The Euronews reporter said it's the first time the issue of the island's decades-old division with Turkish Cypriots did not dominate the campaign nor the debate...
Dodge Ram Stresses Unity - and People Are Upset
The 60-second spot, which aired just before halftime, focuses on the theme of service and shows various clips of teachers, soldiers, firefighters and farmers ma...
Trump on DACA: Don't fall for Dreamer trap
Republicans are trying to call Democrats' bluff on DACA, but the Democrats look even more willing to allow a shutdown than they were last month, the analysts ...
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 Next › Last »
Call of Duty Modern Warfare Multiplayer Premiere Set for August 1
New Pokemon Trailer Introduces Gigantamaxing and New Gyms
Apple updates Mac to fix faulty video conferencing app
Google Stadia: iOS and Android Devices Supported at Launch Announced
Tyga Cancels Show in Sweden Following A$AP Rocky Arrest
Special counsel Robert Mueller's hearing could be delayed
Top 11 best moments from Stranger Things season 3
Telstra And CommBank Are Borked Across Australia
Air Canada flight diverted to Hawaii after turbulence, minor injuries reported
Apple will launch notchless iPhone in 2020
South Korea's Moon Denounces Japanese Comments Over Sanctions
Queensland police search for four children as young as 10
Turkey: Russian S-400 Hardware Deployment Continues
American Airlines cancels Boeing 737 Max flights through November
Alexandria Ocasio-Cortez reminds Trump, 'I come from ... the United States'
Trump's Nationwide Immigration Raids Fail to Materialize
Billionaire's New Mexico ranch linked to investigation
USA 'holding off' sanctions on FM Zarif
Macron touts joint European defence pact in annual Bastille Day parade
Trump Lashes Out Against Paul Ryan. Here's Why
Mom charged after girl licks tongue depressor and puts it back
Strong 6.6-magnitude quake rattles off Western Australia
New Zealand gun owners hand over firearms at first buyback event
Trump attacks liberal Democratic congresswomen, tells them to leave the U.S.
69-year-old man dies after attacking migrant jail in Washington state
Theresa May speaks of Brexit frustration in final interview as British PM
Barry downgraded back to tropical storm as it makes landfall in Louisiana
UK PM candidate Johnson: 'Very odd' to involve courts in Brexit decision


text:
<?php
/**
 * Class for encapsulation of database content.
 *
 */
class CContent {

  /**
   * Members
   */
  private $debug;
  protected $db   = null;               // The PDO object
  protected $filter;
  protected $user;
  protected $urlPage;
  protected $urlPost;

  /**
   * Constructor creating a PDO object connecting to a chosen database.
   *
   * @param array $options containing details for connecting to the database.
   * @param array $urls containing urls for page and post.
   */
  public function __construct($options, $urls = array()) {
    $default = array(
      'dsn' => null,
      'username' => null,
      'password' => null,
      'driver_options' => null,
      'fetch_style' => PDO::FETCH_OBJ,
    );
    $this->db = new CDatabase(array_merge($default, $options));

    $default = array(
      'page' => "page.php",
      'post' => "blog.php",
    );
    $urls = array_merge($default, $urls);
    $this->urlPage = $urls['page'];
    $this->urlPost = $urls['post'];

    $this->filter = new CTextFilter();

    $this->user = new CUser($options);
  }

  /**
   * Check for errors in form input.
   *
   * @param array $params containing details for checking the content.
   * @return string the error message if error or false if no error found.
   */
  protected function formCheckForErrors($params) {
    // 0 title
    if (($params[0] == "") || ($params[0] == null)) {
      return "
Title must be at least one character long.
";
    }
    // 1 url
    else if (($params[1] == "") && ($params[4] == "page")) {
      return "
url cannot be empty when type is \"page\".";
    }
    // 2 category
    // 3 data
    else if (($params[3] == "") || ($params[3] == null)) {
      return "
Text must be at least one character long.
";
    }
    // 4 type
    else if (($params[4] != "post") && ($params[4] != "page")) {
      return "
Type must be \"post\" or \"page\".
";
    }
    // 5 filter
    // 6 published
    // 7 userId
    else {
        return false;
    }
  }

  /**
   * Restore the database to its defaults.
   *
   * @return bool true on success or false if not.
   */
  public function restoreDatabase() {
    // Load sql from file
    $sql = file_get_contents(__DIR__ . '/reset.sql');;
    $res = $this->db->ExecuteQuery($sql);
    if ($res) {
      return "
Databasen är återställd
";
    }
    else {
      return "
Informationen sparades EJ.

" . print_r($this->db->ErrorInfo(), 1) . "
";
    }
  }

  /**
   * Output the formular to edit content.
   *
   * @param array $params containing details for editing the content.
   * @return string the form as html.
   */
  public function getAllContent() {
    $sql = '
      SELECT *, (published <= NOW()) AS available
      FROM Content
      WHERE deleted IS NULL;
    ';
    $res = $this->db->ExecuteSelectQueryAndFetchAll($sql);

    // Put results into a list
    $items = "
";
    foreach($res as $key => $val) {
      $items .= "
{$val->type} (" . (!$val->available ? 'inte ' : null) . "publicerad): " . htmlentities($val->title, null, 'UTF-8') . " (id}'>editera getUrlToContent($val) . "'>visa)
\n";
    }
    return $items ? $items . "
" : "
Inget innehåll ännu.
";
  }

  /**
   * Insert new content to database.
   *
   * @param array $params containing details for saving the content.
   * @return string output message (if saved or not).
   */
  public function newContent($params) {
    if ($err = $this->formCheckForErrors($params)) {
      return $err;
    }

    // url
    $params[1] = $params[4] == "post" ? null : $this->slugify($params[1]);

    // filter
    $params[5] = $params[5] == "" ? null : $params[5];

    // published date
    $params[6] = ($params[6] == "") || ($params[6] == null) ? date("Y-m-d H:i:s", time()) : $params[6];

    // created date
    $params[8] = $params[6];

    // slug
    $params[9] = $params[4] == "post" ? $this->slugify($params[0]) : null;

    $sql = '
      INSERT INTO Content
        (title, url, category, data, type, filter, published, idUser, created, slug)
        values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    ';
    $res = $this->db->ExecuteQuery($sql, $params);

    if($res) {
      $page = $params[4] == "page" ? "page" : "blog";
      $url = $page == "page" ? "url={$params[1]}" : "slug={$params[9]}";
      return "
Informationen sparades.

Gå till innehåll: [ Go ]
";
    }
    else {
      return '
Informationen sparades EJ.

' . print_r($this->db->ErrorInfo(), 1) . '

';
    }
  }

  /**
   * Save edited content to database.
   *
   * @param array $params containing details for saving the content.
   * @return string the output message (if saved or not).
   */
  public function updateContent($params) {
    if ($err = $this->formCheckForErrors($params)) {
      return $err;
    }

    // url
    $params[1] = $params[4] == "post" ? null : $this->slugify($params[1]);

    // published date
    $params[6] = ($params[6] == "") || ($params[6] == null) ? date("Y-m-d H:i:s", time()) : $params[6];

    $params[8] = $params[7];

    // slug
    $params[7] = $params[4] == "post" ? $this->slugify($params[0]) : null;

    $sql = '
      UPDATE Content SET
        title     = ?,
        url       = ?,
        category  = ?,
        data      = ?,
        type      = ?,
        filter    = ?,
        published = ?,
        updated   = NOW(),
        slug      = ?
      WHERE
        id = ?
    ';
    $res = $this->db->ExecuteQuery($sql, $params);

    if ($res) {
      $page = $params[4] == "page" ? $this->urlPage : $this->urlPost;
      $url = $page == $this->urlPage ? "url={$params[1]}" : "slug={$params[7]}";
      return "
Informationen sparades.

Gå till innehåll: [ Go ]
";
    }
    else {
      return '
Informationen sparades EJ.

' . print_r($this->db->ErrorInfo(), 1) . '

';
    }
  }

  /**
   * Delete content from database.
   *
   * @param integer $id the id of the content to be deleted.
   * @return string the output message (if saved or not).
   */
  public function deleteContent($id) {
    $sql = '
      UPDATE Content SET
        deleted = NOW()
      WHERE
        id = ?
    ';
    $res = $this->db->ExecuteQuery($sql, array($id));

    if ($res) {
      return '
Innehållet raderades.
';
    }
    else {
      return '
Innehållet raderades EJ.

' . print_r($this->db->ErrorInfo(), 1) . '

';
    }
  }

  /**
   * Output the formular to create new content.
   *
   * @param array $params containing details for creating the content.
   * @return string the form as html.
   */
  public function getNewForm($params) {
    return $this->getForm($params, "Nytt innehåll");
  }

  /**
   * Output the formular to edit content.
   *
   * @param array $params containing details for editing the content.
   * @return string the form as html.
   */
  public function getUpdateForm($id) {
    // Select from database
    $sql = 'SELECT * FROM Content WHERE id = ?';
    $res = $this->db->ExecuteSelectQueryAndFetchAll($sql, array($id));

    if(isset($res[0])) {
      $c = $res[0];
    }
    else {
      die('Misslyckades: det finns inget innehåll med sådant id.');
    }

    // Sanitize content before using it.
    $title     = htmlentities($c->title, null, 'UTF-8');
    $url       = htmlentities($c->url, null, 'UTF-8');
    $category  = htmlentities($c->category, null, 'UTF-8');
    $data      = htmlentities($c->data, null, 'UTF-8');
    $type      = htmlentities($c->type, null, 'UTF-8');
    $filter    = htmlentities($c->filter, null, 'UTF-8');
    $published = htmlentities($c->published, null, 'UTF-8');

    $params = array($title, $url, $category, $data, $type, $filter, $published, $id);

    $this->debug = $this->db->Dump();

    return $this->getForm($params, "Uppdatera innehåll");
  }

  /**
   * Output the formular to create or edit content.
   *
   * @param array $params containing details for saving the content.
   * @param string $legend the legend title.
   *
   * @return string $form the form as html.
   */
  public function getForm($params, $legend) {
    list($title, $url, $category, $data, $type, $filter, $published) = $params;

    $selectType = "<select name='type'>";
    $selectedPost = $type == 'post' ? " selected" : null;
    $selectedPage = $type == 'page' ? " selected" : null;
    $selectType .= "<option value='post'{$selectedPost}>Blogg</option>";
    $selectType .= "<option value='page'{$selectedPage}>Sida</option>";
    $selectType .= "</select>";

    $form = "
    <form method='post' class='contentForm'>
      <fieldset>
      <legend>{$legend}</legend>";
    if (isset($id)) {
      $form .= "<input type='hidden' name='id' value='{$id}'/>";
    }
    $form .= "

          Titel:

          <input type='text' name='title' value='{$title}'/>

          Url:

          <input type='text' name='url' value='{$url}'/>

          Kategori:

          <input type='text' name='category' value='{$category}'/>

          Filter:

          <input type='text' name='filter' value='{$filter}'/>

          Typ:

          {$selectType}

          Publiceringsdatum:

          <input type='text' name='published' value='{$published}'/>

          Text:

          <textarea name='data'>{$data}</textarea>

        <input type='submit' name='save' value='Spara'/>
        <input type='reset' value='Återställ'/>
      </fieldset>
    </form>";

    return $form;
  }

  /**
   * Output the formular to delete content.
   *
   * @param integer $id the content id to be deleted.
   *
   * @return string $form the form as html.
   */
  public function getDeleteForm($id) {
    $form = "
    <form method=post>
      <fieldset>
      <legend>Radera innehåll</legend>
      <input type='hidden' name='id' value='{$id}'/>

Är du säker på att du vill radera innehållet?

<input type='submit' name='delete' value='Ja, radera'/>

      </fieldset>
    </form>";

    return $form;
  }

  /**
   * Create a link to the content, based on its type.
   *
   * @param object $content to link to.
   * @return string with url to display content.
   */
  public function getUrlToContent($content) {
    switch($content->type) {
      case 'page': return "{$this->urlPage}?url={$content->url}"; break;
      case 'post': return "{$this->urlPost}?slug={$content->slug}"; break;
      default: return null; break;
    }
  }

  /**
   * Create navigation menu items from blog and page posts in database.
   *
   * @return array $arr the array to be merged with the menus original menu items.
   */
  public function getNavItems() {
    $arr = array();

    // get pages
    $sql = '
      SELECT * FROM Content WHERE
        type = "page" AND
        published <= NOW() AND
        deleted IS NULL
        ORDER BY published DESC;';
    $res = $this->db->ExecuteSelectQueryAndFetchAll($sql);
    if (isset($res[0])) {
      $arr["page"] = array('text'    => 'Sida',
                           'url'     => $this->urlPage,
                           'title'   => 'Sida',
                           'submenu' => array("items" => array()),
                           );
      foreach ($res as $r) {
        $arr["page"]["submenu"]["items"][$r->url] = array('text'  => $r->title,
                                                          'url'   => "{$this->urlPage}?url={$r->url}",
                                                          'title' => $r->title
                                                          );
      }
    }

    // get posts
    $sql = '
      SELECT * FROM Content WHERE
        type = "post" AND
        published <= NOW() AND
        deleted IS NULL
        ORDER BY published DESC;';
    $res = $this->db->ExecuteSelectQueryAndFetchAll($sql);
    if (isset($res[0])) {
      $arr["blog"] = array('text'  => 'Blogg',
                            'url'   => $this->urlPost,
                            'title' => 'Bloggen',
                            'submenu' => array("items" => array()),
                            );
      foreach ($res as $r) {
        $arr["blog"]["submenu"]["items"][$r->slug] = array('text'  => $r->title,
                                                           'url'   => "{$this->urlPost}?slug={$r->slug}",
                                                           'title' => $r->title
                                                          );
      }
    }

    return $arr;
  }

  /**
   * Create a slug of a string, to be used as url.
   *
   * @param string $str the string to format as slug.
   * @returns str the formatted slug.
   */
  public function slugify($str) {
    $str = mb_strtolower(trim($str));
    $str = str_replace(array('å','ä','ö'), array('a','a','o'), $str);
    $str = preg_replace('/[^a-z0-9-]/', '-', $str);
    $str = trim(preg_replace('/-+/', '-', $str), '-');
    return $str;
  }
}

redpajama_set_name: RedPajamaGithub


text:
A systematic look at the gamma process capability indices
Piao CHEN, Zhi Sheng Ye
Process capability indices (PCIs) are widely used to measure whether an in-control process conforms to manufacturing specifications. The normal distribution is assumed in most traditional applications of PCIs. Nevertheless, it is not uncommon that some quality characteristics have skewed distributions. In such cases, the gamma distribution is an appropriate model and percentile-based PCIs for the gamma process have been studied in the literature. In practical applications of PCIs, it is important to select an appropriate distribution between the normal and the gamma distributions based on historical data. In this study, we first construct a hypothesis test for model discrimination between the normal and the gamma distributions. Asymptotic distribution of the test statistic under the gamma process is derived. We then consider statistical inference for the percentile-based PCIs under the gamma process. The maximum likelihood method is used for point estimation and the method of generalized pivotal quantities is used for interval estimation. We demonstrate the proposed methods by a practical example.
Generalized confidence interval
Generalized pivotal quantity
Probability of correct selection
Ratio of maximized likelihoods
Dive into the research topics of 'A systematic look at the gamma process capability indices'. Together they form a unique fingerprint.
Gamma Process Business & Economics 100%
Process Capability Index Mathematics 92%
Gamma Distribution Business & Economics 52%
Gamma distribution Mathematics 41%
Normal distribution Engineering & Materials Science 36%
Maximum likelihood Engineering & Materials Science 30%
Percentile Mathematics 29%
CHEN, P., & Ye, Z. S. (2018). A systematic look at the gamma process capability indices. European Journal of Operational Research, 265(2), 589-597. https://doi.org/10.1016/j.ejor.2017.08.024
CHEN, Piao ; Ye, Zhi Sheng. / A systematic look at the gamma process capability indices. In: European Journal of Operational Research. 2018 ; Vol. 265, No. 2. pp. 589-597.
@article{58dd904a02fa432e844eb1b74856e431,
title = "A systematic look at the gamma process capability indices",
abstract = "Process capability indices (PCIs) are widely used to measure whether an in-control process conforms to manufacturing specifications. The normal distribution is assumed in most traditional applications of PCIs. Nevertheless, it is not uncommon that some quality characteristics have skewed distributions. In such cases, the gamma distribution is an appropriate model and percentile-based PCIs for the gamma process have been studied in the literature. In practical applications of PCIs, it is important to select an appropriate distribution between the normal and the gamma distributions based on historical data. In this study, we first construct a hypothesis test for model discrimination between the normal and the gamma distributions. Asymptotic distribution of the test statistic under the gamma process is derived. We then consider statistical inference for the percentile-based PCIs under the gamma process. The maximum likelihood method is used for point estimation and the method of generalized pivotal quantities is used for interval estimation. We demonstrate the proposed methods by a practical example.",
keywords = "Generalized confidence interval, Generalized pivotal quantity, Probability of correct selection, Quality control, Ratio of maximized likelihoods",
author = "Piao CHEN and Ye, {Zhi Sheng}",
CHEN, P & Ye, ZS 2018, 'A systematic look at the gamma process capability indices', European Journal of Operational Research, vol. 265, no. 2, pp. 589-597. https://doi.org/10.1016/j.ejor.2017.08.024
A systematic look at the gamma process capability indices. / CHEN, Piao; Ye, Zhi Sheng.
In: European Journal of Operational Research, Vol. 265, No. 2, 2018, p. 589-597.
T1 - A systematic look at the gamma process capability indices
AU - CHEN, Piao
AU - Ye, Zhi Sheng
N2 - Process capability indices (PCIs) are widely used to measure whether an in-control process conforms to manufacturing specifications. The normal distribution is assumed in most traditional applications of PCIs. Nevertheless, it is not uncommon that some quality characteristics have skewed distributions. In such cases, the gamma distribution is an appropriate model and percentile-based PCIs for the gamma process have been studied in the literature. In practical applications of PCIs, it is important to select an appropriate distribution between the normal and the gamma distributions based on historical data. In this study, we first construct a hypothesis test for model discrimination between the normal and the gamma distributions. Asymptotic distribution of the test statistic under the gamma process is derived. We then consider statistical inference for the percentile-based PCIs under the gamma process. The maximum likelihood method is used for point estimation and the method of generalized pivotal quantities is used for interval estimation. We demonstrate the proposed methods by a practical example.
AB - Process capability indices (PCIs) are widely used to measure whether an in-control process conforms to manufacturing specifications. The normal distribution is assumed in most traditional applications of PCIs. Nevertheless, it is not uncommon that some quality characteristics have skewed distributions. In such cases, the gamma distribution is an appropriate model and percentile-based PCIs for the gamma process have been studied in the literature. In practical applications of PCIs, it is important to select an appropriate distribution between the normal and the gamma distributions based on historical data. In this study, we first construct a hypothesis test for model discrimination between the normal and the gamma distributions. Asymptotic distribution of the test statistic under the gamma process is derived. We then consider statistical inference for the percentile-based PCIs under the gamma process. The maximum likelihood method is used for point estimation and the method of generalized pivotal quantities is used for interval estimation. We demonstrate the proposed methods by a practical example.
KW - Generalized confidence interval
KW - Generalized pivotal quantity
KW - Probability of correct selection
KW - Quality control
KW - Ratio of maximized likelihoods
CHEN P, Ye ZS. A systematic look at the gamma process capability indices. European Journal of Operational Research. 2018;265(2):589-597. https://doi.org/10.1016/j.ejor.2017.08.024


text:
Twenty Years Ago: The Misfits Terrorize Action Park
It's amazing how quickly time flies.
Today is the 20th anniversary of The Misfits' "homecoming" show at Action Park in Vernon, NJ. The show marked the conclusion of the band's "Resurrection" tour, which saw them hit the road for the first time since 1983. I was the promoter for this show and worked with Jerry Only for nearly a year to put it together.
To mark the occasion, I've assembled some rarities from the show and time period - many of which have never been seen before. In digging around for stuff, I uncovered an old notebook filled with production notes dating back months before the gig. I'm glad I kept it, as I had completely forgotten that we had considered Life Of Agony, Anthrax and Type O Negative for the bill at one point. I can't recall what happened there (too many years in the rearview), but it was interesting to go back and see that kind of stuff written down.
It was an honor working with Jerry, and I wish him nothing but a life of happiness and success. I hope the upcoming reunion with Danzig kicks ass.
(Go here and here if you're interested in learning more about the Action Park event.)
Show poster by artist Ed Repka
The flier that accompanied the free promo tickets and posters we mailed out to area record stores and radio stations
The check that Jerry wrote me for the deposit for the venue. Note the name of the account at the top left. Kryst the Conqueror was the late '80s band that Jerry and Doyle had with singer Jeff Scott Soto. For Jeff's recollections of the Kryst era, check out this interview.
The special ticket we printed for local stores and some of the opening bands to sell. Can you spot the typo?
The following two photos are of a reel of an unaired radio ad that Jerry recorded for the Action Park show. It was recorded while the band was cutting what later became the "Mars Attacks demos." The ad was only a few seconds long and featured Jerry talking over a clip of "Horror Business." There are only six reels in existence; this is 1/6. Jerry presented this to me after the show as a thank you. (For those who don't know, "Mo" is Jerry's nickname.) The second photo also includes the cassette of the ad.
Jerry's handwritten script for the radio ad
These next two photos are of a special shirt printed up for the show's security team (basically various friends and family). My guess is there were around 25-30 of these, maybe less.
Misfits Fiend Club sticker circa 1996
Twenty Years Ago: The Misfits Terrorize Action Par...
Under the Influence: Roger Earl on Hendrix, Simmon...
SONG PREMIERE: Mike Hudson/Richard Duguay - "Bad B...
A New Trip: Skye and Ross' Life Beyond Morcheeba
Rock and Royalties: Bob Daisley's New Suit Against...
Life Beyond "Vic:" A Chat with Eddie Roxy of Depar...
Sweet Lovely Death: In the Dark with Bloody Hammer...
Reliving the Ritual: Dan Reed Network Makes a Come...
He's the Voice: Inside Jorn Lande's "Heavy Rock Ra...
Stigmas Destroyed: Catching up with Conquer Divide...


text:
Shadowrun Game
2011 | Feb 18 | 19:30
friends | roleplaying games
I haven't really discussed the new Shadowrun game my group here has been playing since Midgard ended. So far I've been really enjoying it and have been pretty disappointed every second week, when the rest of the group plays Pathfinder/D&D 3.5. I feel a lot more comfortable and notice the language barrier much less, probably because of the modern/futuristic setting, and it being set in Seattle, and having had more time to construct my character.
Perhaps too much time… I may have gotten a little silly. Check out my character description:
Natalya "Cygil" Rune:
Stocky dwarf woman with a ruddy complexion, dark hair (when it's not dyed) and asian eyes, generally dresses in comfortable, practical clothes that are rugged and padded due to her off-road motorcycle hobby. In her late teens she had a fit of dwarf pride, and got a fiber optic beard implant as she considers it necessitated by tradition that all dwarfs have beards.
A year and a half ago she lost her job in a chemical manufacturing plant after an explosion on the production line cost her a leg. Since replacing it with a synthetic limb, she has decided to take out her wealth of anger on the corporations that would allow this to happen and on the Man in general. On top of that, she sees systems and institutions as a personal challenge for breaking into. After meeting Torch in an online club and doing some brainstorming about a plan, they turned to shadowrunning and did a couple of small jobs with another team (all of who were killed in their most recent mission) before meeting up with their current group.
If Cygil weren't so busy working on being an angry rebel, she'd probably fit the bohemian style – she enjoys contemporary art like Assemblage and Abstract Expressionism and would probably like Starbuck's old apartment on Caprica, and does some large canvas paintings of her own. She enjoys a variety of avant garde music forms including Ukranian nuclear fuzz-grunge and glitch techno. Cygil enjoys spending free afternoons practicing angry grunge techno music at high volumes on her electronic setup. It is, after all, important to expand the musical tastes of her middle-class neighbors, even that one old guy upstairs who's an anti-meta son of a bitch.
In addition to this silly creation, we have Patrick's hacker, Torch, who is a typical skinny human nerd plus horribly-gelled blond hair in the required big black coat. Apparently he and Cygil know each other from a previous group, although we haven't really roleplayed that aspect. We have Juri's high-society alcoholic elf, Sunra, as our Face and an Amazonian shamanistic elf as our Technomancer, an orc Street Samurai who doubles up with me on our covert ops breaking-and-entering stuff, and one other character, but I unfortunately can't remember which (hey, we've had two games over the past four weeks and some people were only there for one of the two games).
Week 1 was finishing up our character creation, each describing a scene in our normal daily lives, and then meeting the contractor for our assignment. Week 2, we did a bunch of googling and researching, and then drove down to Tacoma. Our assignment: retake a boy who had been violently kidnapped from his family's home and is currently being held by a pack of orcs on their home territory – a terribly run-down apartment building, complete with broken stairwells and unstable balconies. After lots of climbing around on the outside of the apartment building, our orc and I finally arrived at the balcony of the target group's apartment, only to look through the window and see a complete family of orcs sleeping peacefully. The rest of the group, who was doing some more hacking and holding down the basecamp outside, got a call from another employer offering more money and more honesty about the real situation we were being hired for, but ultimately for the same task. It turns out the boy we were supposed to recapture was in reality the son of the family, not brutally kidnapped by them. And that's about as far as we've made it, since there's been all the intervening D&D playing going on.


Typically, you shouldn't eat anything containing chocolate chips before bed – but we won't tell if you don't… shh!
A bubbly blend of coconut, chocolate, and banana. The chocolate chips break down into tiny, sweet tidbits after a few whirls in the blender… to be honest, why even finish reading this list right?
It's late, you've got work tomorrow so you can't spend hours baking a whole batch of cookies, so just microwave a single-serving chocolate chip treat in a coffee mug.
This one is actually a healthy dessert. Grab some low-fat Greek yogurt, a handful of chocolate chips and voilà – you've got a delicious bedtime snack.
So simple yet so amazing – think about it now… the soft moist texture of sweet chocolate chip pound cake, you can't help but already want to reach for that glass of milk to quench your taste buds and enhance your palate.
Of course! Who doesn't love the extra sweetness and texture of chocolate chips mixed with coffee-flavored ice cream.
Fluffy, much like the delicious pound cake – coffee cake has a layer of chocolate chip streusel in the middle and on top. Pass the coffee… we don't care if it's still too hot!


Our purpose is to build and promote interest in collecting and preserving genealogical records. We are here to assist you in finding your ancestors and relatives. We have many resources available to help you with your research, shorten your search and help you with court records. Our Library / Resource Room has been made available to us by the Warren County Commissioners in the New Administration Building at 406 Justice Drive. Our room is located on the lower level. This room is now the home for all books, records, and materials that our Society has collected. The public is welcome to come and use our resources at no charge. Our volunteer staff will be happy to orient you to our library and help you. Email us if you have any questions or need our help. If you would like to donate materials, click here to view our donation policy.
We are closed the same holidays as the Administration Bldg.
Starting in 1981, WCGS had its first mailing address at Marion Snyder's home, 12 W. South Street, Lebanon, OH 45036. For the first year or so, members donated genealogical books they had; all of which fit into a car trunk, and put them on loan for a month or so at various Warren County Public libraries. These stops included: Salem Township Library in Morrow; the Mary L. Cook Library in Waynesville; the Mason Public Library; and the libraries in Lebanon and Franklin. Two of the early dedicated volunteers that did all of this traveling were Helen Hutt & Nancy Burge. The first meetings were held at the cafeteria of the old Lebanon High School, now Berry Middle School. Meetings were later held on the second floor of the Lebanon City Building; and later the Philippi Meeting Room at Otterbein-Lebanon Retirement Center, on S.R. 741 where there was ample parking, and a level entrance to the meeting room. According to Dallas Bogan and his article in the Star Publications of April 14, 1999, page 12B,he wrote "Chet (Chester Dunn) tells the story that when the society was first started five family member sheets were on the agenda for the board members. Bart Gibbons took one look at Chet's chart and said, 'we are cousins.' " Pat Johnson commented, "A Big part of our beginning was the several seminars that we put on at the Presbyterian Church. They were good money makers for us and put us on the genealogy map. The first [seminar] was the biggest, as we had Elizabeth Simpson, a well known London England genealogist. She was friends with Mary Jane Matz, who made arrangements for her to come here while she was in the States. We also had John Heisy from Lancaster, Pennsylvania and George ___ who wrote books on researching your ancestors in various wars ... Back then there were no computers and seminars were an important way to learn how to research."
The WCGS quarterly newsletter, Heir Lines, was first published in September of 1981. For many years we had the Civil War discharges and portions of the deed index published in an ongoing series in Heir Lines.
In August 1983, after letter writing by society members and the help of Judge Bowers, the County Commissioners were to vote on making a room available to WCGS in the old court house. This was announced by Helen Hutt to open in January 1984.
By January 1984 WCGS finally moved to a more permanent location at 300 E. Silver Street, lower level (basement) of Probate Court Building. Judge Bowers made arrangements for WCGS to use two small rooms as a resource center in exchange for answering genealogical queries that came to the Court. Betty Greer and Chester Dunn were the main volunteers. This is where our "library" began. Our collections purchased or donated by charter members had grown to fill one wall about 12 feet deep and 4 shelves high. The WCGS card catalog, referencing names in our Warren County books, was also started at this time. This is when we began asking new members (and old ones) to submit their family group records and pedigrees charts for their Warren County ancestors. Our first big project was an every name index for Beers History of Warren County, Ohio, with each name being written on a 3x5 card. Many volunteers helped by doing a number of pages from the History. Upon completion, Beer's History, was reprinted with our index in it. Some of the other early projects included the cemetery transcriptions and copying the 1880 Warren County, Ohio census by hand. Chester 'Chet' & Betty Dunn and the late Evelyn (Hall) Preest visited and transcribed tombstones from virtually every cemetery in Warren County.
The Warren County Genealogical Society moved to the second floor of the Academy Building at 190 New Street, P. O. Box 296, Lebanon, Ohio 45036, about December 1997, while the new administration building was being built. Some of the faithful volunteers included: Chester Dunn, Dallas Bogan, Bob Mehl, Ruth Justison, Helen & Ralph Hutt, Dorothy Linkous, Bobbi Apking and Chuck Griffen. Knowing the need for expanded space, the county commissioners provided WCGS the opportunity to help plan our resource center/library in the lower level of the new administration building next to Warren County Archives.
The Warren County Genealogical Society moved to its present location in the lower level of the new Administration Building, 406 Justice Dr., Lebanon, Ohio 45036, on May 25, 2001. This new move made our records much more accessible to researchers and county employees. Our indexes have been a great resource to Archives and other county departments.
With our ambitious projects and new acquisitions we have created a very well organized research library. We have many master indexes for various records searchable online at our website or on our computers in our library.
We have over 117 of our own publications available for purchase with at least 15 others scheduled for released sometime in the next few years. We also have at least 10 other Warren County related books published by various authors, which are available for sale through us.
To date we have over 300 members in our society. About half of these memberships are for out-of-state researchers. We would love to have you join our society. Current membership is $10 for single members, $15 per couple, or $200 for life membership. Click here for our membership application (pdf).
We exchange with more than 85 other quarterlies from genealogical societies, historical societies and libraries in Ohio and nationwide.
Our stacks now shelf over 3000 genealogical, family books, town histories and smaller family folders. Many of these are for Ohio, specifically Warren County, but we do have others in various areas statewide, nationally, and internationally including state reference books for Indiana, Kentucky, Virginia and Maryland. Numerous how-to-do it books regarding genealogical research can also be found on our shelves. We are always trying to add to our collection. If you have any resources you would like to donate, please email us.
We have over 142 microfilms, many of these for local newspapers, census records and probate records.
We have over 50 genealogical CD's as well as 70 CD's from World Family Tree.
We enjoy using our 3 copiers ( 2 large and 1 transportable); 4 computers, 1 scanner and 1 microfilm / microfiche readers.
Currently we are working on digitizing tombstones called our "Virtual Cemetery" from all the cemeteries in our county; and also creating a master probate index including the years 1803-1996. If you would like to help with these or any of our other projects, please click here to be redirected to our project page.
Russell & Evelyn Bartlett Dan Ledbetter, Jr.
These are some of the resources we have in our library.


text:
Q: TFLite: Micro mutable Op Resolver does not name a type I am trying to compile a TFLite micro-based Arduino sketch using MicroMutableOpsResolver class (to only include required operations for reducing the memory usage).
Though see similar usage in TF lite example here - https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/examples/micro_speech/micro_speech_test.cc
But keep hitting the below compilation error.
IMU_Classifier_TinyML:22:1: error: 'micro_op_resolver' does not name a type
 micro_op_resolver.AddFullyConnected();
 ^~~~~~~~~~~~~~~~~
IMU_Classifier_TinyML:23:1: error: 'micro_op_resolver' does not name a type
 micro_op_resolver.AddSoftmax();
 ^~~~~~~~~~~~~~~~~
IMU_Classifier_TinyML:24:1: error: 'micro_op_resolver' does not name a type
 micro_op_resolver.AddRelu();
 ^~~~~~~~~~~~~~~~~
Using library Arduino_LSM9DS1 at version 1.1.0 in folder: /home/balaji/Arduino/libraries/Arduino_LSM9DS1
Using library Wire in folder: /home/balaji/.arduino15/packages/arduino/hardware/mbed/1.3.2/libraries/Wire (legacy)
Using library Arduino_TensorFlowLite at version 2.4.0-ALPHA in folder: /home/balaji/Arduino/libraries/Arduino_TensorFlowLite
exit status 1
'micro_op_resolver' does not name a type

The code snippet looks as below:
#include <Arduino_LSM9DS1.h>
#include <TensorFlowLite.h>
#include <tensorflow/lite/micro/micro_mutable_op_resolver.h>
#include <tensorflow/lite/micro/kernels/micro_ops.h>
#include <tensorflow/lite/micro/micro_error_reporter.h>
#include <tensorflow/lite/micro/micro_interpreter.h>
#include <tensorflow/lite/schema/schema_generated.h>
#include <tensorflow/lite/version.h>

// Include the TFlite converted model header file
#include "model.h"

const float accelThreshold = 2.5;
const int numOfSamples = 119; // acceleration sample-rate

int samplesRead = numOfSamples;

tflite::MicroErrorReporter tfLiteErrorReporter;

/*Import only the required ops to reduce the memory usage*/
static tflite::MicroMutableOpResolver<3> micro_op_resolver;
micro_op_resolver.AddFullyConnected();
micro_op_resolver.AddSoftmax();
micro_op_resolver.AddRelu();

Am I missing any dependency or could this be due to TF lite version mismatch?

A: At least the function calls like micro_op_resolver.AddFullyConnected(); must be placed into a function body. Something like this should compile:
#include <Arduino_LSM9DS1.h>
#include <TensorFlowLite.h>
#include <tensorflow/lite/micro/micro_mutable_op_resolver.h>
#include <tensorflow/lite/micro/kernels/micro_ops.h>
#include <tensorflow/lite/micro/micro_error_reporter.h>
#include <tensorflow/lite/micro/micro_interpreter.h>
#include <tensorflow/lite/schema/schema_generated.h>
#include <tensorflow/lite/version.h>

// Include the TFlite converted model header file
#include "model.h"

const float accelThreshold = 2.5;
const int numOfSamples = 119; // acceleration sample-rate

int samplesRead = numOfSamples;

tflite::MicroErrorReporter tfLiteErrorReporter;

/*Import only the required ops to reduce the memory usage*/
static tflite::MicroMutableOpResolver<3> micro_op_resolver;

void setup() {
  micro_op_resolver.AddFullyConnected();
  micro_op_resolver.AddSoftmax();
  micro_op_resolver.AddRelu();
}

void loop() {
  // put your main code here, to run repeatedly:

}


text:
AHI's Kraig Kayser Appointed to Board of Directors Seneca Foods
The Alexander Hamilton Institute for the Study of Western Civilization (AHI) congratulates Kraig Kayser on his appointment to the board of directors of Seneca Foods Corporation. Mr. Kayser, also a member of AHI's board of directors, will sit on Seneca's Foods' nine-person board as "non-executive Chairman." He fills a vacancy that resulted from the passing of the Company's Founder and Chairman, Arthur S. Wolcott. Mr. Kayser had previously served as President and Chief Executive Officer of Seneca Foods from 1993 to 2020 and from 1991 to 1993 as its chief financial officer.
Seneca Foods is one of North America's leading providers of packaged fruits and vegetables. The company has facilities located throughout the United States. In the second quarter of 2021 the company reported net sales earnings of almost 400 million dollars.
Mr. Kayser earned a B.A. from Hamilton College in 1982, majoring in economics, and an M.B.A. two years later from Cornell University. He now serves on the board of trustees of Cornell University. While a member of The Rochester Institute of Technology's board of trustees, he played a crucial role in supporting the initiative that led to the creation on campus of an AHI affiliate, the Center for Statesmanship, Law, and Liberty, directed by AHI Senior Fellow Joseph Fornieri.
"Kraig Kayser combines business acumen with erudition," observed AHI President Robert Paquette. He joined our merry band early on because he shared our concerns about the declining course of higher education in this country and wanted to enter the arena to do something about it. Kraig is a true patriot with interests in economics, history, law, and politics. Since joining AHI's board, he has not only been a generous donor, but a dear friend to me as well as a ready source of counsel to our organization. Seneca Foods has elevated to its board a man of obvious ability and rare integrity."
Anne Kush2022-06-04T02:38:51+00:00November 18th, 2021|Academic Programs & Resources, Affiliates, Initiatives, News & Events, ShowOnSite|0 Comments


The London Stock Exchange Group (LSEG) in collaboration with the Ministry of Energy, Ministry of Petroleum & Mining, and the Nairobi Securities Exchange hosted the "Kenya Energy & Petroleum Capital Markets Day", on 29th October 2018 at the LSEG offices, in London.
The meeting followed the signing of a Memorandum of Understanding (MOU) between LSEG and the Ministry of Energy in May 2017. The MoU focused on the dual listing of the National Oil Company of Kenya both in Nairobi and in London to raise capital for Kenya's energy industry, through public market equity and debt listings and assembling key stakeholders to establish an effective dual-listing framework for equity listings in London and Nairobi. It covered a range of topics including the role of the Capital Markets in Supporting H.E. the Presidents Big Four Agenda and Kenya Energy & Infrastructure Financing and Local Currency Solutions.
Hon. Harriet Baldwin, Minister of State for Africa at the Foreign and Commonwealth Office and Minister of State at the Department of International Development attended the Conference. The Kenyan Delegation to the Conference was led by the Principal Secretary, State Department of Petroleum Mr. Andrew Kamau who was accompanied by Mr. Samuel Kimani the Chairman of the National Securities Exchange, Mr. Geoffrey Odundo the Chief Executive Officer National Securities Exchange, Mr Paul Muthaura Chief Executive Capital Markets Authority, Mr Brian Muruiki, Country Manager Kenya Shell & Chairman, Kenya Oil and Gas Association, Mr Kariithi Kibuga Kinyua, Chairman, National Oil Company of Kenya, Mr Joseph Sitati, Non- Executive Director, Kenya Electricity Generating Company and officials from the Kenya High Commission led by the Acting High Commissioner Mrs Grace Cerere, among others.
In her statement Hon. Harriet Baldwin noted that Kenya has a stable and conducive investment environment and applauded the continued efforts by the Government to create a business friendly environment. She added that during the recent visit by the Rt. Hon Teresa May to Kenya, the Prime Minister emphasized that economic relations between the United Kingdom and Kenya are expected to continue uninterrupted after Brexit and that Kenya would continue to enjoy the current duty and quota free entry into the United Kingdom Market.
The LSEG Chief Executive Officer, Mr. Nikhil Rathi in his intervention emphasized that the LSEG supports Kenya's international sovereign bond listings in London and are committed to working in partnership with the country to support the development of local currency and green bonds. He added that LSEG has a strong technology partnership with Nairobi Securities Exchange, providing technology for equities trading platform.
A 'Kenya Housing Roundtable' was hosted by GuarantCo on Monday 29th October 2018. In addition, the LSEG, PwC and GuarantCo hosted a 'Financing Infrastructure through Local Currency Solutions' Roundtable on 30th October 2018.


The Mobility variation of the Peli 1610 case is suitable for all-terrain as it features larger wheels and a stability block.
The 1610 Protector Case features four double-step latches, two padlock protectors and two rubber over-moulded carrying handles.
The retractable extension handle and large heavy duty polyurethane wheels make the 1610 Mobility easy to transport across most terrain. The case is water resistant, dust resistant and crushproof.


text:
Q: SpriteKit linearDamping - maximum? Note that Apple's doco asserts
https://developer.apple.com/documentation/spritekit/skphysicsbody/1519796-lineardamping

This property is used to simulate fluid or air friction forces on the body. The property must be a value between 0.0 and 1.0. The default value is 0.1. If the value is 0.0, no linear damping is applied to the object.

In fact: you can set values higher than one - so, "10.0" and "20.0" work perfectly; 1, 10 and 20 are all very clearly different.

*

*has anyone probed in to this and discovered if there is actually a maximum?  (If it just asymptotes away, what's the realistic range?)

A: The Apple doco is simply wrong.
Just to answer my own question, in iOS:
The actual documentation:

This property is used to simulate fluid or air friction forces on the body. The property must be a value between 0.0 and 1.0. The default value is 0.1. If the value is 0.0, no linear damping is applied to the object.

is simply wrong.
A value of about 10 to 15 is typical when you want typical "strong damping" like in many physics scenes.
I very often use values of 2 or 3.  And "10" is our value for "very thick honey".


Scholars@ODU curates and visualizes scholarship, teaching, expertise and other professional activities by ODU faculty and makes the information easily searchable. This scholarship and expertise discovery tool is available to anyone looking to connect with ODU instructors and scholars. Experts can be found by searching or by browsing through co-author and co-investigator networks which link scholars and their output across disciplines at the University.
The information displayed in ODU Scholars profiles is pulled from authoritative source systems and is customizable by the profile's owner or proxy designee. Publications, grants, and other research-related data are stored in the Faculty Activity System (FAS). Contact and position information is pulled from Banner and managed in Monarch Profile Manager (MPM). Click here to customize your MPM data. For more information on how to designate a proxy or manage your data in FAS, click here.
Scholars@ODU is part of a joint-implementation of VIVO by the Southeastern Universities Research Association (SURA). VIVO was developed at Cornell University and is an open source member-supported software platform for representing scholarship online.


text:
Fou d'amour est le titre de plusieurs œuvres artistiques :
 Fou d'amour, film français de Paul Mesnier (1943)
 Fou d'amour, téléfilm germano-suisse d'Anna Luif (2010)
 Fou d'amour, film français de Philippe Ramos (2015)

redpajama_set_name: RedPajamaWikipedia


text:
Underwood is a community in the Regional Municipality of York in  Markham, Ontario, Canada that is located at the corner of Warden Ave between Birchmount Road and Steeles Avenue, north up to Hwy 7. Underwood is considered part of Downtown and Uptown Markham. It is likely considered to be part of Milliken.

The former farm land disappeared in the 1980s and is now occupied by single family homes. The north edge of the area is occupied by commercial parks.

The place is named for Underwood, Nottinghamshire in England.

References

Neighbourhoods in Markham, Ontario
1805 establishments in Upper Canada


text:
Some Defects of Voice and Speech in Children.
by Mrs. Emil Behnke.
Teacher of Voice Culture to Singers, Speakers and Stammerers.
Volume 4, 1893/94, pgs. 517-521
Voice, which is the organ of our thoughts, is one of the most wonderful and beautiful of the gifts of nature to mankind, and its possession places us immeasurably above the rest of animate and inanimate creation. The vocal sounds emitted by animals are devoid of music; and although the notes of the song-birds are charming, they do not compare in beauty with the cultivated human voice, with its power of giving expression to every passion and emotion which the human heart is capable of feeling.
This peculiar quality appears to be inherent in the human race: even the infant is able intuitively to express its desires by the tones of its voice. Pain, pleasure, hunger, temper, which comprise the whole world of its emotional capacities for the time being, can be recognized in its cries long before it has learnt by imitation to express itself in words.
Amongst English-speaking people the voice is often used in a very faulty manner, and much of this may be traced to the want of refined and educated supervision in the nursery, where sufficient care is not exercised to counteract the bad vocal and speech habits into which children fall. These are particularly disagreeable to the cultivated ear, and are often only overcome with difficulty in adult life, the voices of many persons being always tinged with the objectionable tone-colour acquired in childhood. It is as necessary for children to chatter at play as it is for them to incessantly move their limbs by running and jumping and skipping about, the growing muscles need the exercise; but coarse shouting and harsh tones should not be permitted, and it is easy to train the little ones to recognise and avoid them. There is nothing which young people imitate more instinctively and unconsciously than tones, inflections, modulations and pronunciations. As our children's nurses, governesses, friend and associates speak, so do our children. This faculty of imitation which we retain in adult life to a greater or lesser degree, may be turned to good account by taking heed that the vocal sounds heard by our little mimics are all pure and true, and that pronunciation is clear, distinct, accurate, and refined. It is a singular fact that defects of voice and speech are far more readily adopted by children than correct methods. The grasseyed r and the throatal or guttural r of some foreign nurses and governesses; every form of provincialism or cockneyism, a lisp, a nasal twang, a stammer, are frequently reproduced by the little ones with painful accuracy, and their eradication gives much trouble in after life. One case of inability to trill the r prevented a clever woman from obtaining a good engagement on the stage. She was, however, determined to conquer her faulty pronunciation which had been acquired by imitating a foreign nurse, and after three or four months' lessons and constant practice, she surmounted the difficulty and became a very successful actress with clear and good enunciation.
Lisping and the mispronunciation of th are sometimes occasioned by mere indolence, but more frequently by too large a tongue, by a defective formation of the hard palate, or by the shape and position of the teeth. When these faults arise from carelessness or inertness they may easily be corrected by judicious training. There is no difficulty in demonstrating the position of the tongue for pronouncing these letters correctly, and with ordinary care and determination it is soon accomplished.
A young barrister cause a roar of laughter in court by saying "Zentlemen of the Zury, the prithoner at the bar thandth accuthed of a motht heinouth crime," etc.! His friends being accustomed to his lisp, did not notice it, and he was considerably disconcerted to find the ludicrous effect his speech defect produced. About a dozen lessons put him in possession of the right pronunciation of our frequently recurring sibilant, and he no longer causes a smile by saying "Yeth, my lud."
A very curious mispronunciation of s is caused by a tight closure of the tongue against the palate, and the forcible expulsion of the air along the side teeth, between them and the cheeks. An unpleasant bubbling sound is thereby caused. This defective pronunciation is particularly difficult to cure, whether in children or adults, and it should be checked as soon as the habit is observed.
Where lisping is caused by defective formation of the palate, or by the position of the teeth a good specialist, and afterwards a dentist may be consulted. If it owes its origin to the tongue being too large for the mouth, exercises can be used devised by the late Emil Behnke, which will give command over its movements in a way quite astonishing to those who have never studied how to obtain voluntary control over supposed automatic muscular action.
The substitution of f for v, b for p, and vice-versa, is very common amongst children. The method of correction is so obvious that it would be waste of time to dilate upon it.
Quite as common, but more difficult of removal, are the vulgar habits of dropping the final g, or replacing it by k. The words in which these offences are most frequently perpetrated are something, nothing, and everything, which are as often pronounced without the final g (somthin', nothin'), as they are called somethink, nothink, everythink. As bad a fault is substituting the hard g used at commencement of syllables for the soft g which follow n at the end of words ringing, singing. (The incorrect sound given to these g's is that of g in gun). In a certain Midland town a part song was being taught to a class of ladies and gentlemen. The words ringing and singing occurred repeatedly in the refrain, and the singers pronounced the g's hard, the effect being most comical. After trying in vain for some time to get the correct pronunciation of the words, the teacher had to abandon the song for another in which there was no opportunity for the display of this marked provincialism.
Perhaps of all the consonants the letter r receives the worst treatment. Like the letter h it suffers from sins of omission and of commission, and it is also shockingly maltreated in its pronunciation, not only by children but by adults. It is left out at the end of words where it should be trilled on to the next vowel; it is even suppressed in the middle of words. How often one hears "mod'n" for "modern," "tav'n" for "tavern," "east'n" for "eastern!" At the end of words ah frequently takes the place of r, and w does duty for it at the beginning of many others. It is put where it has no business to be, between words ending and commencing with vowels, as "I saw-r-a man," "Victoria-r-our Queen." Many adults prefix r with w, saying wran, wrob, and the habit of using w instead of r after p and b is often continued in adult life. In Scotland and in the north of England only one pronunciation of r is used by the majority of the people, namely, the rolled or trilled r. It is the custom to laugh at Southerners for not trilling the letter in every word, but the Northerners are at fault in their pronunciation of it. They seem to be unaware that there are three well-defined ways of sounding r according to its position with regard to other consonants or vowels, the consonantal r, the vowel or liquid r, and the throatal r. To ignore the tow latter and to use only the consonantal or trilled r is as great an error as the habit of putting r between two words, the one ending the other commencing with a vowel: as "the idea-r-of it."
L is occasionally substituted for r with droll results. Said a boy to a visitor, "I've had such a lot of lice, I'm so uncomfortable!" His horrified listener, who had involuntarily drawn away from the boy, was glad of the explanation that the child always pronounced r like l, and the he meant to say he had eaten too much rice for dinner! The abuse of the letter h is far less common than it was twenty years ago, but it is still omitted or misplaced by some persons. We have heard of the wealthy parvenu who, displeased that his fish was not sent hot to table, told his footman to ask the cook to 'eat the fish and bring it up again when it was a little 'otter!
Mispronunciation of vowels is a very common fault, and it is surprising to note how many inaccurate shades of sound may be given to them. It is, however, difficult to represent them on paper. A, o and i suffer the most; indeed if greater care be not exercised to ensure correctness of sound in these letters, their true pronunciation will be lost.
The foregoing are a few of the most general faults of pronunciation which can all be traced to the imitation by children of bad models, and they can easily be corrected by the exercise of patient patterning. The innumerable errors of local dialects and provincialisms are obviously out of the scope of this article.
A frequent cause of after trouble to the little ones is the absurd habit indulged in by parents and nurses of talking "baby language" to them. Why must the poor little ones firth learn to call a horse "gee-gee"; their own feet "tootsie-wootsies," and so on. These idiotic expressions must subsequently be dropped and correct appellations be learnt. Instead of repeating infantile babble, and the childish attempts at talking, it would be more sensible if parents and nurses exercised the greatest care always to speak clearly and correctly to their little ones. Unfortunately the English people are sadly at fault in their manner of speaking their grand and noble language. Not only are words badly articulated and enunciated, but actual mispronunciations and bad grammar are allowed to pass, even by those who may claim to be educated persons. All beauty and sonority of tone are eliminated from our language, and it is charged with being hard, rough, and unvocal; whereas if properly spoken, it is second only to the Italian.
(To be continued.)
Parents Review Vol. 4 P. 581-584
Part II.
We must now consider some voice and speech defects which are neither so simple nor so easily removed as the foregoing.
The voices of some children sound as though they were suffering from perpetual cold in the head. There is a peculiar muffled tone, and a difficulty in pronouncing m, n, b, and p. If no other symptom of a cold be present, and if the condition continue, skilled advice should be sought, as very much subsequent trouble may thereby be avoided.
Nasal tone, i.e., sending the tone through the nose instead of through the mouth, is another bad vocal habit, in regard to which we must remember that although it is occasionally the result of imitation, it is far more frequently caused by weakness and relaxation of the soft palate and uvula, and by enlarged tonsils. It is also sometimes accompanied by growths in the post-nasal passages, which greatly interfere with freedom in breathing. These conditions require medical aid. If a child habitually has the mouth open by day and by night, and if constant reminder does not enable him to overcome the habit, we may form the conclusion that he is unable to obtain a sufficient supply of air through the proper respiratory passagethe noseand unconsciously resorts to the pernicious habit of mouth-breathing. A good specialist should at once be consulted, and the impending growths reduced or removed.
Cleft palate, and other congenital malformations of the organs of speech are somewhat frequently met with; and it was formerly considered impossible to effect permanent improvement in such cases. But the great advance which has been made of late years in the manufacture of surgical appliances, and the high degree of skill to which mechanical dentistry has reached, have enabled many a patient to enunciate with a fair amount of distinctness, who had before been practically speechless. There is, however, as a rule, much which the voice-trainer has to do before perfect speech is obtained by the person afflicted with malformation of any part of the vocal and speech apparatus, after the surgeon and the dentist have completed their part of the work, especially in the removal of the unpleasant and strongly marked nasal quality of tone, and the mispronunciation of the majority of the consonants.
Mouth breathing, which is productive of serious throat affections, is a far more common fault than may at first be supposed. The mouth was never made for inhaling the air; that is the office of the nose, which is a natural respirator, being lined with tiny little cilia, which are incessantly moving to and fro, arresting and sifting from the air the dust and dirt and all foreign matter contained in it, thus filtering it and making it pure before it goes into the lungs. These particles are again thrown out of the nostrils, either by the outward passage of the breath or by blowing the nose. Another good office which is performed by the nose is temperating and moistening the air in its way through the long, narrow, winding passages; so that on arriving at the vocal apparatus the air has become sufficiently warmed not to chill the delicate surfaces. Now, nowhere in the mouth, throat, or windpipe is there any provision made for thus cleansing the air of its many impurities, or for warming it; therefore breath taken through the mouth finds its way into the lungs laden with the dirt, poisonous exhalations and other matter, which would be sifted out of it in its passage through the nasal channels. It would be easy to fill many pages on the dangers of mouth breathing, but all that space will allow is an emphatic and earnest injunction to mothers to encourage the habit of nose breathing in their children.
By no means an uncommon trouble is the distressing complaint, stammering or stuttering. There is a difference between the two forms of defect, [See Stammering: Its Nature and Treatment, by Emil Behnke, & Mrs. Emil Behnke.] but it is not so great as is often supposed, and for practical purposes the terms may be considered as almost interchangeable. The causes of this sad ailment are numerous. It would be difficult to find anything short of disease which exercises so serious and injurious an influence on the lives and characters of those so afflicted.
Every occupation, except manual labour, and all the professions are closed to the poor stammerer. The army and navy, the bar, the church, the stage, teaching: in short, any vocation where speech is required is impossible to him. He too often becomes from early childhood the butt for teasing, ridicule, and sarcasm. Self-consciousness and nervousness increase, until morbid shyness and the dread of making himself a laughing-stock or an object of pity cause him to remain silent when he might join in conversation, and he shrinks more and more from his fellows, until he eventually becomes a misanthrope, and his whole life is embittered.
As a rule, stammering commences in early childhood, and it may be that judicious training on a physiological basis would check the evil at its commencement. Unfortunately the majority of parents, and even of medical men, pay little attention to the trouble from the mistaken notion that the child will "grow out" of stammering. In some few instances, as self control increases, the speech defect diminishes; but this only comes at mature age when the best part of a man's life has been passed. In the vast majority of cases the child will no more grow out of stammering than he will grow out of physical deformity.
The exciting causes of this speech trouble are numerous, and many of them must be dealt with be medical treatment before the actual stammering can be removed. But medical and surgical treatment alone cannot break through old habits of speech and create new ones; this must be carefully and patiently accomplished by the skilled teacher.
Is stammering curable? is a question often asked of the writer. From long and varied experience in every form of this distressing malady in sufferers of all ages, from nine years old up to sixty, I can unhesitatingly answer in the affirmative. If all exciting causes are first removed, and sufficient time and determination given to carrying out the method of cure, all stammering, with the one exception of that which proceeds from the brain, accompanied by idiocy or lunacy, can be successfully treated. Even in stammering of the latter type, cures of the speech trouble have been effected, and the brain power developed to an extraordinary extent. These are always very difficult, but very interesting cases; the pleasure of giving not only freedom of speech, but of lifting a fellow creature from the dark night of clouded intellect is very great.
One serious drawback to complete success of cure is the almost universal unwillingness to devote sufficient time to the work. Three months is the minimum of time for even slight cases, while many severe forms of stammering require from six to twelve months of constant and careful treatment. When we consider that old speech habits have to be unlearned and entirely new ones formed; that regular and rhythmic action of the muscles concerned in the formation of voice and speech must be acquired, in the place of the jerky and spasmodic movements of the stammerer, and that all this ahs to be made second nature to him, one wonders that it is possible to produce good and lasting results even in a year, although as a fact but very few cases require more than half that time, and some much less. A remarkable case at present under my care is that of a lady thirty years of age, who had always been a very bad stammerer, and who had previously been treated by a gentleman during many weeks, with the result that the trouble became worse instead of better. After three days' lessons with me she ceased to stammer, and has never had the slightest relapse during her three months' residence in my house. Her relatives and friends, some of them medical practitioners, are naturally astonished and delighted.
The question is frequently asked: how young can children be taken in hand for cure of speech trouble. As a rule the speediest results are obtained between the ages of fourteen and twenty-five. Quite young children, having little or no self control, forget almost as soon as they are taught. If they could remain a year or more under treatment they would certainly be perfectly cures; and when we remember how sadly a child is hindered in education and in mental development by a speech defect, we must admit that no sacrifice can be too great to remove that defect.
It is impossible to write rules for the cure of stammering.
No two persons stammer alike, therefore each case must be dealt with according to its peculiar idiosyncrasies, and the treatment modified or changed to meet the various phases of the trouble. But let no speech-sufferer despair; patience and perseverance in the right method of cure will ultimately give unfettered speech.


Built on distributed ledger technology, our platform enables greater transparency, efficiency, privacy and security for organisations and vulnerable communities.
The Disberse Network is a peer-to-peer network of partner nodes, built on distributed ledger technology and using smart contracts to automate transactions.
This innovative approach will change the way in which aid finance flows. As well as creating a more resilient and efficient platform for fund management, it will improve tracking and analysis.
We believe that DLT can deliver significant value for the aid industry, but not necessarily inside organisations - instead we have built a DLT-based platform as a financial service, enabling faster, more efficient and more transparent transactions.
We believe that the aid industry should be more transparent, so we want to lead by example. We actively look to integrate with other service providers to create an ecosystem of financial services for the aid industry.
Want to learn more about our company, our service, or our work?
Disberse Ltd is a company registered in England and Wales No. 10394076. Disberse Ltd is authorised by the Financial Conduct Authority in the United Kingdom under the Electronic Money Regulations 2011, Firm Reference 900848.


Showcasing a spa center and hot tub, Four Seasons Hotel TianJin is located in Tianjin, just 1.1 km from Five Main Avenues. Guests can enjoy the on-site bar. Free WiFi is provided throughout the property and free private parking is available on site.
A flat-screen TV with cable channels and DVD player, as well as an iPad are available. There is a coffee machine and a kettle in the room. All rooms are equipped with a private bathroom. For your comfort, you will find bathrobes, slippers and free toiletries.
There is a 24-hour front desk, an ATM, a shared lounge and a hairdresser's at the property.
The hotel also provides car rental. Binjiang Avenue shopping street is 1.3 km from Four Seasons Hotel TianJin, and Tianjin Italian Style Town is one kilometer away. The nearest airport is Tianjin Binhai International Airport, 12.9 km from the property.
Heping is a great choice for travelers interested in architecture, food and street food.


Bay, face, chin and lower jaw white, white at throat latch, forelegs white to knees, hind legs white to hocks, white flecks on chest, white splash on left lower chest, belly white.
Gelding, born April 04, 2003; by M12518 - OLDE PINE TREE DONEGAL.
Mare, born February 09, 1996; by M14653 - AYTON PERFECTION 25099 GB 32724 CN.
Mare, born February 17, 1994; by M14653 - AYTON PERFECTION 25099 GB 32724 CN.
Mare, born January 26, 1993; by M14653 - AYTON PERFECTION 25099 GB 32724 CN.


text:
The Writers Revolt : Planet Money In April, 7,000 TV writers across the U.S. fired their agents. All on the same day. | Subscribe to our weekly newsletter here.
The Writers Revolt
The Writers Revolt 22:32
subscribe to Planet Money podcast
NPR One
December 25, 201912:00 PM ET
Alexi Horowitz-Ghazi
Ted Robbins
Noel Vasquez/Getty Images
In Hollywood, "packaging" has been a longstanding industry practice: An agency assembles a group of clients--such as a writer, an actor, and a director--and pitches them all together to a studio or network. Then, instead of collecting a commission from its individual clients, the agency gets a fee from the studio once the project is sold and airs.
David Simon, creator of The Wire, and thousands of other screenwriters with the Writers Guild of America, say that's killed any incentive for their agents to negotiate on their behalf, and think that the agents are grabbing more than their fair share of the profits. So, in April 2019, 7,000 writers all over the U.S. fired all of their agents, all on the same day.
Find us: Twitter / Facebook / Instagram
Subscribe to our show on Apple Podcasts, Pocket Casts and NPR One.
Get your fair share of Planet Money. Subscribe to our weekly newsletter
See Planet Money sponsors and promo codes


text:
AUSA to lodge police complaint over Rice visit
Friday, 25 July 2008, 9:32 am
Press Release: Auckland University Students Association
Media Release – 25 July 2008 – For Immediate Use
Representatives of the Auckland University Students' Association (AUSA) will lodge a formal complaint over United States Secretary of State Condoleezza Rice at the Auckland Central Police station at 2.30pm this afternoon.
Yesterday AUSA offered any Auckland University student a $5000 reward if they are able to make a successful citizen's arrest of United States Secretary of State Condoleezza Rice during her visit to Auckland this weekend, for her role in overseeing the illegal invasion and continued occupation of Iraq.
"While we still hope an Auckland University student might be able to make a successful citizen's arrest of Rice, we are also pursuing official channels available to us to have this war criminal arrested," said AUSA President David Do.
"Student associations in New Zealand have a long history of being involved in fighting for global justice, dating back to student involvement in the 1981 anti-Springbok tour protests and the US war in Indochina in the 1960s and 1970s. By opposing Rice's visit and seeking her arrest we seek to continue that proud tradition," says David Do.
"We believe that Rice's involvement in the authorisation of the torture of suspected terrorists is a crime under two separate New Zealand statutes, the Geneva Conventions Act 1958 and the Crimes of Torture Act 1989*, and are asking the New Zealand Police to arrest and prosecute Rice for her involvement in these crimes," says AUSA International Affairs Officer Omar Hamed.
"Rice's authorisation of the use of physical torture of suspected terrorists including simulated drowning (waterboarding) and physical assaults would make Rice liable to be prosecuted and sentenced to up to fourteen years under New Zealand law. We hope the Police act swiftly to bring to justice someone whose crimes stretch across oceans," concluded Mr Hamed.
*Supplementary notes of these statutes are attached.
Supplementary information about relevant New Zealand statutes
Geneva Conventions Act 1958, Section 3(1)
"Any person who in New Zealand or elsewhere commits, or aids or abets or procures the commission by another person of, a grave breach of any of the Conventions or of the First Protocol is guilty of an indictable offence."
http://www.legislation.govt.nz/act/public/1958/0019/latest/DLM318045.html#DLM318045
Crimes of Torture Act 1989, part 1, section 4
Jurisdiction in respect of acts of torture
No proceedings for an offence against any of the provisions of section 3 of this Act shall be brought unless—
(a) The person to be charged is a New Zealand citizen; or
(b) The person to be charged is present in New Zealand; or
(c) The act or omission constituting the offence charged is alleged to have occurred in New Zealand or on board a ship or an aircraft that is registered in New Zealand.
News story: 'Sources: Top Bush Advisors Approved 'Enhanced Interrogation'
http://abcnews.go.com/print?id=4583256
"The most senior Bush administration officials discussed and approved specific details of how high-value al Qaeda suspects would be interrogated by the Central Intelligence Agency…
…The so-called Principals who participated in the meetings also approved the use of "combined" interrogation techniques -- using different techniques during interrogations, instead of using one method at a time -- on terrorist suspects who proved difficult to break…
…the Principals Committee included Vice President Cheney, former National Security Advisor Condoleezza Rice, Defense Secretary Donald Rumsfeld and Secretary of State Colin Powell, as well as CIA Director George Tenet and Attorney General John Ashcroft…As the national security adviser, Rice chaired the meetings…
…Critics at home and abroad have harshly criticized the interrogation program, which pushed the limits of international law and, they say, condoned torture."
Find more from Auckland University Students Association on InfoPages.


text:
Q: Cannot import tensorflow_text I have problem with importing tensorflow_text I tried importing like below two methods but none of them worked
import tensorflow_text as text
import tensorflow_text as tf_text

My tensorflow version is 2.9.1 and python version is Python 3.7.13. I tried installing tensorflow_text using below two methods but none of them is working.
!pip install tensorflow-text
!pip install -U tensorflow-text==2.9.0

I am using colab, I also tried reinstalling tensorflow but it still generates below error.
NotFoundError:
/usr/local/lib/python3.7/distpackages/tensorflow_text/python/ops/_sentencepiece_tokenizer.so:
undefined symbol: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev

A: Update, Sometimes you need to reinstall and update tensorflow then install tensorflow_text. (Because you need your tensorflow.__version__ and tensorflow_text.__version__ to have the same version)
!pip install -U tensorflow
!pip install -U tensorflow-text
import tensorflow as tf
import tensorflow_text as text

# Or install with a specific Version
!pip install -U "tensorflow==2.8.*"
!pip install -U "tensorflow-text==2.8.*"
import tensorflow as tf
import tensorflow_text as text

Old First, install tensorflow-text version 2.8.* like below:
!pip install -q -U "tensorflow-text==2.8.*"

Then import tensorflow-text like below:
import tensorflow_text as text

A: I have tried I'mahdi's answer and it was not working, but the following solution worked for me.
Here are the steps that solved it for me.

*

*Visit the Tensorflow-Text official site (https://www.tensorflow.org/text)

*There is a little scroll bar down the right side RUN IN COLAB NOTEBBOK you will see, click on it (else use this link https://colab.research.google.com/github/tensorflow/text/blob/master/docs/guide/bert_preprocessing_guide.ipynb)

*In this notebook, change runtime to GPU and RUN cell by cell until the setup section

*And then it will work (WAIT)

*Delete all other cells except 1st 2 cells of Setup section

*Then continue your code...

NOTE: If it didn't work try do the restart once again from step 1, it will work.