text:
package org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer;

import static org.mockito.Mockito.any;
import static org.mockito.Matchers.isA;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;

import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

import junit.framework.Assert;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.yarn.api.records.ContainerId;
import org.apache.hadoop.yarn.api.records.LocalResourceType;
import org.apache.hadoop.yarn.api.records.LocalResourceVisibility;
import org.apache.hadoop.yarn.conf.YarnConfiguration;
import org.apache.hadoop.yarn.event.Dispatcher;
import org.apache.hadoop.yarn.event.DrainDispatcher;
import org.apache.hadoop.yarn.event.EventHandler;
import org.apache.hadoop.yarn.server.nodemanager.DeletionService;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerEventType;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerResourceFailedEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerResourceLocalizedEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerEventType;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerResourceRequestEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceFailedLocalizationEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceLocalizedEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceReleaseEvent;
import org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceRequestEvent;
import org.apache.hadoop.yarn.server.utils.BuilderUtils;
import org.junit.Test;

public class TestLocalResourcesTrackerImpl {

  @Test(timeout=10000)
  @SuppressWarnings("unchecked")
  public void test() {
    String user = "testuser";
    DrainDispatcher dispatcher = null;
    try {
      Configuration conf = new Configuration();
      dispatcher = createDispatcher(conf);
      EventHandler<LocalizerEvent> localizerEventHandler =
          mock(EventHandler.class);
      EventHandler<LocalizerEvent> containerEventHandler =
          mock(EventHandler.class);
      dispatcher.register(LocalizerEventType.class, localizerEventHandler);
      dispatcher.register(ContainerEventType.class, containerEventHandler);

      DeletionService mockDelService = mock(DeletionService.class);

      ContainerId cId1 = BuilderUtils.newContainerId(1, 1, 1, 1);
      LocalizerContext lc1 = new LocalizerContext(user, cId1, null);
      ContainerId cId2 = BuilderUtils.newContainerId(1, 1, 1, 2);
      LocalizerContext lc2 = new LocalizerContext(user, cId2, null);

      LocalResourceRequest req1 =
          createLocalResourceRequest(user, 1, 1, LocalResourceVisibility.PUBLIC);
      LocalResourceRequest req2 =
          createLocalResourceRequest(user, 2, 1, LocalResourceVisibility.PUBLIC);
      LocalizedResource lr1 = createLocalizedResource(req1, dispatcher);
      LocalizedResource lr2 = createLocalizedResource(req2, dispatcher);
      ConcurrentMap<LocalResourceRequest, LocalizedResource> localrsrc =
          new ConcurrentHashMap<LocalResourceRequest, LocalizedResource>();
      localrsrc.put(req1, lr1);
      localrsrc.put(req2, lr2);
      LocalResourcesTracker tracker =
          new LocalResourcesTrackerImpl(user, dispatcher, localrsrc, false,
            conf);

      ResourceEvent req11Event =
          new ResourceRequestEvent(req1, LocalResourceVisibility.PUBLIC, lc1);
      ResourceEvent req12Event =
          new ResourceRequestEvent(req1, LocalResourceVisibility.PUBLIC, lc2);
      ResourceEvent req21Event =
          new ResourceRequestEvent(req2, LocalResourceVisibility.PUBLIC, lc1);

      ResourceEvent rel11Event = new ResourceReleaseEvent(req1, cId1);
      ResourceEvent rel12Event = new ResourceReleaseEvent(req1, cId2);
      ResourceEvent rel21Event = new ResourceReleaseEvent(req2, cId1);

      // Localize R1 for C1
      tracker.handle(req11Event);

      // Localize R1 for C2
      tracker.handle(req12Event);

      // Localize R2 for C1
      tracker.handle(req21Event);

      dispatcher.await();
      verify(localizerEventHandler, times(3)).handle(
          any(LocalizerResourceRequestEvent.class));
      // Verify refCount for R1 is 2
      Assert.assertEquals(2, lr1.getRefCount());
      // Verify refCount for R2 is 1
      Assert.assertEquals(1, lr2.getRefCount());

      // Release R2 for C1
      tracker.handle(rel21Event);

      dispatcher.await();
      verifyTrackedResourceCount(tracker, 2);

      // Verify resource with non zero ref count is not removed.
      Assert.assertEquals(2, lr1.getRefCount());
      Assert.assertFalse(tracker.remove(lr1, mockDelService));
      verifyTrackedResourceCount(tracker, 2);

      // Localize resource1
      ResourceLocalizedEvent rle =
          new ResourceLocalizedEvent(req1, new Path("file:///tmp/r1"), 1);
      lr1.handle(rle);
      Assert.assertTrue(lr1.getState().equals(ResourceState.LOCALIZED));

      // Release resource1
      tracker.handle(rel11Event);
      tracker.handle(rel12Event);
      Assert.assertEquals(0, lr1.getRefCount());

      // Verify resources in state LOCALIZED with ref-count=0 is removed.
      Assert.assertTrue(tracker.remove(lr1, mockDelService));
      verifyTrackedResourceCount(tracker, 1);
    } finally {
      if (dispatcher != null) {
        dispatcher.stop();
      }
    }
  }

  @Test(timeout=10000)
  @SuppressWarnings("unchecked")
  public void testConsistency() {
    String user = "testuser";
    DrainDispatcher dispatcher = null;
    try {
      Configuration conf = new Configuration();
      dispatcher = createDispatcher(conf);
      EventHandler<LocalizerEvent> localizerEventHandler = mock(EventHandler.class);
      EventHandler<LocalizerEvent> containerEventHandler = mock(EventHandler.class);
      dispatcher.register(LocalizerEventType.class, localizerEventHandler);
      dispatcher.register(ContainerEventType.class, containerEventHandler);

      ContainerId cId1 = BuilderUtils.newContainerId(1, 1, 1, 1);
      LocalizerContext lc1 = new LocalizerContext(user, cId1, null);
      LocalResourceRequest req1 = createLocalResourceRequest(user, 1, 1,
          LocalResourceVisibility.PUBLIC);
      LocalizedResource lr1 = createLocalizedResource(req1, dispatcher);
      ConcurrentMap<LocalResourceRequest, LocalizedResource> localrsrc = new ConcurrentHashMap<LocalResourceRequest, LocalizedResource>();
      localrsrc.put(req1, lr1);
      LocalResourcesTracker tracker = new LocalResourcesTrackerImpl(user,
          dispatcher, localrsrc, false, conf);

      ResourceEvent req11Event = new ResourceRequestEvent(req1,
          LocalResourceVisibility.PUBLIC, lc1);

      ResourceEvent rel11Event = new ResourceReleaseEvent(req1, cId1);

      // Localize R1 for C1
      tracker.handle(req11Event);

      dispatcher.await();

      // Verify refCount for R1 is 1
      Assert.assertEquals(1, lr1.getRefCount());

      dispatcher.await();
      verifyTrackedResourceCount(tracker, 1);

      // Localize resource1
      ResourceLocalizedEvent rle = new ResourceLocalizedEvent(req1, new Path(
          "file:///tmp/r1"), 1);
      lr1.handle(rle);
      Assert.assertTrue(lr1.getState().equals(ResourceState.LOCALIZED));
      Assert.assertTrue(createdummylocalizefile(new Path("file:///tmp/r1")));
      LocalizedResource rsrcbefore = tracker.iterator().next();
      File resFile = new File(lr1.getLocalPath().toUri().getRawPath()
          .toString());
      Assert.assertTrue(resFile.exists());
      Assert.assertTrue(resFile.delete());

      // Localize R1 for C1
      tracker.handle(req11Event);

      dispatcher.await();
      lr1.handle(rle);
      Assert.assertTrue(lr1.getState().equals(ResourceState.LOCALIZED));
      LocalizedResource rsrcafter = tracker.iterator().next();
      if (rsrcbefore == rsrcafter) {
        Assert.fail("Localized resource should not be equal");
      }
      // Release resource1
      tracker.handle(rel11Event);
    } finally {
      if (dispatcher != null) {
        dispatcher.stop();
      }
    }
  }

