Class ExConsoleRead
Provides extension methods for ExConsole for easy reading and parsing inputs from the user.
Inheritance
Inherited Members
Namespace: ExtendedConsole
Assembly: ExtendedConsole.dll
Syntax
public static class ExConsoleRead
Methods
Pause(ExConsole)
Pause the console application until the user press a key.
Declaration
public static ExConsole Pause(this ExConsole self)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
Returns
| Type | Description |
|---|---|
| ExConsole | The current instance of ExConsole. |
Examples
Write "Press any key to continue." to the console, and wait for the user to press a key. Advance the cursor to the next line.
exConsole.Pause();
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
Pause(ExConsole, String)
Pause the console application until the user press a key.
Declaration
public static ExConsole Pause(this ExConsole self, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
Returns
| Type | Description |
|---|---|
| ExConsole | The current instance of ExConsole. |
Examples
Write "Press any key to continue." to the console, where "any key" is in yellow, and wait for the user to press a key. Advance the cursor to the next line.
exConsole.Pause("Press <c f='yellow'>any key</c> to continue.");
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadBool(ExConsole, ConsoleKey, ConsoleKey, String)
Covnverts the user input to a boolean value. Will keep waiting until the user press a correct key.
Declaration
public static bool ReadBool(this ExConsole self, ConsoleKey keyForTrue, ConsoleKey keyForFalse, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.ConsoleKey | keyForTrue | The key the user should press to return true. |
| System.ConsoleKey | keyForFalse | The key the user should press to return false. |
| System.String | title | The title to show on the console. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True or false based on the key the user pressed. |
Examples
Askes the user a yes/no question, returns true if they pressed "Y" or false if they press "N". Repeats until the user press either "Y" or "N".
var result = exConsole.ReadBool(
ConsoleKey.Y,
ConsoleKey.N,
"Are you happy (y/n)?"
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadBool(ExConsole, ConsoleKey, String)
Covnverts the user input to a boolean value.
Declaration
public static bool ReadBool(this ExConsole self, ConsoleKey keyForTrue, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.ConsoleKey | keyForTrue | The key the user should press to return true. |
| System.String | title | The title to show on the console. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the user pressed the key specified in keyForTrue, false otherwise. |
Examples
Askes the user to press "q" to quit, returns true if the user pressed "q", false otherwise:
var result = exConsole.ReadBool(ConsoleKey.Q, "Press 'Q' to quit");
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadClass<T>(ExConsole, String, String, Func<String, (Boolean Success, T Value)>)
Reads an input line from the user and converts it to T
.
Declaration
public static T ReadClass<T>(this ExConsole self, string title, string errorMessage, Func<string, (bool Success, T Value)> converter)
where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
| System.String | errorMessage | The error message to show the user if the conversion failed. |
| System.Func<System.String, System.ValueTuple<System.Boolean, T>> | converter | A function that takes in a string and returns a System.ValueTuple of System.Boolean success and |
Returns
| Type | Description |
|---|---|
| T | The |
Type Parameters
| Name | Description |
|---|---|
| T | The target type of the conversion. |
Examples
Parse and get an array of int values from comma-separated integers entered by the user.
var ints = exConsole.ReadClass(
"Please enter a list of comma-separated integers",
"Invalid value entered",
str => {
var arr = str.Split(',');
if (arr.All(s => int.TryParse(s, out var i)))
{
return (true, arr.Select(s => int.Parse(s)).ToArray());
}
return (false, default(int[]));
}
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadDateTime(ExConsole, String, String)
Converts the user input into an instance of Nullable<DateTime>.
Declaration
public static DateTime? ReadDateTime(this ExConsole self, string title, string errorMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
| System.String | errorMessage | The error message to show the user in case the input value is invalid. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | A nullable DateTime instance that will have no value if the user entered ^Z. |
Examples
Reads the user input and tries to parse it as a DateTime based on the current thread culture. Returns an instance of Nullalble<DateTime> which is null if the user entered ctrl+Z. Repeats untill successful conversion or user abort.
var result = exConsole.ReadDateTime("Please enter a date.", "failed to convert to date.");
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadDateTime(ExConsole, String, String, IFormatProvider, DateTimeStyles)
Converts the user input into an instance of Nullable<DateTime>.
Declaration
public static DateTime? ReadDateTime(this ExConsole self, string title, string errorMessage, IFormatProvider formatProvider, DateTimeStyles dateTimeStyles)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
| System.String | errorMessage | The error message to show the user in case the input value is invalid. |
| System.IFormatProvider | formatProvider | An object that supplies culture-specific formatting information about the string expected from the user's input. |
| System.Globalization.DateTimeStyles | dateTimeStyles | A bitwise combination of members of the System.Globalization.DateTimeStyles enum. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | A nullable DateTime instance that will have no value if the user entered ^Z. |
Examples
Reads the user input and tries to parse it as a DateTime based on the "en-US" culture. Returns an instance of Nullalble<DateTime> which is null if the user entered ctrl+Z. Repeats untill successful conversion or user abort.
var result = exConsole.ReadDateTime(
"Please enter a date.",
"failed to convert to date.",
CultureInfo.GetCultureInfo("en-US"),
DateTimeStyles.None);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadDateTime(ExConsole, String, String, String, IFormatProvider, DateTimeStyles)
Converts the user input to an instance of Nullable<DateTime>.
Declaration
public static DateTime? ReadDateTime(this ExConsole self, string title, string errorMessage, string format, IFormatProvider formatProvider, DateTimeStyles dateTimeStyles)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
| System.String | errorMessage | The error message to show the user in case the input value is invalid. |
| System.String | format | The format of the string representation of the datetime value expected. |
| System.IFormatProvider | formatProvider | An object that supplies culture-specific formatting information about the string expected from the user's input. |
| System.Globalization.DateTimeStyles | dateTimeStyles | A bitwise combination of members of the System.Globalization.DateTimeStyles enum. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | A nullable DateTime instance that will have no value if the user entered ^Z. |
Examples
Reads the user input and tries to parse it as DateTime based on the specified parameters. Returns an instance of Nullalble<DateTime> which is null if the user entered ctrl+Z. Repeats untill successful conversion or user abort.
var result = exConsole.ReadDateTime(
"Please enter a date (dd/MM/yyyy).",
"failed to convert to date.",
"dd/MM/yyyy",
CultureInfo.InvariantCulture,
DateTimeStyles.AssumeLocal
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadDateTime(ExConsole, String, String, String[], IFormatProvider, DateTimeStyles)
Converts the user input to an instance of Nullable<DateTime>"/>.
Declaration
public static DateTime? ReadDateTime(this ExConsole self, string title, string errorMessage, string[] formats, IFormatProvider formatProvider, DateTimeStyles dateTimeStyles)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
| System.String | errorMessage | The error message to show the user in case the input value is invalid. |
| System.String[] | formats | An array containing the acceptable formats of the string representation of the datetime value expected. |
| System.IFormatProvider | formatProvider | An object that supplies culture-specific formatting information about the string expected from the user's input. |
| System.Globalization.DateTimeStyles | dateTimeStyles | A bitwise combination of members of the System.Globalization.DateTimeStyles enum. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | A nullable DateTime instance that will have no value if the user entered ^Z. |
Examples
Reads the user input and tries to parse it as DateTime based on the specified parameters. Returns an instance of Nullalble<DateTime> which is null if the user entered ctrl+Z. Repeats untill successful conversion or user abort.
var result = exConsole.ReadDateTime(
"Please enter a date. Acceptable formats are dd/MM/yyyy, MM-dd-yyyy or yyyy-MM-dd.",
"failed to convert to date.",
new string[] {"dd/MM/yyyy", "MM-dd-yyyy", "yyyy-MM-dd"},
CultureInfo.InvariantCulture,
DateTimeStyles.AssumeLocal
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadInt(ExConsole, String)
Covnverts the user input to an integer value.
Declaration
public static int ReadInt(this ExConsole self, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The integer value the user entered. |
Remarks
If the user enters a value that can't be parsed as int, the title will show again until the user enters an int value.
Examples
Parse and return an int from the user input. Repeats until the user enters a value that can be parsed as int.
var result = exConsole.ReadInt("Please enter an integer value.");
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadInt(ExConsole, String, Func<Int32, Boolean>)
Covnverts the user input to an integer value that meets a specific condition.
Declaration
public static int ReadInt(this ExConsole self, string title, Func<int, bool> condition)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. This will be shown repeatedly until the user enters a valid value. |
| System.Func<System.Int32, System.Boolean> | condition | The condition the integer value must meet. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The integer value the user entered. |
Examples
Parse and return an int from the user input. Repeats until the value meets the specified condition.
var result = exConsole.ReadInt("Please enter a positive integer value.", i => i > 0);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadInt(ExConsole, String, String, Func<Int32, Boolean>)
Covnverts the user input to an integer value that meets a specific condition.
Declaration
public static int ReadInt(this ExConsole self, string title, string errorMessage, Func<int, bool> condition)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show on the console. |
| System.String | errorMessage | The error message to show the user in case the input value is invalid. |
| System.Func<System.Int32, System.Boolean> | condition | The condition the integer value must meet. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The integer value the user entered. |
Examples
Parse and return an int from the user input. If the user enters a value that can't be parsed or doesn't meet the specified condition, display "Invalid input." Repeats until the value meets the specified condition.
var result = exConsole.ReadInt("Please enter a positive integer value.", "Invalid input.", i => i > 0);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadKey(ExConsole, String, Boolean)
Writes the title to the console, and read a key.
Declaration
public static ConsoleKeyInfo ReadKey(this ExConsole self, string title, bool intercept)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
| System.Boolean | intercept | Determines whether to display the pressed key in the console window. true to not display the pressed key; otherwise, false. |
Returns
| Type | Description |
|---|---|
| System.ConsoleKeyInfo | An instance of the System.ConsoleKeyInfo struct that describes the console key the user pressed. |
ReadLine(ExConsole, String)
Writes the title to the console, and read a line of text.
Declaration
public static string ReadLine(this ExConsole self, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
Returns
| Type | Description |
|---|---|
| System.String | The string the user entered. |
Examples
Write "Please enter your first name:" to the console, where "first" is in green, waits for the user to enter a lime, and returns the user's input.
var firstName = exConsole.ReadLine("Please enter your <c f='green'>first</c> name:");
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadStruct<T>(ExConsole, String, String, Func<String, (Boolean Success, T Value)>)
Reads an input line from the user and converts it to a nullable T
.
Declaration
public static T? ReadStruct<T>(this ExConsole self, string title, string errorMessage, Func<string, (bool Success, T Value)> converter)
where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
| System.String | errorMessage | The error message to show the user if the conversion failed. |
| System.Func<System.String, System.ValueTuple<System.Boolean, T>> | converter | A function that takes in a string and returns a System.ValueTuple of System.Boolean success and |
Returns
| Type | Description |
|---|---|
| System.Nullable<T> | An instance of |
Type Parameters
| Name | Description |
|---|---|
| T | The underlying type of the nullable to convert to. |
Examples
Parse and get an instance of the TimeSpan
struct from user input.
The duration variable is of type Nullable<TimeSpan>
, and will be null if the user entered ctrl+Z.
var duration = exConsole.ReadStruct(
"Please enter estimated time (HH:mm:ss)",
"Invalid value entered",
str => (TimeSpan.TryParse(str, out var result), result)
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadUntilConverted<T>(ExConsole, String, String, Func<String, (Boolean Success, T Value)>)
Reads an input line from the user and converts it to T. Repeats until conversion succeeds (even if the user entered ^Z).
Use with caution! The user can't exit this method without either providing a convertible value or exiting the entire program!
Declaration
public static T ReadUntilConverted<T>(this ExConsole self, string title, string errorMessage, Func<string, (bool Success, T Value)> converter)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
| System.String | errorMessage | The error message to show the user if the conversion failed. |
| System.Func<System.String, System.ValueTuple<System.Boolean, T>> | converter | A function that takes in a string and returns a value tuple of bool success and T value. |
Returns
| Type | Description |
|---|---|
| T | The T value converted from the input string. |
Type Parameters
| Name | Description |
|---|---|
| T | The target type of the conversion. |
Examples
Parse and get an instance of the TimeSpan
struct from user input.
var duration = exConsole.ReadUntilConverted(
"Please enter estimated time (HH:mm:ss)",
"Invalid value entered",
str => (TimeSpan.TryParse(str, out var result), result)
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |
ReadValues<T>(ExConsole, String, String, String, Func<String, (Boolean Success, T Value)>)
Reads multiple values from the user, converts and returns them as an System.Collections.Generic.IEnumerable<T>. Repeats until the user enters the quit text.
Declaration
public static IEnumerable<T> ReadValues<T>(this ExConsole self, string title, string errorMessage, string quit, Func<string, (bool Success, T Value)> converter)
Parameters
| Type | Name | Description |
|---|---|---|
| ExConsole | self | The current instance of ExConsole. |
| System.String | title | The title to show the user before asking for input. |
| System.String | errorMessage | The error message to show the user if the conversion failed. |
| System.String | quit | A string the user should enter when they are done entering values. |
| System.Func<System.String, System.ValueTuple<System.Boolean, T>> | converter | A function that takes in a string and returns a value tuple of bool success and T value. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T> | An System.Collections.Generic.IEnumerable<T> containing values conveted from the user input. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of values to convert to. |
Examples
Read a collection of int values from the user. The integers vairable is of type System.Collections.Generic.IEnumerable<T>, and will never be null. If the user enters "done" before entering any valid integers, the retun value is an empty System.Collections.Generic.IEnumerable<T>.
var integers = _exConsole.ReadValues(
"Please enter integer values, or <c f='red'>done</c> to quit.",
"failed to parse input as int.",
"done",
str => (int.TryParse(str, out var val), val)
);
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when any of the parameters is null. |
| System.ArgumentException | Thrown when |
| System.Xml.XmlException | Thrown when |


Tip Calculator
How much was your bill?
$
How was your service?
Choose an Option
30% - Outstanding
20% - Good
15% - It was Okay
10% - Pretty Bad
5% - Terrible
How many people are sharing the bill?
Choose an Option
Just Me Today
Two People
Three People
Four People
Five People
Calculate
$
0.00
Each


"The Truman Show" - Must See TV
One criticism that many have made about today's television shows is that it contains too little realism. What we view are gross exaggerations, lurid sensationalism running wild. Witness the trashy talk shows, the nutty soap operas, pay-per-view fiascoes, prime-time wrestling, and "oh no...they killed Kenny!" Is that why a show such as Seinfeld was so popular? Because they covered topics that seemed so ordinary that they were downright insightful? The public clamors for something real to watch, and they get it in "The Truman Show."
Now in his 30th year, Truman Burbank (Jim Carrey) has been the unknowing star of his own show since he was born. As he goes about his daily life and interacts with the city's denizens, thousands of hidden cameras follow him around, revealing to the audience every little detail of his life. Truman has no idea that his life has been carefully planned and that all the world is a stage. We're there when he suffers tragedy, when he takes his first steps, and when he experiments with his first kiss. Truman eventually finds his life too comfortable. An uneasiness begins to gnaw at him. The only thing that ever gave him spark was a brief encounter with a girl whom he met in college who mysteriously disappeared. "I'm getting out of here," he exclaims. But to actually leave the community would mean the end of the show, and the producer (Ed Harris) does what he can to keep Truman trapped in his storybook land.
"The Truman Show" is an elegantly constructed movie that explores two things. The first is Truman's growing realization that his whole life has been some sort of masquerade. He picks up clues here and there such as the wife that talks like a television commercial, radio channels whose announcer tells where Truman is heading, and a lifestyle that's unrealistically harmonious. He knows that finding his own truth requires risks. He is willing to shed his affable nature in search of adventure. The more interesting aspect, however, is the debate that ensues between the producer of the show and a former cast member who severely questions his ethics and accuses him of deceit and using technology and media to satiate some kind of twisted appetite of the public. Ratings override his sense of humanitarianism, and thus the direction of the movie soon becomes clear. Who will win out? Those that seek the truth for personal betterment or those that manipulate the facts in order to stave off change?
Carrey turns in a surprisingly good performance, and shows that he has the ability to be both a manic comic and a person that can project a sense of wonderment and awe.  The storytelling quickly draws us in, and we become as interested as the viewing audience depicted in the movie. "The Truman Show" is a unique movie, his journey is immensely satisfying, and Carrey is engrossing as a man who learns that there's nothing more important than taking that first step.
Grade: B+
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


World Data Overview ...
Mavericks reality distortion gradients attenuation. Thought through and through notifications transparency game center multitasking aluminum advanced desktop operating system genius bar. This changes everything designed by Apple in California passbook. Control center photos all-new design SDK technology clock. Simplicity is actually quite complicated. Functional layers 9:41 am partly cloudy minimalism. Dock airdrop slide to answer music. Video multitouch iTunes compass. Harmonious finder grid system retina animation compressor experience keynote. Redesign services API notes system preferences. Features siri flat buttons airplane mode calculator. Missed call cover flow compare models. Wi-Fi apple care volume reminder controls. My stations folders mac power ultimate upgrade. Shop online guicktime trackpad server aperture rumors education safari one to one. Remote desktop motion business. Backlit keyboard chess phone airport extreme support iPad. Accessories magsafe terminal final cut pro. Featured TV shows downloads digital color meter. Glossy tech specs bluetooth manuals. OpenGL products FaceTime free shipping recycling mission control applications. from: jony iasurn


Comments
-
Greg Hurrell
Thanks for posting, Andri.
It's true that in the Vim help for
:pwd
, it says:Print the current directory name
The value in Command-T is named "pwd" not because there's any printing involved, but because the value that gets used is obtained by running the Vim
:pwd
command. I don't think the name should be changed now, as it could break people's existing configs that use the name (and accepting both names in the interests of backwards compatibility is just cluttering up the codebase for little pay-off).For what it's worth, the Command-T docs for the "pwd" say this:
use Vim's present working directory as a root
So there's another reason why "pwd" is totally reasonable; it's an acronym for "present working directory".
-
Greg Hurrell
Status changed:
- From: new
- To: closed
-
Andri Moell
Sorry for the off-topic, but is there a way to get email notifications from here? Just came to report another bug and only now saw this bug addressed.
-
Andri Moell
Created
,
edited
Okay, your call. I still think
pwd
is a name that should die as even in Vim context it stands for "print". :)getcwd() The result is a String, which is the name of the current working directory. :pw[d] Print the current directory name. {Vi: no pwd} Also see |getcwd()|.
-
Greg Hurrell
I still think pwd is a name that should die as even in Vim context it stands for "print".
Yeah, I know, but I don't want to go breaking compatibility with people's existing configurations.
As for email notifications, it's a half-implemented feature; I need to get off my butt and finish implementing it. I used to have Atom feeds that people could subscribe to, but I eventually removed those when one of many Rails upgrades broke the feature and I didn't have time to fix it.
-
Andri Moell
You _could_ just deprecate
pwd
, addcwd
and keeppwd
forever. That's the price to pay for poor previous decisions. :)As for email notifications, it's a half-implemented feature;
Any particular reason to use a custom issue tracker over something OSS or one of those code hosting sites? All I see is more trouble and pain for the "customers", if you like to call them that.
-
Greg Hurrell
You _could_ just deprecate pwd, add cwd and keep pwd forever. That's the price to pay for poor previous decisions.
On the scale of "poor" decisions, this particular one is utterly innocuous, so it's simply not worth paying the price; as I said above:
accepting both names in the interests of backwards compatibility is just cluttering up the codebase for little pay-off
(And yes, arguing here about whether to make the change constitutes a price as well, but I'd rather bicker here than incur a cost in the code itself.)
As for the tracker: I used to use OSS for everything and for the bugtracker, specifically, Bugzilla. But it was a pain for most users, especially users of my less-technical software (ie. not Command-T). I replaced a bunch of separate, disconnected open source software for the tracker, forums, wiki, blog etc with a single Rails app, which ended up being a net win. I'm a big fan of open source myself; the only reason this website's source isn't open is that I haven't gotten around to it yet.
You're also free to report issues on the GitHub project if you prefer that interface (https://github.com/wincent/command-t/issues); it's evidently much more sophisticated than the tracker here, but years ago when all this was made GitHub barely existed, and I don't think it had an issue tracker at all back then.
Add a comment
Comments are now closed for this issue.


Information on the scope and lifetime of components.
The default behavior of Snow is to create a single instance for each component, and share that instance across all requests for said component.
For most cases, this will be adequate, and indeed making components stateless is generally a good idea. However, sometimes a component has to keep a separate state for each request.
You can use the [RequestScope] attribute on a component class to tell Snow that it should create a new instance of it each time it's injected.
How to deal with components present in a separate assembly.
In large projects, it's common to have several assemblies. If using Snow, you could need to manage components on those assemblies (separate from the "main" assembly with the entry point).
Snow supports this functionality out of the box, with no special changes necessary, in these variants:


Selecting Frames
问题描述 :
Given n frames of unit width, your task is to select as many frames as possible and arrange them in a line, so that none of them overlap (one enclosing another is also forbidden, but merely touching is ok).
There is a restriction, though. If you select the i-th frame, you must install a small pole at Pi, then place the i-th frame surrounding that pole (the pole is so small that it can be located on the frame border). You can place the frame anywhere, as long as the pole is inside it or on its border.
There is a restriction, though. If you select the i-th frame, you must install a small pole at Pi, then place the i-th frame surrounding that pole (the pole is so small that it can be located on the frame border). You can place the frame anywhere, as long as the pole is inside it or on its border.
输入:
There are at most 10 test cases. Each case begins with a single integer n, the number of frames (1 <= n <= 10000). Each of the following lines contains two integers Li and Pi(1 <= Li, Pi <= 100000), the length of the i-th frame, and the position of the pole associated with that frame. No two poles will have the same position. The input ends with n = 0.
输出:
There are at most 10 test cases. Each case begins with a single integer n, the number of frames (1 <= n <= 10000). Each of the following lines contains two integers Li and Pi(1 <= Li, Pi <= 100000), the length of the i-th frame, and the position of the pole associated with that frame. No two poles will have the same position. The input ends with n = 0.
样例输入:
7 5 9 2 17 6 10 3 11 2 16 4 13 5 6 0
样例输出:
5
题意：给你N个线段，每个线段有一个自己pole，要选择尽量多的线段。
满足 1.线段之间没有相交区间，但是可以紧贴着。
2.当选择了第i个线段时，必须让第i个的线段的pole在第i个线段上。（实际上就是规定了线段放置的区间）
解题：
DP[i]表示选择了i个线段时，右端点的坐标。
每次有选或者不选2种决策，所以得到方程
dp[top]=min( dp[top] , a[i].p>=dp[top-1]+a[i].l?a[i].p:dp[top-1]+a[i].l);
选择的时候会遇到2种情况，如图：
第一种右端点放在6的位置，第二种右端点在8的位置。
#include <iostream> #include <cstdio> #include <algorithm> using namespace std; #define inf 0x3f3f3f3f struct node { int l; int p; }a[10005]; bool cmp(node b,node c) { return b.p<c.p; } int dp[10005]; int search(int k) { for(int i=1;i<=k;i++) { if(a[k].p<dp[i]) return i-1; } } int main() { int n; while(scanf("%d",&n)&&n) { for(int i=1;i<=n;i++) scanf("%d%d",&a[i].l,&a[i].p); sort(a+1,a+1+n,cmp); //根据pole位置升序 memset(dp+1,0x3f,sizeof(int)*(n+1)); dp[0]=-inf; int top=0; int ans=0; for(int i=1;i<=n;i++) { top=search(i); //找到第i个线段影响的top，例如样例的5 9,6 10，都会影响到dp[2] dp[top+1]=min(dp[top+1],a[i].p>=dp[top]+a[i].l?a[i].p:dp[top]+a[i].l); //通过转移方程找到最优解 if(top+1>ans) //记录答案 ans=top+1; } printf("%d\n",ans); } return 0; }
参考：http://blog.csdn.net/t1019256391/article/details/9089317
(adsbygoogle = window.adsbygoogle || []).push({});
http://www.baidu.jp
http://www.baidu.jp
http://www.baidu.jp
不错的网站，建议添加些比赛信息
给力！
不错，再多来的CF上面的题
很好的思路，可以借鉴
我还有个问题想请教一下，就是感觉对于新手来说，递归理解起来有些困难，不知有没有什么好的方法或者什么好的建议？
妈呀！这个Dijkstra模板好长OwQ！
厉害啊，我遇见数学问题就头疼！
递归还真是一门学问，学习了
正解，已改正。应该都是protected
Thanks for taking the time to examine this, I really feel strongly about it and love studying a lot more on this topic. If possible, as you acquire experience
什么破题，题意好难懂啊
在第 18行的，while(scanf("%d %dn", &n, &c), n)，这句有错吧
很好。代码比书上的简练！
第一题还是比较考验智商~


Hacker News Redefined
Subscribe to Recieve new 100 Hacker News articles in your email every night
{% for titles,links in data %}
{{titles}}
{% endfor %}


A blockchain is a list of records, called blocks, which are linked using cryptography.
Web Evolution
Web Shortcomings
Basics
Blockchain
Smart Contracts
Cryptokitties
Demo
Transactions
Metamask
Data Explorer
Keys
Hashes
Cybersecurity
preface
glossary
what-is
intro
clients
keys-addresses
wallets
transactions
smart-contracts-solidity
smart-contracts-vyper
smart-contracts-security
tokens
oracles
dapps
evm
consensus
appdx-forks-history
appdx-standards-eip-erc
appdx-evm-opcodes-gas
appdx-dev-tools
appdx-web3js-tutorial
Github Book Project
Ethereum API - Using web3 & Metamask


Functions
apply_filter(filter) → {undefined}
Installs a given filter to be used to transform
the images that the camera captures into images
displayed on the screen. A filter is a function
that is applied to two two-dimensional arrays
of Pixels: the source image and the destination
image.
Parameters:
| Name | Type | Description |
|---|---|---|
filter |
f | the filter to be installed |
Returns:
- Type
- undefined
blue_of(Pixel) → {Number}
Returns the blue component of a given Pixel
px
Parameters:
| Name | Type | Description |
|---|---|---|
Pixel |
px | given Pixel |
Returns:
the blue component as a number between 0 and 255
- Type
- Number
constrain_color(val) → {Number}
Constrains a given color value to lie between 0 and 255
Parameters:
| Name | Type | Description |
|---|---|---|
val |
Number | source value |
Returns:
constrained value between 0 and 255
- Type
- Number
copy_image(Image, Image) → {undefined}
Filter that copies all Pixels faithfully from the
source Image to the destination Image
Parameters:
| Name | Type | Description |
|---|---|---|
Image |
src | source Image |
Image |
dst | destination Image |
Returns:
- Type
- undefined
copy_pixel(Pixel, Pixel) → {undefined}
Copies the red, green and blue components of a Pixel
src
to a Pixel dst
Parameters:
| Name | Type | Description |
|---|---|---|
Pixel |
px | source Pixel |
Pixel |
px | destination Pixel |
Returns:
- Type
- undefined
get_video_height() → {Number}
Returns the current height of the output video display in
pixels, i.e. the number of pixels in vertical direction
Returns:
height of output display (in pixels)
- Type
- Number
get_video_width() → {Number}
Returns the current width of the output video display in
pixels, i.e. the number of pixels in horizontal direction
Returns:
width of output display (in pixels)
- Type
- Number
green_of(Pixel) → {Number}
Returns the green component of a given Pixel
px
Parameters:
| Name | Type | Description |
|---|---|---|
Pixel |
px | given Pixel |
Returns:
the green component as a number between 0 and 255
- Type
- Number
red_of(Pixel) → {Number}
Returns the red component of a given Pixel
px
Parameters:
| Name | Type | Description |
|---|---|---|
Pixel |
px | given Pixel |
Returns:
the red component as a number between 0 and 255
- Type
- Number
set_rgb(Pixel, Number, Number, Number, Pixel) → {undefined}
Assigns the red, green and blue components of a pixel
px
to given values
Parameters:
| Name | Type | Description |
|---|---|---|
Pixel |
px | given Pixel |
Number |
r | the red component as a number between 0 and 255 |
Number |
g | the green component as a number between 0 and 255 |
Number |
b | the blue component as a number between 0 and 255 |
Pixel |
px | given Pixel |
Returns:
- Type
- undefined


PetLovers(petfinder app)
85 million U.S families own a pet. Practically everyone loves pets and how useful an adoption app can be. My vision was creating an app to find a specific animal and or breed in your area. Users can receive all the detailed information to be able to adopt that pet into their home. To further the love of pets I decided to establish a simple API and database for events related to pets. So users can receive upcoming events related to pets like adoptions or fundraisers for a cause.
GithubLive
Fortnite Society
Fortnite is by far the most popular video game in the world right now. The developer Epic Games is offering 100 million dollars in prize money for the eSports/competitive scene. With the game growing rapidly comes more than 40 million people logging in every day to play. Fortnite will continue to grow for years to come so I created an app for this community where I provide a forums page and detailed data grid on pro player settings.
Github
Live
CryptoEdge
Allows users to search two cryptocurrencies and get back real-time data and news, specifically price volume price change and low/high of day essential technical prices. The news are articles from sources like CNN and users can see the source of the article and if they want to can click on the title to open a new window that will take them to that article or story.very simple app that returns real-time reliable technical data on a very big topic in today's society, Cryptocurrency .
GithubLive


growth climate morphs lead‐backed temperature surface striped cinereus morph survival Plethodon environmental summer use color model change mean coefficient conditions detection models individual [−., autumn spring temperatures winter differences population responses {border-style [., function rates salamander behavioral effect estimate likely movement px;} salamanders season species #ffffff;} <- Table adaptive populations higher plasticity probability predictions warmer (Figure Model evidence morph) spatial study using SE, activity autumn, calendar prediction seasons used variation Ecology, demography individuals p(plot red‐backed within‐population Mean day polymorphism seasonal spring, Φ(plot (C) BCI Biology, John Parameters Research Wiley breadth change. conditions. demographic design lower number rainfall range selection size survey temp test trap variability warming Bayesian Ltd, SCR Sons, behavior cover dispersal‐limited plots program robust salamander, terrestrial (A) (Table (striped Anthony, Appendix Behavioral Bertalanffy Ecology Figure Funding JAGS Lead‐backed: Striped: changes changing dnorm(, genetic greater inf px; response shifts soil strong temperature, traits {font-family (prediction Copeia, MD, Marsh, Society USA. University Wildlife adaptation capture–recapture coefficients credible data font-size history later modeled morphs. plot possible previous rate role space suggests support von winter, .]; American Club Department Evolution, Grant, Green, Herpetologica, Hickerson, Laurel, Management, Miller, Pollock, Proceedings SVL Striped Summer Williams, Winter captured capture‐recapture cinereus, climate–morph common cooler double; ecology effects ijk increases occasion) overwinter over‐summer peak physiological probabilities probability, provided relationships respond results sampling species' thermal understanding Biological Effects Foundation Growth Lastly, Maryland Miller Muñoz, Predictions Royal Scott, Spring abundance, account amphibian assessed availability best better border-color border-width c() capacity cinereus) conditions, demography, different distribution drier earlier emigration encounter evolutionary exhibit fixed future given growth. however, included including influence interval intervals life life‐history low morph), morph, niche patterns potential reduce reduced relationship retreat salamander. solid; species. suggest summer, survival. temperatures. temporary underground {font-style {font-weight ΔAIC γ′(morph.) γ″(), −.] (Anthony (size) (γ′ .]). Asymptotic Autumn Biology Climate Core Ecological Field Grant Haas, Hanlon, Herpetology, Hesed, Hopkins, However, Jaeger, K(season Likelihood MARK National Page, Philosophical Predicting Schluter, Science Sciences Statistical Surface Temperature Thomas, USA Warmer Washington Yvon‐durocher, [], a). analyses animal assumed bold constant courier; days, degree determine did distributions dunif(,) eastern em; emerge estimated estimates extent extinction formulation global heat impacted impacts influenced large larger location maintained mark–recapture maximum mechanism metabolic microhabitat models, model{ morphs, negative negatively occasions package parameter parameters peaked persistence plasticity, predicted predictors pt;} rapid regions relationships. represents reproductive season, seasons, similar strategies surface‐active temperature. testing tied timing tolerance variable −ln


Good day,
{{user.displayName}}
!
Welcome to AngularJS and Bootstrap Kick Demo!
Good day,
Stranger
! Please, tell us some info about You below!
User Information Form
First name
Last name
Middle name


public interface Member extends MetadataElement
Member
is a data value in an OLAP Dimension.| Modifier and Type | Interface and Description |
|---|---|
static class |
Member.TreeOp
Enumeration of tree operations which can be used when querying
members.
|
static class |
Member.Type
Enumeration of types of members.
|
| Modifier and Type | Method and Description |
|---|---|
List<Member> |
getAncestorMembers()
Returns array of all members which are ancestor to
this . |
int |
getChildMemberCount()
Returns the number of children this Member has.
|
NamedList<? extends Member> |
getChildMembers()
Returns the children of this Member, indexed by name.
|
Member |
getDataMember()
Returns the system-generated data member that is associated with a
non-leaf member of a dimension.
|
int |
getDepth()
Returns the depth of this member.
|
Dimension |
getDimension()
Returns the Dimension of this Member.
|
ParseTreeNode |
getExpression()
Expression by which this member is derived, if it is a calculated
member.
|
Hierarchy |
getHierarchy()
Returns the Hierarchy of this Member.
|
Level |
getLevel()
Returns the Level of this Member.
|
Member.Type |
getMemberType()
Returns the type of this Member.
|
int |
getOrdinal()
Returns the ordinal of the member.
|
Member |
getParentMember()
Returns the parent of this Member, or null if it has no parent.
|
NamedList<Property> |
getProperties()
Returns the definitions of the properties this member may have.
|
String |
getPropertyFormattedValue(Property property)
Returns the formatted value of a given property.
|
Object |
getPropertyValue(Property property)
Returns the value of a given property.
|
int |
getSolveOrder()
Returns the solve order of this member in a formula.
|
boolean |
isAll()
Returns whether this Member represents the aggregation of all members
in its Dimension.
|
boolean |
isCalculated()
Returns whether this member is calculated using a formula.
|
boolean |
isCalculatedInQuery()
Returns whether this member is computed from a
WITH MEMBER
clause in an MDX query. |
boolean |
isChildOrEqualTo(Member member)
Returns whether
member is equal to, a child of, or a
descendent of this Member. |
boolean |
isHidden()
Returns whether this member is 'hidden', as per the rules which define
a ragged hierarchy.
|
void |
setProperty(Property property,
Object value)
Sets a property of this member to a given value.
|
getCaption, getDescription, getName, getUniqueName, isVisible
NamedList<? extends Member> getChildMembers() throws OlapException
If access-control is in place, the list does not contain inaccessible children.
If the member has no children, returns an empty list: the result is never null.
The caller should assume that the list is immutable; if the caller modifies the list, behavior is undefined.
OlapException
- if database error occursOlapDatabaseMetaData.getMembers(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Set<org.olap4j.metadata.Member.TreeOp>)
int getChildMemberCount() throws OlapException
This method has the same effect as
getChildMembers().size()
, but is typically less expensive.
OlapException
- if database error occursMember getParentMember()
Level getLevel()
Never returns null.
Hierarchy getHierarchy()
Never returns null.
Result is always the same as getLevel().getHierarchy()
.
Dimension getDimension()
Never returns null. Result is always the same as
getLevel().getHierarchy().getDimension()
.
Member.Type getMemberType()
Never returns null.
boolean isAll()
An 'all' member is always the root of its Hierarchy; that is,
its parent member is the null member, and
Hierarchy.getRootMembers()
returns the 'all'
member and no others. Some hierarchies do not have an 'all' member.
Hierarchy.hasAll()
boolean isChildOrEqualTo(Member member)
member
is equal to, a child of, or a
descendent of this Member.member
- Memberboolean isCalculated()
Examples of calculated members include
those defined using a WITH MEMBER
clause in an MDX query
(getMemberType()
will return Member.Type.FORMULA
for these),
or a calculated member defined in a cube.
isCalculatedInQuery()
int getSolveOrder()
ParseTreeNode getExpression()
List<Member> getAncestorMembers()
this
.boolean isCalculatedInQuery()
WITH MEMBER
clause in an MDX query. (Calculated members can also be calculated in a
cube.)isCalculated()
Object getPropertyValue(Property property) throws OlapException
Returns null if the property is not set.
Every member has certain system properties such as "name" and
"caption" (the full list is described in the
Property.StandardMemberProperty
enumeration), as well as extra properties defined for its Level
(see Level.getProperties()
).
property
- PropertyOlapException
- if database error occursgetPropertyFormattedValue(Property)
String getPropertyFormattedValue(Property property) throws OlapException
Returns null if the property is not set.
Every member has certain system properties such as "name" and
"caption" (the full list is described in the
Property.StandardMemberProperty
enumeration), as well as extra properties defined for its Level
(see Level.getProperties()
).
property
- PropertyOlapException
- if database error occursgetPropertyValue(Property)
void setProperty(Property property, Object value) throws OlapException
Every member has certain system properties such as "name" and
"caption" (the full list is described in the
Property.StandardMemberProperty
enumeration), as well as extra properties defined for its Level
(see Level.getProperties()
).
property
- propertyvalue
- Property valueOlapException
- if the value not valid for this property
(for example, a String value assigned to a Boolean property)NamedList<Property> getProperties()
For many providers, properties are defined against a Level, so result
of this method will be identical to
member.getLevel().
.getProperties
()
int getOrdinal()
boolean isHidden()
int getDepth()
In regular hierarchies, this is as the same as the level's depth, but in parent-child and ragged hierarchies the value may be different.
Member getDataMember()
Returns this member if this member is a leaf member, or if the non-leaf member does not have an associated data member.


Flight Surety System - Owner's page
This page is meant to be used by those administering Flight Surety System
(Make sure you are logged in with the OWNER's account in Metamask)


Thank you for signing up to {{project.title}}.
Please click here to verify your email address
{{config.email.signoff}}


eye product
Price:Rs92
eye product
Price:Rs82
eye product
price:Rs79
eye product
Price:Rs60
eye product
Price:Rs90
eye product
price:Rs79
eye product
Price:Rs150
eye product
Price:Rs180
eye product
price:Rs190
eye product
Price:Rs96
eye product
Price:Rs75
eye product
price:Rs220
eye product
Price:Rs196
eye product
Price:Rs175
eye product
price:Rs220
eye product
Price:Rs296
eye product
Price:Rs175
eye product
price:Rs190


Technical Blog: Design to the Web
What a responsive site?
 Because of a technology boost resulting in the increased sale of smart phones more people are using these devices to access the internet. Thus demanding the greater need for responsive websites.
Why responsiveness important?
Responsive websites are far more flexible and can respond to resizing correctly. Old have some flaws in that the websites cannot resize fonts, graphics and content as in smaller screen sizes as result code drops off the screen in unhappy visitors. Also for web developers and designers responsiveness has removed the need for creating two separate websites, and more thought is put into the layout against all platforms.
What a wireframe is and why we use it?
A wireframe is a rough draught or basic layout plan of a webpage, or what it might look like. Kind of like a skeletal three-dimensional model in which only lines are presented. The designers of software frameworks aim to facilitate software developments by allowing designers and programmers to devote their time to meeting software requirements rather than dealing with the more standard low-level details of providing a working system, thereby reducing overall development time. An example would be a team using a web framework to develop a large website can focus more on writing code rather than the mechanics.
What mobile first design and Why is mobile first important?
Mobile first design is the process of planning from the smallest screen first, then later working our way up in screen size as the process becomes easier. This strategy works well because a smaller device is usually most difficult to design for. From a usability perspective planning for a smaller screen first is the most logical way forward when planning all content to display on screen.
Why I found wireframes difficult to implement?
In the first build of my website I had not planned for a boxifying method. Although we learned a lot about boxifying in this sprint. It had not occured to me why I had choosen to use that my previous method. Boxifying at first is a somewhat very complex and forces one to try to really understand the mechanics, dimensions how different elements effected the overal layout. But thank the lord, for the red lines, I say they really helped moving me forward. Having spent so much I am still learning to work within its parameters I will have to complete it in my own spare time. I like to know how things really work and I felt the ten hours spent was not enough time for me to get a full grasp.
What are frameworks? What are their pros and cons?
A framework is a basic structure which provides developers generic like code functionality. That functionality can be altered by additional user-written code, thus providing application-specific software. Frameworks also provides a standard way to build and deploy applications. The main concept of a framework is to make a one-size-fits-all answer and with familiar code production it will evolve. However, once a framework is learned future projects will become easier and quicker to complete.
Frameworks include things like tool sets, code libraries, and application programming interfaces also known as APIs that bring together all these components to aid in the development of your project. The framework code, in general, is not suppos to be modified. In my understanding users can extend the frameworks, but they really shouldn't modify its code.


Model¶
To demonstrate the interdependence between configurations of variables in dynamic stochastic systems, we use a kinetic model in which the state of variable \(i\) at the time point \(t+1\), \(\sigma_i(t+1)\) \((i = 1,N)\), depends on the state of all the variables at the previous time point \(t\), \(\vec{\sigma}(t)\), in the form of the following conditional probability
where \(H_i(t) = \sum_j W_{ij} \sigma_j(t)\) represents the local field, and \(\mathcal{N} = \sum_{\sigma_i(t+1)} \exp[\sigma_i(t+1) H_i(t)]\) normalizing factor. Intuitively, the state \(\sigma_i(t+1)\) tends to align with the local field \(H_i(t)\).
In the inverse problem, we infer the coupling strength between variables \(W_{ij}\) from time series data of variable configurations \(\vec{\sigma}\).


Logistics
Create maps with several routes and find out the best one to deliver your products.
Maps
{{alert.msg}}
{{map.name}} routes
Origin
Destination
Distance (Km)
Remove
{{route.origin.name}}
{{route.destination.name}}
{{route.distance}}
Add Route
Best Route
Remove Map
Add Map
Remove All Maps


Submit
{{c.comment}}
{{c.upVotes}}
{{c.downVotes}}
Allows up/down vote, delete by clicking comment text, sorts by amount of upvotes


Thie section describes behaviors provided by battle-backbone
Behaviors, a feature provided by Marionette allows you to move view logic to separate modules to keep your code DRY and simple. The following behaviors are included in battle-backbone by default:
Enables you to embed in-application links in your views that trigger the
navigate
event when clicked.
selector
'.autolink'
data
'data-href'
silentData
'data-silent'
The FadeBehavior
enables you to write views that can be faded in and out.
They will be made invisible (opacity = 0
) when rendered and can be faded with
the events fade:in
and fade:out
triggered on the view using
.triggerMethod()
. Both functions can be a given a promise that will be resolved
after the animation finished.
duration
200
Here is an example view that uses the AutoLinkBehavior
define [ 'App', 'text!./template/view-template.html', 'i18n!../nls/locale' ], (App, html, locale) -> App.module 'SomeModule', (Module, a, Backbone, Marionette, $, _) -> class Module.View extends Marionette.ItemView template: _.template html templateHelpers: lang:locale behaviors: AutoLinkBehavior: selector: 'a.permalink' data: 'href'<% } else { %>
define([ 'App', 'text!./template/view-template.html', 'i18n!../nls/locale' ], function(App, html, locale) { App.module('SomeModule', function(Module, a, Backbone, Marionette, $, _) { Module.View = Marionette.ItemView.extends({ template: _.template(html), templateHelpers: { lang: locale }, behaviors: { AutoLinkBehavior: { selector: 'a.permalink', data: 'href' } } }); }); });<% } %>
To make the view visible you have to fire the event mentioned above:
view = new Module.View promise = $.Deferred() myLayout.getRegion('main').show view view.triggerMethod 'fade:in', promise promise.done -> console.log 'View is now visible'<% } else { %>
var view = new Module.View(); var promise = $.Deferred(); myLayout.getRegion('main').show(view); view.triggerMethod('fade:in', promise); promise.done( function() { console.log('View is now visible'); });<% } %>


Sr Software Engineer at Elastic; previously SRE at Stack Overflow — go, performance, kubernetes, containers, databases


We are interested in financial or ecommerce projects, game and multimedia projects or even projects with some scientific background that require strong math or physics skills.
We can do the full dev-cycle including sketch/prototype creation, defining system architecture, programming backend/frontend, developing design and other visuals and even end-customer support. So eventually we can do everything except sales/marketing for a vast range of IT projects.
There are 7 people in our core team, but it can be extended. We are well educated, e.g. our system architect has MA in applied math from MIPT (kind of Russian MIT). Also we have a broad portfolio of completed projects in many different fields.
We are intentionally focused on problem solving that’s why we are acquainted with almost any of the popular web technology or framework. Besides that we have strong fundamental algorithmic and math skills.
We have implemented projects in PHP (Zend, Yii, CodeIgniter), Ruby (Rails), Python (Django, Flask). Summarizing all our past experience, I can also add some low level solutions (C++/DX/GL), middleware (C#, XNA) or even complex solutions like Torque3D, GoogleO3D.
Just to mention some bells and whistles, we are using Git and SVN, we have configured and managed different DB types (SQL and noSQL ones). And we do speak English.
For the time we have worked as a dedicated team and we already know each other very well. We will speak to you in human language, and you may not hear a single technical term when communicating on the project. On the other hand, if you need a deep technical support, we are at your service. Should I say more?
Our average age is 28 and we are located in Kiev. We can think about relocation but we already have office here and an arranged lifestyle for productive work.
Here some example projects we would like to do, just to be clear:
1) Travel or ecommerce startup with lots of api handling, payment gateways, cumbersome algorithms
2) Project focused on data visualization (possibly in 3D), with lots of calculations (BigData, distributed over network)
3) High load projects
4) Hardware related projects, we have experience in building circuit boards and microcontroller programming from our gambling machine projects. It would great to assemble a robot, anyway )
5) ERP/CRM custom solution for a company with unusual business processes. Figuring out business requirements, interviewing people to create a product with great usability is also a great problem to solve.
Alek Arbuzov, Team CTO
AlekArbuzov - skype
AlekArbuzov@gmail.com


{% extends "base/consent.html" %} {% block consent_text %}
This study is a study being conducted by Peter Krafft, a postdoctoral researcher at the University of Washington, and Emma Spiro, a faculty mentor.
Providers/Turkers for this task cannot currently be employed by or a student at the University of Washington.
If you agree to take part in the research, we will engage with you in a synthetic social media environment. All the information we obtain during the research will be kept confidential, and not associated with your name in any way, however while the study is running it will be associated with your name or username. We will make the data from this experiment available to other researchers.
Your participation in this research is voluntary. You are free to refuse to take part, and you may stop taking part at any time.
If you have any questions about this research, do not hesitate to contact Peter Krafft at<EMAIL_ADDRESS>If you have any questions about your rights or treatment as a participant in this research project, please contact UW Human Subjects Division at<PHONE_NUMBER> or<EMAIL_ADDRESS>By consenting to participate, you acknowledge that you are 18 years or older, have read this consent form, agree to its contents, and agree to take part in this research.
{% endblock consent_text %}


Ever wondered what your name would be if you were Ghanian? Well, you can find that out whith this Akan Name Generator.
Akans of Ghana have a fairly unique naming system, where the first name of a child is based on the day he/she is born, and on the gender of the child. So a boy born on a Monday would be named Kwadwo or Koho, and a girl would be called Adwoa. Each day has one or more variants, but there's usually not much to choose from.


NodeRadio
Streaming for the Masses
Goto localhost: 80 on Chrome to check if it's streaming!
If it's your first time running NodeRadio, please see below
Instructions to Setup
Github Instructions


Along with a new website and token rebrand, the Komodo project’s launch of the Antara multichain integration layer in mid-July brings hope for price gains in the second half of 2019.
designer21-Jul-19 07:40 AM
the chinese government has the power to force the use of bit-yuan in china, while neglecting personal privacy. If bit-yuan are activated, tax evasion, counterfeiting and money laundering will become impossible. It is also feared to have side effects. the chinese government could impose economic disadvantages on minority supporters, those who have antipathy to the communist party and those who support democracy. It is much easier to trace if you use bit-yuan than when you use the yuan.
what will happen to bitcoin's fate? As the U.S.-China war will affect the blockchain ecosystem, bitcoin's neutrality will shine even more. neither the U.S. nor the chinese government can fully control bitcoin. whether the fed issues a "Fed coin" or the people's bank of china issues a bit-yuan, facebook issues a libra or whatever, it won't weaken the power of the bitcoin network.
the reason is that bitcoin is a network based on trust distributed without specific control actors. like the relationship between modern nominal currency and gold, bitcoin, called digital gold, should be considered as a key currency for various digital currencies.
It's a miscalculation to think that Libra threatens U.S. dollar hegemony.
strengthen. by far the dollar will take the lion's share of libra's basket of legal currency. If libra is actively used, the U.S. can take control of the global digital currency ecosystem. the U.S., which controls the real world economy with dollars, will even try to dominate the digital world economy by controlling digital currency issued by Libra or its companies.(edited)
china can't just stand by and watch this way. the former governor of the Central Bank of China argued that China should develop its own digital currency to prepare for the Libra. In fact, the Central Bank of China has officially announced that it will issue a Central Bank Digital Currency.
In my view, China is likely to issue a "bit-yuan" (tentative name) to lead the establishment of an international standard for digital currency much faster than other countries. while Libra is a digital currency issued by a private U.S. company, bit-yuan is issued by the Central Bank of China, which inevitably has a much stronger ripple effect.
LocoMB21-Jul-19 07:47 AM
the hour of privacy coins and DEX will come, and they will shine
designer21-Jul-19 07:48 AM
Sadly, people will depend on the state.
process of privacy coin and dex to gain credibility will be a very rocky and long journey.
people prefer a system that relies on and can be held accountable to else rather than an independent.
because most human is weak.
hyperDEX21-Jul-19 07:58 AM
@designer how will the Chinese government itself bypass these restrictions? There are party members with illicit gains that cant be moved too.
There will always be a way around it, just it may not be achievable by joe down the road.
real traders btfd and stfp, while giving 0 feks about 'wen moon'
why give up 1400x in trades while waiting for a 200x "moon"?
Markus21-Jul-19 02:14 PM
i doubt u do the trading urself
i can see u being one of those bot traders
ComputerGenie 👴👴👴21-Jul-19 02:16 PM
literally how I got involved in what I do
I came to komodo slack looking for #tradebots
turned out to be exactly not that (edited)
Markus21-Jul-19 02:17 PM
what is ur strategys goal? more usd, btc or kmd?
ComputerGenie 👴👴👴21-Jul-19 02:17 PM
more buy power
the goal should be total net worth of a, b, and c; not just a, b, or c(edited)
Markus21-Jul-19 02:18 PM
u still have to base it on one type
or maybe u have a 33% balance of usd, btc and kmd
ComputerGenie 👴👴👴21-Jul-19 02:20 PM
u still have to base it on one type
but you don't though, it's not a 0 sum game
Markus21-Jul-19 02:21 PM
okay
what language do u use to code?
ComputerGenie 👴👴👴21-Jul-19 02:22 PM
I'm lazy, I use bash scripts
Markus21-Jul-19 02:22 PM
ok
FlyingDutchman21-Jul-19 02:47 PM
when kmd gonna be back to those bull market levels
$13
ComputerGenie 👴👴👴21-Jul-19 02:49 PM
when you buy enough to get it there
BoBot-BUY KMD21-Jul-19 02:54 PM
why KMD get no recognition?
hear KMD cures cancer if taken in the right quantities
Markus21-Jul-19 02:58 PM
ye idk
Hollowman900021-Jul-19 02:58 PM
Take too much and it causes cancer
Markus21-Jul-19 02:58 PM
feels like the better tech the less ppl care
Hollowman900021-Jul-19 02:58 PM
KMD proves this whole space is a farce imo
1
Markus21-Jul-19 02:59 PM
i think crypto is not rly as huge as ppl might think....pretty sure like 95% if not more of trading volume is from bots on a daily basis not just kmd but crypto overall
BoBot-BUY KMD21-Jul-19 02:59 PM
yea for real.......
Hollowman900021-Jul-19 02:59 PM
The fact that ETH is even in the top 100 backs that up
Neko21-Jul-19 02:59 PM
komodo just beat eth on so many lvls yet the markets are like ...nvm
Hollowman900021-Jul-19 03:00 PM
Neetbux aka link
Markus21-Jul-19 03:00 PM
link is a joke
Hollowman900021-Jul-19 03:00 PM
Disability coin
(ADA)
dukeleto21-Jul-19 03:00 PM
this channel got salty, are we in a bear market?
BoBot-BUY KMD21-Jul-19 03:00 PM
we even have satoshi himself(jl777) as lead dev.... still no recognition
1
Hollowman900021-Jul-19 03:01 PM
I’m hungover @dukeleto , typical Sunday hollowman
Markus21-Jul-19 03:01 PM
i think alts are still in a bear market
many doing lower lows
so obviously not a bull market
Hollowman900021-Jul-19 03:02 PM
However,good news
BoBot-BUY KMD21-Jul-19 03:02 PM
I'll continue to HODL my KMD and check back in 3 years......

Bernz - Selling LABS21-Jul-19 03:59 PM
Buying k64 for labs 1:1 also selling labs for other ecosystem projects.. also selling trimmed armor LOL
Caglio21-Jul-19 04:58 PM
Hollowman9000Today at 4:58 PM
Take too much and it causes cancer
This is so true
I am selling ex gfs nudes and porn movies
For kmd
Caglio21-Jul-19 06:15 PM
!arrrtip cannon 2
ARRR TipBotBOT21-Jul-19 06:16 PM
:skull_crossbones: @Txid@Llama@Harpo@CombatWombat@MrsRed have been cannonstruck with 0.39998 ARRR!
A network fee of 0.0001 ARRR was deducted from the total amount.
This operation is pending. You will be notified when when it has finished.
Cmc volume drying up, or cmc has no stats on Dex trades? If I was a whale I would take offense at all the plebs who expected to dump in my wake. So I'd make komodo dump to shake some coins out. Then I'd buy all their tears and sell back to them on pump
1
Alexfrog21-Jul-19 09:58 PM
top 50 sucks, KMD should be top 3. XMR then KMD then BTC
p.21-Jul-19 09:59 PM
according to my meme lines we moon soon
JimD21-Jul-19 10:06 PM
There is almost always a pretty significant dip before most moonings
The charts never lie
actionslacks21-Jul-19 10:28 PM
volume dropped signifigantly. did all the volume move to mm2?
Buddz199321-Jul-19 10:28 PM
Market sentiment is shifting tbh
Get your 5.1% apr and get another dpos coin and keep earning free money


Send Email To: Bryan Guner
Send Email To<EMAIL_ADDRESS>Send Email To<EMAIL_ADDRESS>Send Email To: Myles Dean
Send Email To: Adrian Henson
Send Email To: Markel White
Send Email To: Justin Mccoy
Send Email To: Zach Thropp
Send Email To<EMAIL_ADDRESS>Send Email To<EMAIL_ADDRESS>Send Email To: cq.henao@gmail.com


National Policy Planning Framework
There is a government document, available from this link that sets out the government's planning policies and how these are expected to be applied.
Housing Design Generally
The National Planning Policy Framework
30. states permission should be refused for development of poor design that fails to take the opportunities available for improving the character and quality of an area and the way it functions, taking into account any local design standards or style guides in plans or supplementary planning documents
79. Planning policies and decisions should avoid the development of isolated homes in the countryside unless one or more of the following circumstances apply:
e) the design is of exceptional quality, in that it: - is truly outstanding or innovative, reflecting the highest standards in architecture, and would help to raise standards of design more generally in rural areas; and - would significantly enhance its immediate setting, and be sensitive to the defining characteristics of the local area.
Achieving appropriate densities
122. Planning policies and decisions should support development that makes efficient use of land, taking into account:
a) the identified need for different types of housing and other forms of development, and the availability of land suitable for accommodating it;
b) local market conditions and viability;
c) the availability and capacity of infrastructure and services – both existing and proposed – as well as their potential for further improvement and the scope to promote sustainable travel modes that limit future car use;
d) the desirability of maintaining an area’s prevailing character and setting (including residential gardens), or of promoting regeneration and change; and
e) the importance of securing well-designed, attractive and healthy places.
12. Achieving well-designed places
124. The creation of high quality buildings and places is fundamental to what the planning and development process should achieve. Good design is a key aspect of sustainable development, creates better places in which to live and work and helps make development acceptable to communities. Being clear about design expectations, and how these will be tested, is essential for achieving this. So too is effective engagement between applicants, communities, local planning authorities and other interests throughout the process.
125. Plans should, at the most appropriate level, set out a clear design vision and expectations, so that applicants have as much certainty as possible about what is likely to be acceptable. Design policies should be developed with local communities so they reflect local aspirations, and are grounded in an understanding and evaluation of each area’s defining characteristics. Neighbourhood plans can play an important role in identifying the special qualities of each area and explaining how this should be reflected in development.
126. To provide maximum clarity about design expectations at an early stage, plans or supplementary planning documents should use visual tools such as design guides and codes. These provide a framework for creating distinctive places, with a consistent and high quality standard of design. However their level of detail and degree of prescription should be tailored to the circumstances in each place, and should allow a suitable degree of variety where this would be justified.
127. Planning policies and decisions should ensure that developments:
a) will function well and add to the overall quality of the area, not just for the short term but over the lifetime of the development;
b) are visually attractive as a result of good architecture, layout and appropriate and effective landscaping;
c) are sympathetic to local character and history, including the surrounding built environment and landscape setting, while not preventing or discouraging appropriate innovation or change (such as increased densities);
d) establish or maintain a strong sense of place, using the arrangement of streets, spaces, building types and materials to create attractive, welcoming and distinctive places to live, work and visit;
e) optimise the potential of the site to accommodate and sustain an appropriate amount and mix of development (including green and other public space) and support local facilities and transport networks; and
f) create places that are safe, inclusive and accessible and which promote health and well-being, with a high standard of amenity for existing and future users and where crime and disorder, and the fear of crime, do not undermine the quality of life or community cohesion and resilience.
128. Design quality should be considered throughout the evolution and assessment of individual proposals. Early discussion between applicants, the local planning authority and local community about the design and style of emerging schemes is important for clarifying expectations and reconciling local and commercial interests. Applicants should work closely with those affected by their proposals to evolve designs that take account of the views of the community. Applications that can demonstrate early, proactive and effective engagement with the community should be looked on more favourably than those that cannot.
129. Local planning authorities should ensure that they have access to, and make appropriate use of, tools and processes for assessing and improving the design of development. These include workshops to engage the local community, design advice and review arrangements, and assessment frameworks such as Building for Life47. These are of most benefit if used as early as possible in the evolution of schemes, and are particularly important for significant projects such as large scale housing and mixed use developments. In assessing applications, local planning authorities should have regard to the outcome from these processes, including any recommendations made by design review panels.
130. Permission should be refused for development of poor design that fails to take the opportunities available for improving the character and quality of an area and the way it functions, taking into account any local design standards or style guides in plans or supplementary planning documents. Conversely, where the design of a development accords with clear expectations in plan policies, design should not be used by the decision-maker as a valid reason to object to development. Local planning authorities should also seek to ensure that the quality of approved development is not materially diminished between permission and completion, as a result of changes being made to the permitted scheme (for example through changes to approved details such as the materials used).
National Design Guide
The National Design Guide at the very beginning states "The National Planning Policy Framework makes clear that creating high quality buildings and places is fundamental to what the planning and development process should achieve. This design guide, the National Design Guide, illustrates how well-designed places that are beautiful, enduring and successful can be achieved in practice. It forms part of the Government's collection of planning practice guidance and should be read alongside the separate planning practice guidance on design process and tools.
SELBY DISTRICT CORE STRATEGY LOCAL PLAN
SP1 Presumption in Favour of Sustainable Development
…the Council will grant permission unless material considerations indicate otherwise – taking into account whether:
* Any adverse impacts of granting permission would significantly and demonstrably outweigh the benefits, when assessed against the policies in the National Planning Policy Framework taken as a whole; or
* Specific policies in that Framework indicate that development should be restricted.
Policy SP2 Spatial Development Strategy
A. (c) Development in the countryside (outside Development Limits) will be limited to the replacement or extension of existing buildings, the re-use of buildings preferably for employment purposes, and well-designed new buildings of an appropriate scale, which would contribute towards and improve the local economy and where it will enhance or maintain the vitality of rural communities, in accordance with Policy SP13; or meet rural affordable housing need (which meets the provisions of Policy SP10), or other special circumstances
Policy SP4 Management of Residential Development in Settlements
c) In all cases proposals will be expected to protect local amenity, to preserve and enhance the character of the local area, and to comply with normal planning considerations, with full regard taken of the principles contained in Design Codes (e.g. Village Design Statements), where available.
d) Appropriate scale will be assessed in relation to the density, character and form of the local area and should be appropriate to the role and function of the settlement within the hierarchy.
Policy SP18 Protecting and Enhancing the Environment
5. Identifying, protecting and enhancing locally distinctive landscapes, areas of tranquillity, public rights of way and access, open spaces and playing fields through Development Plan Documents.
7. Ensuring that new development protects soil, air and water quality from all types of pollution.
9. Steering development to areas of least environmental and agricultural quality.
Policy SP19 Design Quality
Proposals for all new development will be expected to contribute to enhancing community cohesion by achieving high quality design and have regard to the local character, identity and context of its surroundings including historic townscapes, settlement patterns and the open countryside.
Where appropriate schemes should take account of design codes and Neighbourhood Plans to inform good design. Both residential and non-residential development should meet the following key requirements:
a) Make the best, most efficient use of land without compromising local distinctiveness, character and form.
b) Positively contribute to an area’s identity and heritage in terms of scale, density and layout;
c) Be accessible to all users and easy to get to and move through;
d) Create rights of way or improve them to make them more attractive to users, and facilitate sustainable access modes, including public transport, cycling and walking which minimise conflicts;
e) Incorporate new and existing landscaping as an integral part of the design of schemes, including off-site landscaping for large sites and sites on the edge of settlements where appropriate;
f) Promote access to open spaces and green infrastructure to support community gatherings and active lifestyles which contribute to the health and social well-being of the local community;
g) Have public and private spaces that are clearly distinguished, safe and secure, attractive and which complement the built form;
h) Minimise the risk of crime or fear of crime, particularly through active frontages and natural surveillance;
i) Create mixed use places with variety and choice that compliment one another to encourage integrated living, and
j) Adopt sustainable construction principles in accordance with Policies SP15 and SP16.
k) Preventing development from contributing to or being put at unacceptable risk from, or being adversely affected by unacceptable levels of soil, air, water, light or noise pollution or land instability.
l) Development schemes should seek to reflect the principles of nationally recognised design benchmarks to ensure that the best quality of design is achieved.
Policy H1: Type, size and scale New housing developments should be:
- Small in scale, under 10 units (i.e. small-scale development)
- Not overwhelm their surroundings but rather integrate with their immediate neighbouring properties and landscape in terms of:
- Design of new homes
- Design of the overall development
- Car parking arrangements
- Appropriate landscaping, greenspace and green infrastructure
- Non-vehicular links, including new public rights of way linking the development to other parts of the village and the surrounding countryside, where practicable.
- Provide for a mix of housing type and size in accord with the Selby Local Plan and reflecting demand and needs identified through the most recently available housing needs analysis for Church Fenton parish.
Preference will be given to community-led housing schemes where the scheme is initiated by, and is being led by, a legitimate local community group such as the Parish Council or Community Land Trust and the scheme has general community support, with evidence of meaningful public engagement.
Policy H2: Design principles for new housing development proposals:
- The type of housing should be distinctive in design, one or two storeys with gardens.
- New housing should reflect the best design elements as found in the historic core of the village, including:
- Respecting the overall palette of traditional designs and the character of the local area as set out in the Village Design Statement.
- Respecting the height, position, size and massing of existing buildings.
- Ensuring boundary treatments are in keeping with the tradition of the village and primarily involve hedgerows formed by native species.
- Density of new developments should reflect that of their immediate surroundings.
- Demonstrating how the recommendations set out in the Village Design Statement will be respected.
- Modern architectural detailing, including environmental systems (i.e. systems built into the home designed to save energy, reduce waste, prevent pollution, cut carbon emissions or enhance biodiversity), can be accommodated in new development but should be carefully sited and designed to blend in with village character, avoiding street front elevations wherever practicable.
- New housing should be designed to incorporate the best of sustainability principles in design and construction.
Policy H3: Location of new housing development All new housing development proposals should:
- Respect the integrity of the linear structure and open aspects of the village. The future growth of the village should rely on conversions, replacement dwellings, re-development of brown-field sites or appropriate scale development on green-field sites.
- Avoid Green Belt, strategic countryside gap and other areas identified in the Policies Map as valuable for the green infrastructure roles they perform.
- Apply sequential, risk-based testing to potential development locations to avoid the flood zone areas 2 and 3, in order to reduce the risk of future flooding.
- Be in an acceptable location in relation to the highway network and must not generate a level of vehicle movements that would result in a loss of residential amenity for neighbours in relation to safety, noise and air quality.
- Respect and maintain key views as identified on map 3, in order to maintain the character and appearance of the village, with particular attention paid to the views of St. Mary’s Church, which is prominent due to its elevated tower
HERITAGE
National Policy Planning Framework
189. In determining applications, local planning authorities should require an applicant to describe the significance of any heritage assets affected, including any contribution made by their setting. The level of detail should be proportionate to the assets’ importance and no more than is sufficient to understand the potential impact of the proposal on their significance. As a minimum the relevant historic environment record should have been consulted and the heritage assets assessed using appropriate expertise where necessary. Where a site on which development is proposed includes, or has the potential to include, heritage assets with archaeological interest, local planning authorities should require developers to submit an appropriate desk-based assessment and, where necessary, a field evaluation.
190. Local planning authorities should identify and assess the particular significance of any heritage asset that may be affected by a proposal (including by development affecting the setting of a heritage asset) taking account of the available evidence and any necessary expertise. They should take this into account when considering the impact of a proposal on a heritage asset, to avoid or minimise any conflict between the heritage asset’s conservation and any aspect of the proposal.
191. Where there is evidence of deliberate neglect of, or damage to, a heritage asset, the deteriorated state of the heritage asset should not be taken into account in any decision.
192. In determining applications, local planning authorities should take account of:
- the desirability of sustaining and enhancing the significance of heritage assets and putting them to viable uses consistent with their conservation;
- the positive contribution that conservation of heritage assets can make to sustainable communities including their economic vitality; and
- the desirability of new development making a positive contribution to local character and distinctiveness.
Considering potential impacts
193. When considering the impact of a proposed development on the significance of a designated heritage asset, great weight should be given to the asset’s conservation (and the more important the asset, the greater the weight should be). This is irrespective of whether any potential harm amounts to substantial harm, total loss or less than substantial harm to its significance.
194. Any harm to, or loss of, the significance of a designated heritage asset (from its alteration or destruction, or from development within its setting), should require clear and convincing justification. Substantial harm to or loss of:
- grade II listed buildings, or grade II registered parks or gardens, should be exceptional;
- assets of the highest significance, notably scheduled monuments, protected wreck sites, registered battlefields, grade I and II* listed buildings, grade I and II* registered parks and gardens, and World Heritage Sites, should be wholly exceptional
195. Where a proposed development will lead to substantial harm to (or total loss of significance of) a designated heritage asset, local planning authorities should refuse consent, unless it can be demonstrated that the substantial harm or total loss is necessary to achieve substantial public benefits that outweigh that harm or loss, or all of the following apply:
- the nature of the heritage asset prevents all reasonable uses of the site; and
- no viable use of the heritage asset itself can be found in the medium term through appropriate marketing that will enable its conservation; and
- conservation by grant-funding or some form of not for profit, charitable or public ownership is demonstrably not possible; and
- the harm or loss is outweighed by the benefit of bringing the site back into use.
196. Where a development proposal will lead to less than substantial harm to the significance of a designated heritage asset, this harm should be weighed against the public benefits of the proposal including, where appropriate, securing its optimum viable use.
197. The effect of an application on the significance of a non-designated heritage asset should be taken into account in determining the application. In weighing applications that directly or indirectly affect non-designated heritage assets, a balanced judgement will be required having regard to the scale of any harm or loss and the significance of the heritage asset.
SELBY DISTRICT CORE STRATEGY LOCAL PLAN
POLICY SP19 DESIGN & QUALITY
b) Positively contribute to an area’s identity and heritage in terms of scale, density and layout;
CHURCH FENTON NEIGHBOURHOOD PLAN
Policy CH2: Development in the historic core
Within Church Fenton’s historic core, as defined in the Policies Map, where development affects Listed Buildings, or their setting, a Heritage Impact Assessment should be required to assess what impact such developments may have upon the significance of the designated heritage assets.
All new development within the historic core or affecting its setting must demonstrate good quality design. This means responding to and integrating with the landscape context and existing built environment. Specific regard should be paid to:
- ensuring the heights of new buildings relate to, and avoid overlooking and dominating, adjacent properties;
- ensuring that for extensions and alterations, the characteristics of the original building are reflected and not overwhelmed;
- reflecting and respecting nearby buildings within the historic core with regard to materials, textures, shapes, colours and proportions including doors, windows, plus height, pitch and ridge of roof;
- achieving high quality design that respects the scale and character of existing and surrounding buildings. Support will be given for development that respects the character and appearance of the historic core and which takes the opportunities available for improving the local character and quality of Church Fenton.
FLOOD RISK
NATIONAL PLANNING POLICY FRAMEWORK
155. Inappropriate development in areas at risk of flooding should be avoided by directing development away from areas at highest risk (whether existing or future). Where development is necessary in such areas, the development should be made safe for its lifetime without increasing flood risk elsewhere.
156. Strategic policies should be informed by a strategic flood risk assessment, and should manage flood risk from all sources. They should consider cumulative impacts in, or affecting, local areas susceptible to flooding, and take account of advice from the Environment Agency and other relevant flood risk management authorities, such as lead local flood authorities and internal drainage boards.
157. All plans should apply a sequential, risk-based approach to the location of development – taking into account the current and future impacts of climate change – so as to avoid, where possible, flood risk to people and property. They should do this, and manage any residual risk, by:
- applying the sequential test and then, if necessary, the exception test as set out below;
- safeguarding land from development that is required, or likely to be required, for current or future flood management;
- using opportunities provided by new development to reduce the causes and impacts of flooding (where appropriate through the use of natural flood management techniques); and
- where climate change is expected to increase flood risk so that some existing development may not be sustainable in the long-term, seeking opportunities to relocate development, including housing, to more sustainable locations.
158. The aim of the sequential test is to steer new development to areas with the lowest risk of flooding. Development should not be allocated or permitted if there are reasonably available sites appropriate for the proposed development in areas with a lower risk of flooding. The strategic flood risk assessment will provide the basis for applying this test. The sequential approach should be used in areas known to be at risk now or in the future from any form of flooding.
159. If it is not possible for development to be located in zones with a lower risk of flooding (taking into account wider sustainable development objectives), the exception test may have to be applied. The need for the exception test will depend on the potential vulnerability of the site and of the development proposed, in line with the Flood Risk Vulnerability Classification set out in national planning guidance.
160. The application of the exception test should be informed by a strategic or sitespecific flood risk assessment, depending on whether it is being applied during plan production or at the application stage. For the exception test to be passed it should be demonstrated that:
- the development would provide wider sustainability benefits to the community that outweigh the flood risk; and
- the development will be safe for its lifetime taking account of the vulnerability of its users, without increasing flood risk elsewhere, and, where possible, will reduce flood risk overall.
161. Both elements of the exception test should be satisfied for development to be allocated or permitted.
162. Where planning applications come forward on sites allocated in the development plan through the sequential test, applicants need not apply the sequential test again. However, the exception test may need to be reapplied if relevant aspects of the proposal had not been considered when the test was applied at the plan making stage, or if more recent information about existing or potential flood risk should be taken into account.
163. When determining any planning applications, local planning authorities should ensure that flood risk is not increased elsewhere. Where appropriate, applications should be supported by a site-specific flood-risk assessment. Development should only be allowed in areas at risk of flooding where, in the light of this assessment (and the sequential and exception tests, as applicable) it can be demonstrated that:
- within the site, the most vulnerable development is located in areas of lowest flood risk, unless there are overriding reasons to prefer a different location;
- the development is appropriately flood resistant and resilient;
- it incorporates sustainable drainage systems, unless there is clear evidence that this would be inappropriate;
- any residual risk can be safely managed; and
- safe access and escape routes are included where appropriate, as part of an agreed emergency plan.
SELBY DISTRICT CORE STRATEGY LOCAL PLAN
Policy SP2 Spatial Development Strategy
A. The location of future development within Selby District will be based on the following principles: a) The majority of new development will be directed to the towns and more sustainable villages depending on their future role as employment, retail and service centres, the level of local housing need, and particular environmental, flood risk and infrastructure constraint
B. Land will be allocated for development in Selby, Sherburn in Elmet, Tadcaster and Designated Service Villages through a Site Allocations Local Plan with preference to land of least environmental or amenity value based on the following 'sequential approach':
- Previously developed land and buildings within the settlement;
- Suitable greenfield land within the settlement;
- Extensions to settlements on previously developed land;
- Extensions to settlements on greenfield land.
Where appropriate, a sequential approach to the assessment of sites will form part of a NPPF Sequential Test in order to direct development to areas with the lowest flood risk, taking account of the most up to date flood risk data available from the Environment Agency, the vulnerability of the type of development proposed and its contribution to achieving vital and sustainable communities.
Policy SP15 Sustainable Development and Climate Change
A. Promoting Sustainable Development In preparing its Site Allocations and Development Management Local Plans, to achieve sustainable development, the Council will:
d) Ensure that development in areas of flood risk is avoided wherever possible through the application of the sequential test and exception test; and ensure that where development must be located within areas of flood risk that it can be made safe without increasing flood risk elsewhere
CHURCH FENTON NEIGHBOURHOOD PLAN
Policy F1: Development that does not add to flood risk
Development proposals should not add to the overall level of flood risk in the parish. To achieve this, the following principles should be adhered to:
- New development beyond that permitted should apply sequential, risk-based testing to potential development locations to avoid the flood zone areas 2 and 3, in order to reduce the risk of future flooding.
- Surface water management measures will be required for development proposals to ensure that the risk of flooding both on-site and downstream is not increased.
- Permeable surfaces and soakaways for hardstanding areas should be incorporated to all new developments wherever practicable.
- Sustainable Drainage Systems (SuDS) as an alternative to conventional drainage will be supported provided that they can be shown to be suitable in the intended location and that such systems will be properly maintained.
- There is a presumption against culverting and the constricting of watercourses and their immediate environs.
- If existing capacity in the local sewerage system / or water distribution network is insufficient, a connection must be provided to the system at the nearest point of adequate capacity as advised by Yorkshire Water.
Affordable Housing
The Affordable housing reduction is contrary to:


Send us your project, we’ll find a photographer for you.
You’re looking for a photographer but don’t know where to begin? Let us do the legwork, simply post a project and one of our photo advisers will get back to you.
Great photographers Great images
Get customised photos. Work with local photographers in 44 countries.
Work effortlessly.
Stress-free collaboration with online quotes in a secure online workplace.
No surprises.
Competitive pricing and all inclusive rights management.
A professional photographer for
all kinds of projects