text:
2013 Aceh earthquake
July 2, 2013 (2013-07-02)
2:37pm (UTC+7)
10 km (6 mi)
4°41′53″N 96°41′13″E / 4.698°N 96.687°E / 4.698; 96.687
Strike-slip[1]
Total damage
4,292 houses damaged[2]
Max. intensity
VIII (Severe)[1]
Aftershocks
4.3, 5.5, 5.2 Mw
35 dead, 8 missing, 276 injured
The 2013 Aceh earthquake struck the Indonesian island of Sumatra on July 2 with a moment magnitude of 6.1 and a maximum Mercalli intensity of VIII (Severe). The strike-slip earthquake killed at least 35 people and injured 276 others in the province of Aceh (on the northern end of Sumatra) where approximately 4,300 homes were damaged or destroyed.
Great Tsunami 12-26-04 at Banda Aceh, Sumatra, Indonesia 3 of 3
Boxing day tsunami 2004 Thailand - complete series 1/4 Phuket
Earthquake Sequence and the Resulting Tsunamis in Indonesia
1 Background
2 Earthquake characteristics
3 Damage
4 Response
Earthquakes are common in Sumatra as it lies at the convergent boundary where the Sunda Plate is subducting beneath the Indo-Australian Plate. The plates are converging obliquely at a rate of 60 mm per year and the right lateral component is accommodated by strike-slip faulting within Sumatra, mainly on the Great Sumatran fault.[1] In 2004, Sumatra was devastated by the Sumatra–Andaman earthquake and resulting tsunami that killed tens of thousands in the area and 230,000 people around the Indian Ocean.[3][4] In 2009, an earthquake near Padang on Sumatra killed more than 1,000. In April 2012, an 8.6-magnitude quake killed five people in Aceh.[4]
Earthquake characteristics
At 2:37pm local time (07:37 UTC) on July 2, 2013, a 6.1 magnitude earthquake struck at a depth of 10 kilometres (6.2 mi) with an epicenter near Sumatra's northwestern tip, 55 kilometres (34 mi) south of Bireun.[1] It occurred on the Semangko Fault.[5] The quake lasted approximately 15 seconds and was felt from regional capital Banda Aceh to Bener Meriah.[3] The quake was powerful enough to cause concern in Banda Aceh, 320 miles (510 km) from the epicenter, and shaking was felt as far as Malaysia.[4] At least fifteen aftershocks occurred, with three powerful ones registering magnitudes of 4.3, 5.5 and 5.2.[5][6]
A damaged house
As of July 5, the official death toll stood at 35, with eight people still missing.[7] A further 276 people were injured.[7] The Bener Meriah and Central Aceh districts were hardest hit by the quake.[8]
In Bener Meriah, nine deaths were reported.[7] More than 100 people were hospitalized due to their injuries and 537 houses were badly damaged in the district.[7][4] A further 252 houses suffered minor damage.[7] Several hundred residents slept outdoors the night of July 2, afraid to return to their homes for fear of aftershocks.[3] "There were strong aftershocks last night and people didn't want to go back home, so they stayed in the open overnight," commented an official, "but we don't have enough tents".[4]
In Central Aceh, 26 deaths were reported.[7] A mosque collapse killed six children and trapped 14 others.[3] Rescuers dug through the rubble throughout the night of July 2–3, but did not locate any of the trapped children. Numerous landslides occurred in the district and 1,368 houses were destroyed.[7][4] A further 2,135 houses suffered minor damaged.[7] On July 3, a local official commented "People are still frightened, especially after the aftershocks last night. Nobody dared to stay at home. Everyone slept on the roads or in car parks."[4] The main hospital was overcrowded with patients, causing tents to be set up outside to handle the overflow.[4]
A government plane and helicopter were sent in to assist local police and soldiers in rescue efforts.[9] Several roads were destroyed in the quake or blocked by landslides, hampering rescue efforts.[3] Power and cell phone tower outages made communications difficult.[4] Three truckloads of bottled water, food, and other supplies were dispatched to the region.[5] The Aceh Disaster Mitigation Office said more help would be provided when they had better data on what was needed.[4]
On July 3, 40 billion rupiah (approximately US$4 million) was allocated for emergency relief efforts. A one-week emergency response period, which can be extended if necessary, was enacted in Bener Meriah.[5] Five shelters were set up in Bener Meriah and 10 in Central Aceh.[5]
List of earthquakes in 2013
List of earthquakes in Indonesia
Indonesia portal
^ a b c d "M6.1 - 55km S of Bireun, Indonesia". USGS. July 3, 2013. Retrieved July 3, 2013.
^ "Death toll in Indonesia quake rises to 35; rescuers search for missing", CNN, July 6, 2013
^ a b c d e "Rescue after deadly earthquake in Indonesia's Aceh". BBC. July 3, 2013. Retrieved July 3, 2013.
^ a b c d e f g h i j Nurdin Hasan; Fikri Ramadhavi; Muhammad Hamzah (July 3, 2013). "42 Reported Dead in Aceh as Rescue Crews Search Earthquake Wreckage". Jakarta Globe. Retrieved July 3, 2013.
^ a b c d e "Indonesia imposes week emergency response period in Aceh earthquake". Xinhua. July 3, 2013. Retrieved July 3, 2013.
^ "USGS - two further earthquakes". USGS. Retrieved July 3, 2013.
^ a b c d e f g h "Aceh earthquake death toll reaches 35". Jakarta Post. July 5, 2013. Retrieved July 5, 2013.
^ Jethro Mullen; Kathy Quiano (July 3, 2013). "Quake in Indonesia kills 22, injures more than 200". CNN. Retrieved July 3, 2013.
^ "22 Indonesians killed, over 200 injured in Aceh quake". Xinhua. July 3, 2013. Retrieved July 3, 2013.
The International Seismological Centre has a bibliography and/or authoritative data for this event.
ReliefWeb's main page for this event.
← Earthquakes in 2013 →
Alaska-British Columbia (7.6, Jan 5)
Santa Cruz, Solomon Islands (8.0, Feb 6)
Nantou, Taiwan (5.9, Mar 27)
Bushehr, Iran (6.3, Apr 9 †)
Saravan, Iran (7.8, Apr 16 †)
Lushan, China (6.6, Apr 20 †)
Laghman, Afghanistan (5.7, Apr 24)
Okhotsk Sea (8.3, May 24)
Nantou, Taiwan (6.3, Jun 2)
Aceh, Indonesia (6.1, Jul 2 †)
Seddon, New Zealand (6.5, Jul 21)
Dingxi, China (5.9, Jul 22 †)
Lake Grassmere, New Zealand (6.6, Aug 16)
Awaran, Pakistan (7.7, Sep 24 †‡)
Awaran, Pakistan (6.8, Sep 28)
Bohol, Philippines (7.2, Oct 15 †)
Borazjan, Iran (5.6, Nov 28)
† indicates earthquake resulting in at least 30 deaths
‡ indicates the deadliest earthquake of the year
Times for all earthquakes are in UTC
Earthquakes in Indonesia
1629 Banda Sea
1797 Sumatra
1899 Ceram
1917 Bali
1931 Southwest Sumatra
1943 Alahan Panjang
1943 Central Java
1965 Ceram Sea
1968 Sulawesi
1976 Papua
1977 Sumba
1981 Irian Jaya
1982 Flores
1984 Northern Sumatra
1989 West Papua
1991 Kalabahi
1994 Liwa
1994 Java
1996 Biak
2000 Banggai Islands
2000 Enggano
2004 Nabire
2004 Indian Ocean
2005 Nias–Simeulue
2006 Yogyakarta
2006 Pangandaran
March 2007 Sumatra
September 2007 Sumatra
2009 Talaud Islands
2009 West Java
April 2010 Sumatra
May 2010 Northern Sumatra
2010 Mentawai
2011 Aceh Singkil Regency
2013 Aceh
July 2018 Lombok
5 August 2018 Lombok
19 August 2018 Lombok
2018 East Java
2019 Lombok
2019 North Maluku
2019 Sunda Strait
2019 Ambon
Sunda Trench
Great Sumatran fault
Sunda megathrust
Geology of the Sumatra Trench
Palu-Koro Fault