  @Test(timeout = 1000)
  @SuppressWarnings("unchecked")
  public void testLocalResourceCache() {
    String user = "testuser";
    DrainDispatcher dispatcher = null;
    try {
      Configuration conf = new Configuration();
      dispatcher = createDispatcher(conf);

      EventHandler<LocalizerEvent> localizerEventHandler =
          mock(EventHandler.class);
      EventHandler<ContainerEvent> containerEventHandler =
          mock(EventHandler.class);

      // Registering event handlers.
      dispatcher.register(LocalizerEventType.class, localizerEventHandler);
      dispatcher.register(ContainerEventType.class, containerEventHandler);

      ConcurrentMap<LocalResourceRequest, LocalizedResource> localrsrc =
          new ConcurrentHashMap<LocalResourceRequest, LocalizedResource>();
      LocalResourcesTracker tracker =
          new LocalResourcesTrackerImpl(user, dispatcher, localrsrc, true, conf);

      LocalResourceRequest lr =
          createLocalResourceRequest(user, 1, 1, LocalResourceVisibility.PUBLIC);

      // Creating 2 containers for same application which will be requesting
      // same local resource.
      // Container 1 requesting local resource.
      ContainerId cId1 = BuilderUtils.newContainerId(1, 1, 1, 1);
      LocalizerContext lc1 = new LocalizerContext(user, cId1, null);
      ResourceEvent reqEvent1 =
          new ResourceRequestEvent(lr, LocalResourceVisibility.PRIVATE, lc1);

      // No resource request is initially present in local cache
      Assert.assertEquals(0, localrsrc.size());

      // Container-1 requesting local resource.
      tracker.handle(reqEvent1);

      // New localized Resource should have been added to local resource map
      // and the requesting container will be added to its waiting queue.
      Assert.assertEquals(1, localrsrc.size());
      Assert.assertTrue(localrsrc.containsKey(lr));
      Assert.assertEquals(1, localrsrc.get(lr).getRefCount());
      Assert.assertTrue(localrsrc.get(lr).ref.contains(cId1));
      Assert.assertEquals(ResourceState.DOWNLOADING, localrsrc.get(lr)
        .getState());

      // Container 2 requesting the resource
      ContainerId cId2 = BuilderUtils.newContainerId(1, 1, 1, 2);
      LocalizerContext lc2 = new LocalizerContext(user, cId2, null);
      ResourceEvent reqEvent2 =
          new ResourceRequestEvent(lr, LocalResourceVisibility.PRIVATE, lc2);
      tracker.handle(reqEvent2);

      // Container 2 should have been added to the waiting queue of the local
      // resource
      Assert.assertEquals(2, localrsrc.get(lr).getRefCount());
      Assert.assertTrue(localrsrc.get(lr).ref.contains(cId2));

      // Failing resource localization
      ResourceEvent resourceFailedEvent = new ResourceFailedLocalizationEvent(
          lr,(new Exception("test").getMessage()));

      // Backing up the resource to track its state change as it will be
      // removed after the failed event.
      LocalizedResource localizedResource = localrsrc.get(lr);

      tracker.handle(resourceFailedEvent);

      // After receiving failed resource event; all waiting containers will be
      // notified with Container Resource Failed Event.
      Assert.assertEquals(0, localrsrc.size());
      verify(containerEventHandler, times(2)).handle(
        isA(ContainerResourceFailedEvent.class));
      Assert.assertEquals(ResourceState.FAILED, localizedResource.getState());

      // Container 1 trying to release the resource (This resource is already
      // deleted from the cache. This call should return silently without
      // exception.
      ResourceReleaseEvent relEvent1 = new ResourceReleaseEvent(lr, cId1);
      tracker.handle(relEvent1);

      // Container-3 now requests for the same resource. This request call
      // is coming prior to Container-2's release call.
      ContainerId cId3 = BuilderUtils.newContainerId(1, 1, 1, 3);
      LocalizerContext lc3 = new LocalizerContext(user, cId3, null);
      ResourceEvent reqEvent3 =
          new ResourceRequestEvent(lr, LocalResourceVisibility.PRIVATE, lc3);
      tracker.handle(reqEvent3);

      // Local resource cache now should have the requested resource and the
      // number of waiting containers should be 1.
      Assert.assertEquals(1, localrsrc.size());
      Assert.assertTrue(localrsrc.containsKey(lr));
      Assert.assertEquals(1, localrsrc.get(lr).getRefCount());
      Assert.assertTrue(localrsrc.get(lr).ref.contains(cId3));

      // Container-2 Releases the resource
      ResourceReleaseEvent relEvent2 = new ResourceReleaseEvent(lr, cId2);
      tracker.handle(relEvent2);

      // Making sure that there is no change in the cache after the release.
      Assert.assertEquals(1, localrsrc.size());
      Assert.assertTrue(localrsrc.containsKey(lr));
      Assert.assertEquals(1, localrsrc.get(lr).getRefCount());
      Assert.assertTrue(localrsrc.get(lr).ref.contains(cId3));

      // Sending ResourceLocalizedEvent to tracker. In turn resource should
      // send Container Resource Localized Event to waiting containers.
      Path localizedPath = new Path("/tmp/file1");
      ResourceLocalizedEvent localizedEvent =
          new ResourceLocalizedEvent(lr, localizedPath, 123L);
      tracker.handle(localizedEvent);

      // Verifying ContainerResourceLocalizedEvent .
      verify(containerEventHandler, times(1)).handle(
        isA(ContainerResourceLocalizedEvent.class));
      Assert.assertEquals(ResourceState.LOCALIZED, localrsrc.get(lr)
        .getState());
      Assert.assertEquals(1, localrsrc.get(lr).getRefCount());

      // Container-3 releasing the resource.
      ResourceReleaseEvent relEvent3 = new ResourceReleaseEvent(lr, cId3);
      tracker.handle(relEvent3);

      Assert.assertEquals(0, localrsrc.get(lr).getRefCount());

    } finally {
      if (dispatcher != null) {
        dispatcher.stop();
      }
    }
  }

  @Test(timeout = 100000)
  @SuppressWarnings("unchecked")
  public void testHierarchicalLocalCacheDirectories() {
    String user = "testuser";
    DrainDispatcher dispatcher = null;
    try {
      Configuration conf = new Configuration();
      // setting per directory file limit to 1.
      conf.set(YarnConfiguration.NM_LOCAL_CACHE_MAX_FILES_PER_DIRECTORY, "37");
      dispatcher = createDispatcher(conf);

      EventHandler<LocalizerEvent> localizerEventHandler =
          mock(EventHandler.class);
      EventHandler<LocalizerEvent> containerEventHandler =
          mock(EventHandler.class);
      dispatcher.register(LocalizerEventType.class, localizerEventHandler);
      dispatcher.register(ContainerEventType.class, containerEventHandler);

      DeletionService mockDelService = mock(DeletionService.class);

      ConcurrentMap<LocalResourceRequest, LocalizedResource> localrsrc =
          new ConcurrentHashMap<LocalResourceRequest, LocalizedResource>();
      LocalResourcesTracker tracker = new LocalResourcesTrackerImpl(user,
          dispatcher, localrsrc, true, conf);

      // This is a random path. NO File creation will take place at this place.
      Path localDir = new Path("/tmp");

      // Container 1 needs lr1 resource
      ContainerId cId1 = BuilderUtils.newContainerId(1, 1, 1, 1);
      LocalResourceRequest lr1 = createLocalResourceRequest(user, 1, 1,
          LocalResourceVisibility.PUBLIC);
      LocalizerContext lc1 = new LocalizerContext(user, cId1, null);

      // Container 1 requests lr1 to be localized
      ResourceEvent reqEvent1 = new ResourceRequestEvent(lr1,
          LocalResourceVisibility.PUBLIC, lc1);
      tracker.handle(reqEvent1);

      // Simulate the process of localization of lr1
      Path hierarchicalPath1 = tracker.getPathForLocalization(lr1, localDir);
      // Simulate lr1 getting localized
      ResourceLocalizedEvent rle1 =
          new ResourceLocalizedEvent(lr1,
              new Path(hierarchicalPath1.toUri().toString() +
                  Path.SEPARATOR + "file1"), 120);
      tracker.handle(rle1);
      // Localization successful.

      LocalResourceRequest lr2 = createLocalResourceRequest(user, 3, 3,
          LocalResourceVisibility.PUBLIC);
      // Container 1 requests lr2 to be localized.
      ResourceEvent reqEvent2 =
          new ResourceRequestEvent(lr2, LocalResourceVisibility.PUBLIC, lc1);
      tracker.handle(reqEvent2);

      Path hierarchicalPath2 = tracker.getPathForLocalization(lr2, localDir);
      // localization failed.
      ResourceFailedLocalizationEvent rfe2 =
          new ResourceFailedLocalizationEvent(
              lr2, new Exception("Test").toString());
      tracker.handle(rfe2);

      /*
       * The path returned for two localization should be different because we
       * are limiting one file per sub-directory.
       */
      Assert.assertNotSame(hierarchicalPath1, hierarchicalPath2);

      LocalResourceRequest lr3 = createLocalResourceRequest(user, 2, 2,
          LocalResourceVisibility.PUBLIC);
      ResourceEvent reqEvent3 = new ResourceRequestEvent(lr3,
          LocalResourceVisibility.PUBLIC, lc1);
      tracker.handle(reqEvent3);
      Path hierarchicalPath3 = tracker.getPathForLocalization(lr3, localDir);
      // localization successful
      ResourceLocalizedEvent rle3 =
          new ResourceLocalizedEvent(lr3, new Path(hierarchicalPath3.toUri()
            .toString() + Path.SEPARATOR + "file3"), 120);
      tracker.handle(rle3);

      // Verifying that path created is inside the subdirectory
      Assert.assertEquals(hierarchicalPath3.toUri().toString(),
          hierarchicalPath1.toUri().toString() + Path.SEPARATOR + "0");

      // Container 1 releases resource lr1
      ResourceEvent relEvent1 = new ResourceReleaseEvent(lr1, cId1);
      tracker.handle(relEvent1);

      // Validate the file counts now
      int resources = 0;
      Iterator<LocalizedResource> iter = tracker.iterator();
      while (iter.hasNext()) {
        iter.next();
        resources++;
      }
      // There should be only two resources lr1 and lr3 now.
      Assert.assertEquals(2, resources);

      // Now simulate cache cleanup - removes unused resources.
      iter = tracker.iterator();
      while (iter.hasNext()) {
        LocalizedResource rsrc = iter.next();
        if (rsrc.getRefCount() == 0) {
          Assert.assertTrue(tracker.remove(rsrc, mockDelService));
          resources--;
        }
      }
      // lr1 is not used by anyone and will be removed, only lr3 will hang
      // around
      Assert.assertEquals(1, resources);
    } finally {
      if (dispatcher != null) {
        dispatcher.stop();
      }
    }
  }

  private boolean createdummylocalizefile(Path path) {
    boolean ret = false;
    File file = new File(path.toUri().getRawPath().toString());
    try {
      ret = file.createNewFile();
    } catch (IOException e) {
      e.printStackTrace();
    }
    return ret;
  }

  private void verifyTrackedResourceCount(LocalResourcesTracker tracker,
      int expected) {
    int count = 0;
    Iterator<LocalizedResource> iter = tracker.iterator();
    while (iter.hasNext()) {
      iter.next();
      count++;
    }
    Assert.assertEquals("Tracker resource count does not match", expected,
        count);
  }

  private LocalResourceRequest createLocalResourceRequest(String user, int i,
      long ts, LocalResourceVisibility vis) {
    final LocalResourceRequest req =
        new LocalResourceRequest(new Path("file:///tmp/" + user + "/rsrc" + i),
            ts + i * 2000, LocalResourceType.FILE, vis, null);
    return req;
  }

  private LocalizedResource createLocalizedResource(LocalResourceRequest req,
      Dispatcher dispatcher) {
    LocalizedResource lr = new LocalizedResource(req, dispatcher);
    return lr;
  }

  private DrainDispatcher createDispatcher(Configuration conf) {
    DrainDispatcher dispatcher = new DrainDispatcher();
    dispatcher.init(conf);
    dispatcher.start();
    return dispatcher;
  }
}

redpajama_set_name: RedPajamaGithub


This video has excerpts from the Kecak Fire Dance performed at the Uluwatu Temple.
This Gamelan Band was playing in the Balinese capital of Denpasar.
This gives a glimpse of the fun of a motorbike in Bali.


text:
Уэстпорт (, исторически — Cahernamart; , (Кахарь-на-Март), «каменный форт рогатого скота») — (малый) город в Ирландии, находится в графстве Мейо (провинция Коннахт). Изначально это была деревня с населением примерно в 700 человек, которая находилась где-то на востоке от Уэспорт Хауза; текущее своё имя и расположение поселение получило в 1780-х. Это один из немногих ирландских городов с регулярной планировкой.

Уэспорт трижды (в 2001, 2006 и 2008 годах) выигрывал Irish Tidy Towns Competition.

Уэспорт — главная туристическая цель всего Мэйо, одно из красивейших мест запада страны. Уильям Теккерей писал, что это самое красивое место из всех, что он видел.

Одна из причин туристических визитов — синие пляжи.

В январе 2008 Уэспорт стал первым городом, полностью доступным в 3D в Google Earth.

Города-побратимы Уэспорта — Лимавэди и Плугастель. Местная железнодорожная станция была открыта 28 января 1866 года.

