text:
class CreatePlantDetails < ActiveRecord::Migration
  def change
    create_table :plant_details do |t|
        t.references :plant
      t.string :name
      t.string :detail
      t.string :detail_type
      t.integer :detail_id

      t.timestamps null: false
    end
  end
end


Posted on April 14, 2013 by Kristen.
I didn't get to go to Coachella this weekend and I'm still quite sad about that (especially since Biffy Clyro's set was not including on the Coachella livestream), BUT I did spend the day yesterday in the Palm Springs/Coachella area so I was able to get in some music and bask in the desert sun. The best part of the experience was the Coachella after-party, Neon Carnival. Carnival games (I won a stuffed black panther named Carly) and rides (Ferris wheel!), plus a raging dance floor where the celeb-filled party kept going into the wee hours. Let's just say that today, I am tired. Also, I saw Clint Eastwood.


text:
Q: C++: Large multidimensional vector causes seg fault I have a large file (50x11k) of a grid of numbers. All i am trying to do is place the values into a vector so that i can access the values of different lines at the same time. I get a seg fault everytime (i cannot even do a cout before a the while loop). Anyone see the issue?
If there is an easier way to do this then please let me know. Its a large file and I need to be able to compare the values of one row with another so a simple getline does not work, Is there a way to jump around a file and not "grab" the lines, but just "examine" the lines so that I can later go back an examine that same line by putting in that number? Like looking at the file like a big array? I wanna look at the third line and 5 character in that line at the same time i look at the 56th line and 9th character, something like that.
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>

using namespace std;

//int g_Max = 0;

int main() {

    vector<vector<string> > grid;

    ifstream in("grid.txt");
    int row = 0;
    int column = 0;
    string c;

    if (!in) {
        cout << "NO!";
    }

    while (!in.eof()) {
        c = in.get();
        if ( c.compare("\n") == 0) {
            row++;
            column = 0;
        }
        else {
            c = grid[column][row];
            cout << grid[column][row];
            column++;
        }
    }

    return 0;
}

A:     vector<vector<string> > grid;

This declares an empty vector, with no elements.
        c = grid[column][row];

This accesses elements of the vector, but there are no elements.
If you change it to use vector::at() instead of vector::operator[] like so:
        c = grid.at(column).at(row);

then you'll get exceptions telling you you're accessing out of range.
You need to populate the vector with elements before you can access them.  One way is to declare it with the right number of elements up front:
    vector<vector<string> > grid(11000, std::vector<string>(50));

You probably also want to fix your IO loop, testing !in.eof() is usually wrong. Why not read a line at a time and split the line up, instead of reading single characters?
while (getline(in, c))

A: If all you need is to access all lines at once why you don't declare it as std::vector<std::string> and each line is an string??
std::string s;
std::vector<std::string> lines;
while( std::getline(in, s) ) lines.push_back( s );
std::cout << "File contain " << lines.size() << " line" << std::endl;
std::cout << "Char at [1][2] is " << lines[1][2] << std::endl; // assume [1][2] is valid!

redpajama_set_name: RedPajamaStackExchange


Amanda miller: Hi we just bought the rebel t5i and I have no idea how to use it and get great pictures and videos can u plz help me HelloArtsy: Great Video.... Pressing the shutter button completely will take three shots, and the HDR image will be saved to the card. IMPORTANT While shooting, hold the camera firmly and steadily.
Amanda miller: Hi we just bought the rebel t5i and I have no idea how to use it and get great pictures and videos can u plz help me HelloArtsy: Great Video.... The EOS Rebel T5i features advanced shooting modes to take creative imaging even further. When using one of the advanced shooting modes such as Handheld Night Scene, HDR Backlight Control or Multi-Shot Noise Reduction, multiple images are taken and combined within the camera to help create the best quality image based off of the shots taken.
One of the first decisions you make regarding your images on your EOS 6D is the file format. You can capture JPEG or RAW images. When you choose the file format, you also specify the image size. If you choose the JPEG format, you specify the quality as well. You even have an option to capture both how to use a slide sheet in aged care Canon EOS Rebel T5i Review – The Canon EOS Rebel T5i is an excellent entry-level DSLR camera capable of taking beautiful pictures and video. However, it doesn't really distinguish itself from the previous T4i as it is nearly identical.
Among Canon's entry-level SLR offerings, the Canon EOS Rebel T5i is the strongest pick if you're interested in capturing video as well as still images. how to wish a client well with their new home Canon EOS Rebel SL1 (Image courtesy of Canon, Inc.) Canon's EOS line has come a far way since the first model, the EOS 650 , which was released in 1987. Now, the camera company has released two of its latest models — the EOS Rebel SL1 (100D) and the EOS Rebel T5i (700D) .
As recommended, use a tripod. If the boats aren't moving too fast you might have luck using the HDR Backlight mode on the T5i. It is taking one image at camera calculated exposure, one at a greater exposure and one at a lesser exposure and combining them.
The Canon T5i/700D has many great features, including an LCD touchscreen, HDR capabilities, and continuous focus for shooting video. Getting Started If you want to take photos right now, follow these quick steps to get going.
By Julie Adair King, Robert Correll . To make bracketing easy, your Rebel t5i offers automatic exposure bracketing (AEB). When you enable this feature, your only job is to press the shutter button to record the shots; the camera automatically adjusts the exposure settings between each image.
But as digital and Photo Shop has improved I have done a total turn around. I think photos are now about 50% camera and 50% post process. The use of Photo Shop had become a virtual necessity. I doubt any "pro" photo now-a-days escapes PS.


GoConqr SmartEmbeds allows you to transform your website or blog into an interactive learning site.
With SmartEmbeds you can publish private learning material on your site, and track user progress. You get the benefit on GoConqr's interactive and engaging Quizzes and Courses on your site.
With simple pricing plans, SmartEmbeds is a flexible solution that always keeps you in control of cost.
Once respondents start engaging with your material, you will see reports on views, attempts and scores.
Or you can simply provide a link to click open on a separate tab..
You can get started with SmartEmbeds straightaway – visit our plans page to find the right option for you and upgrade your account today!


text:
Brown Announces More Than $1.3 Million for Renewable Energy Research at Case Western
Project Aims to Increase Efficiency of Solar Panels
WASHINGTON, D.C. – U.S. Sen. Sherrod Brown (D-OH) today announced that Case Western Reserve University will receive more than $1,350,000 through the Department of Energy's (DOE) Office of Energy Efficiency and Renewable Energy. The investment will help fund research to improve the efficiency and increase their lifespan of Photovoltaic (PV) solar panels and packaging materials.
"New energy technology keeps the U.S. competitive and helps reduce utility bills for Ohioans. Our country's economic and environmental future depends on a strong domestic clean energy sector," said Brown.
Last month, Sens. Sherrod Brown (D-OH) and Rob Portman (R-OH) introduced bipartisan legislation to spur investment in an innovative new energy technology and support jobs in Ohio. The bill would benefit companies like Sunpower Inc., located in Athens, which has developed a promising electric power generation technology – the high-efficiency linear generator. The Senators' bill would provide parity to these companies by allowing them to access an investment tax credit that will help them scale their product to market.
The Solar Energy Technologies Office Fiscal Year 2018 (SETO FY2018) funding program addresses the affordability, flexibility, and performance of solar technologies on the grid. This program funds early-stage research projects that advance both solar PV and concentrating solar-thermal power (CSP) technologies and supports efforts that prepare the solar workforce for the industry's future needs.
Education & Workforce Development
Brown Announces $300 for College Projects at Ohio University at Chillicothe 1/13
Brown Announces More Than $300 for College Projects at Ohio Northern University 1/13
Brown Announces Nearly $900 for College Projects in Northeast Ohio 1/13
Brown Announces More Than $400 for College Projects at Clark State College 1/13
Brown Provides Commencement Address for 2019 OSU Autumn Graduation 12/15

redpajama_set_name: RedPajamaCommonCrawl


text:
Surf & Second Chances Series Books 1-5, by Michelle Mankin. Contemporary Romance. & Giveaway.
Title: The Complete Rock Stars, Surf & Second Chances Series Books 1-5
From New York Times bestselling author Michelle Mankin, The Complete Rock Stars, Surf and Second Chances Series is available for the first time ever in a box set. Five full-length novels. Your all access backstage pass to Southern California's most famous rock band.
When handsome California surf god Lincoln Savage suddenly rolls into Ocean Beach like a rogue wave, shy beauty Simone Bianchi's foundation is shaken. No longer under the thumb of her domineering father, she's made a simple quiet life for herself and her fluffy Havanese pup running a surf shop in her hometown. Long ago she gave up her dreams for a future with Linc.
But now the notorious lead singer of the Dirt Dogs has returned, and Simone is reluctant to admit that she's still vulnerable to his killer dimpled smile and easy charm. She finds that although she's stowed away the mementos, it hasn't been as easy to erase the memories of their epic summer love.
It seems he hasn't forgotten, either.
Is the recording contract he's offering merely a pretense?
Or does he have something more in mind?
Rock star Ramon Martinez can have any woman he wants, and he frequently does because he can't have her. His bandmate's wife. The one woman he could give his heart to, but he can never let her know.
Karen Grayson wanted Ramon way back at the beginning, but she thought he didn't want her. So she made the safe choice. The wrong one.
Ramon and Karen were once friends.
Now they're not even that.
And they're both back in Ocean Beach and that dangerous attraction remains.
Oscar night.
Rock star legend, Ashland Keys should be on top of the world, but the blond blue-eyed SoCal surfer is disillusioned with fame, done with drugs, bored with the groupies and sick of all the fake f*ckery.
A rising star, Fanny Bay is nominated for best original song in the same category as the Dirt Dogs band, but the novel redhead with the corkscrew curls and the slight Canadian accent would prefer to chart a course with a different destination.
Hollywood is not for her.
He's full of regrets, darkness and secrets.
She's full of hope and light and has mysteries of her own.
Together, they don't make sense.
But he's what she's always wanted, and she just might be everything he needs.
HIGH TIDE & ISLAND SIDE
Hollie Lesowski is a beautiful young actress locked in a legal battle with one of the most powerful and feared directors in Hollywood, a man who betrayed and hurt her, a man she mistakenly believed was her father.
Maximillian Cash is her bodyguard, a blond, blue-eyed giant sworn to protect her. Gentle despite his imposing presence, he seems to be just right for her. But can she trust him with her deepest secrets?
Diesel Le is a rock star in her sister's band. Devastatingly sexy and annoyingly arrogant, the former pro surfer from Hawaii delights in driving her and everyone else crazy. So, why does she have to continually remind herself to stay away from him?
Two uniquely handsome men tempt her. Both want to make her their own. But one is her employee, and the other is a confirmed player.
Will she be swept away by temptation?
High Tide and Island Side is a heart-twisting, gut-churning, page-turning, coming-of-age duet. It is a triangular second-chance love story with two compelling alpha males but no cheating. Romantic and suspenseful, it sparkles with the glitz of Hollywood, sizzles with the tropical heat of Hawaii, and steals your breath at times, but it will also make your spirit soar.
The Complete Rock Stars, Surf and Second Chances Series, Books 1-5 $100
Fall in love with a rock star.
Love Evolution, Love Revolution, and Love Resolution are a BRUTAL STRENGTH centered trilogy,combining the plot underpinnings of Shakespeare with the drama, excitement, and indisputable sexiness of the rock 'n roll industry.
Things take a bit of an edgier, once upon a time turn with the TEMPEST series. These pierced,tatted, and troubled Seattle rockers are young and on the cusp of making it big, but with serious obstacles to overcome that may prevent them from ever getting there.
Get swept away by temptation in the ROCK STARS, SURF AND SECOND CHANCES series.
The ROCK F*CK CLUB series is a girl-power fueled reality show with the groupies choosing the rock stars.
▼ Jan (43)
Burning Hot Rumors (Choices: Tarkio MC, #2) by Deb...
To Seduce a Highland Scoundrel (Heart of a Scot #3...
A Time Of End (Executioner Knights #4) by Kathryn ...
Whatever It Takes , by S. Jones. Contemporary Roma...
Always the Bridesmaid (Never the Bride #1) by Emil...
Mafia Prince (Mafia Royalty) by Cala Riley. Mafia ...
Thick & Thin (The Chubby Girl Chronicles) by Tabat...
The Five, by Lily White. Romantic Suspense AUDIBLE...
The Broken Heart (Unmarriageable #4) by Mary Lanca...
Kill Sleep Repeat, by Britney King. Psychological ...
Valentine's with the Single Dad (Single Dad's of S...
When the Saint Falls (Westbrook Three #1) by A.D. ...
Duke of Decadence (Lords of Hedonism #1) by Violet...
Gouster Girl, by David E. Gumpert. Interracial Tee...
Respectable Riot (Riot MC Series) by Karen Renee. ...
Protecting What's Mine, by Lucy Score. Contemporar...
Boots (Phoenix Skulls MC) by Jessie Cooke. MC Roma...
My Darling Duke (Sinful Wallflowers #1) by Stacy R...
Andorra Sector (An X-Clan Novel), by Lexi C. Foss....
Wicked Warden (Vicious Vipers 1) by Lynn Burke. MC...
The Destruction of Rose (Albany Nightingale Duet, ...
The Highlander's Demand (Highland Rogues #1) by Ma...
Aaron's Heart (Lake Hope Series #2) by Mel Walker....
Focused, by Karla Sorensen. Sports Romance Release...
Chains (Night Rebels MC) by Chiah Wilder. MC Roman...
Cougar Queen (The Velvet Vault Series #1) by Linn...
Shadow of Angels (Halfway Between) by Kathryn Ann ...
Stolen Choices (Glacial Blood #6) by Anna Edwards....
The Earl (Order of the Broken Blade #4) by Cecelia...
Surf & Second Chances Series Books 1-5, by Michell...
Frozen Sector (Zombie Year 2099 #1) by Anna Edward...
Siren (Sinister Fairy Tales Collection) by Hazel G...
The Hunted (9INE Realms) by Bethany-Kris. Dark Fai...
Never a Duke (Dukes' Club #11) by Eva Devon. Histo...
The Art of Kissing Beneath the Mistletoe (Impostor...
A Queen For Christmas (A Forever Safe Christmas Se...
Surf & Second Chances Series (5 books) by Michelle...
Knight of the Crescent Moon (Crescent Moon Chronic...
How to Tame a Beastly Lord (Happy Ever Regency #2)...


Alutgama today is a fish-market town, but century ago it was a centre for the production plumbago, tea, coral, lime, and arrack. Alutgama the place where tourists should deviate from main road to travel inland about seven kilometres to the house and garden called Brief, open to public.
Brief was the home of the late Bevis Bawa, one of Sri Lanka's most prominent personalities of recent times. The garden, with its terraces, meandering walkways, and delightful vegetation, together with the sprawling house, which contains Bawa's own sculptures and the paintings of friends, make for a worthwhile and unique Sri Lankan excursion.


Obtain the list of Indore Pin Code including search option to get any district postal code details of Madhya Pradesh, India.
Indore is a district of Madhya Pradesh state. Get all area pin Codes list including all states of India from leading pin code finder.
Click on show map to view map of Indore, Madhya Pradesh, India. Enlarge map to view complete Google road map.


Take a peek at our Bunny Great offers – exquisite baby clothing and on offer …. What more could you want? Beary nice if we do say so ourselves.
Bunny wonderful! Shop our baby clothes sale and clearance offers.


I thought that holidays were meant to be relaxing, sitting by the beach...this one has seen me have the flu for 9 days, then lots of snow! Not quite what I had planned when I was thinking about the trip.
We have done a few touristy things; I like to try and visit a few different Hard Rock Cafes, and this trip has meant that I could see Tokyo and then Beijing. I have to say, much to my surprise, Beijing is probably the best one that I have seen. It has just been renovated and has some really cool memorabilia from many of the world's top bands.
I am sure that I will forget some but, so far I have been to the HRC at Tokyo, Beijing, London, Paris, Las Vegas, Nottingham, Athens, Amsterdam, Sydney, Hong Kong...sure there are others but that'll do for now.


text:
Memorial Hermann Southwest Hospital's Malisha Patel Named One of the Top 15 Business Women in Houston
HOUSTON (September22, 2017)
Malisha Patel, VP of Operations at Memorial Hermann Southwest Hospital, was recognized as one of the Top 15 Business Women in Houston by the National Diversity Council (NDC) at the Houston Women's Conference held on Sept. 20.
"I am honored to receive this recognition, especially knowing that I work every day with incredible professionals who are equally deserving," said Patel. "I am blessed to have an amazing support system and to be in health care, where the work that we do positively impacts lives daily. It is what drives me and makes my work so rewarding."
In her current role, Patel has operational and business development responsibility for both clinical and non-clinical departments ranging from perioperative services to engineering. Responsibilities include direction and decision-making, financial performance, compliance with regulatory agencies, patient satisfaction, productivity and the promotion of the Memorial Hermann Health System culture. She previously served as VP of Operations at Memorial Hermann Sugar Land Hospital. At Memorial Hermann Sugar Land, she oversaw a $93 million expansion project that added 60 beds, an additional medical plaza and expanded services.
In addition, she was the executive champion for Memorial Hermann Sugar Land's "Journey to Excellence" which adopted and integrated the Baldrige framework. In November 2016, Memorial Hermann Sugar Land was recognized as a Malcolm Baldrige National Quality Award recipient, the highest award for performance excellence given in the country. The hospital is the first Houston area hospital to be awarded the recognition.
Prior to joining Memorial Hermann, Patel held positions with the Veterans Administration Hospital in Dallas as well as with Tenet Healthcare. She has recently been recognized by the Indo-American Chamber of Commerce of Greater Houston as its 2016 "Young Professional of the Year" and as an honorable mention for the Houston Business Journal's 40 Under 40 Class of 2017.
The NDC is the first non-profit organization to bring together the private, public and non-profit sectors to discuss the many dimensions and benefits of a multicultural environment. The mission of the NDC is to be both a resource and an advocate for the value of diversity and inclusion.


We were invited to take a tour of Madame Tussauds for Cooking Around The London Underground, so we made our way to Baker Street this morning.
Opened in 1835 by Marie Tussaud, Madame Tussauds waxworks is one of London's oldest tourist attractions.
The first room you enter is the party where you're given the chance to rub waxy shoulders with red carpet celebrities.
Filled with dozens of waxworks and celebrities taking selfies, it felt like a real party where you'd spot famous faces you recognised in the crowd.
Never camera shy, Kim Kardashian and Kanye West were at the back of the room taking a selfie.
Meanwhile, Tom Hardy was sitting comfortably on a sofa where you were encouraged to cuddle up and listen to his heartbeat.
After the party, came the Hollywood section featuring everyones favourite actors, movie characters and directors.
There were even sections dedicated to movies like Star Wars, Kong Island and the Marvel adaptations.
Back to reality, the next section was dedicated to sports stars, historical and political figures and even YouTube personalities like Zoella.
It's the perfect opportunity to stand next to your favourite, and least favourite, world figures.
Newly weds Harry & Megan were the most popular attraction, along with the Buckingham Palace balcony where you could stand alongside the Queen and other Royals.
Next came the music hall of fame featuring singers and musicians from throughout the decades from Michael Jackson and The Beatles to Lady Gaga and Miley Cyrus.
One of the most interesting areas of the museum was the behind the scenes are where you got to see how the waxworks are made.
Filled with selfie opportunities galore, there's no better way to see the stars than with a trip to Madame Tussauds, so grab you camera and head along for a tour.
We made our way up to Little Venice afterwards.
We went for brunch at Les Petits Gourmets, a pretty cafe with a storefront covered in flowers.
I ordered the pancakes which looked pretty topped with a pansy but were itty bitty and not very filling at all.
We went for a drink at the Prince Alfred afterwards which is filled with lots of walled sections which you move between by crouching through small doors.
I sipped on a lemon drizzle gin which was pretty good.
Afterwards we went to Pergola at Paddington Central, a gorgeous pop-up bar and street food market covered in flowers.
We had been sent vouchers for free margaritas and they were the perfect way to cool down.
We were still pretty peckish after our tiny brunch, so we went for a little bit of dim sum at Pearl Liang.
It was very pretty inside with pink tables and cherry blossom murals on the wall.
We ordered noodles, wasabi prawn dumplings, spring rolls, custard tarts and crispy wonton dumplings.


text:
"""ApacheParser is a member object of the ApacheConfigurator class."""
import fnmatch
import itertools
import logging
import os
import re
import subprocess

from letsencrypt import errors

from letsencrypt_apache import constants

logger = logging.getLogger(__name__)

class ApacheParser(object):
    """Class handles the fine details of parsing the Apache Configuration.

    .. todo:: Make parsing general... remove sites-available etc...

    :ivar str root: Normalized absolute path to the server root
        directory. Without trailing slash.
    :ivar set modules: All module names that are currently enabled.
    :ivar dict loc: Location to place directives, root - configuration origin,
        default - user config file, name - NameVirtualHost,

    """
    arg_var_interpreter = re.compile(r"\$\{[^ \}]*}")
    fnmatch_chars = set(["*", "?", "\\", "[", "]"])

    def __init__(self, aug, root, vhostroot, version=(2, 4)):
        # Note: Order is important here.

        # This uses the binary, so it can be done first.
        # https://httpd.apache.org/docs/2.4/mod/core.html#define
        # https://httpd.apache.org/docs/2.4/mod/core.html#ifdefine
        # This only handles invocation parameters and Define directives!
        self.parser_paths = {}
        self.variables = {}
        if version >= (2, 4):
            self.update_runtime_variables()

        self.aug = aug
        # Find configuration root and make sure augeas can parse it.
        self.root = os.path.abspath(root)
        self.loc = {"root": self._find_config_root()}
        self._parse_file(self.loc["root"])

        self.vhostroot = os.path.abspath(vhostroot)

        # This problem has been fixed in Augeas 1.0
        self.standardize_excl()

        # Temporarily set modules to be empty, so that find_dirs can work
        # https://httpd.apache.org/docs/2.4/mod/core.html#ifmodule
        # This needs to come before locations are set.
        self.modules = set()
        self.init_modules()

        # Set up rest of locations
        self.loc.update(self._set_locations())

        # Must also attempt to parse virtual host root
        self._parse_file(self.vhostroot + "/" +
                         constants.os_constant("vhost_files"))

        # check to see if there were unparsed define statements
        if version < (2, 4):
            if self.find_dir("Define", exclude=False):
                raise errors.PluginError("Error parsing runtime variables")

    def init_modules(self):
        """Iterates on the configuration until no new modules are loaded.

        ..todo:: This should be attempted to be done with a binary to avoid
            the iteration issue.  Else... parse and enable mods at same time.

        """
        # Since modules are being initiated... clear existing set.
        self.modules = set()
        matches = self.find_dir("LoadModule")

        iterator = iter(matches)
        # Make sure prev_size != cur_size for do: while: iteration
        prev_size = -1

        while len(self.modules) != prev_size:
            prev_size = len(self.modules)

            for match_name, match_filename in itertools.izip(
                    iterator, iterator):
                self.modules.add(self.get_arg(match_name))
                self.modules.add(
                    os.path.basename(self.get_arg(match_filename))[:-2] + "c")

    def update_runtime_variables(self):
        """"

        .. note:: Compile time variables (apache2ctl -V) are not used within
            the dynamic configuration files.  These should not be parsed or
            interpreted.

        .. todo:: Create separate compile time variables...
            simply for arg_get()

        """
        stdout = self._get_runtime_cfg()

        variables = dict()
        matches = re.compile(r"Define: ([^ \n]*)").findall(stdout)
        try:
            matches.remove("DUMP_RUN_CFG")
        except ValueError:
            return

        for match in matches:
            if match.count("=") > 1:
                logger.error("Unexpected number of equal signs in "
                             "runtime config dump.")
                raise errors.PluginError(
                    "Error parsing Apache runtime variables")
            parts = match.partition("=")
            variables[parts[0]] = parts[2]

        self.variables = variables

    def _get_runtime_cfg(self):  # pylint: disable=no-self-use
        """Get runtime configuration info.

        :returns: stdout from DUMP_RUN_CFG

        """
        try:
            proc = subprocess.Popen(
                constants.os_constant("define_cmd"),
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE)
            stdout, stderr = proc.communicate()

        except (OSError, ValueError):
            logger.error(
                "Error running command %s for runtime parameters!%s",
                constants.os_constant("define_cmd"), os.linesep)
            raise errors.MisconfigurationError(
                "Error accessing loaded Apache parameters: %s",
                constants.os_constant("define_cmd"))
        # Small errors that do not impede
        if proc.returncode != 0:
            logger.warn("Error in checking parameter list: %s", stderr)
            raise errors.MisconfigurationError(
                "Apache is unable to check whether or not the module is "
                "loaded because Apache is misconfigured.")

        return stdout

    def filter_args_num(self, matches, args):  # pylint: disable=no-self-use
        """Filter out directives with specific number of arguments.

        This function makes the assumption that all related arguments are given
        in order.  Thus /files/apache/directive[5]/arg[2] must come immediately
        after /files/apache/directive[5]/arg[1]. Runs in 1 linear pass.

        :param string matches: Matches of all directives with arg nodes
        :param int args: Number of args you would like to filter

        :returns: List of directives that contain # of arguments.
            (arg is stripped off)

        """
        filtered = []
        if args == 1:
            for i in range(len(matches)):
                if matches[i].endswith("/arg"):
                    filtered.append(matches[i][:-4])
        else:
            for i in range(len(matches)):
                if matches[i].endswith("/arg[%d]" % args):
                    # Make sure we don't cause an IndexError (end of list)
                    # Check to make sure arg + 1 doesn't exist
                    if (i == (len(matches) - 1) or
                            not matches[i + 1].endswith("/arg[%d]" %
                                                        (args + 1))):
                        filtered.append(matches[i][:-len("/arg[%d]" % args)])

        return filtered

    def add_dir_to_ifmodssl(self, aug_conf_path, directive, args):
        """Adds directive and value to IfMod ssl block.

        Adds given directive and value along configuration path within
        an IfMod mod_ssl.c block.  If the IfMod block does not exist in
        the file, it is created.

        :param str aug_conf_path: Desired Augeas config path to add directive
        :param str directive: Directive you would like to add, e.g. Listen
        :param args: Values of the directive; str "443" or list of str
        :type args: list

        """
        # TODO: Add error checking code... does the path given even exist?
        #       Does it throw exceptions?
        if_mod_path = self._get_ifmod(aug_conf_path, "mod_ssl.c")
        # IfModule can have only one valid argument, so append after
        self.aug.insert(if_mod_path + "arg", "directive", False)
        nvh_path = if_mod_path + "directive[1]"
        self.aug.set(nvh_path, directive)
        if len(args) == 1:
            self.aug.set(nvh_path + "/arg", args[0])
        else:
            for i, arg in enumerate(args):
                self.aug.set("%s/arg[%d]" % (nvh_path, i + 1), arg)

    def _get_ifmod(self, aug_conf_path, mod):
        """Returns the path to <IfMod mod> and creates one if it doesn't exist.

        :param str aug_conf_path: Augeas configuration path
        :param str mod: module ie. mod_ssl.c

        """
        if_mods = self.aug.match(("%s/IfModule/*[self::arg='%s']" %
                                  (aug_conf_path, mod)))
        if len(if_mods) == 0:
            self.aug.set("%s/IfModule[last() + 1]" % aug_conf_path, "")
            self.aug.set("%s/IfModule[last()]/arg" % aug_conf_path, mod)
            if_mods = self.aug.match(("%s/IfModule/*[self::arg='%s']" %
                                      (aug_conf_path, mod)))
        # Strip off "arg" at end of first ifmod path
        return if_mods[0][:len(if_mods[0]) - 3]

    def add_dir(self, aug_conf_path, directive, args):
        """Appends directive to the end fo the file given by aug_conf_path.

        .. note:: Not added to AugeasConfigurator because it may depend
            on the lens

        :param str aug_conf_path: Augeas configuration path to add directive
        :param str directive: Directive to add
        :param args: Value of the directive. ie. Listen 443, 443 is arg
        :type args: list or str

        """
        self.aug.set(aug_conf_path + "/directive[last() + 1]", directive)
        if isinstance(args, list):
            for i, value in enumerate(args, 1):
                self.aug.set(
                    "%s/directive[last()]/arg[%d]" % (aug_conf_path, i), value)
        else:
            self.aug.set(aug_conf_path + "/directive[last()]/arg", args)

    def find_dir(self, directive, arg=None, start=None, exclude=True):
        """Finds directive in the configuration.

        Recursively searches through config files to find directives
        Directives should be in the form of a case insensitive regex currently

        .. todo:: arg should probably be a list
        .. todo:: arg search currently only supports direct matching. It does
            not handle the case of variables or quoted arguments. This should
            be adapted to use a generic search for the directive and then do a
            case-insensitive self.get_arg filter

        Note: Augeas is inherently case sensitive while Apache is case
        insensitive.  Augeas 1.0 allows case insensitive regexes like
        regexp(/Listen/, "i"), however the version currently supported
        by Ubuntu 0.10 does not.  Thus I have included my own case insensitive
        transformation by calling case_i() on everything to maintain
        compatibility.

        :param str directive: Directive to look for
        :param arg: Specific value directive must have, None if all should
                    be considered
        :type arg: str or None

        :param str start: Beginning Augeas path to begin looking
        :param bool exclude: Whether or not to exclude directives based on
            variables and enabled modules

        """
        # Cannot place member variable in the definition of the function so...
        if not start:
            start = get_aug_path(self.loc["root"])

        # No regexp code
        # if arg is None:
        #     matches = self.aug.match(start +
        # "//*[self::directive='" + directive + "']/arg")
        # else:
        #     matches = self.aug.match(start +
        # "//*[self::directive='" + directive +
        #   "']/* [self::arg='" + arg + "']")

        # includes = self.aug.match(start +
        # "//* [self::directive='Include']/* [label()='arg']")

        regex = "(%s)|(%s)|(%s)" % (case_i(directive),
                                    case_i("Include"),
                                    case_i("IncludeOptional"))
        matches = self.aug.match(
            "%s//*[self::directive=~regexp('%s')]" % (start, regex))

        if exclude:
            matches = self._exclude_dirs(matches)

        if arg is None:
            arg_suffix = "/arg"
        else:
            arg_suffix = "/*[self::arg=~regexp('%s')]" % case_i(arg)

        ordered_matches = []

        # TODO: Wildcards should be included in alphabetical order
        # https://httpd.apache.org/docs/2.4/mod/core.html#include
        for match in matches:
            dir_ = self.aug.get(match).lower()
            if dir_ == "include" or dir_ == "includeoptional":
                ordered_matches.extend(self.find_dir(
                    directive, arg,
                    self._get_include_path(self.get_arg(match + "/arg")),
                    exclude))
            # This additionally allows Include
            if dir_ == directive.lower():
                ordered_matches.extend(self.aug.match(match + arg_suffix))

        return ordered_matches

    def get_arg(self, match):
        """Uses augeas.get to get argument value and interprets result.

        This also converts all variables and parameters appropriately.

        """
        value = self.aug.get(match)

        # No need to strip quotes for variables, as apache2ctl already does
        # this, but we do need to strip quotes for all normal arguments.

        # Note: normal argument may be a quoted variable
        # e.g. strip now, not later
        value = value.strip("'\"")

        variables = ApacheParser.arg_var_interpreter.findall(value)

        for var in variables:
            # Strip off ${ and }
            try:
                value = value.replace(var, self.variables[var[2:-1]])
            except KeyError:
                raise errors.PluginError("Error Parsing variable: %s" % var)

        return value

    def _exclude_dirs(self, matches):
        """Exclude directives that are not loaded into the configuration."""
        filters = [("ifmodule", self.modules), ("ifdefine", self.variables)]

        valid_matches = []

        for match in matches:
            for filter_ in filters:
                if not self._pass_filter(match, filter_):
                    break
            else:
                valid_matches.append(match)
        return valid_matches

    def _pass_filter(self, match, filter_):
        """Determine if directive passes a filter.

        :param str match: Augeas path
        :param list filter: list of tuples of form
            [("lowercase if directive", set of relevant parameters)]

        """
        match_l = match.lower()
        last_match_idx = match_l.find(filter_[0])

        while last_match_idx != -1:
            # Check args
            end_of_if = match_l.find("/", last_match_idx)
            # This should be aug.get (vars are not used e.g. parser.aug_get)
            expression = self.aug.get(match[:end_of_if] + "/arg")

            if expression.startswith("!"):
                # Strip off "!"
                if expression[1:] in filter_[1]:
                    return False
            else:
                if expression not in filter_[1]:
                    return False

            last_match_idx = match_l.find(filter_[0], end_of_if)

        return True

    def _get_include_path(self, arg):
        """Converts an Apache Include directive into Augeas path.

        Converts an Apache Include directive argument into an Augeas
        searchable path

        .. todo:: convert to use os.path.join()

        :param str arg: Argument of Include directive

        :returns: Augeas path string
        :rtype: str

        """
        # Check to make sure only expected characters are used <- maybe remove
        # validChars = re.compile("[a-zA-Z0-9.*?_-/]*")
        # matchObj = validChars.match(arg)
        # if matchObj.group() != arg:
        #     logger.error("Error: Invalid regexp characters in %s", arg)
        #     return []

        # Remove beginning and ending quotes
        arg = arg.strip("'\"")

        # Standardize the include argument based on server root
        if not arg.startswith("/"):
            # Normpath will condense ../
            arg = os.path.normpath(os.path.join(self.root, arg))
        else:
            arg = os.path.normpath(arg)

        # Attempts to add a transform to the file if one does not already exist
        if os.path.isdir(arg):
            self._parse_file(os.path.join(arg, "*"))
        else:
            self._parse_file(arg)

        # Argument represents an fnmatch regular expression, convert it
        # Split up the path and convert each into an Augeas accepted regex
        # then reassemble
        split_arg = arg.split("/")
        for idx, split in enumerate(split_arg):
            if any(char in ApacheParser.fnmatch_chars for char in split):
                # Turn it into a augeas regex
                # TODO: Can this instead be an augeas glob instead of regex
                split_arg[idx] = ("* [label()=~regexp('%s')]" %
                                  self.fnmatch_to_re(split))
        # Reassemble the argument
        # Note: This also normalizes the argument /serverroot/ -> /serverroot
        arg = "/".join(split_arg)

        return get_aug_path(arg)

    def fnmatch_to_re(self, clean_fn_match):  # pylint: disable=no-self-use
        """Method converts Apache's basic fnmatch to regular expression.

        Assumption - Configs are assumed to be well-formed and only writable by
        privileged users.

        https://apr.apache.org/docs/apr/2.0/apr__fnmatch_8h_source.html
        http://apache2.sourcearchive.com/documentation/2.2.16-6/apr__fnmatch_8h_source.html

        :param str clean_fn_match: Apache style filename match, like globs

        :returns: regex suitable for augeas
        :rtype: str

        """
        # This strips off final /Z(?ms)
        return fnmatch.translate(clean_fn_match)[:-7]

    def _parse_file(self, filepath):
        """Parse file with Augeas

        Checks to see if file_path is parsed by Augeas
        If filepath isn't parsed, the file is added and Augeas is reloaded

        :param str filepath: Apache config file path

        """
        use_new, remove_old = self._check_path_actions(filepath)
        # Test if augeas included file for Httpd.lens
        # Note: This works for augeas globs, ie. *.conf
        if use_new:
            inc_test = self.aug.match(
                "/augeas/load/Httpd['%s' =~ glob(incl)]" % filepath)
            if not inc_test:
                # Load up files
                # This doesn't seem to work on TravisCI
                # self.aug.add_transform("Httpd.lns", [filepath])
                if remove_old:
                    self._remove_httpd_transform(filepath)
                self._add_httpd_transform(filepath)
                self.aug.load()

    def _check_path_actions(self, filepath):
        """Determine actions to take with a new augeas path

        This helper function will return a tuple that defines
        if we should try to append the new filepath to augeas
        parser paths, and / or remove the old one with more
        narrow matching.

        :param str filepath: filepath to check the actions for

        """

        try:
            new_file_match = os.path.basename(filepath)
            existing_matches = self.parser_paths[os.path.dirname(filepath)]
            if "*" in existing_matches:
                use_new = False
            else:
                use_new = True
            if new_file_match == "*":
                remove_old = True
            else:
                remove_old = False
        except KeyError:
            use_new = True
            remove_old = False
        return use_new, remove_old

    def _remove_httpd_transform(self, filepath):
        """Remove path from Augeas transform

        :param str filepath: filepath to remove
        """

        remove_basenames = self.parser_paths[os.path.dirname(filepath)]
        remove_dirname = os.path.dirname(filepath)
        for name in remove_basenames:
            remove_path = remove_dirname + "/" + name
            remove_inc = self.aug.match(
                "/augeas/load/Httpd/incl [. ='%s']" % remove_path)
            self.aug.remove(remove_inc[0])
        self.parser_paths.pop(remove_dirname)

    def _add_httpd_transform(self, incl):
        """Add a transform to Augeas.

        This function will correctly add a transform to augeas
        The existing augeas.add_transform in python doesn't seem to work for
        Travis CI as it loads in libaugeas.so.0.10.0

        :param str incl: filepath to include for transform

        """
        last_include = self.aug.match("/augeas/load/Httpd/incl [last()]")
        if last_include:
            # Insert a new node immediately after the last incl
            self.aug.insert(last_include[0], "incl", False)
            self.aug.set("/augeas/load/Httpd/incl[last()]", incl)
        # On first use... must load lens and add file to incl
        else:
            # Augeas uses base 1 indexing... insert at beginning...
            self.aug.set("/augeas/load/Httpd/lens", "Httpd.lns")
            self.aug.set("/augeas/load/Httpd/incl", incl)
        # Add included path to paths dictionary
        try:
            self.parser_paths[os.path.dirname(incl)].append(
                os.path.basename(incl))
        except KeyError:
            self.parser_paths[os.path.dirname(incl)] = [
                os.path.basename(incl)]

    def standardize_excl(self):
        """Standardize the excl arguments for the Httpd lens in Augeas.

        Note: Hack!
        Standardize the excl arguments for the Httpd lens in Augeas
        Servers sometimes give incorrect defaults
        Note: This problem should be fixed in Augeas 1.0.  Unfortunately,
        Augeas 0.10 appears to be the most popular version currently.

        """
        # attempt to protect against augeas error in 0.10.0 - ubuntu
        # *.augsave -> /*.augsave upon augeas.load()
        # Try to avoid bad httpd files
        # There has to be a better way... but after a day and a half of testing
        # I had no luck
        # This is a hack... work around... submit to augeas if still not fixed

        excl = ["*.augnew", "*.augsave", "*.dpkg-dist", "*.dpkg-bak",
                "*.dpkg-new", "*.dpkg-old", "*.rpmsave", "*.rpmnew",
                "*~",
                self.root + "/*.augsave",
                self.root + "/*~",
                self.root + "/*/*augsave",
                self.root + "/*/*~",
                self.root + "/*/*/*.augsave",
                self.root + "/*/*/*~"]

        for i, excluded in enumerate(excl, 1):
            self.aug.set("/augeas/load/Httpd/excl[%d]" % i, excluded)

        self.aug.load()

    def _set_locations(self):
        """Set default location for directives.

        Locations are given as file_paths
        .. todo:: Make sure that files are included

        """
        default = self.loc["root"]

        temp = os.path.join(self.root, "ports.conf")
        if os.path.isfile(temp):
            listen = temp
            name = temp
        else:
            listen = default
            name = default

        return {"default": default, "listen": listen, "name": name}

    def _find_config_root(self):
        """Find the Apache Configuration Root file."""
        location = ["apache2.conf", "httpd.conf", "conf/httpd.conf"]
        for name in location:
            if os.path.isfile(os.path.join(self.root, name)):
                return os.path.join(self.root, name)

        raise errors.NoInstallationError("Could not find configuration root")

def case_i(string):
    """Returns case insensitive regex.

    Returns a sloppy, but necessary version of a case insensitive regex.
    Any string should be able to be submitted and the string is
    escaped and then made case insensitive.
    May be replaced by a more proper /i once augeas 1.0 is widely
    supported.

    :param str string: string to make case i regex

    """
    return "".join(["[" + c.upper() + c.lower() + "]"
                    if c.isalpha() else c for c in re.escape(string)])

def get_aug_path(file_path):
    """Return augeas path for full filepath.

    :param str file_path: Full filepath

    """
    return "/files%s" % file_path

redpajama_set_name: RedPajamaGithub


text:
How America and China Have Different Visions of International Order
One man's leadership is another man's hegemony.
By Alek Chance for The Diplomat
Credit: DoD
This May, China's Ministry of Defense published a white paper, "China's Military Strategy," only a few months after the United States' most recent National Security Strategy (NSS) was released. It is revealing to compare the two documents, both to see how each nation envisions the other in a strategic context, and because it adds to our understanding of both countries' self-conceptions.
The United States' NSS focuses on a panoply of functional threats to national security—proliferation, climate change, terrorism—before moving on to discuss strengthening America's economy and promoting state-building and human development in troubled countries. Only the final section of the document discusses the question of "order," including the "rebalance" of American attention to Asia.
The Chinese Ministry of Defense paper, on the other hand, begins with the claim that although the international system is generally calm and on a peaceful trajectory, Chinese security is adversely affected by "new threats from hegemonism, power politics, and neo-interventionism." It goes on to describe the "rebalance" and the meddling of external countries in the South China Sea as having negative impacts on China's security.
The meddlesome, neo-interventionist hegemon is, of course, the United States. That the U.S. is front and center as a security threat in the Chinese strategy while China is buried at the back of the U.S. document is in itself worth contemplating. A more obvious disparity is the language with which the two documents describe the phenomenon of deep U.S. engagement in the region. The NSS, for example, describes the U.S. in rather different language. In his preface to the document, President Obama argues that "strong and sustained American leadership is essential to a rules-based international order that promotes global security and prosperity as well as the dignity and human rights of all peoples." The document's section on the "rebalance" discusses both the deepening and broadening of economic and security ties to Asian nations.
That one man's leadership is another man's hegemony is hardly surprising, especially when considering that "hegemon" in truth means "leader" but has over time come to be used in ways meant to invite disapproval. However, the criticism implied in the white paper may be harsher than most Americans realize, since there is in fact no real concept for "hegemony" in Chinese—the word from the white paper that is rendered as "hegemony" is really a word for "tyranny." Political scientists or leftist critics notwithstanding, Americans rarely think of their foreign policy as hegemonic, and it isn't always clear to Americans where others would draw the line between legitimate leadership and self-serving hegemony. Along these lines, it was interesting to observe how in his book The China Dream, Liu Mingfu attempts to differentiate a "champion" state like China from a "hegemonic" one like the U.S. In the end, Liu's description of the benevolent champion is quite close to many Americans' visions of U.S. leadership. Nonetheless, the language of the white paper should once more remind Americans to be attentive to how their activist foreign policy is perceived around the world, and reflection on the "neo-interventionist" label is a good place to start.
The degree to which American unilateralism and interventionism has alarmed people around the world, including in China, appears to be underappreciated in the U.S. In fact, the term "neo-interventionist" has no real currency here, although it doesn't take long to guess that it refers to the sequence of U.S.-led interventions that have challenged any simple interpretation of the UN Charter's prohibitions against intervention. A recent article by Wu Zhenglong illustrates these problems of "hegemonism" and "neo-interventionism" as constituting threats to the strict principle of Westphalian sovereignty around which the United Nations was built. Wu associates these challenges to the UN order—centered around the prohibition of interference in domestic politics and military intervention—with such principles as "human rights above sovereignty" and "responsibility to protect," also known as R2P. For its part, the United States' NSS overtly confirms the R2P principle—according to which a sovereign state is rightly subject to intervention by the international community if it fails to respect basic human rights—and continues the longstanding tradition of embracing democracy promotion as a pillar of U.S. foreign policy.
The R2P issue sheds further light on disparities between U.S. and Chines visions of rules-based order. Both Chinese and American statesmen advocate such an order at every turn, yet there are problems lurking in the difference between laws and norms, how rules are applied, and the necessity and nature of "leadership" in their maintenance. While proponents of a strict adherence to sovereignty like Wu focus on the legalistic character of the UN Charter, Americans often operate according the logic exemplified by the International Independent Commission on Kosovo's "illegal but legitimate" description of the 1999 Kosovo intervention. That is to say, by supporting R2P, the United States invokes an alleged international consensus around deeper norms when international positive law is supposedly inadequate (although the R2P concept does seek to derive intervention authority from the Charter).
This vision of rules-as-norms creates clear difficulties with regard to the question of formal order. First is the obvious problem that loose interpretations of rules are likely to be self-serving, thus undermining the "legitimacy" envisioned in the Kosovo Commission's formulation. For the United States this means that activities it imagines to be altruistic or otherwise legitimate will be viewed with skepticism in China and elsewhere. A second problem is that the use of norms to override laws presumes that there is some kind of critical consensus about universal values, or that the international system is cohesively evolving towards some set of norms, and thus good leadership entails taking action to support these values. In this view, the United States is a natural leader, since visions of allegedly universal values typically align closely with Western, liberal ideas. The Chinese vision articulated by Admiral Sun at the Shangri-La dialogue clearly promotes a different vision of ordering principles, one which presumes an inherently pluralistic world in which there is less consensus on deeper values. Instead of focusing on promoting certain norms or values, Sun emphasized the importance of "mutual respect" and "inclusiveness" for fostering productive international relations—what some thinkers call a "thin" system of shared principles as opposed to a "thick" one.
This question of how "thick" the content of international politics should be arises frequently in U.S.-China relations in a number of ways. U.S. officials sometimes present the Trans-Pacific Partnership (TPP) as an embodiment of shared values between the U.S. and various partners, and emphasize the importance of "standards" both in the context of the TPP and its criticism of the Asian Infrastructure Investment Bank. At Shangri-La, U.S. Secretary of Defense Ashton Carter emphasized the set of principles that has grown around what he called the Asian "security architecture" and implied that Chinese reclamation in the Spratly Islands was violating some more substantive spirit of regional cooperation, even though an unspoken premise of this argument was that such activities are nonetheless technically legal. Admiral Sun, by contrast, seemed to take the position of the "letter of the law:" he presented Chinese activities as not problematic and manifestly legitimate, and rejected the imposition of other nations' "subjective preferences." In anticipation of this last charge, Secretary Carter seemed to make great effort to present the U.S.-led "architecture" as a consensual order of genuinely shared values, where the US was a "partner," not an arbiter.
Both China and the U.S. need to be conscious of the thick/thin and legal/legitimate dichotomies at a time when international order seems to be at an inflection point. The United States will always advocate democracy and human rights as key values, but in a pluralistic world it must work to develop principles that can help build more substantial relationships with nations that aren't liberal democracies. As Kevin Rudd has pointed out, Chinese strategic mistrust of the U.S. derives from the impression that America "…has not and never will accept the fundamental political legitimacy of the Chinese administration because it is not a liberal democracy." Americans must be aware more generally of how sometimes what they regard to be "universal" principles, others regard as domineering "American" or "Western" values. American policymakers should also keep in mind that if the world is to evolve towards thicker conceptions of international order—ones that can focus on more on substance and rely less on formal or procedural understandings of a decent international order—multilateralism plays an essential legitimating function.
Chinese policymakers, for their part, should bear in mind that a thicker principle of legitimacy is often at work international relations, which by nature are more political than legal. China's protestations regarding the legality of its recent reclamation activities, no matter how well grounded in international law, completely talk past the concerns of potentially affected parties. Unilaterally making formal legal arguments isn't nearly as constructive as demonstrating a willingness to use international law as a way to settle disputes.
It is interesting to observe that parties in both the U.S. and China regard the other country to be "revisionist" and consider their own nation to be a conservator of a certain rules-based order. It would be encouraging to see both nations to work towards closing this perception gap, with a view towards building a more substantive consensus on principles of order that are genuinely universal and inclusive. In the meantime, if both nations were more conscious of just how "rules-based" their actions appear to be in the eyes of others, we would all be a little better off.
Alek Chance is the coordinator of the China-U.S. Cooperation Program at Institute for China-America Studies. This article has previously been published on the Institute for China-America Studies blog.
China's Military Strategy
great power competition
Sino-US Relations
Sino-US Ties
US National Security Strategy
Does the US Need to Play Hardball with China's Communists?
By Franz-Stefan Gady
Perhaps, according to a new report. However, the authors fails to offer new insights on the Sino-US strategic rivalry.
To Face Down China, Should the United States Turn Away From the Middle East?
It's not that simple. Any effort to characterize China as an existential threat implies a level of conflict that will provide justification for U.S. intervention anywhere in the world.
Wargames: Losing Is Learning, Learning Is Winning
By Jeffrey T. Vanak
It is imperative the U.S. military learns from wargame losses.
Who Is Winning the US-China Power Battle?
By Monish Tourangbam and Anand. V
A global pandemic has, in a matter of months, changed the discourse on global order and U.S.-China great power competition.


Financial stability is a cornerstone topic for most civil society organisations in Moldova, where around 80 % of civil society organizations (CSO) funding comes from foreign sources. The new 2% designation mechanism, ministries' grants, donations from individuals, service contracts, and social enterprises could serve as alternative and sustainable sources of funding for CSOs to be able to continue their work and services.
The European Center for Not-for-Profit Law (ECNL) and FHI 360 have been working to improve the civil sector in Moldova and to promote alternative tools of financing since 2013 under the Moldova Partnerships for Sustainable Civil Society Program (further – MPSCS) with the support of the United States Agency for International Development (USAID). Now they convene civil society organisations, experts on civil society funding and policy makers from Moldova, Europe, and the region to share different experiences in applying alternative financing models for CSOs. The conference "The road to financial sustainability of civil society organizations" is supported by USAID and the European Union.
Learn: about various funding models and how they have been applied in practice in other countries.
Discuss: engage in a policy debate and identify specific avenues for reform in Moldova.
Act: discover practical tools that your organisation can apply in the daily work and help you to pursue your goals more effectively.
We will confirm your registration by April 27, 2018.
MPSCS invite you to participate at the photo competition "What do we do at our organisation?". We encourage participating organisations to submit up to 3 photos that best demonstrate their organization's work. The photos will be on display during the conference and all the conference participants will be able to vote for the best picture. Submission details will be shared with registered participants.
We appreciate your registration and active participation in this workshop to make the sector more sustainable!
The conference is co-organized with the Parliament of the Republic of Moldova.
This conference is made possible by the generous support of the American people through the United States Agency for International Development (USAID), under the Moldova Partnerships for Sustainable Civil Society (MPSCS), implemented by FHI 360 in partnership with the European Center for Not- for-Profit Law (ECNL). The event is co-financed by the "Monitoring Progress, Empowering Action" project, implemented with the financial support of the European Union. The contents are the responsibility of organizers and do not necessarily reflect the views of USAID, the United States Government or the European Union.


text:
Why the times are a changin' in marine electrification
HomeTechnologiesResearch HighlightsWhy the times are a changin' in marine electrification
Aug 17, 2018 Luke Gear
The marine industry is at a turning point: vessel owners and operators are increasingly attracted to the value proposition of installing a battery system. Electrification is gaining momentum. Here's why.
Since its existence, the industry has seemingly enjoyed a 'carte blanche' for carbon emissions. Indeed, while rules and regulations have been in place for over a decade regarding pollutants, they have favoured restricting particulates - NOx, SOx and particulate matter (fine particles of metal, carbon etc.) - in so called emissions control areas, which are local to coastlines. This type of pollution is dangerous - it can penetrate deeply into lung tissue and has more obvious links to cancer and life expectancy. But it is why in recent years vessel operators have turned to low-sulphur content fuels like Methane rather than electrify, which has done a good job of reducing particulates, but not CO2.
The apathy of the shipping industry towards carbon emissions has been at odds with other industries like cars and haulage trucks, which often snatch the green-house gas related headlines. According to DNV.GL, an industry body and consultancy, the CO2 of one container ship is equivalent to the emissions of 75,000 cars, and one off-shore supply vessel retrofitted with a storage system and operating for one year would save 3000 tons of CO2 (versus 0.5 tons from an electric car). It highlights how the shipping industry has been getting away with huge carbon dioxide emissions for many years, and out of the limelight.
Source: DNG.VL
The times are a changin'. A positive sign is that in April 2018 the International Maritime Organization, a regulatory body, announced a strategy to reduce CO2 emissions 40 percent by 2030 (relative to 2008). However, this might not be the most important development. According to Corvus Energy (the leading supplier of energy storage systems for commercial and industrial ships), the rules were modified around a year ago to allow vessels to replace an engine with a battery, whereas previously batteries could only be used in addition.
As a result, Corvus has seen a spike in demand for battery systems on offshore supply vessels, which typically have four engines. By replacing one engine per vessel, Corvus has worked with Statoil on ten vessels and helped reduce its fuel costs by between 15 - 30 percent. In total, it has worked on 25 offshore supply vessels, up from 3 about a year ago. This is big development that has piqued the interest of other oil giants. It also means it is quite likely that all new builds of offshore supply vessels will begin their life with a storage system, particularly against the backdrop of rising oil prices, which are recovering from the dip in 2015 and making the economics even more attractive.
To learn more, check out the latest market research report from IDTechEx on 'Electric Boats and Ships: 2017-2027' (www.idtechex.com/marineev).
Electric Leisure & Sea-going Boats and Ships 2021-2040
Solid-State and Polymer Batteries 2023-2033: Technology, Forecasts, Players
Micro EVs 2023-2043: Electric Two-Wheelers, Three-Wheelers, and Microcars
Thermal Management for Electric Vehicles 2023-2033
Micro EVS: Neither Fast nor Far
Join Our Webinar on Marine Fuel Cell Markets: An Ocean of Opportunity
Join Our Upcoming Webinar on The Evolution of EV Thermal Management
Upcoming Webinar on Batteries for Stationary Energy Storage
1000 Mile Electric Cars for Everyone
Hydrogen in the Automotive and Industrial sectors


The slim, protective case 100% fits the screen profile for each Samsung Galaxy S10 and has added impact protection from our innovative truss cushioning system combined with a proprietary rubber polymer blend. The case provides up to 3m (9.9ft) of drop protection, while the touchscreen open ports are open to allow unobstructed access. The outer edge of the rear camera cutout is sealed and protected to keep out dust and the screen is exposed yet protected to allow direct access to the on-screen fingerprint sensor. The Catalyst Impact Protection Case for Samsung Galaxy S10 is easy to put on and take off, providing ideal everyday protection that perfectly complements the stylish design of the Galaxy S10.


A fuel cell stack module includes a plurality of fuel cell stacks, an anode tail gas oxidizer (ATO) which is located in a heat transfer relationship with the plurality of fuel cell stacks, a base supporting the plurality of fuel cell stacks and the ATO, and at least one heat exchanger located in the base. An ATO exhaust stream and an anode exhaust stream from the fuel cell stacks heat the stack fuel and air inlet streams in a multi-stream heat exchanger.
The present application claims benefit of U.S. provisional application 60/935,092, filed Jul. 26, 2007, which is incorporated herein by reference in its entirety.
The present invention relates generally to the field of fuel cell systems and more particularly to a fuel cell system containing a multi-stream heat exchanger and method of operating same.
FIG. 7 shows another heat exchanger 310 configuration where two cold streams R1 and R 2 (such as the air and fuel inlet streams) exchange heat with a hot water containing stream, such as the anode or ATO exhaust stream (which corresponds to zones Z2 and Z4 shown in FIG. 4). These configurations can be easily extended to four fluid streams (such as zone 3 shown in FIG. 4). The heat exchanger 310 may be similar to the plate type heat exchanger 300 and contain heat exchanger plates 316. However, for example, each plate 316 may contain six openings 317 to accommodate three inlets and three outlets of the three streams and the three streams are provided in every third space between the parallel plates 316. The heat exchanger may be configured to handle more than three streams and may have different configurations other than parallel plate type configurations.
The system 60 also contains one or more power conditioning modules 65. These modules 65 are devices which contain the components for converting the DC power to AC power, connecting to the grid, and managing transients. The power conditioning modules 65 may be designed convert the DC power from the fuel cell modules 61 to different AC voltages and frequencies. Designs for 208V, 60 Hz; 480 V, 60 Hz; 415 V, 50 Hz and other common voltages and frequencies may be provided. For example, each module 65 may contain a dedicated DC/DC converter unit for each pair of stacks 9 in a fuel cell module 61 and a common DC/AC converter unit for the plural DC/DC converter units of each module 65.
an ATO exhaust line is connected to a fourth inlet of the multi-stream heat exchanger.
the ATO is located in a middle of the annular array of the fuel cell stacks.
3. The module of claim 2, wherein the ATO is exposed to radially inward faces of the fuel cell stacks to receive a cathode exhaust stream therefrom.
4. The module of claim 2, wherein the annular array comprises three or more angularly spaced fuel cell stacks and each stack has a rectangular cross section.
5. The module of claim 1, wherein the fuel cell stacks comprise solid oxide fuel cell stacks.
6. The module of claim 1, wherein the fuel cell stacks are removably positioned on the base below the shell.
7. The module of claim 1, wherein at least one of a fuel reformer and a steam generator is physically integrated with the heat exchanger inside the interior volume of the base.
a fuel cell stack air inlet connected to a second outlet of the heat exchanger.
a shell removably positioned on the base.
the heat exchanger is located in the interior volume of the base.
11. The system of claim 10, wherein at least one of a fuel reformer and a steam generator is physically integrated with the heat exchanger inside the interior volume of the base.
12. The system of claim 8, wherein the heat exchanger comprises a low temperature portion comprising low temperature grade materials and a high temperature portion comprising high temperature grade materials.
providing an ATO exhaust stream from the ATO and an anode exhaust stream from the plurality of the fuel cell stacks into the multi-stream heat exchanger to heat the fuel inlet stream and the air inlet stream.
14. The method of claim 13, wherein the multi-stream heat exchanger is located in an interior volume of a base supporting the ATO and the plurality of fuel cell stacks.
15. The method of claim 14, further comprising reforming the fuel inlet stream in the multi-stream heat exchanger.
16. The method of claim 14, further comprising providing a water stream into the multi-stream heat exchanger, vaporizing the water stream into steam using the ATO exhaust steam, and providing the steam into the fuel inlet stream.
Supplemental European Search Report and Opinion, Intl. Application PCT/US2008009069, mailed Nov. 4, 2011, 5 pages.
U.S. Appl. No. 11/656,006, filed Jan. 22, 2007.
U.S. Appl. No. 11/707,708, filed May 5, 2007.
U.S. Appl. No. 11/797,707, filed May 5, 2007.
U.S. Appl. No. 60/461,190, filed Jul. 9, 2003.


First Minister Nicola Sturgeon announced while speaking in Glasgow that the city will be the first to put in place a Low Emission Zone (LEZ).
Glasgow City Council is partnering with the Scottish Government to prepare the LEZ design and proposals that will improve air quality in Glasgow. Eliminating air pollution hotspots will result in improved health, and will ensure Glasgow continues to be one of the most attractive places to live, work and visit.
The final design of the Glasgow LEZ will be informed by the guiding principles that are currently being developed through the Transport Scotland 'Building Scotland's Low Emission Zones' consultation. Preparation for the Glasgow LEZ is underway with a LEZ Leadership Group and associated Glasgow LEZ Delivery Group already set up.
"We can be proud of the progress we've made in tackling air pollution, but our biggest cities, like Glasgow, are determined to create the best possible environment for communities to flourish by improving air quality. I'm delighted that Glasgow is working to have their LEZ in place by the end of 2018.
"Our position is that local authorities should be ambitious, and that all vehicles including private cars should be included in a LEZ in a phased manner. Equally, low emission buses are at the heart of improving air quality and the bus sector has a key role to play. I'm proud that the Scottish Green Bus fund has already provided more than £16 million to support the introduction of hundreds of low emission buses. Today, we have again demonstrated our commitment to the bus industry through the announcement that we are providing a further £1.6 million immediately to a Bus Retrofit Programme for Scotland.
The Scottish Government continues to seek views on 'Building Scotland's Low Emission Zones.' The consultation will be available until 28 November 2017. Views can also be shared on Twitter using the hashtag #lezconsultation.


text:
WATCH | Man Convicted After Flinging Armed Police Officer From Fleeing Vehicle
in Emergency Services News, Must See Videos
A dangerous criminal who drove at an armed police officer as he tried to evade being arrested, has today (12th Oct) been found guilty of attempted grievous bodily harm with intent.
Aydin Altun, 26, of Suffolk Road, Tottenham, was convicted on Monday, 12 October at the Old Bailey and will be sentenced at the same court on Friday, 16 October.
Altun was found not guilty of possessing a firearm with intent to endanger life.
Altun's mother Sultan Altun, 54, and sister Hanim Altun, 24, both of the same address, were also on trial for perverting the course of justice and were found not guilty.
The court heard that police officers investigating reports of a shooting on Fairfax Road in Haringey on 28 October 2019, attended the scene where they found an empty car with bullet holes in it.
A witness reported a black Mercedes fleeing from the scene.
The Met's Specialist Crime Command immediately launched an investigation into the shooting.
The following day, on 29 October, officers saw a black Mercedes on Tottenham High Road. Armed officers followed the car as it turned into White Hart Lane.
When the suspect's vehicle pulled over – partly on to the pavement – and stopped, a firearms officer approached the front of the car and shouted: "armed police, show me your hands".
CCTV and body-worn video footage played in court showed how Altun drove forward at speed towards the officer, throwing him onto the bonnet of his car.
The officer was left clinging for his life as the car accelerated towards White Hart Lane Station. Altun tried to throw the police officer off the vehicle by zig-zagging across the road.
Aydin Altun
After a few seconds, the officer somersaulted across the road onto the pavement, narrowly missing various items of street furniture. Video footage (below) shows the terrifying moment when the officer was thrown from the vehicle.
The Mercedes then drove off leaving the injured officer on the floor, but officers found the vehicle a short time later abandoned on Tiverton Road, with the officer's mobile still wedged between the bonnet and windscreen.
The officer lapsed in and out of consciousness and received significant grazing and cuts to his head, elbow, knuckles and hand and was taken to hospital but later discharged.
The officer said in court:
"I remember being scared for my life, I thought I was going to die. I remember thinking if this car was going to crash, I was going to die."
Altun was identified as the suspect, and a search to arrest him was launched.
On 30 October 2019, he was arrested after he walked into Edmonton police station.
Four men, two aged 17, one aged 18 and one aged 19, were arrested on 30 October 2019 on suspicion of assisting an offender.
They were taken to north London police stations and were subsequently released with no further action.
Assistant Commissioner Louisa Rolfe, Met Operations, said:
"We're just weeks on from the awful killing of Sgt Matt Ratana, I'm pleased that a dangerous criminal who drove at an officer and put his life in danger has been convicted.
"Thankfully, such incidents are rare but being an officer in London can be tough, and officers can face danger every day. However, this does not stop the amazing, dedicated and professional men and women putting on their uniforms, going out there on the streets of London and continuing our mission of keeping everyone safe.
"We do not tolerate any violence towards our officers, and we relentlessly pursue anyone assaulting our officers to bring them to justice.
"Such incidents and convictions strengthen our resolve to root out and bear down on violent crime in all its forms and make us more determined to protect our public."
Can you help Emergency Services News?
Our mission is simple: To share fact-based stories about the emergency services and the life-saving work they do daily. Each member of our team has served in either the armed forces or emergency services.
We use our frontline experiences to help inform the general public about the realities of serving in the emergency services, armed forces and NHS.
But with ad income declining – owing to the pandemic – we need the help of our readers and supporters so that we can keep bringing you fact-based stories which are free from the 'anti' narrative which is often projected by some sections of the mainstream media.
You can help us by making a one-off or reoccurring donation via Paypal. CLICK HERE to become a donor
We would like to thank you in advance for your continued support.
Emergency Services News
Woman Who Assaulted Two Paramedics & Three Police Officers Avoids Jail
Firefighters Help Out Their Ambulance Colleagues By Cleaning Their Emergency Vehicles During A 30-Minute Break
WATCH | Police Officer Commandeers Rowing Boat To Rescue Two Men And Their Dog From Inlet – International News
Police Appeal For Information After Paramedic Attacked During Attempted Robbery
WATCH | Car Thief Who Was On A Driving Ban Tells Police To 'Chill Out' After Leading Them On High-Speed Pursuit
Drug-Dealing Thug Who Slit Police Officers Throat Is Handed A 5-Year Prison Sentence


Attention former Deer Park Students/Alumni: There is a monthly gathering at the Francis R Healy Community Center for all those that attended Deer Park Schools. Meet Ups are generally the 2nd Wednesday of the month, at noon. Next two gatherings scheduled: Wed Feb 13, 2019 & Wed March 13, 2019. Bring your own lunch. Eat, chat and catch up. For more information, or to confirm meeting date, contact Nancy at 513-368-3025. Community Center is in Chamberlin Park. Address is 7640 Plainfield Rd, Deer Park, OH 45236.


text:
Q: How to access office local server files through an java swing app? How to access office local server files through an java swing app?
I have an Java application made using Swing. Using this app I am taking data from user and storing it in a file.
Now, currently the data stored is being stored in user's system only. Now I have a local office server, I want to dynamically add data to that file whenever users inputs some data through that app, so that whenever i want to access that file, i can see all the users data that have been input through that app.
I have searched on net, but everywhere either FTP sever or cloud is being discussed and both are not allowed. How to tackle this problem ?


Compare prices for Car Hire in Keflavik with Car Hire Planet for the best car rental deals online!
Keflavik is a small town, with its colourful houses and fishing boats and the quaint church at Nordfjordsgata. You can also take a 3 hour whale watching trip from the harbour and see dolphins and orcas as well as humpback whales. There is much to explore out of town with your car hire Keflavik including the famous 'Blue Lagoon' thermal spa. Here you can relax and float in the mineral waters or swim and take a steam bath, whilst chatting with the locals. There are nature reserves to explore nearby and the waterfalls and geysers at Gullfoss. The city of Reykjavik is also a short drive away.
The airport is just 3 km outside of Keflavik using the highway 41 or Reykjanesbraut. This route will also take you to Rekyavik and Rekyavik Airport if you have a domestic flight to catch.
There are two short term car parks within walking distance of the terminal and the long term car park is a little bit further out. There are also facilities for indoor parking, should this be required.
Iceland Air is the main operator out of Keflavik Airport with flights to Europe, the USA and Canada. Iceland Express are a low cost airline based there and some routes are seasonal. If you are travelling via Iceland on a transatlantic flight, you are permitted to stay in Iceland for up to 7 days, at no extra ticket cost. If you are travelling onto a domestic flight (these are from Reykjavik Airport), please allow 3 hours for your transfer, via shuttle bus or taxi and checking in.
There are many hotels in the Kefalvik area, but two are next to the airport for your convenience. These are the Flughotel and the Motel Alex and suitable if you do not have car hire Keflavik Airport.
Keflavik is on Greenwich Meantime and in the Western European Time Zone (GMT+0).
Keflavik Airport is the main airport for Iceland and deals with international flights only. It has everything you need, including ATMs and currency exchange along with information kiosks. There is Wi-Fi for a charge or you can use the internet kiosks or business centre. There is a selection of cafes and bars to choose from if you get hungry and also a bistro restaurant. Duty free shopping is available and you can also browse the outlets selling locally made items and souvenirs.
Keflavik Airport is also confusingly known as Reykjavik-Keflavik Airport.
The terminal is known as Leifur Eiriksson Air Terminal.
Over 2 million passengers use the airport every year.
The airport was originally built in World War II by the United States Military.


To receive more info from Intimate Apparel Square Club , Click Here.
(Filed Under wholesale Lingerie News). The Intimate Apparel Square Club will honor PVH Corp. and Target at its 61st anniversary H.U.G. gala Wednesday, November 2, 2016 at the 230 Fifth Penthouse event space in Manhattan. Accepting on behalf of PVH will be Les Hall, president core intimates.
"Established in 1955, The Intimate Apparel Square Club (IASC) is a 501(c)(3) nonprofit organization. The club's annual fund raiser, which was renamed the H.U.G. (Help Us Give) gala in 1998, honors well-respected, high-profile companies and individuals." Reach them at www.thehugaward.org, by email at IASC@frontiernet.net or by phone at (845) 758-5752.
Learn more about Rusk Rehabilitation at http://nyulangone.org/locations/rusk-rehabilitation.


text:
Q: Laravel routing not working correctly for static page /resources/views/layout/partials/nav.blade.php

About

/routes/web.php
Route::resource('tasks', 'TaskController');

/app\Http/Controllers/TaskController.php
    public function about()
    {
         return view('tasks.about');
    }

/resources/views/tasks/about.blade.php
@extends('layout.layout')
     @section('content')

hello world

@endsection

Getting this error

Sorry, the page you are looking for could not be found.

A: change url to route and defined it into route file.

About

Route.php
Route::get('task/about', 'TaskController@about')->name('task.about');

If you want to use direct URL then you may use {{ url('task/about')}} instead of {{ route('task.about') }}
Note: Because as you defined resource in web.php file it contains many methods and URL.
Route::resource('tasks','eventcontroller');

Verb          Path                         Action  Route Name
GET           /tasks                       index   tasks.index
GET           /tasks/create                create  tasks.create
POST          /tasks                       store   tasks.store
GET           /tasks/{tasks}               show    tasks.show
GET           /tasks/{tasks}/edit          edit    tasks.edit
PUT|PATCH     /tasks/{tasks}               update  tasks.update
DELETE        /tasks/{tasks}               destroy tasks.destroy


text:
Red Sox option Bradley and Castillo to Pawtucket, among latest cuts
The Red Sox Opening Day roster is a little clearer after a series of roster moves announced by the team today.
Headlining the moves is the optioning of outfielders Jackie Bradley Jr. (pictured) and Rusney Castillo to Pawtucket, all but confirming that Shane Victorino will be Red Sox' starting right fielder to begin the season. Bradley made a solid case for a shot at the majors in spring training, batting .356/.442/.422 in 18 games. Castillo, on the other hand, battled an injury that took him out of the lineup for a brief period during the spring. But after a slow start in early March, Castillo ended up going 8 for 25 in eight games during Grapefruit League action.
In addition to the Bradley and Castillo moves, reliever Dalier Hinojosa, catcher Matt Spring, and shortstop Deven Marrero were reassigned to minor league camp. The 29-year-old Hinojosa allowed six hits and four earned runs in his 6 1/3 innings of work this spring, but managed to rack up 10 strikeouts. Spring, 30, put up very strong offensive numbers in big league camp, hitting .385 with a 1.236 OPS over 12 games. Marrero, who will entering his first full season in Pawtucket this year, batted .300 with a .344 on-base percentage in 33 plate appearances this spring.
As Opening Day draws closer, the Red Sox now have 38 players left in major league camp, a group that includes 30 active members of the 40-man roster, seven non-roster invitees, and one player on the disabled list.
Photo credit: Jackie Bradley Jr. by Kelly O'Connor
Katie Morrison is a Staff Writer for SoxProspects.com. Follow her on Twitter @KatieMo61


text:
'Avengers' opens with $630 mln, smashing global record
April 30 2018 16:11:00
LOS ANGELES - AFP
"Avengers: Infinity War" took in $630 million in its first weekend, the highest global opening of all time, industry estimates showed on April 29.
"The latest Marvel juggernaut... opened with $630M worldwide, making it the largest global weekend tally in the history of film, and this was done without China," which has a later opening, industry tracker Exhibitor Relations said.
That topped "The Fate of the Furious," the 8th installment of the high-octane action series starring Vin Diesel, Dwayne Johnson and Michelle Rodriguez that opened with more than $530 million globally in 2017.
"Infinity War," which features more than two dozen superheroes fighting to save the universe, also broke the record for highest North American opening weekend, raking in $250 million at US and Canadian box offices.
That beat "The Force Awakens," the 7th film in the long-running "Star Wars" space saga that made $248 million in its opening weekend in 2015.
"Infinity War" is the 19th film in the so-called Marvel Cinematic Universe (MCU), combining a whopping nine franchises and a cast list that reads like a who's who of Hollywood's A-list.
Robert Downey Jr dons the red and gold metal suit once again as Iron Man; Benedict Cumberbatch is Doctor Strange; Scarlett Johansson is back as Black Widow; and Australia's Chris Hemsworth is Thor.
Also back for more? Black Panther, the Marvel breakout of the year after the standalone pic's massive opening in February, Captain America, the Hulk, Spider-Man, Hawkeye, the Guardians of the Galaxy and their assorted allies.
Their mission is to prevent the powerful purple alien Thanos (Josh Brolin) from destroying the universe.
"We took a picture of every single person whose character has been in the MCU. We hung it up on a wall all around us," co-director Anthony Russo, who helms the film with his brother Joe, told reporters ahead of its release.
"We basically spent months and months and months talking about where we could go with each character, how we could draw them through the story," he added.
"Every one of these characters... has been on a very specific journey through the MCU to arrive at this moment."
This is the third "Avengers" film, before the final, untitled saga set for next year.
Marvel, Avengers, opening, global, movie
One Turkish consulate employee dead in shooting in Erbil: Foreign Ministry
Trump says US will not sell Turkey F-35 fighters, blames Obama
Turkish Cypriot President Akıncı says he regrets rejection of offer for joint gas search by Greek side
EU is becoming irrelevant in Cyprus
Initial delivery of S-400 systems by air to continue until July 23
Surf's up for Turkey's "calm city"
'Game of Thrones' breaks record with 32 Emmy nominations
Italian author Camilleri, creator of 'Inspector Montalbano', dies
Sultans of Jazz: Documentary to highlight Turks' battle with racism
Painter's life to be featured in film
Salt Lake welcomes flamingo chicks
Netflix deletes suicide scene from popular youth show, '13 Reasons Why'
Ursula von der Leyen was confirmed as the European Commission president on July 16, becoming the first woman to hold one of the most prestigious positions in the European Union and who will be one of the most prominent faces from the bloc on the world stage.
More than 500,000 houses sold in H1
House sales in Turkey fell to 505,796 properties in the first half of 2019, down 21.7% on a yearly basis, the country's statistical office announced on July 17.
Villa continues spending spree by signing Engels
Newly promoted Aston Villa continued its close season spending spree by signing defender Bjorn Engels from French side Stade Reims for an undisclosed fee, the Premier League club said.
© Hürriyet Daily News


Functioning bathrooms seem like a stretch in Minecraft, but with redstone, they're not that far out of reach! This past workshop focused on creating a fully functional bathroom for your Minecraft spa getaway. The workshop went really well, and we had some awesome contributors come in and show off their versions of showers, toilets, tubs and sinks!
This awesome, pulsing, redstone-powered shower is sure to turn heads! Most showers release water at the flick of a lever, but this shower is very unique. Using a clock to power two sticky pistons, it creates a more "stream"—like realistic showers do!
The video below will walk you through how to create it!
Who doesn't want a flushing toilet in their gorgeous bathroom? What is it, the stone age? I think not! For any modern bathroom, use this concept to create a simple flushing toilet. It will bring life to any bathroom!
Who uses towels anymore? This is Minecraft, after all, we're here to think on our feet! Dispensers with snowballs inside can make the perfect blow dryer.
Check out the video below to learn how to make one!
Who doesn't want that extra privacy in your bathroom? With this tutorial, not only will you learn how to create a lightning-fast piston door, but also a lock for the door!
TehGeekFather and his redstone contraptions are always popping up, and I love it! He really helps out during workshops and creates original things that make an impact. This past workshop, he created a working sink, bath tub and even an awesome shower door. I love the shower door, but he claims it was a failed concept.
This is his working sink, which I absolutely love and would have never thought of in a million years! You push the button, and the empty cauldron switches to a filled cauldron with water in it!
And here's his so-called "failed shower door concept," which I absolutely will be using in the future! The best part about it is that even if you're inside the shower, you can still reach around and flip the lever to let yourself out!
Silverbug12 got right to work this past Saturday, creating an entire bathroom! It has a toilet, shower, sink and even a mirror! She's still learning redstone, but she did an excellent job last Saturday and is improving tremendously!
Great job Silverbug, it's an adorable bathroom that anyone could love!
(1) Working shower, (2) Sink, (3) Flushing toilet, (4) Mirror!
Sproga2 absolutely loves redstone and loves to show people how to make the most unique of things! For his first project, he created a little "privacy" room completely with its own toilet. You walk through the front, hit the button, and the door closes behind you while a toilet pops out of the floor!
His second creation was an upgraded version of his first. When you walk through, the pressure plate triggers the redstone and the redstone is on a timer. So while you're inside doing your business, the doors will open a few seconds after—no heavy lifting required (pushing buttons counts as heavy lifting, right?)!
His last creation is a shower that locks you inside, forcing you to shower for a few seconds! This was his idea for those kids who refuse to take a shower. Not only is it humorous, but it's an awesome concept!
How will you incorporate these furniture into your bathroom?


We chose Banker Wire mesh due to its quality and reputation as a leading manufacturer of unique materials," says Cliff Lin, Senior Designer at New York-based architectural firm AvroKO, which oversaw the Carnevino Steakhouse. "The wire mesh we used helped breathe life into the décor and brought the overall palette together in a truly rich manner.
Award-winning steakhouse Carnevino, already a popular restaurant destination in Las Vegas, was looking to make an immediate impression for diners at its newest location in Hong Kong. Chefs and restaurateurs Mario Batali and Joe Bastianich aimed to bring the highest quality steaks to central Hong Kong. Its luxurious design – featuring metallic accents by Banker Wire – helps Carnevino to deliver an upscale dining environment.
At Carnevino, three types of Banker Wire mesh complete a vintage racing-inspired aesthetic, creating a dining space that is simultaneously welcoming and chic. To turn this vision into reality, Carnevino's designers utilized wire mesh from Banker Wire, giving the decor key metal finishes that fit perfectly with the race-inspired machine aesthetic.
Banker Wire architectural mesh was used in the restaurant's wine cellar, dining room and private dining area as a background accent for stone, metal and leather paneling. The weaves add depth and texture to Carnevino's walls for a unique visual experience.
Banker Wire's DS-1, SZ-4 and IPZ-25 architectural mesh styles were chosen for this project. At Carnevino, SZ-4 and IPZ-25 weave copper with stainless steel to create reflective surfaces that emanate a warm glow in the restaurant's soft lighting. The opaque stainless steel DS-1 pattern combines gentle, flat wire with straight wire to produce a robust, symmetric fabric that adds to the space's warmth. The use of architectural wire mesh brings depth and texture to Carnevino's walls, providing a visual experience that conveys luxury and richness.
Carnevino was named one of South China Morning Post's Top 100 Tables and selected as one of Luxe Magazine's Top 10 Wine Pairing Restaurants in 2013.


A driver who refused to take disabled people in his taxi could face robust action from St Albans council.
The incident occurred last Thursday, when former president of the district's Chamber of Commerce David Clarke, who is blind, and Harpenden town councillor Michael Weaver, who uses a wheelchair, were dining with the chamber's executive director Lisa Bates-Wallis.
Lisa called and paid ahead for a taxi to take them home and they stood on the pavement to wait.
But when the Gold Line Taxi pulled up at 10.15pm, the driver was not parallel with the wheelchair.
He was asked to move forward to make him more accessible, but he told Lisa: "I'm not dealing with this," and drove off.
Another taxi was sent to pick them up and Gold Line Taxis has since offered Lisa a refund and said she should report the driver to the council.
Under the Equality Act, licensed taxi drivers using wheelchair-accessible vehicles cannot discriminate against wheelchair users and should give them assistance when required.
Drivers can be made exempt if they provide evidence they are medically unable to assist passengers in wheelchairs, but this exemption should be displayed on the vehicle.
Part-owner of Gold Line Taxis Aneel Ahmed said: "We have contacted the customer and apologised.
"I do not know the full details, but this is not acceptable.
Sections of the Equality Act were activated last year after St Albans MP Anne Main highlighted the case of 65-year-old wheelchair user Jennie Page, who a Gold Line driver refused to take after he found out he would not get any help with unloading her at the other end.
Fellow wheelchair user Dominic Hyams has also spoken at St Albans council about his experiences of being refused service by taxi drivers and being made to wait for a lift.