text:
Young's 35 leads Princeton past Castle, 60-46
Gordon Engelhardt
DANIEL R. PATMORE / SPECIAL TO THE COURIER & PRESS Princeton's Hannah Brewer (5) fight to keep hold of the ball with Castle's Jessica Nunge (30) as she drive toward the basket past Castle's Kaylie Stowe (24) and Karlee Ziliak (10) in the first quarter of their game at Castle High School gym in Newburgh, Ind. Tuesday, Jan. 19, 2016. (Photo: Daniel R. Patmore)
DANIEL R. PATMORE / SPECIAL TO THE COURIER & PRESS Princeton's Jackie Young (3) goes up for a basket as Castle's Jessica Nunge (30) tries to guard her and Maci Sturgeon (32) looks on in the second quarter of their game at Castle High School gym in Newburgh, Ind. Tuesday, Jan. 19, 2016. (Photo: Daniel R. Patmore)
DANIEL R. PATMORE / SPECIAL TO THE COURIER & PRESS Princeton's Jackie Young (3) drives the ball around Castle's Sara Hofmann (45) in the second quarter of their game at Castle High School gym in Newburgh, Ind. Tuesday, Jan. 19, 2016. (Photo: Daniel R. Patmore)
DANIEL R. PATMORE / SPECIAL TO THE COURIER & PRESS Princeton's Jackie Young (3) face down Castle's Kaylie Stowe (24) and Chloe Mills (34) in the first quarter of their game at Castle High School gym in Newburgh, Ind. Tuesday, Jan. 19, 2016. (Photo: Daniel R. Patmore)
PARADISE — Needing 49 points to break Damon Bailey's all-time state basketball scoring record, Jackie Young wasn't expected to set the mark Tuesday night against Castle. Bailey considered attending, but didn't because he wanted to watch his daughter's game.
What WAS expected was "Jackie Time," which is what Princeton coach Charlie Mair describes as the period where Young decides to take over. "Jackie Time" came in the second quarter against Castle.
Off to a slow start and appearing tentative against the Knights' 2-3 zone, Young went to work, repeatedly breaking through the seams.
She scored nine successive points to boost Princeton's lead to 30-20 at the half. The 6-foot senior guard bound for Notre Dame finished with 35 points in sparking the Tigers to a 60-46 victory, leaving her 13 shy of tying Bailey's 3,134 points for Bedford North Lawrence, from 1986-90.
"I'm just ready to get it over with and finish up the season and hopefully win a state title again," said Young, who was 11-for-22 from the field and 13-for-15 from the line. "It's a great accomplishment and I'm looking forward to it, but I'm also looking forward to getting it over with."
She enjoyed signing autographs for wide-eyed youngsters after the game.
"It's something I like doing," Young said. "They do look up to me and it's good to take the time to do something for them."
She had heard there was the possibility that Bailey would be in attendance.
"I did hear he had his daughter's game to go to and that's absolutely fine," Young said. "We've already talked about meeting another time."
In a matter of a few minutes, she effortlessly demonstrated why she is the Indiana girls' all-time leading scorer. Mair moved her inside and out, trying to get her open.
"Every shot was short tonight, so I knew I had to get to the basket," said Young, a McDonald's All-American.
Her teammates want her to get the overall record because she's the consummate team player, Mair said.
"She would just as soon pass as shoot," he said. "But she can shoot, too. She knows when she has to take over."
Princeton, ranked No. 1 in Class 3A and the defending state champion, improved to 22-0. The Tigers were scheduled to play their next game at Pike Central on Thursday, but it was moved to Princeton because Tiger Arena seats 5,200. Tipoff is 7 p.m. CST.
Seniors Maci Sturgeon and Karlee Ziliak had 13 and 12 points, respectively, on Senior Night for Castle (12-9).
Young scored 28 points last Thursday in a 48-26 victory over host Wood Memorial to surpass Wawasee's Shanna Zolman and become the state's girls' career scoring leader with 3,086 points.

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: Is there a built-in C#/.NET System API for HSV to RGB? Is there an API built into the .NET framework for converting HSV to RGB?  I didn't see a method in System.Drawing.Color for this, but it seems surprising that there wouldn't be one in the platform.

A: There isn't a built-in method for doing this, but the calculations aren't terribly complex.
Also note that Color's GetHue(), GetSaturation() and GetBrightness() return HSL values, not HSV.
The following C# code converts between RGB and HSV using the algorithms described on Wikipedia.
I already posted this answer here, but I'll copy the code here for quick reference.
The ranges are 0 - 360 for hue, and 0 - 1 for saturation or value.
public static void ColorToHSV(Color color, out double hue, out double saturation, out double value)
{
    int max = Math.Max(color.R, Math.Max(color.G, color.B));
    int min = Math.Min(color.R, Math.Min(color.G, color.B));

    hue = color.GetHue();
    saturation = (max == 0) ? 0 : 1d - (1d * min / max);
    value = max / 255d;
}

public static Color ColorFromHSV(double hue, double saturation, double value)
{
    int hi = Convert.ToInt32(Math.Floor(hue / 60)) % 6;
    double f = hue / 60 - Math.Floor(hue / 60);

    value = value * 255;
    int v = Convert.ToInt32(value);
    int p = Convert.ToInt32(value * (1 - saturation));
    int q = Convert.ToInt32(value * (1 - f * saturation));
    int t = Convert.ToInt32(value * (1 - (1 - f) * saturation));

    if (hi == 0)
        return Color.FromArgb(255, v, t, p);
    else if (hi == 1)
        return Color.FromArgb(255, q, v, p);
    else if (hi == 2)
        return Color.FromArgb(255, p, v, t);
    else if (hi == 3)
        return Color.FromArgb(255, p, q, v);
    else if (hi == 4)
        return Color.FromArgb(255, t, p, v);
    else
        return Color.FromArgb(255, v, p, q);
}

A: For this you can use ColorHelper library:
RGB rgb = ColorConverter.HsvToRgb(new HSV(100, 100, 100));

A: I don't think there's a method doing this in the .NET framework.
Check out Converting HSV to RGB colour using C#
This is the implementation code,
void HsvToRgb(double h, double S, double V, out int r, out int g, out int b)
{
  double H = h;
  while (H < 0) { H += 360; };
  while (H >= 360) { H -= 360; };
  double R, G, B;
  if (V <= 0)
    { R = G = B = 0; }
  else if (S <= 0)
  {
    R = G = B = V;
  }
  else
  {
    double hf = H / 60.0;
    int i = (int)Math.Floor(hf);
    double f = hf - i;
    double pv = V * (1 - S);
    double qv = V * (1 - S * f);
    double tv = V * (1 - S * (1 - f));
    switch (i)
    {

      // Red is the dominant color

      case 0:
        R = V;
        G = tv;
        B = pv;
        break;

      // Green is the dominant color

      case 1:
        R = qv;
        G = V;
        B = pv;
        break;
      case 2:
        R = pv;
        G = V;
        B = tv;
        break;

      // Blue is the dominant color

      case 3:
        R = pv;
        G = qv;
        B = V;
        break;
      case 4:
        R = tv;
        G = pv;
        B = V;
        break;

      // Red is the dominant color

      case 5:
        R = V;
        G = pv;
        B = qv;
        break;

      // Just in case we overshoot on our math by a little, we put these here. Since its a switch it won't slow us down at all to put these here.

      case 6:
        R = V;
        G = tv;
        B = pv;
        break;
      case -1:
        R = V;
        G = pv;
        B = qv;
        break;

      // The color is not defined, we should throw an error.

      default:
        //LFATAL("i Value error in Pixel conversion, Value is %d", i);
        R = G = B = V; // Just pretend its black/white
        break;
    }
  }
  r = Clamp((int)(R * 255.0));
  g = Clamp((int)(G * 255.0));
  b = Clamp((int)(B * 255.0));
}

/// <summary>
/// Clamp a value to 0-255
/// </summary>
int Clamp(int i)
{
  if (i < 0) return 0;
  if (i > 255) return 255;
  return i;
}

A: It's not built in, but there's there's an open-source C# library called ColorMine  which makes converting between color spaces pretty easy.
Rgb to Hsv:
var rgb = new Rgb {R = 123, G = 11, B = 7};
var hsv = rgb.To<Hsv>();

Hsv to Rgb:
var hsv = new Hsv { H = 360, S = .5, L = .17 }
var rgb = hsv.to<Rgb>();

A: There is no built-in method (I couldn't find it), but here is code that might help you out. (above solutions didn't work for me)
/// <summary>
/// Converts HSV color values to RGB
/// </summary>
/// <param name="h">0 - 360</param>
/// <param name="s">0 - 100</param>
/// <param name="v">0 - 100</param>
/// <param name="r">0 - 255</param>
/// <param name="g">0 - 255</param>
/// <param name="b">0 - 255</param>
private void HSVToRGB(int h, int s, int v, out int r, out int g, out int b)
{
    var rgb = new int[3];

    var baseColor = (h + 60) % 360 / 120;
    var shift = (h + 60) % 360 - (120 * baseColor + 60 );
    var secondaryColor = (baseColor + (shift >= 0 ? 1 : -1) + 3) % 3;

    //Setting Hue
    rgb[baseColor] = 255;
    rgb[secondaryColor] = (int) ((Mathf.Abs(shift) / 60.0f) * 255.0f);

    //Setting Saturation
    for (var i = 0; i < 3; i++)
        rgb[i] += (int) ((255 - rgb[i]) * ((100 - s) / 100.0f));

    //Setting Value
    for (var i = 0; i < 3; i++)
        rgb[i] -= (int) (rgb[i] * (100-v) / 100.0f);

    r = rgb[0];
    g = rgb[1];
    b = rgb[2];
}

A: I've searched the internet for better way to do this, but I can't find it.
This is a C# method to convert HSV to RGB, the method arguments are in range of 0-1, the output is in range of 0-255
private Color hsv2rgb (float h, float s, float v)
    {
        Func<float, int> f = delegate (float n)
        {
            float k = (n + h * 6) % 6;
            return (int)((v - (v * s * (Math.Max(0, Math.Min(Math.Min(k, 4 - k), 1))))) * 255);
        };
        return Color.FromArgb(f(5), f(3), f(1));
    }

redpajama_set_name: RedPajamaStackExchange


text:
Q: Reading Nested Json with Spark 2.1.1 In JAVA ( Spark 2.2 has solution, but i am working on spark 2.1.1 version) I would like to create a table in spark-SQL using below-mentioned data.
[{
  "empstr": "Blogspan",
  "empbyte": 48,
  "empshort": 457,
  "empint": 935535,
  "emplong": 36156987676070,
  "empfloat": 6985.98,
  "empdoub": 6392455.0,
  "empdec": 0.447,
  "empbool": 0,
  "empdate": "09/29/2018",
  "emptime": "2018-03-24 12:56:26"
}, {
  "empstr": "Lazzy",
  "empbyte": 9,
  "empshort": 460,
  "empint": 997408,
  "emplong": 37564196351623,
  "empfloat": 7464.75,
  "empdoub": 5805694.86,
  "empdec": 0.303,
  "empbool": 1,
  "empdate": "08/14/2018",
  "emptime": "2018-06-17 18:31:15"
}]