Демография
Население — 5 475 человек (по переписи 2006 года). В 2002 году население было 5634 человека. При этом, население внутри городской черты (legal area) было 5163, население пригородов (environs) — 312.

Данные переписи 2006 года:

В нижеприводимых таблицах сумма всех ответов (столбец «сумма»), как правило, меньше общего населения населённого пункта (столбец «2006»).

1 — доля отвечавших на вопрос о языке от всего населения.

1 — доля отвечавших на вопрос о языке от всего населения.

Примечания

Ссылки

 Сайт о туризме в Уэстпорте

Города Ирландии
Населённые пункты графства Мейо

redpajama_set_name: RedPajamaWikipedia


Gorse fires on Bray Head in County Wicklow have revealed a stone-built navigation sign, dating from World War 2.
The so-called 'neutrality' signs were constructed by the Defence Forces in the early 40s along Irish coasts.
They were placed as a way of reducing the number of aircraft landing on Irish soil after losing their bearings.
The signs were built with stones and spell out 'EIRE' in block capital letters, and were designed to indicate to flight crews that they were over Irish territory.
A Garda Air Support Unit over Bray Head spotted the sign after the fire.
Gardaí say they see the signs along the coast, but had never seen this one until now.
The discovery comes following the significant fires which broke out on Bray Head in July.


I am a researcher. How can I invite a speaker to FORUM NUMERICA ?
Who can invite a speaker to Forum Numerica ?
Each researcher from one of the Academy's 12 Labs can suggest a speaker for FORUM NUMERICA.
FORUM NUMERICA takes place twice a month usually on Thursday afternoon.
The speaker you intend to invite can be an experimented internationally well known researcher or young researcher with outstanding work in one of the 3 pillars.
Financial support may be provided for travel and accommodation for a non-local speaker, as well as for catering of the seminar.
We organise the seminar in the premises of the Academy's members, therefore there are no charges for room rental.
1. Organisation committee of the pillar "Networks"
2. Organisation committee of the pillar "Digital Sciences"
3. Organisation committee of the pillar "Digital Society"
Application regarding non-European speakers should be sent at least 2 months before the date of the seminar.
A waiting period of 15 days may be requested to obtain approval of your application.


text:
Popular Truro bar and restaurant Sonder is sold after sudden closure
The business advert said it had an annual turnover of up to £250,000
Lee Trewhela
The bar area at Sonder
A popular restaurant in Truro which suddenly closed a couple of months ago has been sold.
Sonder, which specialised in craft beer and a varied street food-style menu, has been a popular destination for drinkers and diners on Princes Street in the city for three years.
However it closed suddenly several weeks ago. Its last TripAdvisor review was on June 5.
The three-storey bar/restaurant was a labour of love for former police sergeant Gary Watts, who opened it in May 2016.
Sonder, which offered three storeys of food and drink in Truro
Its unusual name was inspired by his daughter, who was studying philosophy and suggested Sonder, a word invented by John Koenig, creator of the Dictionary of Obscure Sorrows. It means the realisation that each random passerby is living a life as vivid and complex as your own.
The décor of the venue was all created by hand with much of it using recycled materials.
Brand new food experience opens in Truro city centre
Cornwall Live approached owner Mr Watts for a comment about its closure but has yet to receive a reply.
The 1,260 sq ft restaurant has been sold subject to contract by Redgrave Commercial in Truro for £40,000 with a rent of £19,500 per year; the current lease expires on April 4, 2026.
Sonder has been sold subject to contract
The leasehold description states: "The business is currently a craft beer bar and restaurant operating five days per week, with a gross annual turnover of £200,000 to £250,000 per year."
Food fans 'gutted' after Truro restaurant KC's Bar & Grill closes down suddenly
The venue always did well in polls for the best burger restaurants in Cornwall. Its listing online says it has been sold subject to contract.
TruroSingle Mingle bar does U-turn as 'shyness and stigma' keeps singles awayThe owner is also re-introducing Indian restaurant menu
TruroPopular Truro pub and restaurant Thomas Daniell closesIt has new owners as has its sister pub
Music & NightlifeTom Jones ticket prices for Plymouth Hoe show will start at £39.50 - and that's not unusualOfficial sites are set to begin selling tickets this Friday and fans may have to stump up some big money
FalmouthPop party show for children is coming to FalmouthIf your little ones are too small to see their favourite stars in concert - this is a perfect alternative
EventsDates announced for controversial new Porthilly Spirit festival in CornwallIt was cancelled last year

redpajama_set_name: RedPajamaCommonCrawl


If it's a relaxing rural retreat you are after, then the surrounding Dartmouth countryside is the perfect place to rest your head.
In the surrounding towns and villages you will find beautiful country hotels, B&B's, farm stays, camp sites and country cottages where you can relax and unwind in the stunning South Devon countryside.
Just a short drive back away from Dartmouth, you can be on the edge of all the action, whilst enjoying the rural landscape and getting back to nature.
Imagine walking out of your accommodation straight onto a country walking path, amongst the wildlife and fields – there is nothing quite like it!
You will find surrounding Dartmouth countryside accommodation below – or use the search facility on the right to refine your selection.
Our luxury self-catering cottages and apartments are situated in an idyllic setting surrounded by the peaceful South Devon countryside, only three miles from the beautiful Dartmouth harbour and historic town centre.
Bed and Breakfast in Kingswear. Raddicombe Lodge guesthouse in Kingswear offers B&B accommodation and is situated in a stunning location with sea views from most rooms.
Mariners is a self catering cottage situated on the quay in the waterside village of Stoke Gabriel. The cottage benefits from parking directly opposite the cottage.
Over 425 picturesque holiday cottages set in coastal, waterside and rural locations throughout South Devon.
Six dog and family friendly cottages set in a peaceful valley near Slapton and Start Bay beaches. Stay in the heart of the special South Hams area and enjoy coastal walks and the estuary towns of Dartmouth and Salcombe nearby.
Mike's Holiday Chalet is location within Norton Park on the edge of Dartmouth town. This two double bed chalet has been recently refurbished and includes an open plan living room, dining and kitchen areas, two bedrooms and bathroom with shower.
Mannings Barn is a beautiful country cottage tucked away in the hamlet of Capton, 4miles from Dartmouth and 1 mile from the village of Dittisham on the River Dart. Sleeps 2 -4 perfect for a week or short break getaway.
Chris and Shirley Tonkin welcome you to their Mediterranean style home in the pretty village of Stoke Fleming just 2 miles from Dartmouth and 1 mile from the glorious Blackpool Sands.We have three attractive ensuite rooms, all 4* Graded.
At Stay In Devon we have an extensive range of accommodation options to suit families, couples, large groups and those with furry friends.
Lovely 14th century Devon Longhouse overlooking the beautiful secluded Lannacombe Bay. Farmhouse B&B on working farm using local produce and our own free-range eggs. En-suite rooms, Sea Views, sitting room. Midway between Dartmouth & Salcombe.


text:
H-ON Consulting
Our customers are manufacturers and end users of industrial products.
We collaborate with manufacturers and end users belonging to large corporations and established entities on the national and international scene, with whom we share the same philosophy of doing business: always maintaining belief in the value of safety, the development of skills and the evolution of business.
For our customers, as for us, product safety is a top priority. By sharing this idea, we can ensure the safety, reliability and cyber security of industrial products to protect production assets, operators, the environment and end customers from risks caused by the non-compliance of industrial products.
We believe that it is essential to establish one's own success while fully respecting customers. Customers are our partners in achieving business goals, with the aim of achieving professional growth for both parties. To enhance the value of our customers' products, it is essential to work by pursuing common goals.
In fact, our consulting services are specifically aimed at providing operational solutions, the most suitable and technically relevant ones according to the specific needs of client companies, to achieve compliance with applicable safety and security standards.
The map of our customers
AREAS OF OPERATION
We have had successful experiences in the following areas:
What some of our customers say about us
"Their support in identifying the risks for the SIL calculation and the Performance Level, has allowed us to offer a high level service to our customers."
Piombino Tech
"Their flexible and innovative approach to Cyber Security Risk Assessment had been the key for the success of our conformity project according to IEC 62443 standards."
Zach System
"We strongly recommend them as a guarantee of impartiality along the Functional Safety Assessment process, preliminary to the issue of SIL certificate."
"Our collaboration with H-ON Consulting was successful due their expertise and ability to provide technical, engineering and safety knowledge."
SOFTRONIC
"We recommend H-ON Consulting because they are a firm that shares inspiring values, such as continuous professional growth and innovation seeking."
Körber Tissue
"The consultancy service has been extremely helpful to understand how to manage machinery conformity in our plants."
"Thanks to the trainer's expertise, we have acquired the expected knowledge about the IEC 61508, EN 62061, and ISO 13849 standards."
TSM Sensors
"We have appreciated not only the support to optimize the specification, but also the knowledge demonstrated on electronic apparatus, software and process."
Fives OTO S.P.A.
"Their technicians have proven capable of supporting our organization and offering technically sound solutions."
Intals
"We chose H-ON Consulting as our partner in the field of machinery safety because of their highly specialized technical knowledge and capacity to provide us with concrete solutions."
Lloyd's Register
"H-ON Consulting has proven to be a reliable partner with a high level of expertise."
Berco S.p.A. (Thyssenkrupp)
"Thanks to their technical knowledge and ability to provide flexible solutions, they provided us with the most comprehensive support."
"The collaboration was a very successful experience for both companies."
"We have appreciated the high professionalism, expertise and ability in the difficult understanding about our request and the EAC rules."
Europair
"We highly recommend H-ON Consulting service for their expert industrial knowledge concerning machines, process, digital data."
"We would like to recommend H-ON Consulting as a reliable partner in the field of machine conformity for its outstanding service."
Parker Hannifin Manufacturing
"Their well-known flexibility has been the main reason why we have chosen H-ON Consulting as our supplier. "
Riva Acciaio S.p.A. (Riva Group)
"We appreciated H-ON Managers for their technical expertise and ability to emphathize. Thanks to their flexible approach they were able to greatly support us in every phase of the project."
Filters S.p.A.
"For this reason we recommend H-ON Consulting as a reliable and trustworthy supplier in the field of standard compliance and product certification."
BRUSH Electrical Machines Ltd
"We really appreciate the attention for the details during their visits and in the technical reports. This kind of work represents an optimal basis for our goals in safety."
Toscana Ondulati S.p.A. (DS Smith Packaging Division)
"H-ON has proven to have a high level of technical expertise and excellent project management skills."
Unilever (Algida)
"H-ON is a consulting partner which understands the customers' needs from the very beginning. Their engineers are able to provide a constant added value with regards to product safety."
"The implementation activities of the risk assessment, which aimed at achieving the CE marking (Directive 2006/42/EC) and its Minimum Safety and Health Requirements (2009/104/EC, Annex V for Italy), was in line with our expectations and showed a deep knowledge of complex processes."
Ferroli Spa
"Advantages with H-ON included resolving issues, responsiveness of colleagues, simplified procedures, explicit negotitation on every detail and speed of feedback backed by an extensive experience."
TechnoProgress (Russian CB)
"The biggest benefit our company received working with H-ON Consulting was a combination of on-going flexibility and most of all speed of delivery."
Sirio Sistemi Elettronici
"We found their competence, proactivity and availability unmatched and reliable. The biggest benefit our company received working with them was the refinement of our existing method and new development of good procedures."
Drass Tecnologie Sottomarine
"H-ON managers demonstrate a high level of professional competence and have a constant active involvement during the process."
NANIO CCVE (Russian CB)
"They are recognizable for their time management, high level of competency while managing projects, and overall operative experience in the field."
"H-ON has a considerable expertise in the steel field and is able to identify technical solutions from a security point of view whilst leaving intact the equipment operation from the point of view of production."
Acciai Speciali Terni (ThyssenKrupp)
"Their engineers are really helpful, highly knowledgeable and very competent. As a business we have found them to be professional at all times."
Duferco Travi e Profilati
"H-ON managers have demonstrated a high level of professional competence and showed a constant and active involvement throughout the whole project. We have found their level of technical know-how, proactivity and availability unmatched. In particular the H-ON team has been providing technical support for the design and construction of industrial HVAC systems in compliance with the applicable regulations in North America and Russia."
CCS a Frigel Group Company
"H-ON Consulting has proven to be a capable business partner that understands and effectively executes on the basis of project requirements within agreed upon timelines."
FINDER PUMPS
"They have helped us find practical solutions for previously installed machines that need to be upgraded to comply with local standards as well as for new ones. This is not an easy issue. However, H-ON can do it! Many of our machines have been CE marked by H-ON."
Freudenberg Politex
"H-ON has carried out the analysis of all production lines for our glass and plastic artefacts in all company plants with the aim to develop a multi-year plan for the conformity restoring of our production assets. They have been involved in the research and development of new technological solutions for the risk mitigation of production machines. We especially appreciate their ability to manage international projects effectively and provide top-quality service throughout the whole project."
"We look forward to continuing to leverage H-ON's experience and would not hesitate to recommend to any company looking for a reliable partner."
"H-ON has an exceptional ability to work cross-culturally. Throughout our projects H-ON was able to professionally and quickly adjust to diversification while remaining and working globally minded."
Fabio Perini Körber Solutions GmbH
"Thanks to its globally-minded and holistic approach, H-ON Consulting is able to provide flexible solutions and quickly adapt to the needs of the customer."
DS SMITH Packaging South Europe
"The work was beyond our expectations in terms of cost savings and speed of delivery with which we accomplished our goals."
KME Group
"The three biggest benefits you receive from partnering with H-ON are flexibility to adapt to the customers' needs on different types of projects, high technical skilled engineers, as well as reliability on managing projects on time with the expected quality level."
Rotork Fluid System
"We highly recommend H-ON Consulting specifically for their expert industrial knowledge concerning our machines and processes. They have been a valued addition to our team."
AFV Acciaierie Beltrame
"Passion, high level of competency, flexibility and speed of delivery are their characteristics. We have found them to be our "go-to" consulting firm as their efficiency and intelligence is untouchable."
Termomeccanica Industrial Process
"Their skilled engineers have been providing assistance for the safety and compliance of our machineries in the plant of Lonato del Garda (BS) in order to obtain a CE marking.
H-ON managers have demonstrated a high level of professional competence, showing a constant and active involvement throughout the whole project."
Feralpi Siderurgica Spa
"H-ON Consulting has an unconventional and clever way of thinking that has helped our company to solve practical issues in efficient ways."


Due to follow in the footsteps of the Large Hadron Collider, the latest "big science" experiment being proposed by physicists will see the world's most powerful laser being constructed.
Capable of producing a beam of light so intense that it would be equivalent to the power received by the Earth from the sun focused onto a speck smaller than a tip of a pin, scientists claim it could allow them boil the very fabric of space – the vacuum.
Contrary to popular belief, a vacuum is not devoid of material but in fact fizzles with tiny mysterious particles that pop in and out of existence, but at speeds so fast that no one has been able to prove they exist.


Ricciardi's exit was expected, and Bob Nightengale of USA Today has pegged the Oakland A's as a potential landing spot. The Mets' front office is going through some transition with Brodie Van Wagenen replacing Alderson as GM and Ruben Amaro Jr transitioning from first base coach back to an advisory role. Omar Minaya and Terry Collins are remaining with the organization while the future of John Ricco remains up in the air at this time.


text:
Nashville's RCA Studio A Goes Back To The Future
Paul Sexton
RCA Studio A, the Nashville location that hosted sessions by Dolly Parton, Willie Nelson, Chris Stapleton and Kacey Musgraves, and many by non-country artists like Elvis Presley, the Beach Boys and the Monkees, is to undergo a facelift to recall its 1960s heyday.
The Tennessean newspaper reports that the studio, which continues to operate and has recorded the likes of Musgraves and Miranda Lambert in recent years, is to have a renovation costing $500,000. While the studio space itself will be unchanged, the portion including offices and a smaller studio will be restored to the way it looked when it was opened in 1965 by artist-executive Chet Atkins and producer Owen Bradley.
Studio A was saved from demolition, almost literally at the last minute, in 2014, after developers had bought the property and planned to replace it with condominiums. Artist Ben Folds was central to the studio's salvation and ran it for 14 years; he was replaced as producer-in-residence last year by the in-demand Nashville producer Dave Cobb (known for his work with such artists as Jason Isbell, A Thousand Horses and Stapleton, whose hugely successful Traveller was cut there.
'You're The Reason I'm Living': Another Masterful Turn From Bobby Darin
Loretta Lynn Tribute Show For Nashville Debut With Her Band, The Coalminers
'Glen Campbell Live': UK Album Chart Arrival Of A Country-Pop Hero
"What we're talking about is paying homage to the environment that Chet and Owen envisioned when they built this, and when they worked here," the building's co-owner Aubrey Preston tells the newspaper. He stepped in to buy the property with fellow philanthropist Chuck Elcan and Curb Records founder Mike Curb. "This building has a history in Nashville that is second to none," adds Preston, "and our goal is to not gut it, but give it a facelift that takes it back to what it was when Chet worked here."
The renovation will include a replica of the RCA Victor sign on the front of the building, with Atkins' original office (now Preston's) given a makeover and the introduction of a late-1960s style terrazzo floor in the entrance.
Studio A was described by The Tennessean on its opening as the most technologically advanced studio in the world. It hosted sessions in its early days by country stars Waylon Jennings and Eddy Arnold and artists from outside Nashville such as Perry Como and Maxine Brown.
It became the location where Atkins' famed "Nashville sound" came to be, and then where the outlaw country style was incubated via the Wanted! The Outlaws album of 1976, by Nelson, Jennings, his wife Jessi Colter and Tompall Glaser. Overdubs for such Elvis tracks as 'Don't Cry Daddy' and 'The Wonder Of You' were made at Studio A, and many other country stars such as Vince Gill, Ronnie Milsap, the Oak Ridge Boys and Lady Antebellum have worked there.
UK English
Related Topics:Ben FoldsChet AtkinsChris StapletonCountryDave CobbEddy ArnoldElvis PresleyJason IsbellJessi ColterKacey MusgravesLady AntebellumMaxine BrownMike CurbMiranda LambertNashvilleOwen BradleyPerry ComoRCA Studio ARonnie MilsapThe Beach BoysThe MonkeesThe Oak Ridge BoysTompall GlaserVince GillWaylon JenningsWillie Nelson
What's up, its fastidious paragraph regarding media print,
we all know media is a impressive source of information.
lamotrigine tablets order online visa
I do not know whether it's just me or if perhaps everybody else experiencing problems with your website.
It looks like some of the text in your posts are running off the screen. Can somebody else please comment and let
me know if this is happening to them too? This may be a issue with my browser because I've had this happen previously.
chantix.adun.info
Have you ever considered publishing an ebook or guest authoring on other websites?
I have a blog based upon on the same subjects you discuss
and would really like to have you share some stories/information.
I know my audience would enjoy your work. If you are even remotely interested,
feel free to shoot me an e mail.
'Birth Of The Cool': How Miles Davis Started A Jazz Revolution
Dru Hill, Amy Winehouse, And Nick Jonas: Currently Trending Songs


text:
TDPS presents 'The House of the Spirits,' Isabel Allende's magical family drama, in a poetic re-imagining by Caridad Svich
UC Berkeley's Department of Theater, Dance, and Performance Studies (TDPS) will cap off its 2018–2019 season with The House of the Spirits, a play by Caridad Svich based on the best-selling novel by Isabel Allende. Directed by Michael Moran, this poetic adaptation with Svich's original songs runs April 26 through May 5 in the Playhouse at Zellerbach Hall. Patrons may purchase tickets for $13–20 through the TDPS online box office or at the door.
Charting the rise and fall of the Trueba family in an unnamed Latin American country, the play spans five decades as the country moves through enormous socio-political changes that culminate in a devastating dictatorship. The play is told from the point of view of the youngest of three generations of women, Alba, who is held for interrogation by the government as the play opens. The swirling memories, frightening and amusing, lyrical and fantastic, illuminate the stage as Alba records her family's history and finds the strength to recover her own story.
"This play deals with the touch point between the personal and political on an epic scale," said director Michael Moran, a TDPS acting lecturer and the director of Ubuntu Theater Project. "The piece is also highly theatrical in its magical realism. It's a memory play and that metaphysical mystery of memory is always an exciting opportunity to create something unique on the stage."
Originally published as La Casa de los Espiritus in 1982, The House of the Spirits is a National Bestseller and Allende's debut novel which catapulted her to literary stardom. When Allende's novel first appeared on the international literary scene, it was widely heralded as a feminist response to Gabriel García Marquez's One Hundred Years of Solitude. Svich's adaptation, first produced in 2009, won the 2011 American Theatre Critics Association Francesca Primus Prize.
A much-anticipated campus visit by Allende and Svich will highlight the play's opening weekend. The play's director will moderate a conversation between the author and playwright at 12 p.m. on Thursday, April 25 at BAMPFA. Svich will also participate in a talkback following the play's opening night performance on Friday, April 26 in the Playhouse at Zellerbach Hall.
The House of the Spirits opens Friday, April 26 and continues through Sunday, May 5, 2019 in the Playhouse at Zellerbach Hall on the UC Berkeley campus. Performances take place Fridays and Saturdays at 8 p.m. and Sundays at 2 p.m. General admission tickets are $18 online and $20 at the door; tickets for students, seniors, and UC Berkeley faculty/staff are $13 online and $15 at the door. Tickets are on sale through the TDPS online box office or at the door.The House of the Spirits features scenic design by Nina Ball, costume design by Courtney Flores, lighting design by Jack Carpenter, and sound design by Michael Kelly.The cast includes: Hernan Angulo, Veda Baldota, Natalya Brown, Abril Centurion, Brenda Cisneros, Jessenia Duarte, Jaymee Epperson, Abrar Haque, Beatriz Hernandez, Daryanna Lancet, Abner Lozano, Aryan Nair, Julian Schwartzman, Anna Sharpe, Vanessa Son, Peter Stielstra, Stefan Wayne, Arthur Weiss, Drew Woodson
About TDPS
The Department of Theater, Dance and Performance Studies teaches performance as a mode of critical inquiry, creative expression and public engagement. Through performance training and research, we create liberal arts graduates with expanded analytical, technical and imaginative capacities. As a public institution, we make diversity and inclusion a key part of our teaching, art making and public programming.
About the Director, Michael Moran
Michael Socrates Moran grew up in Richmond, Calif. before attending Boston University to pursue his BFA. He has worked as a professional actor in regional theaters in Chicago, Boston, San Francisco and at an off-Broadway house in New York City. He recently graduated from UC San Diego's world-renowned MFA Directing program where he founded the award-winning Ubuntu Theater Project: a professional theater company based in Oakland, dedicated to inspiring compassion across socio-economic and racial barriers. Michael now serves as Ubuntu's Executive Director. Having directed over 15 productions, favorite professional credits include: Dance of the Holy Ghosts by Marcus Gardley, Death of a Salesman by Arthur Miller, Waiting For Leftyby Clifford Odets, Othello by William Shakespeare, The Grapes of Wrath adapted by Frank Galati, Gospel of Lovingkindness by Marcus Gardley, Yellowmanby Dael Oerlandersmith, Dutchman by Amiri Baraka the West Coast Premiere of TO THE BONE & Exit Cuckoo: (A Nanny in Motherland) by Lisa Ramirez, and the World Premiere of Rashomon by Phililp Kan Gotanda. Michael is the recipient of the San Francisco Bay Area Theater Critics Circle Award for Best Director in the East Bay.
Productions topic page, Theater topic page