but, when i tried to see the print schema, it is showing corruped_redord.
So, could you please help me anyone, how to read nested JSON record in JAVA-spark 2.1.1
Below i will attach my code
case "readjson":

    tempTable = hiveContext.read().json(hiveContext.sparkContext().wholeTextFiles("1.json", 0));
    /*In above line i am getting error at .json says
    The method json(String...) in the type DataFrameReader is not applicable for the arguments (RDD<Tuple2<String,String>>)

    //tempTable = hiveContext.read().json(componentBean.getHdfsPath());

tempTable.printSchema();
        tempTable.show();
        tempTable.createOrReplaceTempView(componentKey);
        break;

A: It seems like you are having issues with which parts of the API to use.
You need to remember that SparkContext != JavaSparkContext.
This means that you'll need to create a JavaSparkContext object from your active SparkSession:
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SQLContext;
import org.apache.spark.sql.SparkSession;

// [...]

SparkSession session = SparkSession.builder().getOrCreate();
SQLContext hiveContext = session.sqlContext();
JavaSparkContext sc = JavaSparkContext.fromSparkContext(session.sparkContext());
JavaRDD<String> jsonRDD = sc.wholeTextFiles("path/to/data", 2).values();
Dataset<Row> jsonDataset = hiveContext.read().json(jsonRDD);

jsonDataset.show();

// +-------+-------+----------+------+----------+--------+------+--------------+--------+--------+-------------------+
// |empbool|empbyte|   empdate|empdec|   empdoub|empfloat|empint|       emplong|empshort|  empstr|            emptime|
// +-------+-------+----------+------+----------+--------+------+--------------+--------+--------+-------------------+
// |      0|     48|09/29/2018| 0.447| 6392455.0| 6985.98|935535|36156987676070|     457|Blogspan|2018-03-24 12:56:26|
// |      1|      9|08/14/2018| 0.303|5805694.86| 7464.75|997408|37564196351623|     460|   Lazzy|2018-06-17 18:31:15|
// +-------+-------+----------+------+----------+--------+------+--------------+--------+--------+-------------------+

I hope this will help.


Outgoing OSA President Expresses His Thanks!! 2018 06 14.
On behalf of the OSA, I want to thank the Centre Wellington Shuffleboard Club for hosting the OSA Doubles Tournament that took place June 12th – 14th,2018. The club members did a tremendous job – the lunch committee kept our tummies filled with homemade soup and pies, and the guys kept the courts ready for play.
Many thanks to Marlene Corbeil for being the Tournament Director and her helper, husband Jim.
Thanks to all the people who attended, to make the Centre Wellington Shuffleboard Club Tournament a success.
Congratulations to George Admiral, Maureen Bryan, Maureen Bryan OSA HOF 2018 and Hubert Van Eerd, for their induction into the OSA Hall of Fame. George is for the OSA Player Award for achieving 35 points. Maureen and Hubert are for the OSA Special Award for their contribution to shuffleboard.
Sincere thanks to the OSA Board and a special thanks to Secretary Maureen Bryan for working with me these last 6 years as OSA President. Thanks to all the OSA members for your support and camaraderie.
Congratulations to Carl Rogerson for taking the position of OSA President and Evan Engell for 1st Vice President. I wish them all the best and I give them my support and help in any way I can.
I look forward to seeing everyone at Goderich on Jun 26th – 28th, 2018 for the next OSA sanctioned tournament.
1 Response to Outgoing OSA President Expresses His Thanks!! 2018 06 14.


J.Crew has had a few rounds of new arrivals and I wanted to share some of my picks. Other than the Audrey Flats in Snakeskin, there wasn't anything that I absolutely "have-to-have". I've actually made a few Banana Republic purchases over J.Crew in recent weeks. The Mermaid Print is really cute but I don't care for the Ornate Floral print. I think it's the coloring of that print. I did like the Martie Pant in Windowpane and loved the look with the Mermaid Print Tippi.
I'll be sharing a few reviews tomorrow and Wednesday. Today through Wednesday you can take advantage of the sweater promo which gives you 30% sweaters with code ZY3BU. You can use that code to take 30% off Sale items too. Don't forget to use Ebates before making your purchase. I usually load up my cart, then go to Ebates to click through and finish up.
The order I placed from last week have arrived and I'm pretty pleased with almost everything. J. Crew also snuck in another release of new arrivals, including the Audrey Flats! Of course I want them but would like to see if they will come in solid colors.
I saw this in-store and couldn't stop looking at it. It's lightweight and the back links are a lighter blue than the front links. I like that the Lucite makes this pretty casual without any metal showing. I think I will wear this a lot more than some of the other necklaces I have because of that.
This tee has been on my wish-list for a while. I could do without the drop-shoulder but it's not all that bad. I like the mix of different stripes though the Small is still a little baggy on me. It feels short in length but still hits below the waistband of my jeans, the Straightaway. It is a little thicker than the Vintage Cotton Tee but a nice weight for Spring. The sleeves are a bit long so they'll have to be rolled. I do like the boat-neck and it doesn't look like it will sag or roll at the seam like others I've bought.
Reviews didn't say this ran big but I really think it does. Look how long the sleeves are and how baggy under my arms the tee is. I didn't expect it to be skin tight or anything and my body shape hasn't changed that much since I started working out. Maybe it's mis-sized and this is a Large. It was final sale (yuck!) so I'll see if it fits MamaBella.
This shirt feels amazing. I love when you can immediately tell how much better quality something is just by touch. The size 6 fit very well and I like that the sleeve extends just a little over the shoulder. The split-neck is not too low and the chest doesn't pull. I would definitely size down in this sleeveless top.
I really wanted a crop look to this jean so I ordered the Petite. I have a pair of Vintage Crop Jeans from a few years ago that I love. These are not the same. This has a mid-rise and no kick at the bottom. Because of the mid-rise on these, even in the Petite, the front bunches when standing. They are a little cropped on me but I would still need to roll it once or twice or have them permanently hemmed. I was so looking forward to these working out because I would love to get them in the White Distressed. Maybe I'll just try them in my normal size 29 and get them hemmed, though I do not like the mid-rise feel.
I also ordered the Tailored Chino Pant in Petite 8, in Navy. They fit well in the waist, hips and thighs but the length was way too long, even in the Petite. The inseam was still 30 inches and I would have needed to cut about 4 inches off to get them floor length. That would have messed up the line of the leg. I am happy to see a full-length pant but these won't work for my short legs.
Currently J.Crew has 40% off Final Sale and 60% off select Final Sale styles with code SHOPSALE. I would think they would have hit 50% off sale by now.
Have you bought from any of these latest sales?
J. Crew is having a promo, through today, where you can take 50% off select styles with GOSHOP. I'm like this promo since it includes quite a few basics on my wishlist. I first need to mention the Cashmere Double-Faced Scarf in black or blue that can be found in the Men's section of this sale. I have the black from a few years ago and Husband, The Boy and I all switch around wearing it. I've ordered the blue this time. The Lightweight Wool Jackie in Sherwood Green is so pretty and one I would consider a basic color. But I do have a Cashmere Cardigan in almost the same color so I'm passing on it.
You can also take 40% off sale items with this GOSHOP promo. I bought a few new and sale items from the last promo, which I'll share with you tomorrow.


text:
Q: Strings that aren't case-sensitive So, I want to create a chatbot in C++ and I declared an array of strings.
string hello_message[5] = {"hello", "hi", "good morning", "good afternoon", "good evening"};

Now, here is the problem. If the user types in "hello", the program will answer back but if the word he used is "Hello", the program doesn't recognize it in the string array.
How can I "negate" the case-sensivity of these strings?

A: Convert all the strings characters to lower case using std::transform and std::tolower:
#include <iostream>
#include <string>
#include <algorithm>

int main() {
    std::cout << "Enter string: ";
    std::string s;
    std::getline(std::cin, s);
    std::transform(s.begin(), s.end(), s.begin(), ::tolower);
    std::cout << s;
}

Use accordingly. Note that this will fail if you have multi-byte characters.

A: You need to store all lowercase strings in the array of words
and then you need to convert your input to lower case and check within the array.
#include <algorithm>
#include <string>

std::string data = "Abc";
std::transform(data.begin(), data.end(), data.begin(), ::tolower);

A: One way to overcome this problem would be to convert all the input the user provides to lowercase, assuming this doesn't matter for the internals of your program. You could achieve this using tolower in the locale library.
See here for an example:
http://www.cplusplus.com/reference/locale/tolower/
You could also store the original input if you wanted to output it again.

A: if the user enters the data that does not match the words you have stored in your string it will definitely lead to some unplanned situation.
In this case you can either provide every possible user input into the array(which is a lot tedious)  or you can just use the transform every alphabet that user has given to lower,uppercase.
example:
#include <iostream>
#include <string>
#include <algorithm>

int main()
{
cout <<"say hi"<<endl;//if user enter "hi"
string str;
getline(std::cin, str);
transform(str.begin(), str.end(), str.begin(),::tolower);
cout << str;//it will be converted into "HI"
}

to uppercase a word replace tolower with toupper


Serve this hearty vegan soup of barley, beans and vegetables with warm crusty bread for a complete meal.
Heat oil in a large saucepan. Add onion, garlic, carrot, celery, rosemary and chilli and cook, stirring often until onion has softened, about 4 to 5 minutes. Add stock, tomatoes, barley and kidney beans. Bring to the boil, stirring occasionally. Reduce heat, cover and simmer for 35 to 40 minutes until barley is tender.
Stir in the spinach and cook until spinach has wilted, about 1 minute. Season with freshly ground black pepper and add parsley. The soup will keep covered in the refrigerator for up to 2 days.


text:
Goldies Enjoy a Christmas Party!
Over 80 older people who attend the Goldies singing and activity sessions in B&NeS enjoyed their annual Christmas party on Monday.
St Phillips and St James Church Hall in Odd Down hosted the party and the Goldies were delighted to be entertained by children from the nearby St Phillips Primary School.
Goldies was started in Bath seven years ago by music man Grenville Jones who took the first four sessions himself in and around Bath. Since that time the charity has grown, introducing new sessions
across Southern England and Wales. Over 90 venues now host daytime sessions led by over 30 dedicated session leaders.
Hundreds of people attend and Goldies has certainly become known as the smile charity.
There have been many new sessions introduced this year, locally in Oldfield Park, Larkhall and Odd Down and the charity has plans to increase to 130 session venues by the end of next year. Other new sessions in 2014 have underlined the vision of founder Grenville Jones to become a UK wide charity in the years ahead, with launches in Essex Staffordshire, Gloucester and Hampshire.
The charities award-winning Schools intergenerational programme Time after Time is also reaching across communities. It encourages schools to open their doors to older people who live in their local communities and take part in projects that bring together the young with the young at heart. Projects this year have been based on the anniversary of the start of World War One.
The Christmas party on Monday gave the Goldies the chance to sing their favourite 50s songs to the St Phillips school children.
Grenville Jones said:
"It was a wonderful Christmas Cracker of a party with bucketful's of smiles and laughter. I would like to thank the Quartet Trust and Mrs Margaret Roper for helping us to provide the community transport to bring the folk to the party.
"At this time I would also like to pay tribute to Mrs Roper and her husband Brian who died earlier this year. Brian and Margaret Roper were at the heart of the community of Bath with their wonderful philanthropic support of so many local organisations, including our Golden-Oldies charity, since we launched in 2007.
"Christmas is a time to look back and give thanks to those people who really do make a difference to the communities we live in. Mr Brian Roper was one of those special people."
Enquiries to Grenville on 07778 282934


text:
Mills & Reeve: Technology Law Update
This blog gives news and views about the law and regulation affecting the technology sector. It is written by lawyers at UK firm Mills & Reeve who are specialists in advising technology businesses. Please email us or post a comment if you want to join in the discussions.
The information on this blog is not legal advice. You should not rely on it and we don't accept liability in connection with it. Please read our full disclaimer and let us know if you would like us to advise on any legal issue.
Data flows at risk after a no-deal Brexit
Planning for a no-deal Brexit is not easy, even where detailed UK Government and EU Commission guidance is available. The UK's "How to prepare" technical notices and Europe's Contingency Action Plan and Preparedness notices do help in many areas, but there are gaps. We have come across several of these as we support clients making their no-deal plans.
One issue that concerns us is how personal data is to flow from an EU-based processor to a UK controller after a no-deal Brexit. Obviously, while the UK remains a part of the EU, this kind of cross-border transfer is not a problem. If the Withdrawal Agreement is ratified, then during the transition or implementation period running to the end of 2020, the situation would remain largely as it is now. Data flows could continue unimpeded. Once the transition period comes to an end there is more uncertainty, but the future situation looks positive. The Political Declaration on the future relationship between the EU27 and the UK envisages an adequacy assessment starting straight away. The EU Commission promises to begin
"assessments with respect to the United Kingdom as soon as possible after the United Kingdom's withdrawal, endeavouring to adopt decisions by the end of 2020"
The existing closeness of the UK's data protection regime to that of the EU gives confidence that an adequacy decision can be reached.
Much more difficult is the prospect of a no-deal Brexit. Not only would this mean that existing arrangements come to an abrupt end on 29 March 2019, but also that there is no promise to push ahead with reaching an adequacy decision. In fact, the Commission has said in its Contingency Action Plan that
"the adoption of an adequacy decision is not part of the Commission's contingency planning."
This is quite a tough position and may to some extent be politically motivated. The Commission refers to the other options available to permit international transfers, and especially
"the so-called ʻappropriate safeguards' (e.g. the Commission's approved Standard Contractual Clauses, Binding Corporate Rules, administrative arrangements) that can be used both by the private sector and public authorities".
It is true that these tools can be used in many situations, but not all. For example, a data controller may use services provided by a processor based in an EU country (Ireland, or Luxembourg, perhaps). Between two controllers, or a UK-based processor and an EU-based controller model contracts can be put in place. But there is no set of model clauses dealing with transfer by an EU-based processor to a third country controller, and the processor may not be happy to continue transferring data in those circumstances.
In some situations it may be possible to rely on other more specific grounds for transferring the data. One of the derogations in Article 49 of the GDPR might be relevant, like explicit consent or necessity for the performance of a contract. But remember that these exceptions are strictly applied and will not always be available to help out.
It is of course important to make contingency plans for a range of possible outcomes. But if an organisation finds that it falls into this gap there may be little that it can do to prepare.
Peter Wainman
Posted by Isabel Teare on 30/11/2018 at 10:08 | Permalink | Comments (0)
Health Secretary announces technology vision for the health and care sector
Using technology, digital and data within health and care to meet the needs of all users.
Matt Hancock has launched his new technology vision making IT a central focus of the reforms he wants to introduce across the health and social care sector.
The Future of Healthcare policy document promises to transform the sector that is increasingly struggling with the need to do more with less funding.
Providers and commissioners up and down the country are looking for opportunities to use technologies to improve the quality, efficiency and patient experience as well as supporting more integrated care and improving the health of a population.
Taking digital change forward
At the heart of the Secretary of State's vision are four guiding principles that the system should operate by:
User need
Interoperability and openness
The Department of Health and Social Care's vision is very much about putting user needs first and setting standards at the centre to enable organisations at a local level to manage their use of technology and spread and support innovation.
To allow digital change to gain momentum, the document recognises the need to get the digital architecture of the health and care system - the "building blocks" - right. Six architectural principles have been identified from adopting the best cyber security standards to internet standards and protocols.
Despite the many challenges to overcome, the document calls on patients, service users, carers and the wider health and care system to unite around the tech vision to drive this forward – to harness innovation in the full spectrum "from the most mundane to the most exciting, from basic IT to advanced AI".
The policy document is for discussion. Innovators and suppliers of digital technology, health and care providers and other organisations in the sector are invited to submit comments by completing the questionnaire.
Matt Hancock's quote neatly encapsulates one of his self-described missions:
"I want all parts of the NHS to improve their technology and I want a culture of continuous improvement and agile iterative development to take hold".
Charlotte Lewis, Senior Associate
2018 Autumn Budget - plenty on offer for tech businesses, investors and fund managers
The Autumn Budget brought some welcome news for both technology companies, and investors and fund managers in this space.
Last year's Budget announced an action plan to unlock investment in innovative, high-growth businesses. The Budget announced several new initiatives. These will involve the British Business Bank working with pension funds to explore options for pooled investment in patient capital. The FCA will explore ways to support patient capital, with proposals for a new long-term asset fund and to allow unit-linked pension funds to invest. The Department for Work and Pensions will consult on the pensions charge cap to ensure that performance fees are not restricted in a way that hampers investment.
The Government has earmarked more funding to support its Industrial Strategy objectives. The Industrial Strategy Challenge Fund will receive a £1.1 billion boost. Support Is promised for a range of initiatives across AI, the digital transformation of manufacturing, future mobility, DLT and cryptoassets, quantum computing and cybersecurity.
We are pleased to see EIS/SEIS remaining safe. Also welcome are plans to launch a new approved EIS fund structure to invest in knowledge-intensive companies (KICs) following a consultation earlier in the year.
Entrepreneurs' Relief will be retained, with some changes.
An immediate change to ER is the new requirement that shareholders must be entitled to at least 5% of the company's distributable profits and net assets, as well as holding 5% of the issued ordinary share capital and voting rights. The introduction of these two new conditions mean that, for the first time, shares need to have real economic rights, preventing managers being bumped up to more than 5% by the issue of voting shares with no additional economic rights. This change will apply to all sales of shares on or after the date of the Budget. However, these additional conditions will not apply on sales of shares acquired by employees on exercise of qualifying EMI share options.
Also, for any shares sold after 5 April 2019, ER will only be available if the shares have been held for at least 2 years (up from 12 months).
The intangible fixed assets regime will be updated following a recent consultation. Targeted relief for the cost of goodwill in the acquisition of businesses with eligible intellectual property is planned as from April 2019. Changes to improve the de-grouping charge rules will take effect from 7 November.
The Annual Investment Allowance for qualifying plant and machinery will see a temporary increase to £1 million for 2019 and 2020.
R&D tax relief will be retained with minor changes aimed at preventing abusive claims. These will restrict the tax credit that a qualifying loss-making company can receive in any tax year to three times the company's total PAYE and NICs liability for that year.
Press comment has focused on the planned new digital services tax. Although headline-grabbing, this is not relevant to smaller businesses, as it will only apply to those with annual global revenues of over £500m.
Dona Ardeman and Neil Pearson
Global FRAND licensing of Standard Essential Patents
A recent UK Court of Appeal ruling in a dispute between Unwired Planet and Huawei is shaking up the world of standards licensing.
Patent experts Mark Pearce and Alasdair Poore explore the implications for innovative businesses here.
Failed data mis-use claim against Google
An attempt to bring a class action with a potential pay-out of £1-3 billion failed this week with a ruling that the court papers could not be served on Google in California. The sums claimed are eye-watering, but perhaps more widely relevant are the judge's comments on when aggrieved individuals can claim compensation for misuse of their personal data.
An individual (Richard Lloyd) was the named claimant against Google on behalf of a class of applicants amounting to up to 5.4 million people. The claim was for compensation arising from a breach of duty under the Data Protection Act 1998. In 2011 and 2012 Google secretly tracked the internet activity of Apple iPhone users collecting information and selling the accumulated data using a method called "the Safari Workaround". Should this entitle the affected individuals to compensation?
The claim was for an equal, standard, "tariff" award for each of the iPhone users, to reflect the infringement of their rights under the data protection legislation. A figure of £750 each was proposed in the letter of claim.
No automatic right to compensation
The judge ruled in favour of Google. Awards of compensation under the DPA required there to be some form of damage or distress to the individuals whose data rights had been breached, and that had not been demonstrated here. The judge said that
"Not everything that happens to a person without their prior consent causes significant or any distress. Not all such events are even objectionable, or unwelcome. Some people enjoy a surprise party. … In short, the question of whether or not damage has been sustained by an individual as a result of the non-consensual use of personal data about them must depend on the facts of the case. The bare facts pleaded in this case, which are in no way individualised, do not in my judgment assert any case of harm to the value of any claimant's right of autonomy that amounts to "damage"."
A case of real distress
An earlier case on similar facts - Vidal-Hall v Google - took a different course. There the claim was allowed to proceed because of the distress suffered by the claimants when they learned that information about their "personal characteristics, interests, wishes or ambitions" had been used as the basis for advertisements targeted at them, or when they learned that, as a result of such targeted advertisements, such matters had in fact, or might well have, come to the knowledge of other people who might have used their devices, or seen their screens. That claim was settled but only after court rulings that
"secret and blanket tracking and collation of information, often of an extremely private nature, as specified in the confidential schedules, about and associated with the claimants' internet use, and the subsequent use of that information for about nine months"
was a valid basis for a compensation claim.
Are things different under the GDPR?
The right to compensation under the new data protection law is not identical, but it is similar. It seems likely that a similar approach would be followed under the new law.
It is important to remember, however, that failing to comply with the GDPR can lead to enforcement action by the authorities and potentially very large fines. This is separate from claims for compensation by individuals, and does not depend on demonstrating that individuals have suffered damage or distress.
Class actions seem to be increasingly popular in this area. Another major piece of group litigation, this time concerning a data breach by a disgruntled employee of supermarket chain Morrisons, is currently under appeal.
Edward Hadcock
The Regulators' Pioneer Fund – laying the ground rules for robolawyers and flying cars
UK Government has announced £10m of support for fifteen projects that will help to frame the regulatory environment for the technologies of the future. The Regulators' Pioneer Fund will provide earmarked funding for work within existing regulators to make specific improvements across the four priority areas identified in the Government's Industrial Strategy.
The winning projects are:
AI and data
The Information Commissioner's Office will set up a Regulators' Business Privacy Innovation Hub. A pool of ICO experts will work with other regulators to enable innovation across other sectors and develop approaches based on 'privacy by design'.
Telecoms regulator Ofcom will develop a secure sandbox environment for voice communications providers to trial porting and managing telephone numbers using blockchain.
Gas and electricity market regulator Ofgem has secured funding for two projects in this area:
Secure Data Exchange: to transform the way data is exchanged and managed between regulated marketplace participants and facilitate market disruption.
Energy Market Challenge: Building on the Open Banking model, Ofgem will provide a safe environment for innovative businesses to develop ideas aimed at improving services to customers, such as AI-assisted services, integrated money management apps, online banking apps and chatbots.
The Intellectual Property Office will look for AI solutions to enhance its online filing process, for example by using AI-powered preliminary searches for applicants filing for patents, trade marks and designs.
Solicitors Regulation Authority - The new SRA Innovate Testbed is an open competition to find and accelerate ethical AI-powered legal services, with a focus on growing the underdeveloped legal services market for small businesses and consumers.
Financial Conduct Authority - The FCA and Bank of England will look at how technology could potentially improve the efficiency of the current regulatory reporting process, with a view to efficiency gains, reducing barriers to entry and promoting competition.
Ageing society
Care Quality Commission - This project will explore how CQC can encourage models of innovation that maximise benefits while keeping people safe, and test out new ways of engaging with innovative providers, such as regulatory sandboxing.
Medicines and medical device regulator the MHRA will partner with NHS Digital to develop synthetic datasets to enable innovators to validate algorithms and artificial intelligence used in new medical devices.
Ofgem's Future Services Lab will work with the Energy Systems Catapult to trial fundamental regulatory reforms aiming to improve the retail energy market.
The Scottish Environment Protection Agency plans to develop a Decommissioning Regulatory Hub, supporting industry to develop and test innovative new products/services for decommissioning.
A Maritime and Coastguard Agency project will promote the Autonomous and Smart Shipping Industries by finding new regulatory approaches, and make marine and maritime data assets available to remove barriers and catalyse new collaborations.
The Civil Aviation Authority is planning a new advisory service to offer preliminary regulatory guidance and help the CAA understand the innovation pipeline. The project will include a regulatory sandbox to allow controlled testing of selected innovations, and a regulatory lab to develop new regulatory frameworks for innovations such as flying taxis and automated systems.
The UK Space Agency plans a Spaceflight Licensing Digital Gateway for commercial operators, and a 'a one-stop shop' for spaceflight licences from both the UKSA and CAA.
Of course, these focused projects will not build a regulatory framework suitable for all innovative technologies - there's nothing here on driverless cars or robotics for example - but taking a practical approach to problems identified by existing regulators is a good start. Several of the projects involve new regulatory sandboxes. This is promising given how popular these have been with innovators in the FinTech sector.
Keeping data flowing post-Brexit
The 28 'Hard Brexit' papers published by HM Government yesterday included a guidance note on "Data protection if there's no Brexit deal". As it explains, the rules governing the collection and use of personal data are currently set at an EU level by the General Data Protection Regulation (GDPR). EU member states have supplemented this via national legislation – in the UK, the Data Protection Act 2018 is the main additional document to consider.
The EU has an established mechanism under which EU organisations can freely transfer personal data to individual non-EU countries. Specifically, the EU Commission makes an 'adequacy decision' in relation to that country. Should the UK leave the EU without having agreed a deal confirming the adequacy of our national data protection regime, the remaining EU Member States will have to reassess the basis upon which they share data with UK entities and there may be interruptions to EU-UK data flows as a result.
To prepare for such a scenario, the paper encourages organisations to identify their cross-border data flows and assess whether it would be appropriate to implement standard contractual clauses (model data protection clauses that have been approved by the European Commission). Within cross-border organisations needing a free flow of data around the corporate group binding corporate rules may be more suitable. Given the timescales for implementation, you may conclude that it makes sense to start putting these in place now. If you need assistance, we would be happy to help you through this process.
Given the UK's data regime is currently equivalent to that in other EU member states, we do expect that an adequacy decision or other arrangement permitting data flows will eventually be forthcoming. However, adequacy decisions can take years to be granted and it will be important to remain compliant with EU requirements in the meantime.
Cyber security for digital service providers – the NIS Regulations, scope and standards
High profile cyber-attacks and data losses hit the headlines with depressing regularity – a recent example being the criminal attack on international airline BA's booking systems.
The EU's flagship project to improve cyber security, especially for essential services like healthcare, energy and transport, took effect earlier this year. This aims to set up national bodies (CSIRTs, like the UK's GCHQ) working together in an EU-wide network. These are tasked with taking the lead on combating cyber threats. The project also brings in new cyber security rules and standards for certain key organisations.
The UK introduced its Network and Information Systems Regulations in May (more on that here), and has expressed an intention to maintain the regime post-Brexit. The main target of the new rules are larger scale organisations operating specified "essential services". They must meet cyber security standards in line with industry best practice. Sector regulators are tasked with bringing in appropriate standards. So, for example, the Department of Health has produced guidance for NHS Trusts and Foundation Trusts, cross-referring to the National Data Guardian's 10 data security standards.
A second plank of the legislation requires certain digital service providers to meet less exacting requirements. This area has been the subject of a targeted consultation to flesh out guidance on which organisations are within scope and the requirements they must meet. The results of this consultation show that:
organisations do not find it straightforward to determine whether they fall within the scope of the obligations or not.
although organisations accept the need for security obligations there are concerns about their clarity and the consistency of the security requirements across Europe.
The Government's response acknowledges the tension between tracking the wording of the underlying EU Directive and achieving clarity for organisations required to comply. On the scope of application, the Government's intention is
"to limit the scope of those who have to comply with the Directive to those companies whose loss of service could have the greatest impact on the UK economy either directly or through impact on other companies",
and not to sweep in all online activity or SaaS provision. Online marketplaces are limited to those genuinely effecting sales and payments, not those which simply transfer customers on to the seller's own website.
Where organisations remain unsure, the Government recommends direct contact with the Information Commissioner's Office.
Consistency across the EU and with the obligations of the GDPR is recognised as important. Meeting different requirements in different countries would put an unnecessary compliance burden on organisations. With this in mind, the NIS Regulations cross-refer to the EU's DSP Regulation on security and incident reporting.
The ICO is expected to provide further guidance soon. This intention is for this to align with the European Network and Information Systems Agency's existing technical guidance for DSPs.
Gee, Whizz! The real opportunities offered by the 5G pilot in the West Midlands conurbation
We learnt earlier this week that Government funding to the tune of £50m (with the possibility of a further £25m at a later stage) is coming to Birmingham, Coventry and Wolverhampton, to fund part of the 5G Testbed and Trials Programme.
The announcement by the Department for Digital, Culture, Media & Sport focuses on four sector case studies (remote clinical assessments, behaviour monitoring on public transport, and autonomous vehicles), evidently chosen for their relevance to public services and their resonance with popular themes and stories in the news. The announcement is here.
On the face of it £75m is a big number and promises opportunities for private and public sector organisations, across a range of sectors. However, the pilot has regional scale, and inevitably only a select few organisations will have the opportunity to directly participate in the 5G trials to develop technology (and enjoy the revenue). Central Government's initial contribution is just £25m (around 12% of the overall budget allocated by central Government to 5G), and it's a fraction of the £1bn allocated by central Government to next-generation digital infrastructure.
So what's really in it for the West Midlands? Is it just about getting profile for the West Midlands Combined Authority? Perhaps, but I think there's also something in it for the whole technology supply sector in the West Midlands, and their customers.
The benefits of 5G are essentially speed and capacity: it is billed as being able to transmit more data per second, which translates to faster and more capable mobile data compared with 4G. 5G offers something for most sectors – here are a few examples:
Health Healthcare providers who have distributed workforces or work in large partnerings or supply chains.
Technology Developers and users of embedded devices, enterprise software and apps with data-heavy features.
Automotive and logistics Manufacturers of connected or autonomous vehicles, operators of public transport systems, warehouse/ distribution businesses, and their respective supply chains.
Retail and advertising Business that harvest data from devices to learn more about their customers and users.
Real estate Property owners that use sensors and systems to monitor and manage land and buildings remotely.
Education Schools and colleges that leverage lower cost, cloud-based IT resources.
The West Midlands Combined Authority's interest is presumably in encouraging the development and use in the region of technology that leverages 5G. I envisage:
Technology users in the region finding new ways of using mobile technology to deliver new or improved services and outcomes.
Technology businesses and research institutions in the region developing new technology, products and services to meet the re-defined demands of users.
Preparation for 5G-enabled regional infrastructure, such as intelligent roads and autonomous transport.
The short pilot, with actually quite modest funding, is unlikely to encourage technology firms to flood in and put down roots in the West Midlands. So are there already technology businesses in the region that can make use of 5G, and capitalise on the head-start that the pilot offers?
The answer is a definite yes, and that is why the announcement is so exciting. It reminds us that the West Midlands has an increasingly rounded and capable technology supply sector (and user base) for whom 4G is, and 5G will be, a powerful facilitator. It also gives sector participants an opportunity to raise their profile – at precisely the time when, I think, they are showing signs of wanting more profile.
The region has an established and growing bedrock of digital technology businesses run by people who, initially, saw themselves as moving from the London and Thames valley technology sector. Those people are increasingly seeing themselves and their businesses as being part of the London/ Thames valley technology scene, and starting to compete within it. The distance from London to Birmingham is perceived to be shrinking, and not just because of the imminent arrival of HSBC's UK HQ in Birmingham, or the prospect of HS2 increasing rail traffic capacity.
The region also benefits from a ring of leading universities who are pumping out technology-enabled creatives on the one hand, and cutting-edge digital research with national and international partners(on the other, and are actively engaging with industry.
West Midlands tech providers: Time to mobilise!
Consultations on free trade agreements – an opportunity to shape the future
The Department of International Trade has launched public consultations on possible free trade agreements with the United States, Australia and New Zealand, as well as possible accession to the Comprehensive and Progressive Agreement for Trans-Pacific Partnership (CPTPP). The plan would be to finalise new agreements during the implementation period envisaged by the draft EU/UK Withdrawal Agreement. The agreements would take effect from January 2021.
The United States, Australia and New Zealand are some of our closest strategic allies with whom we have no existing trade agreements. The US is the UK's largest single national export market. Australia and NZ have a commitment to modern, high quality trade agreements. While there are many other markets the UK will look to for new agreements in the future, agreements with these three countries could provide a strong start to delivery of the UK's independent trade policy.
The CPTPP is an existing agreement involving Australia, Brunei, Canada, Chile, Japan, Malaysia, Mexico, New Zealand, Peru, Singapore, and Vietnam. It is signed, but not yet in force, and can be viewed in full on the New Zealand Foreign Affairs and Trade website. If the UK were to accede to the agreement it would account for 17% of global GDP. Covering a broad range of goods, services and investment as well as addressing areas like the digital economy and intellectual property, the agreement is an ambitious successor to the now defunct Trans-Pacific Partnership developed under Barack Obama. An assessment of the impact of joining for the UK can be seen here.
The four consultations are available online. They will remain open until 26 October.
Simon Elsegood
Employee non-compete clauses: what is acceptable?
UK privacy watchdog notifies multi-million pound fines for data breaches
Adidas three stripes trade mark is knocked out of court
Employees, ex-employees and consultants - who owns their inventions?
Cybersecurity certification gets an EU revamp
GDPR – one year on: data protection certification
Promoting cyber security for Internet of Things devices
Plans for a duty of care to tackle "online harms"
Employment status, tax and the gig economy - what's new?
Narrow design protection for a healthtech device
Contract and consumer


text:
Q: When an user views all articles, see their own articles first we have two models

*

*article

*user

user have many articles
i need When an user views all articles,  see their own articles first.
my idea

*

*make two query

first query return articles related to query
Article.where(user_id: user_id)

second query
Article.where.not(user_id: user_id)

and merge result
second Idea
get all articles and select method in ruby
but i need best way make this

*

*i use Ruby On Rails 6.1 and Ruby 3

A: You could run one query but sort the articles with SQL depending on if they have a matching user_id:
Article.order(Arel.sql("CASE user_id WHEN #{user_id} THEN 0 ELSE 1 END"))

Note: order does not support multiple arguments and input sanitization out of the box. Use this only, when you are sure that the user_id contains only a valid user id, for example, be using current_user.id instead of user_id
In Rails 7 there will be a new method called in_order_of which would allow writing the same functionality like this:
Article.in_order_of(:user_id, user_id)

A: More programmatic approach
articles = Article.arel_table
case_statement = Arel::Nodes::Case.new(articles[:user_id])
  .when(user_id)
  .then(0)
  .else(1)

Article.order(case_statement)


Naagin 3 Background Music Download Download Naagin 3 Background Music Download Song Mp3. Moreover, We do not host Song: Naagin 3 Romantic Bgm Download mp3. This web just only a search engine media, not a storage or cloud server from the file. Download mp3 Naagin 3 Mahir Bela Bgm free!! When there is a damaged backlink we're not in control of it. Moreover, We do not host Song: Naagin 3 Background Music Download mp3. This web just only a search engine media, not a storage or cloud server from the file. This web just only a search engine media, not a storage or cloud server from the file.
When there is a damaged backlink we're not in control of it. Naagin 3 Mahir Bela Bgm Download Naagin 3 Mahir Bela Bgm Song Mp3. When there is a damaged backlink we're not in control of it. . Download mp3 Naagin 3 Romantic Bgm Download free!! Each of the rights over the tunes would be the property of their respective owners.
Naagin 3 Romantic Bgm Download Download Naagin 3 Romantic Bgm Download Song Mp3. Each of the rights over the tunes would be the property of their respective owners. We just linked the file or embed from Youtube then display them here to make visitor easy to find it. Moreover, We do not host Song: Naagin 3 Mahir Bela Bgm mp3. We just linked the file or embed from Youtube then display them here to make visitor easy to find it. Download mp3 Naagin 3 Background Music Download free!! Each of the rights over the tunes would be the property of their respective owners. We just linked the file or embed from Youtube then display them here to make visitor easy to find it.


Old Photos of Cowplain in Hampshire, in England, United Kingdom of Great Britain.
Hampshire, Cowplain, Upper Gladys Avenue.
Cowplain is a village on the outskirts of Waterlooville in the county of Hampshire in southern England.


Once again, February whizzed by, and it was well into March before I even had a chance to look back on the month that was. It became much warmer towards the end of the month -- real Summer weather! I decided this month to focus more on things I want to do, things I won't have a chance to do once I'm working again, and not worry about whether they're 'productive' activities or not. Aside from doing a lot of crafts, I did some drawing and decorating of my Hobonichi art diary. I also watched a lot of Youtube videos, played games and caught up with friends.
I finally got around to setting up my new (well, new-to-me, anyway) phone. I didn't have a smartphone before, so I had to carry my old phone for communications, my ipod for music and my ipad for taking photos and playing Pokemon Go. It's so much more convenient to be able to do all of that on one device! I'm looking forward to getting some cute covers for it.
I finished off a couple of smaller craft projects: a scarf and cushion for my dolls and a rabbit plushie trackable. The scarf was actually on my list of projects to rip, but when I looked at it, I saw that all it needed was the fringe on the ends, so I decided to finish it. The doll cushion, as I wrote about in this post, was on my Top 5 crafts list. The rabbit was very easy to make; I used the technique from this site.
I also started my Temperature Scarf on 1st March. There isn't much to see yet, so I'll post a photo in a few weeks. Perhaps I'll do a monthly update.
I went to the Melbourne Zine Fair early in the month. It has exploded in popularity over the last few years! There were over 200 tables and it was incredibly crowded all afternoon. I spent way more than I should have, but it's only once a year. If I'm organised enough, I might even set up my own table for next year.
We had a huge harvest of plums this year! I didn't write a separate post about it as I wrote about making plum jam last year. It got to the point where I was despairing a little on what to do with all the plums! I made about 1/3 of them into jam, but ran out of jars. Then I made stewed plums, and even using the large pot I still had quite a lot left over. In the end I made plum puree by cooking them in the slowcooker all day. I was thoroughly sick of de-stoning them by that point, but with this technique they are put in the slowcooker whole. All I had to do was fish out the stones with a slotted spoon. The puree tasted very strong and caramelised. I put it into ziplock bags and froze it. Later I'd like to try making plum sauce or perhaps a marinade.


text:
Rabun County in the Civil War: The Story of a House Conflicted
A Rabun County slaveholder who voted against Georgia's secession from the Union…but then didn't.
A rebellion against Georgia's government by disaffected Confederate soldiers and Union sympathizers.
300 Rabun County men who fought for the Confederacy, including one at Appomattox with Robert E. Lee at the surrender in 1865.
These facts would seem to illustrate a conflicted attitude of Rabun County men and women toward the Civil War. There was, indeed, pro-Union sympathy and resistance to the Confederate cause, but at the same time, Rabun County soldiers were dying for the Confederacy.
This story begins in 1852 when Rabun County was thought to be on the cusp of dramatic change. Construction began that year on the Blue Ridge Railroad that was to run from Charleston through Rabun Gap and then to Cincinnati. Locals hoped this railroad would usher in a new era of prosperity and development. By 1859 the line between Anderson and Walhalla, SC, had been opened and several tunnels near the Chattooga River were nearing completion, but with the growing likelihood of war, all further construction was halted, leaving small-scale, subsistence farming as the main economic activity in Rabun County.
Like most mountain counties, Rabun's topography prevented the formation of large farms, thus eliminating the need for any significant amount of slave labor. By 1861, only 248 slaves were owned by 60 Rabun families or an average of four per family. This stands in stark contrast to the vast slave populations on the sprawling cotton plantations farther south.
One of Rabun's slaveholders was "Colonel" Samuel Beck, who moved to the county in 1822 and led a company of volunteers to fight in Florida's Seminole Wars during the 1830s. A prominent landowner and holder of 19 slaves, Beck was elected, along with Horace Cannon, to represent Rabun County at the secession convention in Milledgeville in 1861. Concerned about the impact of war and consistent with Rabun's pro-Union sentiment, both men initially joined other mountain counties in voting against secession. But pressure from firebrands proved irresistible. Beck and Cannon eventually voted for secession. The final vote was 160 to 130 for secession, with the majority of the pro-secessionist vote coming from counties south of line running from Augusta to Atlanta. Following the convention, Cannon enlisted in the Confederate army and served as a sergeant for the duration.
Eric Foner's 1989 book, The South's Inner Civil War, quotes a Rabun County resident who claimed: "I canvassed the county in 1860-61 myself, and I know that there were not exceeding 20 men in this county who were in favor of secession." That may be true but loyalty to Georgia caused 300 Rabun men between 18 and 45 to serve in the Confederate army by early 1862.
Approximately two-thirds of these men served in Company E, 24th Georgia Infantry, which fought in the bloody engagements at Gettysburg, The Wilderness, Spotsylvania and Cold Harbor under the command of Lee's Army of Northern Virginia. The rest of the Rabun County soldiers were assigned to Company F, 52nd Georgia Infantry Regiment, known as the Beauregard Braves, which served in North Carolina, Virginia and Vicksburg, Mississippi. Samuel Beck's son served in this unit and surrendered at the war's conclusion in April 1865 at Greensboro, N.C.
The Civil War did not touch Rabun County in terms of battles and bloodshed. However, 210 of the Rabun County men who served in the army were married, leaving their wives and children in near-destitute conditions. According to historical accounts, there was no coffee, no sugar and no salt. Coffee substitutes were made from parched corn and rye, and dirt from smokehouse floors was boiled to extract salt. By 1863 Georgia appropriated money for the relief of soldiers' families. Rabun County was allocated $10,000 for destitute families. However, checks payable to families were backed by Confederate scrip, which was worthless by the end of the war.
Dissatisfaction with the war started as early as 1862 in the Georgia and North Carolina mountains due to a series of conscription acts that blatantly discriminated against the poor and non-slaveholding farmers. During the latter part of that year, Rabun County became a refuge for deserters from Confederate ranks and Union sympathizers, who organized a rebellion against the state government. These men were outlawed, with the rabid secessionist governor, Joseph E. Brown, dispatching infantry and cavalry to quell the rebellion in short order.
In April 1865 Rabun County soldier Jacob Hunter of the 24th Georgia Infantry Regiment was present at Appomattox when Lee surrendered to Union General Ulysses S. Grant to end the war. Hunter was fortunate to live for the duration of the war but 120 Rabun men did not. Nearly one-third of those conscripted in 1861-62 were either killed in action or died of disease, the greatest killer on both sides of the conflict. Many others were wounded and permanently disabled. There are 173 marked Confederate gravesites in Rabun County, including those of two black soldiers. Three Union soldiers, who most likely deserted, also are buried here.
Rabun County was occupied by Union troops after the war. The military government insisted upon strict adherence to the law, particularly as regarded corn whiskey. This marked the beginning of the long and sometimes violent relationship between moonshiners and government law enforcers.
The Rabun County Historical Society holds several original loyalty oath documents that the defeated Confederate soldiers were required to sign for their peaceful return to civilian life. In addition to requiring the signers to defend and support the Constitution of the United States, the loyalty oath signed by Rabun County resident James Ellerd on September 13, 1865 reads: "I will abide by and faithfully support all laws and proclamations which have been made during the existing Rebellion with reference to the emancipation of slaves." The Historical Society also holds a document dated January 1, 1896 from the Executive Department of the State of Georgia listing the names of nine disabled soldiers in Rabun County who were paid $50 pensions for the year ended October 26, 1895.
The war-related deaths and disabilities of so many men, combined with the war's economic impact, left Rabun County in a state of depression for the ensuing 40 years. The county's difficulties were accentuated by the decision in 1859 to halt construction of the Blue Ridge Railroad. Prosperity did not begin to return until the turn of the twentieth century with the coming of the Tallulah Falls Railroad and its eventual extension northward to Rabun County. A huge toll was exacted from a county conflicted over the Civil War.
This article by Society member Richard Cinquina was originally published in The Georgia Mountain Laurel magazine in January 2020.


text:
7 Ways to Get More Out of LinkedIn
Written by Sharlyn Lauby
Sharlyn Lauby is the president of Internal Talent Management (ITM) which specializes in employee training and human resources consulting. She authors a blog at hrbartender.com. LinkedIn, which recently reached the 50 million user milestone, has long ...
TWITTER SACKED: Larry Johnson Released by Chiefs After Inflammatory Tweets
Although we expected Larry Johnson to be disciplined for his inflammatory comments on Twitter several weeks ago (which he was), we can't say we saw this twist coming: the Kansas City Chiefs have released the former Pro Bowl running back. The move com...
What Are Your Favorite Photos and Videos of 2009? #openwebawards
Open Web Awards Nominations will remain open until 11:59 pm ET on Sunday, November 15th. Submit your nominations here. The growth of multimedia content continues apace on the web, and 2009 is a year in which we saw Flickr's 4 billionth photo and YouT...
BREAKING: Google Acquires Mobile Ad Network AdMob for $750 Million
Merger Monday is back in the tech space. Just hours after Electronic Arts announced it was buying social gaming outfit Playfish for up to $400 million, Google has announced that it's buying mobile ad network AdMob for $750 million in stock. In a stat...
Mashable's Weekly Conference and Event Guide
It's a brand new week, which means it's time for Mashable's guide to upcoming social media and web events, parties, and conferences. For more upcoming event listings, check out Mashable's Events section. Is your event not on this list? Contact us at ...
Esquire's Augmented Reality Issue Starring Robert Downey Jr. Is Live [VIDEO]
Last month, we learned that Esquire was once again going experimental, this time with its December issue featuring augmented reality. The issue is now available, and readers that have it can head to Esquire's website to check out the special augmente...
Toobla Combines Visual Bookmarking With Easy Sharing
New Mexico Soccer Player Suspended After Pulling Opponent Down by Her Hair [Video]
We've already seen one story today about athletes behaving badly being punished severely for their actions, with the Internet playing a starring role. Here's another: Elizabeth Lambert, a soccer player for the University of New Mexico, has been suspe...
The Top 100 Twitter News Sources [Stats]
We're always interested in understanding the habits, preferences, and future trends of Twitter and its users. For example, we were fascinated by a report listing the most engaging celebrities on Twitter, and by a new site that analyzes the 50 hottest...
Loopt for BlackBerry Now Works More Like Loopt for iPhone
One of the emerging trends in social media is geolocation. It makes a lot of sense because connecting with people and activities going on around you is a great way to enhance and actively use the real-time nature of social networking. With GPS becomi...
CoTweet Goes Enterprise and Starts Charging $1500 Per Month
CoTweet, the Twitter CRM tool already being used by numerous big brands, is announcing the launch of their Enterprise Innovators Program. Previously a free tool for beta users, the new enterprise option tacks on additional analytics and tweet history...
What's Trending in Your City? Soon, Twitter Will Tell You
When Twitter announced that it would soon attach location to tweets, we began to imagine the possibilities. In fact, we made a wishlist of geolocation features we'd like to see Twitter implement. Our top request was the ability to see trending topics...
Would You Shazam for $4.99?
Since its debut, Shazam, the music discovery tool, has remained one of the most popular applications in Apple's App Store. The immensely popular app is also available on many other mobile devices, and in June surpassed more than 50 million global use...
Free Music Monday: Hip-Hop Edition
Howdy and hello, music fans! Today is another Free Music Monday for you. If you're not already familiar with this series, we're celebrating the #musicmonday tradition on Twitter. We pick 10 tracks from around the web and give you either links to the ...
Twitter Extends Global Reach: SMS in Indonesia
Twitter's international push has been rapidly accelerating. In the last month alone, the company has brought tweeting via SMS to India, launched Twitter Mobile in Japan, and opened up Twitter to Spanish speakers across the world. Now Twitter has made...
The Future of Gaming: 5 Social Predictions
Earlier today, video gaming giant Electronic Arts (EA) announced its blockbuster acquisition of the Facebook/social gaming company Playfish for between $300-400 million. It's a major move by EA into the social gaming space and one that places a smart...
From Twitter to TV: Sh*t My Dad Says Gets CBS Deal
Joining a growing list of social media memes turned mainstream media deals is the hilarious Twitter serial Shit My Dad Says, that we recently featured as one of the ten funniest Twitter accounts around. The author of the account, Justin Halpern, simp...
Twitter and LinkedIn Status Updates Are Now Synced
Twitter's spree of partnerships isn't stopping anytime soon. Late last month, Microsoft and Twitter struck a search deal to integrate Twitter within Bing. Mere hours later, Google struck back with its own search deal with Twitter. Now there's a new T...
Did You Know the Verizon Droid Can Crush Rocks? [VIDEO]
Verizon has been going after the iPhone in its ad campaigns as if Apple's smartphone spit in its Cornflakes. A new ad for the just released Droid pits monochrome axle-greased toughness against colorful blinged out iPhone cases, insinuating that the c...
Docs Faceoff: Microsoft Office vs. Google Docs
We've been witnessing some blockbuster fights in our Web Faceoff series. For last seven weeks, we've pitted two popular web or tech apps against each other and allowing you, the reader, vote on who is more worthy of the title of Web Faceoff Champion....
New Version of Google Search Is Launching Soon
Back in August, we were shocked to learn that Google was working on a new version of its search engine. The secret project, known officially as Google Caffeine, wouldn't change the face or design of the Google search engine, but would instead provide...
WARNING: Facebook Design Flaw Abused, Hundreds of Groups Hacked
On Facebook, anyone can start a group. And the admin of a group controls various aspects of it: he can change its name, edit its info and picture or send messages to the members. But when an admin leaves, anyone else can join the group and register a...
Nokia N900 Now Shipping
A promise of a full-fledged personal computer in the body of a cellphone is always exciting. We all want it; we're not quite sure what to do with it, but if someone could pull it off, it'd be a geek's dream come true. Nokia has been trying to do just...
Taptu: Real-Time Social Search On Your Mobile
Taptu, which already focuses on mobile-friendly search with their iPhone app and mobile interface, has just announced a partnership with real-time search engine OneRiot. The partnership gives Taptu access to OneRiot's API, which has already been impl...
Google's Holiday Gift: Free Wi-Fi at Airports
Here's a nice holiday gift from Google (which may point to a service further ahead): the company will provide free Wi-Fi on airports across USA from now through January 15, 2010. Google has worked with Boingo Wireless, Advanced Wireless Group, Airpor...
REPORT: Droid Sells 100,000 Units at Launch
Last week, the much hyped Motorola Droid made its debut on the Verizon network. Armed with a slick ad campaign and generally strong reviews, the smartphone -- which runs on Google's Android platform -- is taking direct aim at the iPhone and might jus...
SNL Tops Hulu's Weekly "Movers & Shakers" List
Unlike YouTube, Hulu doesn't show you the number of times a given video has been viewed. Although the site does have a "Most Popular" section, Hulu recently started offering a bit more insight into viewing trends by distributing "Movers & Shakers" ch...
Yahoo Gives Out Free Wi-Fi Too (in Times Square)
'Tis the season for free Wi-Fi. Earlier this morning we reported that Google has started offering free Wi-Fi to holiday travelers at US airports starting now and extending through January 15th. That's in addition to their free in-flight Wi-Fi holiday...
Elf Yourself Returns for 2009 With Easy Twitter and Facebook Sharing
Way back in 2006, OfficeMax introduced Elf Yourself to the world, and it's been a viral hit ever since. Last year alone, 35 million of virtual greeting cards were sent out. The site, which lets you affix your head (or even your boss's head) to a danc...
Top 10 Facebook Applications for Music Lovers
Considering a Facebook application renaissance could be on its way, it's a good time to take a look at some of the apps that managed to make and keep themselves relevant during the Dark Ages. If you're a music lover, check out this list of 10 great o...
← Previous 1 2 3 4 5 6 7 8 9 … 19 Next →


We service, repair and maintain all brands of furnaces, heat pumps, and more.
Atlanta Air Care provides superior service on all brands of central heating and air conditioning products. Our service technicians have the ability to service and repair natural gas, propane, oil, electric, and heat pump systems. Once we have completed the diagnosis, the technician will quote a flat rate for the needed repairs. Our flat rate charge is based on a regional average that takes into account how long the repair should take and what is a fair charge for the services rendered. We have found that our customers are much more comfortable with this than with an open-ended time and materials method used by many of our competitors.
Residential Maintenance Agreements are a great value for our customers. Our agreement consists of a 2 visit maintenance program that services both the heating and cooling 2 times per year to bring your systems up to the Atlanta Air Care operating standard. Our energy-saving Residential Maintenance Agreement entitles you to automatic inclusion into our VIP Program, priority scheduling on all service calls, a 15% discount on all repairs, and many other benefits.
When you find yourself faced with replacing your unit and need advice on which product to choose or just need a second opinion, Atlanta Air Care can help. Our consultants are highly trained to stay up to date on the latest technology and name brand features. They can review the options for you and enable you to make an educated and informed decision in selecting the product that best meets your needs. If it is time to replace your old inefficient unit, then call us for prompt, professional advice that you can trust.
Atlanta Air Care technicians will check the heating and cooling cycle of all existing equipment. It is not our intent to cost the seller additional expense in unnecessary repairs, but we must at all costs, protect the purchaser from purchasing unsound or problematic heating and air conditioning equipment. We will strive to perform this function with the professionalism and diplomacy required to minimize inconvenience and financial burden. However, it is Atlanta Air Care's professional responsibility to thoroughly check the equipment and render a completely unbiased opinion.
Great service. Everything as promised. Service was timely, would recommend using this company again.
It's very rare that I write a review. However, Atlanta Air Care deserves it. The people were very respectful and professional from start to finish. We invited several companies for quotes but AAC was the best in price, service, and performance. I would strongly recommend AAC for all of your AC issues.


FAIRHAVEN — A sign tells people to keep their distance.
Do not disturb or get close to "Art," the large, black-and-white harp seal that has been lounging this week on a pier at the Seaport Inn and Marina in Fairhaven.
"Art" showed up Tuesday morning and was still hanging out at his favorite spot in town Thursday.
A team from the Marine Mammal Rescue & Research program at the International Fund for Animal Welfare in Yarmouth Port arrived in Fairhaven this week to monitor the seal. The team is legally authorized to respond to all marine mammal strandings from Cape Cod to the Rhode Island border.
Jane Hoppe, a stranding technician, said "Art" — who the team believes is an adult male — seems to be healthy and alert. She said he is likely just taking a breather before swimming back out to sea.
"It is completely normal for him to be out of the water," Hoppe said. "He looks great. He's lifting his head. His body is in good condition. His eyes are moist. There are no signs of wounds or blood."
Harbor and gray seals are the type most commonly seen in the region as they often swim through the hurricane barrier and scour the harbor looking for food that has fallen from fishing boats.
First thought to be a harbor seal, Art is actually a harp seal, a type that is not seen here as often. Harp seals are also known as "ice seals" because they have their pups on ice floes off eastern Canada.
Hoppe said juvenile harp seals are usually seen along the coasts of Massachusetts during the winter. Adult harp seals are not as common.
Federal guidelines require that people stay at least 150 feet from the seal. It is illegal, and dangerous, to handle or feed marine mammals such as Art.
"They are protected," Hoppe said.
Anyone who observes a marine mammal that may be stranded or in distress is advised to call the Marine Mammal Rescue and Research 24-hour hotline at (508) 743-9548.


5 peso gold coin pesos 1920.
rainbow rubber bands colorful loom glitter with clips for bracelets.
davids bridal champagne wedding dress size cleaned boxed flower girl.
woven vinyl placemats and coasters.
paper denium cloth zip ankle denim and burlington.
playground tire swing outdoor free standing ing set for parks.
ing openers sentence verbal ed to ks2 worksheet.
uno dos tres tequila un tequilas lyrics.