text:
Q: sharing ByteArray between threads (flash Workers) I am trying to use a thread on my flex application, the thread needs to use an object that i want to pass using the worker.setSharedProperty("bytes",bytes)  , bytes.sharable is set to true,
The serialised object implements IExternalizable with the RemoteClass tag since it is serialised on different other scenarios (cloning, saving to DB etc.) however when sending to the worker thread i am getting this error:
ArgumentError: Error #2173: Unable to read object in stream.  The class com.model.vo.ProjectVO does not implement flash.utils.IExternalizable but is aliased to an externalizable class.
    at flash.utils::ByteArray/readObject()

I did try the following 2 solutions:

*

*registerClassAlias("com.model.vo.ProjectVO",ProjectVO)  as suggested on this link

*On my thread calling the ProjectVO instance as suggested here: link
Non of this worked, my guess is that it has to do with trying to pass objects that implement IExternalizable and would like to hear if anyone succeeded in that.  Thanks!

redpajama_set_name: RedPajamaStackExchange


Here you can subscribe to our Newsletter in English.
To subscribe simply enter your email address and click the "send" button.
To cancel the subscription you type in your email address, click on "unsuscribe" and then the "send" button.


text:
Q: How to read cookie from response headers in angular js? I set cookie in my node server using :
res.cookie('userValidation','true',{httpOnly: false, secure: false });

I want to access this cookie in angular js :

How to access this cookie in angular js?
I tried may time but i failed to read this. Anyone can give me a good way to solve this issue?

A: You need to use $cookies to access this data and ensure that your cookie is not set as HttpOnly. Note that: You can't access them directly e.g by using header('Set-Cookie');.
Include your ressources:
<script src="angular.js"></script>
<script src="angular-cookies.js"></script>

Write your application:
var myApp = angular.module('app',['ngCookies']);

myApp.controller('MyCtrl',  function($scope, $http , $cookies, $timeout){

  $scope.request = function(){
    $http.get('/api-end-point').then(function(response){
      $timeout(function(){
        console.log($cookies.userValidation)
      });
    })
  }
})

A: Did you tried this ?
$http.get('/some').success(function(data, status, header) {
  console.log(header('cookie');
});

OR
$cookies = $browser.cookies();


Chakrabarti A, Slavin MA. Endemic fungal infections in the Asia-Pacific region. Med Mycol. 2011;49(4):337-44.
Endemic mycoses are important fungal infections in their respective habitats. In the Asia-Pacific region, an accurate epidemiological picture of endemic mycoses is elusive; few epidemiological surveys have been performed, and limited laboratory facilities and experience with fungal infections have further hampered recognition of infection. However, pockets of endemicity do indeed exist, and endemic fungal infections can have a significant impact on public health. This article reviews the most common endemic mycoses in the Asia-Pacific region: histoplasmosis, penicilliosis, and sporotrichosis. Blastomycosis, which has been infrequently reported within the region, is also briefly discussed. Certain areas of the Asia-Pacific region are endemic for histoplasmosis; however, the ecologic niche for this infection remains unclear. Penicilliosis is restricted to Southeast and Eastern Asia, whereas sporotrichosis is encountered in tropical areas of the Asia-Pacific region linked to environmental reservoirs distinct from those seen in the Western world. Before the advent of acquired immune deficiency syndrome (AIDS), histoplasmosis and penicilliosis were only occasionally reported; however, the incidence of both mycoses has increased with the rise in the incidence of AIDS. Comprehensive studies are needed to fully assess the areas of endemicity and the impact of endemic mycoses in the Asia-Pacific region.


§ 17-3 Standards of conduct.
§ 17-4 Filing of claims against Town.
§ 17-5 Distribution of Code of Ethics.
§ 17-6 Penalties for offenses.
Pursuant to the provisions of § 806 of the General Municipal Law, the Town Board of the Town of LeRay recognizes that there are rules of ethical conduct for public officers and employees which must be observed if a high degree of moral conduct is to be obtained and if public confidence is to be maintained in our unit of local government. It is the purpose of this chapter to promulgate these rules of ethical conduct for the officers and employees of the Town of LeRay. These rules shall serve as a guide for official conduct of the officers and employees of the Town of LeRay. The rules of ethical conduct of this chapter as adopted shall not conflict with, but shall be in addition to, any prohibition of Article 18 of the General Municipal Law or any other general or special law relating to ethical conduct and interest in contracts of municipal officers and employees.
The Town of LeRay. The word "municipal" refers to the Town of LeRay.
An officer or employee of the Town of LeRay, whether paid or unpaid, including members of any administrative board, commission or other agency thereof. No person shall be deemed to be a municipal officer or employee solely by reason of being a volunteer fireman or civil defense volunteer.
Prohibited interest in a contract with the municipality. A municipal officer or employee may not have an interest in a contract with the municipality that is prohibited by § 801 of the General Municipal Law, unless an exception under § 802 of the General Municipal Law applies to the situation. Every municipal officer and employee shall disclose interests in contracts with the municipality at the time and in the manner required by § 803 of the General Municipal Law.
Appearance of impropriety. An official must avoid circumstances that compromise his ability to make decisions solely in the public interest or create an appearance of impropriety.
Recusal. An official must recuse himself when faced with the above conflicts, appearances of impropriety, or contractual interests, unless an applicable exception applies.
Recusal defined. "Recusal" means that the official may not deliberate, vote or participate in any way in that matter. The official should disclose his conflict and remove himself or herself from the board. He should not provide input regarding the matter from the audience in his capacity as a member of the public.
Gifts. He shall not directly or indirectly solicit any gifts having a value of $75 or more, whether in the form of money, services, loan, travel, entertainment, hospitality, thing or promise, or any other form, under circumstances in which it could reasonably be inferred that the gift was intended to influence him, or could reasonably be expected to influence him, in the performance of his official duties or was intended as a reward for any official action on his part.
Confidential information. An official or former official or member of any representative board of the Town shall not disclose confidential information acquired by him in the course of his official duties or use such information to further his personal interest or in any way utilize the information for nonpublic purposes.
Safeguarding of Town assets. Every officer or employee shall be charged with safekeeping all Town assets within their control. This includes cash receipts and petty cash of the Town and receipts of any department within the Town. In addition, the Town Board has established a policy prohibiting Town personnel from swapping checks for cash or borrowing of funds from Town resources.
Town property and resources. No employee may use Town-owned property, assets or any resources for personal purposes or profit or to benefit any person. Use of these resources is restricted to the conduct of official business, for the benefit of all residents and to further an authorized public purpose.
Representation before your agency. An officer or employee may not be paid (or make an agreement to be paid) and shall not represent a person or entity or enter into any agreement, express or implied, for compensation for services to be rendered in relation to any matter before any municipal agency of which he or she is an officer, member or employee or of any municipal agency over which he has jurisdiction or to which he has the power to appoint any member, officer or employee.
Representation before any agency for a contingent fee. An officer or employee may not be paid and shall not receive or enter into any agreement, express or implied, for compensation for services to be rendered in relation to any matter before any agency of his municipality, whereby his compensation is to be dependent or contingent upon any action by such agency with respect to such matter, provided that this subsection shall not prohibit the fixing at any time of fees based upon the reasonable value of the services rendered.
Disclosure of interest in legislation. To the extent that he knows thereof, a member of the Town Board and any officer or employee of the Town of LeRay, whether paid or unpaid, who participates in the discussion or gives official opinion to the Town Board on any legislation before the Town Board shall publicly disclose on the official record the nature and extent of any direct or indirect financial or other private interest he has in such legislation.
Private employment. He shall not engage in, solicit, negotiate for or promise to accept private employment or render services for private interests when such employment or service creates a conflict with or the appearance of a conflict or impairs the proper discharge of his official duties.
Future employment. He shall not, after the termination of service or employment with such municipality, appear before any board or agency of the Town of LeRay in relation to any case, proceeding or application in which he personally participated during the period of his service or employment or which was under his active consideration.
Nothing herein shall be deemed to bar or prevent the timely filing by a present or former municipal officer or employee of any claim, account, demand or suit against the Town of LeRay or any agency thereof, on behalf of himself or any member of his family arising out of any personal injury or property damage or for any lawful benefit authorized or permitted by law.
The Supervisor of the Town of LeRay shall cause a copy of this Code of Ethics to be distributed to every officer and employee of the Town of LeRay within 15 days after the effective date of this chapter. Each officer and employee elected or appointed thereafter shall be furnished a copy before entering upon the duties of his office or employment. Failure to distribute any such copy or failure of any officer or employee to receive such copy shall have no effect on the duty of compliance with such Code, nor the enforcement of provisions thereof.


text:
Property and Conveyancing
Banking Law and Debt Recoveries
THE BURNING ISSUE OF LAND OWNERSHIP IN SOUTH AFRICA
The history of the indigenous people of South Africa being dispossessed of land by successive waves of Dutch, and other settlors, and by successive South African Governments, is a long and most unedifying tale.
With the advent of our South African Democracy, the vital importance of addressing the wrongs of the past was fully realized. The instrument to do so was our Constitution, arguably the finest in the world insofar as the advancement of human rights is concerned. One of the wrongs of the past to be remedied was the issue of the gross historical dispossession of land.
Our Constitution made the restoration of Land Rights to the previously dispossessed a Constitutional imperative. The bare framework for this, provided for in the Constitution, was that the State may expropriate land by means of a Law of General Application, for public purposes or the public weal (which included land restitution), that there was to be no more arbitrary deprivation of land, and that equitable compensation therefore was to be paid by the State. There was no suggestion that the only measure of equitable compensation was to be the market value of the expropriated land, and the use to which the land was put, the history of acquisition and ownership of the land, the extent of prior state subsidization or assistance in respect of the land, whether the land had been profitably used or not, were among the circumstances to be factored in. There is not, and never has been, the so called "willing buyer, willing seller " principle to be found in our land restitution laws. It is unfortunate that Politicians who ought to know better, than blame the States poor land restitution performance on this on existent belief.
By far the greater majority of non indigenous South Africans, including the descendants of the original Dutch farmer settlers, acknowledge and support the restitution of land in terms of the Constitution and related legislative enactments. The question arises then, how has the State discharged this obligation? Many farmers and their advisors will tell of inefficiencies in the relevant State departments dealing with the issue, which inefficiencies have had the effect of almost derailing the restitution program, but that is not the worst of the State's failures.
In the 2016/2017 National Government Budget, the provision for land restitution was a paltry R26 Billion. The state has thus set aside a mere 2.6% of its total revenue to address the most pressing need faced by the Country. Put another way, the Auditor General's latest report showed that irregular or wasted expenditure by all organs of State exceeded R30 Billion last year. An even more tellingly, commentators and economists attempting to quantify the cost of the so called State Capture by a powerful and influential elite, set the figure at between R50Billion to R100 Billion. If the State made an effort to recover this looted money it's recovery would bring into the equation an amount of money between two and four times the amount actually set aside by the State for land restitution in 2016/2017.
In order to remedy the State's dismal performance on Land Restitution, we now have the spectre of Expropriation Without Compensation (EWC). This is, however, to occur in such a way as to protect and secure food production, and with no adverse effect on the economy. These qualifications effectively spell the death knell for EWC. Consider the following:
The production of food by farmers is an extremely expensive undertaking, and farmers borrow money in order to acquire the means of food production. In so doing, they offer their land as Security for the necessary loan. If land can no longer be used for this purpose, there will be fewer, if any, production loans granted. No loans, no food will be produced, and the protection of food security goes out the window.
There exists an enormous amount of talent and institutional knowledge within our Country's farming community. Replace this talent lock stock and barrel with eager but untutored hopeful farmers, and once again, food production falls.
Our Country's banks and other financial institutions reputedly have collective loans of R180 billion advanced to our farmers at any stage. EWC would leave the banks with vast irrecoverable debt, and they might then face the prospect of closure. A banking sector under strain would scare away offshore investors, who are so vital to the health of our economy.
EWC is, simply stated, the transfer by the State of one of its primary Constitutional obligations, to a select few individuals. Apart from the dereliction of duty by the State which such transfer entails, it represents a breach of the affected farmers' Human Rights. The Constitution guarantees every South African the right to pursue his career. Consider, also, the plight of such farmer bereft of a career. He will, in all likelihood, have enormous debt to settle, without an income to service it, and without the land he formerly owned as Security.
EWC also raises the following questions. Whose land is to be expropriated? What criteria for expropriation will be utilized? Who is to be the beneficiary under such expropriation?
As stated before, land restitution in order to redress the wrongs of the past has the support of the great majority of non indigenous South Africans. Even the formal farming organizations and associations are proponents of Land Restitution, but this must be done within the framework of the Constitution. A Government seriously committed to constitutional land restitution, would be able to discharge its obligation in an orderly fashion, without threatening food security, and without damage to our economy.
By: Andrew Fisher – Conveyancer/Attorney
July 23, 2018 /0 Comments/by Randles
https://randles.co.za/wp-content/uploads/2018/07/flag-map_of_south_africa.svg_.png 1697 2000 Randles /wp-content/uploads/2018/04/logo.png Randles2018-07-23 08:40:072018-07-23 08:40:07THE BURNING ISSUE OF LAND OWNERSHIP IN SOUTH AFRICA
email: info@randles.co.za
Level 2 Mahogany Court
Redlands Estate
1 George MacFarlane Lane
Pietermaritzburg 3201
email: howick@randles.co.za
Suite 5 , Level 2 "Yard 41"
4 Karkloof Road
email: durban@randles.co.za
10th Floor, Mansion House East Wing
12 Joe Slovo Street (Field Street)
Dorpspruit, 3206
Docex 2, Pietermaritzburg
© Copyright - Randles | Information Manual | Privacy Policy | Usage Policy | Legal Practice Council | Law Society of South Africa
The effect the Consumer Protection Act has on Property Sales Considering buying property with your partner?
Visit the official COVID-19 government website to stay informed:sacoronavirus.co.za


Trays manufactured from moulded Birch wood (from renewable Scandinavian forests) throughout and covered with a protective melamine coating.
Serving trays with Swedish style.
Serving trays manufactured from moulded Birch wood (from renewable Scandinavian forests) throughout and covered with a protective melamine coating. They can be used with food, they are stain resistant and are dishwasher friendly.
Each one is handmade in Sweden. Safe to say they expertly combine innovative printing technology with traditional craftsmanship. They'll bring a dash of art and colour to your kitchen.
Ducks – large round – 46cm diam. From original paintings by artist Nathalie Lete.
Kingfisher – large round – 46cm diam. From original paintings by artist Nathalie Lete.
Dogs – rectangular – 43 x 33cm. From original painting by Anne Bentley.
Bird – oval – 32 x 25cm. From original paintings by artist Nathalie Lete.


Soaps have always drawn on their rich histories for story ideas, but serials seem to be doing this to an even greater degree as competition for eyeballs is at an all-time high. And such storytelling strategy has led to Daytime Emmy nomination success.
When Bradley Bell, head writer and executive producer of "The Bold and the Beautiful" (nominated for 18 awards at the 45th annual ceremony this year), wanted viewers to sympathize with resident rogue Quinn Forrester (Rena Sofer), he knew he needed a formidable force.
"We thought what better way to do that than to bring [back] the ultimate baddie — Sheila," Bell says of the character played by Kimberlin Brown.
The show's breakaway vase budget took a hit, but after some classic battles, viewer sympathy for Quinn grew.
"Days of Our Lives'" top scribe Ron Carlivati rejuvenated the last soap he worked on ("General Hospital") by re-introducing past fan favorites. He's been working that same magic in Salem with the re-introduction of beloved characters, including Alison Sweeney's Sami.
"Days of our Lives" scored 25 noms this year.
Meanwhile, today's "General Hospital" (with the most noms at 26) struck creative gold and scored a ratings bump in key demos by combining the return of Steve Burton's Jason and solid storytelling by the show's scribes Shelly Altman and Chris Van Etten. Fans got a big payoff when Jason, who returned last September, and Sam (Kelly Monaco) shared a kiss on New Year's Eve.
"General Hospital" has addressed returning favorites in a variety of ways, some of which have only proven to be short term — such as when Michael Sutton returned as Stone's ghost, as well as when Denise Alexander reprised her role of Dr. Lesley Webber just for daughter Laura's (Genie Francis) wedding.
Mal Young, showrunner of "The Young and the Restless," drew on the show's 45-year history by returning Abbott matriarch Dina (Marla Adams) and former ladies' man JT (Thad Luckinbill) to the canvas. "Y&R" scored 25 nominations this year.
Since leaving the soap in 2010, Luckinbill has become a successful film producer ("La La Land," "12 Strong"), but he agreed to return to daytime for a lengthy stint after hearing Young's story pitch. "I said, 'I'm not asking you to come back for 10 years, but let's tell the next chapter of JT's story,'" Young says.
This practice of mining the past isn't limited to soaps, Young notes.


text:
Beta Comae Berenices (β Com / β Comae Berenices / Beta Comae Berenices) è una stella appartenente alla sequenza principale che si trova a 29,9 anni luce di distanza dal Sistema solare, nella costellazione della Chioma di Berenice. È una stella di classe spettrale G0-V e attualmente, nonostante sia designata con la lettera beta, è leggermente più brillante di Alfa Comae Berenices.

Beta Comae Berenices è molto simile al nostro Sole. La superficie della stella ha un ciclo di attività che è stato misurato essere di 16,6 anni (quello del Sole è di 11 anni), ma potrebbe avere anche un secondo ciclo di 9,6 anni.

Nella seconda metà del XX secolo si pensò che questa stella avesse una compagna spettroscopica, idea però recentemente scartata per via di più accurate misure sulla velocità radiale di Beta Comae Berenices. Intorno a questa stella non sono stati scoperti pianeti e non vi è alcuna prova di un disco di accrescimento.

Voci correlate
Lista delle stelle luminose più vicine

Collegamenti esterni
Beta Comae Berenices Sol Company

Stelle di classe spettrale G
Nane gialle
Analoghe solari


text:
Written by Joe Shields• June 8, 2020• 2:14 pm• 2019, Featured, Sailing
Women Tackle the High Seas and Prejudice in Round-The-World Sailing Documentary
Maiden opens with footage of menacing waves and a warning: "The ocean's always trying to kill you. It doesn't take a break."
The voice belongs to British sailor Tracy Edwards, heroine of a film released in North America by Sony Pictures Classics on June 28. Written and directed by Alex Holmes, the 93-minute documentary features Edwards, who at age 26, skippered the first all-female crew in the 1989-90 Whitbread Round the World Race…
"Maiden is one of those inspirational stories that once heard, you are unlikely to forget," said Holmes, who first heard Edwards speak at his 11-year-old daughter's elementary-school graduation.
"It's the story of a young girl who dared to dream and of a team that came together to challenge chauvinism and set an example to the world. From the moment she started telling her story, I knew she was a remarkable character. As the tale enfolded, I was also struck by the realization that, even after all these years, the world tries to limit our daughters."
Maiden Skipper Tracy Edwards / photo Courtesy of TIFF
The tale has all the elements of an epic adventure: 50-foot waves, life-and-death drama, near-mutiny, agony and thrilling victory. Prevailing prejudice adds to the mix of this against-all-odds account of perseverance.
The sailing establishment opposed Edward's dream of racing against men in the Whitbread. Male competitors believed an all-female crew would never finish. Potential sponsors feared the women would die at sea and cause a public-relations nightmare. The chauvinistic yachting press wagered they would fail.
"One journalist at the time [Bob Fisher of The Guardian] called us 'a tin full of tarts,'" said Edwards. "Then when we won one of the legs coming into New Zealand, he called us 'a tin full of smart, fast tarts,' and you know what? At the time we thought that was great. But it was of the time and you can't change that."
Mikaela Von Koskull, Jeni Mundy. photo Courtesy of Tracy Edwards and Sony Pictures Classics
The film gradually reveals the resilient bond that forms among the women during a perilous journey. It does so with the camerawork of Jo Gooding, the Welsh cook on board Maiden, who captured the undertaking on a clunky SVHS camera. The crew's commentary also adds personal perspective and social context. Male sailing crews were questioned about tactics; the women were asked, "How are you all getting along together?" and "What do you do for chapped lips?"
Introduced in 1973, the round-the-world (and clock) yachting competition was originally sponsored by Britain's Whitbread brewing company. Known as The Ocean Race today, the triennial tradition is a proving ground and true marathon on the high seas. It is one of sailing's Big Three events; the others are the Olympic Games and America's Cup.
The race is an obsession for the greatest sailors, one that was not lost on Edwards. She began traveling the world after being expelled from school when she was 15 years old. Beginning in Greece at age 17, Edwards worked on charter yachts and spent her first transatlantic voyage learning how to sail.
"I found myself day-working in Newport, Rhode Island," she said. "This meant staying wherever I could and finding work on a daily basis: sanding, varnishing, painting, cleaning bilges. You name it, I did it. Anything to survive."
She first learned of the Whitbread while working as a stewardess on a charter boat in Newport.
"I was sitting on a friend's boat one day and I was looking through his books," Edwards explains in the documentary. "And I pulled one book out and opened it up. I went, 'What's this?' 'That's the Whitbread Round the World Race.' I said, 'This is absolutely incredible.' I wanted to be part of it. So, I knew it was just something I had to do."
The next day, Edwards applied for a job as a cook on a Whitbread boat. "I remember going to the skipper…I said, 'Are you looking for a cook?' And he went, 'We are not having a girl. We are not going to be the only professional racing team in the world with a girl on the boat."
Devasted, Edwards returned to her boat, where by chance, she was told they had an important charter. The client turned out to be King Hussein I of Jordan. Edwards was washing dishes in the galley when Hussein walked in. The two began a friendly conversation; Hussein was fascinated by her life and passion for the Whitbread. He told her she must do it.
Inspired, Edwards convinced the skipper to hire her and became the cook—and the only woman—on the South African boat Atlantic Privateer. It was on the Atlantic Privateer that Edwards first encountered the yacht that would become Maiden; both boats rounded Cape Horn in the icy waters of the 1985-86 Whitbread.
Left to Right: Tracy Edwards, Dawn Riley, Sally Hunter, Angela Heath, Mikaela Von Koskull, Amanda Swan Neal, Tanja Visser, Jo Gooding / photo Courtesy of Tracy Edwards and Sony Pictures Classics
Originally named Disque D'Or 3, Maiden was named Stabilo Boss when Edwards first laid eyes on the yacht during the 1985-86 race in the Southern Ocean, near Antarctica. Stabilo Boss was skippered by the single-handed sailor Bertie Reed; Edwards communicated with him via radio while rounding the horn. After the race, Stabilo Boss was renamed Prestige and languished in Cape Town, South Africa.
Edwards finished the 1985-86 race and knew she wanted to sail in the 1989-90 race, but with an all-female crew. The "Maiden Great Britain" project was not well received by potential sponsors. Determined, Edwards mortgaged her house to purchase a "wreck with a pedigree" for £110,000. The wreck was Prestige, which was shipped to Southampton, England, for an overhaul.
In 1988, Edwards and her crew spent six months redesigning and refitting the yacht. In September of that year, the Duchess of York graciously christened Maiden and went sailing with the women. Sponsorship soon followed: the team bore the Royal Jordanian Airlines logo, courtesy of Hussein. Maiden was painted in the livery of the planes; the famous gray hull and its red and gold lines became an icon of the 1989-90 race.
On Sept. 2, 1989, 23 yachts met on the starting line in Southampton for the fifth Whitbread. The race had six legs totaling 32,018 nautical miles: (1) Southampton to Punta del Este, Uruguay; (2) Punta del Este to Fremantle, Australia; (3) Fremantle to Auckland, New Zealand; (4) Auckland to Punta del Este; (5) Punta del Este to Fort Lauderdale, U.S.A; and (6) Fort Lauderdale back to Southampton. The race applied time allowances, but four divisions separated the entries and the Whitbread Trophies were awarded to the first boat to finish in each class.
Edwards and her crew shocked the sailing world and completed the race in 167 days and three hours. Although Maiden was smaller than competing yachts, the women won two of the three Southern-Ocean legs in Division D. Two boats did not finish the race and one man perished after being swept overboard. Maiden came in second overall in her class, the best result for a British boat in 17 years. It still remains the best result ever for a female crew.
Left to Right: Tracy Edwards, Mikaela Von Koskull, Courtesy of Tracy Edwards and Sony Pictures Classics
There are difficult and poignant moments in the film. Edwards' navigational error in the fifth leg results in Maiden achieving a disappointing fourth place in Division D. While crossing the Southern Ocean, dressing extremes match those of the elements; it takes the women 30 minutes to put on and another 30 minutes to take of clothing layers. And their efforts only afford them protection for just a few minutes on the frigid deck.
Then there are lighthearted moments. In Auckland, Maiden is welcomed by more than 14,000 fans even though the yacht arrives in the middle of the night. The ladies also pull a great media stunt during a warmer leg of the race by arriving at the dock wearing bathing suits. They later regret the ploy. Edwards even tells reporters on camera: "I hate the word feminist."
But the "maiden" voyage did transform Edwards into a feminist. She remains optimistic.
"The great message we always had was simply equality," she explained. "What's the difference between 30 years ago and now? My usual answer is: not enough. But there is a difference. Thirty years ago, men were either aggressive towards us, or there was antipathy. Whereas 30 years later, women are not just having the conversation with ourselves. We are having it with men."
In 1990, Edwards was awarded MBE (Member of the Most Excellent Order of the British Empire) by Queen Elizabeth II. She also became the first woman in its 34-year history to receive the Yachtsman of the Year Trophy.
Soon afterwards, Edwards sold Maiden and the 12 crew members scattered across the globe. She went on to work for the Child Exploitation and Online Protection Center and returned to university to complete a psychology degree.
In 2014, Edwards discovered Maiden had been abandoned in the pirate-infested waters of the Indian Ocean. She raised funds once again to rescue the yacht and bring her home to the United Kingdom for restoration—and a chance to reunite with her original crew members. Edwards also had an idea: Maiden could help raise money to educate girls.
Today, a new generation of all-female crew members are sailing Maiden on a world tour with more than 23 destinations in 13 countries. The crew sails for girls' education, working with local charities and supporting community-led educational projects.
Edwards is a motivational speaker and has written two books about her experiences. Visit www.tracyedwards.com and www.themaidenfactor.org for more information.
Joe Shields is the editor-in-chief of The Virginia Sportsman. He is a writer and marketing executive based in Charlottesville, Virginia. His writing and photography have appeared in The Virginia Sportsman and other publications. Whether fly fishing or surfing, he loves the outdoors and celebrates sporting life and culture in his narratives.
Seigler Fishing Reels Puts the Customer First
Staff Picks for Golf and Near the Old Dominion


text:
The plugin allows to configure which .env file to load.

## Configuration Parameters

The **aurelia-notification** plugin provides the following configuration parameters:
- `path`
  - Specifies the path to the directory containing the .env file.
  - **Default**: './'
- `file`
  - Specifies the .env file to load.
  - **Default**: 'aurelia.env'

Configuration parameters are handed over to the plugin when calling ```load()```.
The following snippet shows how to change the path and the file that is loaded on startup:

```javascript
import {load} from 'aurelia-environment';
import 'bootstrap';

export function configure(aurelia) {
  load({path: 'config/', file: '.env'}).then(() => {
    aurelia.use
      .standardConfiguration()
      .developmentLogging();

    //Uncomment the line below to enable animation.
    //aurelia.use.plugin('aurelia-animator-css');
    //if the css animator is enabled, add swap-order="after" to all router-view elements

    //Anyone wanting to use HTMLImports to load views, will need to install the following plugin.
    //aurelia.use.plugin('aurelia-html-import-template-loader')

    aurelia.start().then(() => aurelia.setRoot());
  });
}

```


text:
Q: node js sending json body in response re-posting this question with different information.
I have 3 parameters.
  response.writeHead(200,
        {
         'Content-Type': 'text/json'
        });
      response.end({ID:'bufid',Name: bufname,address: bufaddrss});

    }

This is not working.
Here I want to send to the end user in 200 Ok a JSON Body as:
{'ID; :'123',
  'Name': 'alice',
   'address': 'xxxxx'}

Here bufid,bufname and bufaddrss are  values which are determined by functions and which can be accessible any where (they are global)
how can I send that information

A: First you have to realize that the following:
{ID:'bufid',Name: bufname,address: bufaddrss}

is not JSON. JSON is a protocol. It is a string that encodes a javascript object with a syntax that is similar to javascript object literal syntax (hence the confusion and mix-up most people have with the term "JSON").
You first need to convert that object to JSON formatted string. Fortunately node comes with a built in method: JSON.stringify().
response.end(
    JSON.stringify({ID: bufid,Name: bufname,address: bufaddrss})
);


text:
Q: Как нормально сверстать такой переход
Пробовал через before, но с ним фон не получается. Плюс надо сделать полоску по краю

A: Вариант с использованием clip-path

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

[class*=section-] {
  position: relative;
  min-height: 100vh;
}

[class*=section-]::before,
.section-2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

[class*=section-]::before {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.section-1::before {
  background-image: url(https://scx2.b-cdn.net/gfx/news/hires/2019/2-nature.jpg);
}

.section-2::before {
  top: -48px;
  min-height: calc(100vh + 48px);
  background-color: #00f;
  background-image: url(https://www.hopestandard.com/wp-content/uploads/2020/04/21333414_web1_200420-CRM-earth-day-EARTHDAY_1.jpg);
  clip-path: polygon(calc(50% + 1px) 50px, calc(53% + 1px) 0, 100% 0, 100% 100%, 0 100%, 0 50px);
  z-index: 1;
}

.section-2::after {
  top: -50px;
  min-height: calc(100vh + 50px);
  background-color: #00f;
  clip-path: polygon(50% 50px, 53% 0, 100% 0, 100% 100%, 0 100%, 0 50px);
}

A: Можно реализовать через 2 слоя наложенные друг на друга с отрицательным отступом:

*

*margin-top:-50px и разный z-index,

*position:absolute у одного из слоёв.


text:
Why has Husni disappeared from the radar after two months as Cabinet spokesman for 1MDB, destroying his credibility and integrity which he had painstakingly built up for over two decades?
Posted by Kit in Financial Scandals, Najib Razak, Parliament on Saturday, 14 November 2015
Yesterday, 1MDB was the top issue at Bank Negara's third-quarter economic briefing where Bank Negara Governor Tan Sri Zeti Akhtar Aziz was asked whether the central bank had made any mistake in the investigation on 1MDB's investment abroad.
When Zeti replied with an emphatic "No", it must have deepened the question on everybody's mind why in his first wide-ranging press interview, where the new Attorney-General Tan Sri Mohamed Apandi Ali talked on a wide variety of subjects including why the sedition charge against Tinju Ali was dropped and the unfettered exercise of his discretionary powers as Public Prosecutor, he failed to explain the reasons why he rejected Bank Negara's recommendations for prosecution against 1MDB for violation of financial laws.
This morning, there was an overwhelming crowd at the briefing for UMNO divisional leaders at the Putra World Trade Centre (PWTC) where 1MDB CEO Arul Kanda Kandasamy proved to be a greater crowd-puller on the subject of 1MDB than UMNO heavyweights scheduled to speak for the day, like Minister for International Trade and Industry, Datuk Seri Mustapha Mohamad on the Transpacific Partnership Agreement and the Second Finance Minister Datuk Seri Ahmad Husni Mohamad Hanazlah on the 2016 Budget.
In fact, the crowd-puller today should have been Husni as at the Cabinet meeting in the last week of May, Husni was appointed the Cabinet spokesman for 1MDB, but he disappeared from the public scene as Cabinet spokeman on the 1MDB after two months. Read the rest of this entry »
Paris rocked by explosions and shootouts leaving more than 140 dead
Posted by Kit in International on Saturday, 14 November 2015
By Griff Witte and William Branigin
November 13 at 8:35 PM
France declared a state of emergency and sealed its borders Friday evening after a series of apparently coordinated terrorist attacks struck at sites across Paris, leaving at least 140 people dead and scenes of horror and carnage outside a soccer stadium, at cafés and inside a concert hall.
At the Bataclan theater alone, at least 118 people were reported massacred by gunmen armed with assault rifles and explosives.
The attacks on half a dozen targets spawned panic and chaos in a city where residents and tourists had only minutes earlier been enjoying a cool and quiet November evening.
At the concert hall, gunfire and explosions rang out as security forces moved in on hostage takers who had stormed a performance by an American rock band.
Police said the attackers threw explosives at the hostages, in addition to opening fire on them. About 100 people were rescued when security forces stormed the building, French media reported. One official described the scene inside as "carnage." Read the rest of this entry »
Call on Najib to declare his stand – whether he will resign as Prime Minister if his 2016 Budget is rejected by Parliament on Monday
Posted by Kit in Budget Debate, Najib Razak, Parliament on Saturday, 14 November 2015
Datuk Seri Najib Razak should declare his stand well before Parliament's resumption after the Deepavali break on Monday, whether he will resign as Prime Minister if his 2016 Budget is rejected by Parliament during it second reading on Monday.
This has become an issue as the Minister in the Prime Minister's Department and Gerakan President, Datuk Mah Siew Keong told Sin Chew Daily that there is no need for Najib to resign as Prime Minister even if the 2016 Budget is rejected by Parliament.
This is turning accepted parliamentary conventions and practices on their head but for this perversion of parliamentary tradition to come from the President of a political party which had prided itself as "the conscience" of the Barisan Nasional coalition government indicates the degree of depravity and degradation this political party had undergone in order to hang on to the few perks of office and position in government.
Regardless of the outcome of the Parliamentary vote on Monday, Najib should declare his stand on whether he would resign as Prime Minister if the 2016 budget is rejected, or he would hang on to office, both as Prime Minister and Finance Minister, regardless of the outcome of the parliamentary vote? Read the rest of this entry »
Celebrating democracy
Posted by Kit in ASEAN, Elections, International on Saturday, 14 November 2015
– Politics in Myanmar YANGON
THE excitement was palpable. In the pre-dawn dark of November 8th, 30 minutes before voting in Myanmar's general election began, the queue at a polling station in Yangon, the country's biggest city, stretched for several blocks. In midmorning a line of voters trailing through a monastery's leafy grounds suddenly shifted to allow a frail elderly woman, carried up a flight of stairs by two young men, to cast her ballot. Through blazing midday sun and afternoon rainstorms, Myanmar's citizens turned out to vote in their country's first competitive general election since 1990—most of them, it appeared, to deliver a blow to the army, which has controlled the country for half a century.
Full results are not yet in, but as The Economist went to press, the National League for Democracy (NLD), an opposition party led by Aung San Suu Kyi, a longtime democracy activist, had won 291 parliamentary seats, compared with just 33 taken by the incumbent Union Solidarity and Development Party (USDP) and 35 by assorted ethnic parties and independent candidates. Miss Suu Kyi believes the NLD is on track to win at least 75% of the seats contested—enough to give it a majority, despite the constitution's provision that one-quarter of the seats must be reserved for the army. Read the rest of this entry »
Behold The Liberated Minds of Our Hang Jebats and Hang Nadirs!
Posted by Kit in Bakri Musa, Najib Razak on Saturday, 14 November 2015
www.bakrimusa.com
Why do you stay in prison when the door is wide open?
Jalal ad Din Rumi (1207-73)
The path we chose in pursuing independence represented the best elements of our culture. We followed the right leaders and they in turn adopted the right strategy, one of co-operation and negotiation. That was our nature, to be bertolak ansur (give and take); posturing and confrontation were just not our style.
Our leaders' timing too was perfect as Britain had grown weary of her colonies. We were also lucky in that we were dealing with the British. Had it been the Chinese, well, consider the fate of the Tibetans and Uighurs. Had it been the Russians, look at Ukraine and Chechnya.
Today revisionist historians belittle the valiant efforts of our fathers of independence. Let me set these latter-day interpreters of events straight. Had we opted for Burhanuddin Al Helmy or Chin Peng, the nation's history and the fate of our people would be far different today.
In times of crises or profound changes, we have to be extra cautious in whom we choose to lead us, or stated differently, in whom we should follow. It is during such times that we have to exercise our critical faculties and be extra vigilant in choosing our leaders. Malaysia is in such a state today. We have a leader in Najib Razak who is severely-challenged with respect to honesty, integrity, and competency. Profligacy he has in abundance. Read the rest of this entry »
You are currently browsing the archives for Saturday, November 14th, 2015


Jersey, the largest of the Channel Islands. Famed for its Royal new potatoes as well as its equally delicious dairy products from its iconic purebred cattle – and now, for those with an interest in exemplary engineering standards of management, research, design, efficiency, easy maintenance and high performance…its sewage treatment works.
Granted, the STW may never feature in any Channel Islands' tourism brochure, but as home also to one of the world's leading international finance centres, Jersey certainly knows a thing or two about how to invest money.
"The new plant gave us the perfect opportunity to engineer out old unwanted problems", said Bob King, Senior Engineer (Waste Strategy – Mech & Process) at the States of Jersey's Department for Infrastructure.


Please share any concerns you may have by answering the questions below and pressing 'Submit'. This can include unpleasant behaviour and language directed at you either in person or via social media, that may upset you or others. Information will then be passed to the school Pastoral and Safeguarding team, who will follow this up and contact you.
What happened - please include: where, when, who?
Have you told a member of staff? If so, who did you tell?
Name of Person Causing You Concern?


On December 8th, 1995, 700 kg of molten sodium leaked from the secondary cooling circuit of the Monju reactor, resulting in a fire that made headlines across the country. Although the accident itself did not result in a radiation leak, many argue that the fire came close to breaching Monju, a catastrophe which would have spilled plutonium into the environment.
Starting from September of 2007, Nishimura's family brought the story back to light in a trial against the PNC at Japan's High Court.


text:
Be a dictator but be a nice one
By Blair Mcpherson | 18 January 2021
I have been watching a film about Jack Charlton who died in 2020. Finding Jack Charlton focuses on Jack Charlton the manager. For a decade he inspired a modest outfit to consistently over perform. Former colleagues recounted stories which gave insights into his management style. He could be single minded and inflexible, he could be direct to the point of being abrasive, he was decisive and clear and he wasn't much interested in discussing the options. But he was a very good man manager. His notes to himself put it bluntly – 'be a dictator but be a nice one'.
This type of management is not as old school as some of today's management gurus would have you believe. In difficult and uncertain times clarity and direction assume a greater importance and man management or people management skills never go out of fashion.
Being a dictator is doing things your way and being ruthless in dealing with dissent or opposition. This type of manager is not seduced by talent. To them the exceptionally talented are not necessary, since their outstanding ability may lead to an independence of mind and a reluctance to do things the prescribed way. Think of it like a rower who is capable of going faster than the rest of the crew but in doing so pulls the boat off course and makes it harder to steer.
We all know what a dictator looks like but what does a 'nice one' look like? It's all down to how they relate to the individuals they manage and how they are viewed by the wider world. The manager sets the tone in encouraging a relaxed atmosphere with in the team. The manager knows each team member as an individual, he knows their history and their personality, he recognises their feelings and he uses this knowledge to get the best out of this person and to talk to them in such a way as to get their message across effectively. Those that need nurturing get nurturing, those that want to be valued and trusted are valued and trusted, those who lack confidence in their ability are boosted by the confidence the manager has in their ability.
These same communication skills are brought to bear on the wider audience. Jack Charlton would joke that he could talk. What was obvious was that he could make his audience feel comfortable whether that was an audience of one or an audience of hundreds. And it didn't matter whether the audience was a conference room full of professionals or an impromptu chat with one of the catering staff. People who had never met him felt they knew him and people who did meet him felt he knew them.
Of course a dictator, even a nice one, is a dictator and can be opinionated, abrasive and intolerant of those who do not see things their way. The longer they are in post the more people they will alienate. Once the results are no longer as impressive then sheer force of personality alone will not be enough and a different more inclusive management style will be called for.
Blair Mcpherson is a former director, author and blogger www.blairmcpherson.co.uk


This book has been designed to help parents and teachers reinforce basic skills with their children. It reviews basic math skills for children in kindergarten. The math focus is shapes and sizes. The basic objectives are reinforced through practice exercises. These objectives support math standards. It includes tracing, and recognizing shapes. It practices recognizing shape pattens, form and colors as well as identifying shape words. There are 40 practice pages organized sequentially.