Foundations - Microsoft Machine Learning and Data Science Team
Video - Using these course materials
Video - The Cortana Intelligence Suite
4 - Modeling for Machine Learning and Data Mining
5 - Business Validation and Model Evaluation
6 - Deploying and Accessing the Solution


What is R ?
- R is an interactive environment for data analysis
- Developed by statisticians and data analysts
- R is also a programming language, e.g., you can save your work in scripts
Why R is popular ?
- R is free !
- R is open source
- R runs across all major platforms: Windows, Mac OS, Unix, Linux.
- R enables developers to share programs using packages
Many resources for learning
- Numerous resources for learning (online tutorials, courses, books, etc.)
- Large user community: easy to find solutions to your problems (forums)


package org.papervision3d.core.animation { public interface IAnimatable { /** * Pauses the animation. */ function pause():void; /** * Plays the animation. * * @param clip Clip to play. Default is "all" * @param loop Whether the animation should loop. Default is true. */ function play(clip:String="all", loop:Boolean=true):void; /** * Resumes a paused animation. * * @param loop Whether the animation should loop. Defaults is true. */ function resume(loop:Boolean=true):void; /** * Stops the animation. */ function stop():void; /** * Whether the animation is playing. This property is read-only. */ function get playing() : Boolean; } }


Home
Games
Upcoming
Basket
Other Pages
Full Width Page
Sidebar Page
FAQ
404
Pricing Table
Basket
Your Order
Home
Contact
Responsive Table
-Less
Shopping Cart
My Cart
Continue Shopping
#QUE-007544-002
Item Name 1
x $5.00
In Stock
$15.00
x
#QUE-007544-002
Item Name 1
x $5.00
In Stock
$15.00
x
#QUE-007544-002
Item Name 1
x $5.00
Out of Stock
$15.00
x
#QUE-007544-002
Item Name 1
x $5.00
In Stock
$15.00
x
Free gift with purchase!, gift wrap, etc!!
Have A Promo Code?
Subtotal
$35.00
Shipping
$5.00
Tax
$4.00
Total
$44.00
Checkout
RERUN


Editing Media Options
How to edit the media that has been set to display in the Media module.
- Select Edit Media Options from the module actions menu.
- Edit the required fields. Note: To reset images to their original size, remove the Width and Height values from those fields.
-


HENRY FOOL *** (out of four) -a review by Bill Chambers<EMAIL_ADDRESS>(Now with TRIVIA; film, DVD, LD reviews; a section where YOU can recommend movies; fabric softener; and much more! FILM FREAK CENTRAL http://www.geocities.com/~billchambers New address. New attitude. Same crappy writing.)
starring Thomas Jay Ryan, James Urbaniak, Parker Posey, Maria Porter written and directed by Hal Hartley
It is often said by his fans that Hal Hartley movies are an acquired taste. Indeed. While perhaps less dangerous than tequila shooters or bungee-jumping, they require no less amount of physical stamina and concentration. I felt rewarded at the end of HENRY FOOL; this movie creeps up on you-at a slow 139 minutes, I mean creeps-and despite the final shot's ambiguity, I left completely satisfied.
Henry Fool ("used to have an ‘e'") arrives at garbageman Simon Grim's house, claims the vacant basement apartment, and almost instantly inspires Simon (Urbaniak) to take up writing-Henry (Martin Donovan look-alike Ryan) is an ex-convict, a once-great author who has been "exiled and marginalized" by the publishing community because of his criminal activity. Simon's poetry turns him into a local sensation, as it causes mute women to sing, high-school girls to swoon, and councilmen to rile against its "pornographic" content.  These story elements result in climaxes both inevitable and unpredictable; the teacher-student relationship formed between Henry and Simon eventually reverses itself.
HENRY FOOL is sprinkled with Hartley-ian flourishes: Simon drinks milk from "Udderley's"; the big teen hang-out is called "World of Donuts"; Simon wears his garbageman's uniform throughout; the editing style is decidedly elliptical... (which is key to the conclusion's said ambiguity). The performances by the three leads are abrasive at first, self-consciously "quirky"; the introductory scenes are a chore. These people do grow on you because they convey genuine passion, a belief in themselves, and because they have long-term goals; Henry and Simon may drink a lot of Budweiser and hang out on the streetcorner, but they aren't pop slackers. The story is rather classical: the tutor is a better talker than a doer, raised on books; the timid tutee has innate talent his master only dreams of. (Shades of film school...) The finished film is epic in its proportions for a story so small, and the final third does test one's patience, yet HENRY FOOL is tight, hardly excessive in its length. How refreshing to see a movie this long in 1998 devoted entirely to character. And unless I nodded off, not a single building exploded.
This, Hartley's seventh feature, is contemplative about "the artist"; fortunately, we never get a sampling of Simon's work, and it's a testament to the actors and the screenplay that by the end we can surmise what sort of thoughts would pour from these writers' pens.
-July, 1998
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


git-changelog
- Generate a changelog report
git-changelog
[options] [<file>]
git-changelog
{-h | --help | ?}
Generates a changelog from git(1) tags (annotated or lightweight) and commit messages. Existing changelog files with filenames that begin with Change or History will be identified automatically with a case insensitive match pattern and existing content will be appended to the new output generated--this behavior can be disabled by specifying the prune option (-p|--prune-old). The generated file will be opened in $EDITOR when set.
If no tags exist, then all commits are output; if tags exist, then only the most-recent commits are output up to the last identified tag. This behavior can be changed by specifying one or both of the range options (-f|--final-tag and -s|--start-tag).
You could customize the changelog format via some git config options.
git config changelog.format $format
controls the format of each commit. It will be passed as git log --pretty=format:$format
. The default value is * %s
.
git config changelog.mergeformat $format
is like changelog.format but only used when --merges-only
is specified. The default value is * %s%n%w(64,4,4)%b
.
<file>
The name of the output file. By default the new file will be History.md unless an existing changelog is detected in which case the existing file will be updated.
-a, --all
Retrieve all commits. Ignores -s|--start-tag/commit and -f|--final-tag options (if set).
-l, --list
Show commits in list format (without titles, dates).
-t, --tag
Specify a tag label to use for most-recent (untagged) commits.
-f, --final-tag
When specifying a range, the newest tag at which point commit retrieval will end. Commits will be returned from the very first commit until the final tag unless a start tag is also specified.
-s, --start-tag
When specifying a range, the oldest tag to retrieve commits from. Commits will be returned from the start tag to now unless a final tag is also specified.
--start-commit
Like the --start-tag but specify the oldest commit instead of tag. Note that the specified commit will be contained in the changelog.
-n, --no-merges
Filters out merge commits (commits with more than 1 parent) from generated changelog.
-m, --merges-only
Uses only merge commits (commits with more than 1 parent) for generated changelog. It also changes the default format to include the merge commit messages body, as on github the commits subject line only contains the branch name but no information about the content of the merge.
-p, --prune-old
Replace existing changelog entirely with newly generated content, thereby disabling the default behavior of appending the content of any detected changelog to the end of newly generated content.
-x, --stdout
Write output to stdout instead of to a new changelog file.
-h, --help, ?
Show a help message with basic usage information.
$ git changelog
$ git changelog --list
$ git changelog --list --start-tag 2.1.0
$ git changelog --start-tag 2.1.0
$ git changelog --list --final-tag 2.1.0
$ git changelog --start-tag 0.5.0 --final-tag 1.0.0
$ git changelog --start-commit 0b97430 --final-tag 1.0.0
$ git changelog ChangeLog.md
$ git changelog --prune-old
Written by Mark Eissler<EMAIL_ADDRESS><https://github.com/tj/git-extras/issues>
<https://github.com/tj/git-extras>


Discuss and learn with others reading the same book as you!
BookBuds is a web application that allows users to search for books and other media to interact with others. BookBuds goal is to have people engage and interact through online discussions among peers reading the same book.
When a user creates a BookBuds account, they have the ability to join a group based on a book title. Every group has its own community where they can post comments in an open discussion necessary to the topic. The user can share their knowledge and work from a material online such as an article or a pdf. There is also a messaging service where there can be peer-to-peer interaction directly.
Create an account or login to create and join book groups.
Create an account or login to message other BookBuds
To request a book to add to our database, feel free to send us an email!


Welcome to our website. We are a team of web developers based out of Bengaluru, India. We design meaningful solutions to our customers at an affordable price.
Sushruta is one of the co-founder of Template Selling Website and currently serves as its CEO
Saket is one of the co-founder of Template Selling Website and currently serves as its CTO
Ravi is one of the co-founder of Template Selling Website and currently serves as the CMO


Have an idea for a electrical product? Need to figure out the technical requirements in getting it made? We can help!
Do you have a electrical product you need? We can help you with prototyping it for you.
Is your electrical device giving you problems? We understand some items are irreplaceable, so let us help you.
Do you want to learn the basics of electrical or electronic design? Is soldering a skill you would like to have? Our courses are designed for those beginning their electronic design hobby.
Name
E-Mail
Your comment


$\newcommand{\ip}[2]{\langle #1, #2 \rangle} \newcommand{\norm}[1]{\lVert #1 \rVert} \newcommand{\abs}[1]{\left| #1 \right|} \newcommand{\R}{\mathbb{R}} \newcommand{\ip}[2]{\langle #1, #2 \rangle} \DeclareMathOperator*{\range}{range} \DeclareMathOperator*{\kern}{kern} \DeclareMathOperator*{\det}{det} \DeclareMathOperator*{\diag}{diag} \DeclareMathOperator*{\trace}{Tr} \DeclareMathOperator*{\closure}{cl} $In this post we will explore some elementary facts on bounded linear operators in the context of normed vector spaces. The reference I am using for this is Kreyszig's Introductory Functional Analysis with Applications. Note the examples here come from Section 2.7.
Let's setup some definitions first. Let $(X, \norm{\cdot})$ denote a normed vector space. For simplicity, we assume all vector spaces are over the field $\R$. A linear operator $T : X \longrightarrow Y$ is a mapping from vector space $X$ to vector space $Y$ satisfying two properties
- For all $x, y \in X$, we have $T(x+y) = Tx + Ty$.
- For all $x \in X, a \in \R$, we have $T(ax) = aTx$.
To connect this with something more concrete, take the following example. If $X = \R^{n}$ and $Y = \R^{m}$, both equipped with the standard Euclidean $l_2$-norm, then from linear algebra we know that there exists an $A \in \R^{m,n}$ such that $Tx = Ax$ for all $x \in \R^{n}$. Using the definition of operator norm above, we see that $\norm{T} = \sigma_1(A)$, the top singular value of $A$.
Let's now explore some simple properties of bounded linear operators.
Fact. Here's an easy warm-up. Let $T_1, T_2$ be bounded linear operators,
where $T_2 : X \longrightarrow Y$ and $T_1 : Y \longrightarrow Z$. Define the composition operator
$T_1 \cdot T_2 : X \longrightarrow Z$ as $T_1( T_2 x) $. Then (a) $T_1 \cdot T_2$ is another
bounded linear operator and (b) $\norm{ T_1 \cdot T_2 } \leq \norm{T_1} \norm{T_2}$.
Proof. Linearity is trivial. To see boundedness, observe that for any $x \in X$,
\begin{align*}
\norm{ T_1 \cdot T_2 x } = \norm{T_1 (T_2 x)} \leq \norm{T_1}\norm{T_2 x} \leq \norm{T_1}\norm{T_2} x
\end{align*}
This yields both the rest of (a) and (b).
Proposition. Let $T$ be a bounded linear operator and suppose $T \neq 0$ (check that $T=0$ is a bounded linear operator).
Then for any $x \in X$ such that $\norm{x} < 1$, $\norm{Tx} < \norm{T}$.
Proof. Since $T \neq 0$, clearly $\norm{T} > 0$. If $x=0$ we are done, so suppose $x \neq 0$ with $\norm{x} < 1$.
Now if $\norm{T x} = 0$ we are also done, so assume otherwise.
Put $\alpha = 1/\norm{x}$. Then clearly $\alpha > 1$. Observe that,
\begin{align*}
\norm{Tx} < \alpha \norm{T x} = \norm{T (\alpha x)} \leq \norm{T} \norm{\alpha x} = \norm{T} \alpha \norm{x} = \norm{T}
\end{align*}
Proposition. Let $T : X \longrightarrow Y$ be a linear operator.
Then $T$ is continuous if and only if $T$ is bounded.
Proof. ($\Rightarrow$) Suppose $T$ is continuous. Then since $0 \in X$, $T$ is continuous at
$0$. By the definition of continuity, there exists a $\delta > 0$ such that for all $x \in X$ such
that $\norm{x} \leq \delta$, we have $\norm{ Tx } \leq 1$. In other words,
$$
\begin{align*}
\sup_{x \in X : \norm{x} \leq \delta} \norm{T x} &\leq 1
\end{align*}
$$
Put $\alpha = \frac{1}{\delta}$. Then
$$
\begin{align*}
\sup_{x \in X : \norm{x} \leq \delta} \norm{T x}
= \sup_{x \in X : \norm{\alpha x} \leq 1} \norm{T x}
= \sup_{x \in X : \norm{\alpha x} \leq 1} \frac{1}{\alpha} \norm{T (\alpha x)}
= \sup_{z \in X : \norm{z} \leq 1} \frac{1}{\alpha} \norm{T z}
\end{align*}
$$
Continuing the chain, we have
$$
\begin{align*}
\sup_{z \in X : \norm{z} \leq 1} \frac{1}{\alpha} \norm{T z}
\geq \sup_{z \in X : \norm{z} = 1} \frac{1}{\alpha} \norm{T z}
= \frac{1}{\alpha} \sup_{z \in X : \norm{z} = 1} \norm{T z}
\end{align*}
$$
And therefore $ \sup_{z \in X : \norm{z} = 1} \norm{T z} \leq \alpha < \infty$, which means $T$ is bounded.
($\Leftarrow$) Suppose $T$ is bounded. Fix $\epsilon > 0$ and $x_0 \in X$. Put $\delta = \epsilon/\norm{T}$. Then
observe for every $x \in X$ such that $\norm{ x - x_0 } \leq \delta$,
\begin{align*}
\norm{Tx - Tx_0} = \norm{T(x-x_0)} \leq \norm{T} \norm{x-x_0} \leq \norm{T} \delta \leq \epsilon
\end{align*}
Finally, we conclude with the following.
Proposition.
Let $T : D \longrightarrow Y$ be a bounded linear operator, where $D \subset X$ is a subspace of some
normed vector space, and $Y$ is a Banach space (complete normed vector space).
Then there exists another bounded linear operator $T_e : \closure(D) \longrightarrow Y$ such that
$T_e x = T x$ for all $x \in D$ and $\norm{T_e} = \norm{T}$, where $\closure(D)$ denotes the closure of $D$.
Proof. Assume $D \neq \closure(D)$, otherwise we are done.
Let $x \in \partial D$ (the boundary of $D$). This means there exists a sequence $(x_n)$ of points in $D$ such that
$x_n \rightarrow x$. For any $n,m$ we have
$$
\begin{align*}
\norm{T x_n - T x_m } = \norm{T (x_n - x_m)} \leq \norm{T} \norm{x_n - x_m}
\end{align*}
$$
and therefore, the sequence $(T x_n)$ is Cauchy since $(x_n)$ is Cauchy. But since $Y$ is complete, this means
$T x_n \rightarrow y$ for some $y \in Y$. Note that if another sequence $z_n \rightarrow y$, then
$T z_n \rightarrow y$ as well, by the continuity of $T$ (which we proved above). Therefore, given an $x \in \partial D$,
it makes sense to define $y(x) = \lim_{x_n \rightarrow x} Tx_n$.
Now define $T_e$ as follows:
$$
\begin{align*}
T_e x = \begin{cases}
T x & \text{if } x \in D \\
y(x) & \text{if } x \in \partial D
\end{cases}
\end{align*}
$$
Using the linearity of limits, it is straightforward to check that $T_e$ is indeed a linear operator on $\closure(D)$.
Boundedness comes from the definition of limit point (if $T_e$ were not bounded, then certainly $T$ would not be: by taking
any point arbitrarily close to the boundary we could make $\norm{Tx}$ arbitrarily large).
The final thing to show is that $\norm{T_e}=\norm{T}$. Certainly $\norm{T_e} \geq \norm{T}$ since
the supremum in the former is over $\closure(D) \supset D$ of the latter. Now let
$x \in \partial D$, and let $x_n \rightarrow x$. But since $\norm{T x_n} \leq \norm{T} \norm{x_n}$ for all $x_n$,
we have
$$
\begin{align*}
\norm{T x} = \lim_{x_n \rightarrow x} \norm{T x_n} \leq \norm{T} \lim_{x_n \rightarrow x} \norm{x_n} = \norm{T} \norm{x}
\end{align*}
$$
which holds since the functional $x \mapsto \norm{x}$ is continuous for any norm.
But this means $\norm{T_e} \geq \norm{T}$, which establishes the equality.
Note that implicitly in the proof of the last proposition we used the following fact about continuous functions, whose proof is immediate from the definitions.
Fact. Let $f : D \longrightarrow Y$ be a continuous function from some subset $D \subset X$, where $X$ and $Y$ are normed vector spaces. Then if $x_n \rightarrow x$ in $D$, then $f(x_n) \rightarrow f(x)$ in $Y$.


Toggle navigation
RMG
About
Services
Contact
Location
Country
World
Category
Export Processing Zone (EPZ)
Vulnerability
T-shirts
Jacket
Knit Product
Sweater
Information
Mined Data Result
Gender Ratio
Wages Distribution
Trade Union
Estimated Graphical Representation
Gender Ratio
Wages Distribution in Percentile
Trade Union
Chronology of Ready Made Garments (RMG) Casualities in Bangladesh


Class OverridingContainer
An IContainer which can override the resolve operations of another. This is useful when you have a core application-wide container, with some objects being customised based on some ambient information, e.g. configuration, MVC Area/Controller, Brand (in a multi-tenant application for example) or more.
Inherited Members
Namespace:Rezolver
Assembly:Rezolver.dll
Syntax
public class OverridingContainer : Container, IContainer, IServiceProvider, IScopeFactory, ITargetContainer
Remarks
When overriding another IContainer, you are overriding the ICompiledTarget objects that will be returned when FetchCompiled(ResolveContext) is called on that container and, therefore, the compiled target which is executed when the Resolve(ResolveContext) method is called.
This has the side effect of overriding automatically resolved arguments (bound to a ResolvedTarget) compiled in the overridden container by virtue of the fact that the overriding container is a different reference, because the ResolvedTarget is typically compiled with a check, at resolve-time, that the Container is the same container as the one that was active when it was originally compiled.
In essence, when resolving an instance as a dependency the ResolvedTarget does something like this:
resolveContext.Container == compileContext.Container ? (execute compile-time target) : resolveContext.Container.Resolve(type)
Constructors
| Improve this Doc View SourceOverridingContainer(IContainer, ITargetContainer, ICompilerConfigurationProvider)
Creates a new instance of the OverridingContainer
Declaration
public OverridingContainer(IContainer inner, ITargetContainer targets = null, ICompilerConfigurationProvider compilerConfig = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IContainer | inner | Required. The inner container that this one combines with. Any dependencies not served by the new combined container's own targets will be sought from this container. Equally, any targets in the base which are resolved when the overriding container is the root container for a resolve operation, will resolve their dependencies from this container. |
| ITargetContainer | targets | Optional. A specific target container to be used for this container's own registrations. |
| ICompilerConfigurationProvider | compilerConfig | Optional. An object which will be used to configure this container and its targets to use a specific compilation
strategy. If |
Methods
| Improve this Doc View SourceCanResolve(ResolveContext)
Called to determine if this container is able to resolve the type specified in the passed context.
Declaration
public override bool CanResolve(ResolveContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ResolveContext | context | Required. The ResolveContext. |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
| Improve this Doc View SourceGetFallbackCompiledRezolveTarget(ResolveContext)
Overrides the base implementation to pass the lookup for an ITarget to the inner container - this is how dependency chaining from this container to the inner container is achieved.
Declaration
protected override ICompiledTarget GetFallbackCompiledRezolveTarget(ResolveContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ResolveContext | context | Required. The ResolveContext. |
Returns
| Type | Description |
|---|---|
| ICompiledTarget |


The advantages of support vector machines are :
The disadvantages of support vector machines include :
In the following projects, the class sklearn.svm.SVC() will be used. Several parameters can be set in this function such as the Kernel, gamma and C.
Kernel: (default = 'rbf') Can be 'linear', 'poly', 'rbf', 'sigmoid', 'precomputed' or a callable. It's a function that takes a low dimensional input space or feature space and map it to a higher dimensional space. Therefore something that is not linearly separable can be turned into a separable problem (more on Udacity).
We want to train a car to decide weither or not it can drive faster or if it should slow down depending on the terrain. Two features will be taken into account in this project :
I will describe the procedure I went through step by step using Support Vector Machine (SVM) as classifiers.
We first need to create a dataset of terrain with the features bumpiness and steepness along with a label "fast" or "slow". From this labeled dataset, we will be able to build a decision tree to help the car make it's decision : "Should I go slow or fast?"
### Modified from: Udacity - Intro to Machine Learning
import random
def makeTerrainData(n_points):
random.seed(42)
### generate random data for both features 'grade' and 'bumpy' with an error
grade = [random.random() for ii in range(0,n_points)]
bumpy = [random.random() for ii in range(0,n_points)]
error = [random.random() for ii in range(0,n_points)]
### data are labeled depending on their features and error.
### label "slow" if labels = 1.0
### label "fast" if labels = 0.0
labels = [round(grade[ii]*bumpy[ii]+0.3+0.1*error[ii]) for ii in range(0,n_points)]
### adjust labels for extreme cases (>0.8) of bumpiness or steepness
for ii in range(0, len(y)):
if grade[ii]>0.8 or bumpy[ii]>0.8:
labels[ii] = 1.0
### split into train set (75% of data generated) and test sets (25% of data generated)
features = [[gg, ss] for gg, ss in zip(grade, bumpy)]
split = int(0.75*n_points)
features_train = features[0:split]
features_test = features[split:]
labels_train = labels[0:split]
labels_test = labels[split:]
return features_train, labels_train, features_test, labels_test
The outputs are as follows for n_points = 10 :
| features_train | labels_train | features_test | labels_test | ||
|---|---|---|---|---|---|
| grade | bumpiness | slow = 1.0 | fast = 0.0 | grade | bumpiness | slow = 1.0 | fast = 0.0 |
| 0.64 | 0.22 | 1.0 | 0.09 | 0.59 | 0.0 |
| 0.03 | 0.51 | 0.0 | 0.42 | 0.81 | 1.0 |
| 0.28 | 0.03 | 0.0 | 0.03 | 0.01 | 0.0 |
| 0.22 | 0.20 | 0.0 | |||
| 0.74 | 0.64 | 1.0 | |||
| 0.68 | 0.54 | 1.0 | |||
| 0.89 | 0.22 | 1.0 |
For n_points = 1000, we get the following repartition of test points. We consider the feature 'bumpiness' on the x-axis and 'grade' on the y axis. Each feature in a gradient between 0 and 1. Each point previously generated has two coordinates bumpiness and grade. When we plot the test points (features_test) - representing 25% of our generated data - we can see the pattern separating the points labeled 'slow' and 'fast'.
Testing set plotted with their labels
Testing set includes all features_test (grade, bumpiness) with their labels_test (slow or fast)
Now with our training set (features_train), we can train our classifier to predict a point's label depending on its features. We will use the class sklearn.svm.SVC(). It can take several parameters, but we will only focus on C, kernel and gamma.
from prep_terrain_data import makeTerrainData
from sklearn.svm import SVC
from sklearn.metrics import accuracy_score
### generate the dataset for 1000 points (see previous code)
features_train, labels_train, features_test, labels_test = makeTerrainData(1000)
### create the classifier
clf = SVC(kernel='rbf', C=10000.0)
### fit the training set
clf.fit(features_train, labels_train)
### now let's make predictions on the test set
prediction = clf.predict(features_test)
### measure of the accuracy score by comparing the prediction with the actual labels of the testing set
accuracy = accuracy_score(labels_test, pred)
Here I plotted the points from the testing set (features_test) with their labels (labels_test). On top is the prediction made by the classifier after fitting on the training set. We can play with the previously cited features to find the best accuracy.
SVM with kernel = 'linear'
C = 1, gamma = 1
SVM with kernel = 'rbf'
C = 1, gamma = 1
SVM with kernel = 'poly'
C = 1, gamma = 1
SVM with kernel = 'sigmoid'
C = 1, gamma = 1
| Kernel
gamma = 1 C = 1 |
Training time (sec) | Predict time (sec) | Accuracy |
|---|---|---|---|
| linear | 0.004 | 0.001 | 0.920 |
| rbf | 0.008 | 0.002 | 0.916 |
| poly | 0.004 | 0.001 | 0.920 |
| sigmoid | 0.012 | 0.003 | 0.900 |
SVM with kernel = 'linear'
C = 1, gamma = 1000
SVM with kernel = 'rbf'
C = 1, gamma = 1000
SVM with kernel = 'poly'
C = 1, gamma = 1000
SVM with kernel = 'sigmoid'
C = 1, gamma = 1000
| Kernel
gamma = 1000 C = 1 |
Training time (sec) | Predict time (sec) | Accuracy |
|---|---|---|---|
| linear | 0.004 | 0.001 | 0.920 |
| rbf | 0.044 | 0.006 | 0.924 |
| poly | 61.041 | 0.001 | 0.912 |
| sigmoid | 0.008 | 0.002 | 0.664 |
SVM with C = 1
kernel = 'rbf', gamma = default
SVM with C = 1 000
kernel = 'rbf', gamma = default
SVM with C = 10 000
kernel = 'rbf', gamma = default
SVM with C = 1 000 000
kernel = 'rbf', gamma = default
| C
gamma = default Kernel = 'rbf' |
Training time (sec) | Predict time (sec) | Accuracy |
|---|---|---|---|
| 1 | 0.009 | 0.002 | 0.920 |
| 100 | 0.010 | 0.001 | 0.916 |
| 1 000 | 0.012 | 0.001 | 0.924 |
| 10 000 | 0.021 | 0.001 | 0.932 |
| 100 000 | 0.132 | 0.001 | 0.944 |
| 1 000 000 | 1.473 | 0.001 | 0.948 |
Enron was one of the largest US companies in 2000. At the end of 2001, it had collapsed into bankruptcy due to widespread corporate fraud, known since as the Enron scandal. A vast amount of confidential information including thousands of emails and financial data was made public after Federal investigation.
In this project, I will apply SVM to identify authors of emails in the Enron Corpus.
A big first part of the project is the preprocessing of emails which is described in more details here.
Once the emails are preprocessed and separated into a training and a testing set, the class sklearn.svm.SVC() can be used.
from sklearn.svm import SVC
def svm_email(features_train, features_test, labels_train, labels_test):
clf = SVC(kernel='rbf', C=10000)
t0 = time()
clf.fit(features_train, labels_train)
print ("svm training time :", round(time() - t0, 3), "s")
t0 = time()
pred = clf.predict(features_test)
print ("svm predict time :", round(time() - t0, 3), "s")
accuracy = accuracy_score(labels_test, pred)
print ("svm accuracy :", accuracy)
def main():
from_sara_file = "from_sara.txt"
from_chris_file = "from_chris.txt"
word_data, from_data = preprocess_email(from_sara_file, from_chris_file)
features_train, features_test, labels_train, labels_test = vectorize(word_data, from_data)
svm_email(features_train, features_test, labels_train, labels_test)
if __name__ == '__main__':
main()
| Classification algorithm | Training time (sec) | Predict time (sec) | Accuracy |
|---|---|---|---|
| SVM | 101.02 | 10.511 | 99.203 |


"I never went into physics or the astronaut corps to become a role model. But after my first flight, it became clear to me that I was one. And I began to understand the importance of that to people. Young girls need to see role models in whatever careers they may choose, just so they can picture themselves doing those jobs someday. You can't be what you can't see."


- {% field_verbose_name branch 'name' %}:
- {{ branch.name }}
- {% field_verbose_name branch 'client' %}:
- {{ branch.client.name }}
- {% field_verbose_name branch 'address' %}:
- {{ branch.settlement }}, {{ branch.address }}
- {% field_verbose_name branch 'orders' %}:
- {{ branch.number_of_orders }}


Cook County Assessor
http://www.cookcountyassessor.com/
Online search and retrieval of parcel data with G.I.S. pictures of residential and nonresidential properties as well as prior
and current assessment values. This information is similar to what is found on your “Notice of Proposed Assessed
Valuation,” mailed by the Assessor’s Office.
Cook County Treasurer
http://www.cookcountytreasurer.com/
Taxpayers are able to search Cook County’s records online to check their current tax records by simply entering their 14
digit Property Index Number (PIN). This information includes property information, mailing information and balance
amount due.
Cook County Recorder of Deeds
http://www.ccrd.info/CCRD/il031/index.jsp
The Cook County Recorder of Deeds provides for recording of documents, research of tax parcels and purchase of
existing recorded documents.
Lake County Illinois Maps Online
http://gis2.co.lake.il.us/maps/
This allows you to search a particular Permanent Index Number, locating information about the last two prior sales, flood
plain characteristics and much other information.
Lake County Government
http://www.co.lake.il.us/default.asp
This includes access to the Lake County Recorder of Deeds, the Lake County Treasurer and information regarding
property assessments.
Illinois Compiled Statutes
http://www.ilga.gov/legislation/ilcs/ilcs.asp
Lake County Government
http://www.co.lake.il.us/default.asp
This includes access to the Lake County Recorder of Deeds, the Lake County Treasurer and information regarding property assessments.
Lake County Illinois Maps Online
http://gis2.co.lake.il.us/maps/
Search a particular Permanent Index Number to locate information about the last two prior sales, flood plain characteristics and much more. Federal Housing Authority (FHA)
Federal Housing Authority (FHA)
www.hud.gov
Information about buying and financing residential real estate using Federal Housing Administration insured mortgages, servicing these loans; RESPA statute and regulations, escrow accounting procedures, and proposed and final HUD rules and regulations.
Federal Emergency Management Agency (FEMA)
www.fema.gov
Information on the national flood insurance program, disaster management and recovery, and geographical mapping of flood/disaster zones. Includes forms library and information for filing flood/disaster claims.


SEVEN A film review by Andrew Hicks Copyright 1996 Andrew Hicks / Fatboy Productions
*** (out of four)
I used to avoid Brad Pitt movies like the plague, like famine, like a Bob Dole presidency... but after watching INTERVIEW WITH THE VAMPIRE and 12 MONKEYS, I realized the guy actually can act. Imagine my surprise that his success isn't solely based on being a greasy-haired pretty boy. Part of that is also because, with the exception of the dreadful horror flick STUDENT BODIES, he manages to somehow pick compelling and original movies to star in, something you can't always say about the other what-a-cute-butt stars like Mel Gibson (BIRD ON A WIRE) and Tom Cruise (DAYS OF THUNDER).
SEVEN is a stylish thriller you should be able to follow even if you haven't seen ONE through SIX. There's a serial killer on the loose committing brutal murders for each one of the seven deadly sins (kind of like that "Batman" story I wrote four years ago in which the Joker commits crimes based on holidays... I wonder if there's a possibility for a lawsuit.) and detectives Pitt and Morgan Freeman have to discover the freak's identity and stop him.
Here comes the formula we've seen a hundred times before. Rookie cop Pitt has to earn the respect of about-to-retire cop Freeman, who keeps going on and on about how he's only got a week left until retirement. Uh-huh. We know what his final decision will be because no movie cop has ever been able to bring himself to leave the force. We're left to believe that, in the movie realm, police officers die and decompose at the station.
There's also a plotline with Pitt's wife coming to Freeman for advice on how to cope with the coming lifetime of stress and heartache in a miserable, crime-ridden city for them and their unborn children. This is a movie with an incredibly grim view of humanity, potentially depressing for people who don't like to hear about naked, obese men being force-fed to death (because I know that hits a little too close to home for me). The murders in the movie are definitely creative to the point of disgust, I'll give them that. It's hard to work people up about sins like sloth and gluttony, but SEVEN manages to make it interesting.
--
Visit the Movie Critic at LARGE website at http://www.missouri.edu/~c667778/movies.html
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


| WMRButtonDown method |
Applies to
TCustomTreeNT
Declaration
Procedure WMRButtonDown(var Message: TWMRButtonDown);
WM_RBUTTONDOWN
Implementation
procedure TCustomTreeNT.WMRButtonDown(var Message: TWMRButtonDown); var MousePos : TPoint; begin // check if we are in selection mode if FSelectRec.Pending then with FSelectRec do begin // yes we are, so finish it ... Pending := False; FHitList.Free; // ... and remove the last focus rectangle if there was one if not IsRectEmpty(Rect) then DrawFocusRect(Rect); end; FRClickNode := nil; try if not (toRightClickSelect in FOptions) then begin inherited; if FRClickNode <> nil then begin GetCursorPos(MousePos); with PointToSmallPoint(ScreenToClientEx(MousePos)) do Perform(WM_RBUTTONUP, 0, MakeLong(X, Y)); end; end else DefaultHandler(Message); finally FRClickNode := nil; end; End; |


Privacy policy agreement for application Easy 3D Labyrinth
What is purpose of application?
Easy 3D Labyrinth is simple Android game. Find all diamonds and then find exit to next level
What informations are collected?
Application does not collect any private data
What are application permissions?
Application requests no permissions


CSS links
General Link!! + Colored Link!!
By default, Links are "blue" colored and "underlined"
Visit my Git
Visit my Git


Kodecrypt, the flagship event of Headstart, Computer Science Dept, CBIT is back this year bigger and better.
This is your chance to directly get into Round 3 by solving curated challenges for a week. The winner gets through to Round 3 on the day of the event.
Another chance to get into round 3! Solve one of the 3 wild card questions and you are through. Be aware the questions are not going to be easy!
Onsite coding at the event(register now!)
Rakshitha9966142099
Vishal9440854335
Sisira9030403528
Sairaam8367464646


1)
QUESTION: Inside which HTML element do we put the JavaScript
a) <JavaScript>
b)


Owen Jones
/
Liverpool
/
Waterstones
Voice of the left and author of Chavs, Owen Jones will discuss his
new paperback, and our Book of the Month, The Establishment.
Owen Jones
/
Article
/
Guardian
Voice of the left and author of Chavs, Owen Jones will discuss his
new paperback, and our Book of the Month, The Establishment.


The Tale of Brownie Beaver
by Arthur Scott Bailey
Chapter 6: “A Happy Thought”
Additional Information
- Year Published: 1916
- Language: English
- Country of Origin: United States of America
- Source: Bailey, A. S. (1916). The Tale of Brownie Beaver. New York: Grosset and Dunlap.
-
Readability:
- Flesch–Kincaid Level: 5.0
- Word Count: 814
- Genre: Fantasy
- Keywords: 20th century literature, american literature, children's stories, sleepy-time tales
- ✎ Cite This
Downloads
Brownie Beaver liked to know what was going on in the world. But living far from Pleasant Valley as he did, he seldom heard any news before it was quite old.
“I wish—” he said to Mr. Crow one day, when that old gentleman was making him a visit—”I wish someone would start a newspaper in this neighborhood.”
Mr. Crow told Brownie that he would be glad to bring him an old newspaper whenever he happened to find one. “Thank you!” Brownie Beaver said. “You’re very kind. But an old newspaper would be of no use to me.”
“Why not?” Mr. Crow inquired. “They make very good beds, I’ve been told. And I suppose that is what you want one for.”
“Not at all!” Brownie replied. “I’d like to know what’s happening over in Pleasant Valley. It takes so long for news to reach us here in our pond that it’s often hardly worth listening to when we hear it—it’s so old.
Mr. Crow said he never heard of a newspaper like that.
“Well, somebody ought to start one,” Brownie Beaver answered.
Mr. Crow thought deeply for some minutes without saying a word. And at last He cried suddenly:
“I have an idea!”
“Have you?” Brownie Beaver exclaimed. “What is it, Mr. Crow?”
“I’ll be your newspaper!” Mr. Crow told him.
At that Brownie Beaver looked somewhat doubtful.
“That’s very kind of you,” he said. “But I’m afraid it wouldn’t do me much good.  “What I mean is this: I’ll fly over here once a week and tell you everything that’s happened. Of course,” he continued, “I can’t very well tell you everything that is going to take place the following week. But I’ll do my best.”
Brownie Beaver was delighted. And when Mr. Crow asked him what day he wanted his newspaper Brownie said that Saturday afternoon would be a good time.
“That’s the last day of the week,” Brownie Beaver remarked, “so you ought to have plenty of news for me. You know, if you came the first day of the week there would be very little to tell.”
“That’s so!” said Mr. Crow. “Well say ‘Saturday,’ then. And you shall have your newspaper without fail—unless,” he explained—”unless there should be a bad storm, or unless I should be ill. And, of course, if Farmer Green should want me to help him in his cornfield, I wouldn’t be able to come. There might be other things, too, to keep me at home, which I can’t think of just now,” said Mr. Crow.
Again Brownie Beaver looked a bit doubtful.
“I hope you’ll try to be regular,” he told Mr. Crow. “When a person takes a newspaper he doesn’t like to be disappointed, you know.”
Old Mr. Crow said that he hoped nothing would prevent his coming to Brownie’s house every Saturday afternoon.
“There’s only one more thing I can think of,” he croaked, “that would make it impossible for me to be here. And that is if I should lose count of the days of the week or have to see a baseball game or fly south for the winter.”
“But that’s three things, instead of only one ,” Brownie Beaver objected.
“Well—maybe it is,” Mr. Crow replied—”the way you count. But I call it only one because I said it all in one breath, without a single pause.”
“I hope you won’t tell me the news as fast as that,” said Brownie Beaver, “for if you did I should never be able to remember one-half of it.”
But Mr. Crow promised that he would talk very slowly.
“You’ll be perfectly satisfied,” he told Brownie. “And now I must go home at once, to begin gathering news.”


→ If you encounter a token that is not responding, move to the toybox and then back to the toypad ←
Create characters and vehicles with boxes at the top then drag them to the toy pad.
Drag an entry to move it to the pad
Copyright © 2021 Berny23 & Cort1237
GitHub: https://github.com/Berny23/LD-ToyPad-Emulator
This software is licensed under the MIT license.


[viewBag] title = "Ortikov Oybek Abdullayevich" ==
|
Vice Rector for Finance and Economics
|
Ortiqov Oybek Abdullaevich Candidate of Economic Sciences |
| Reception days
|
Seshanba - Juma, 19:00 - 12:00
|
|
Graduated: |
|
| Telephone
|
+998707166064 |
| Fax
|
+998707166064 |
|
<EMAIL_ADDRESS>|
An author of more than 150 scientific programs in banking and finance.
He studied and retrained in the USA, Spain, Belgium, India, South Korea and Czech Republic.


Visit our HTML Tutorial
HTML Tutorial
HTML tutorial
HTML tutorial
HTML tutorial
Champak is a programmer. Varanasi is a city. I am in India.


Ruth 1:14
And they lifted up their voice, and wept again: and Orpah kissed her mother in law; but Ruth clave unto her.


The shell program /bin/bash
(hereafter
referred to as just "the shell") uses a collection of startup files
to help create an environment. Each file has a specific use and may
affect login and interactive environments differently. The files in
the /etc
directory generally provide
global settings. If an equivalent file exists in your home directory
it may override the global settings.
An interactive login shell is started after a successful login, using
/bin/login
, by reading the /etc/passwd
file. This shell invocation normally
reads /etc/profile
and its private
equivalent ~/.bash_profile
(or
~/.profile
if called as /bin/sh) upon startup.
An interactive non-login shell is normally started at the
command-line using a shell program (e.g., [prompt]$
/bin/bash) or by the /bin/su command. An interactive
non-login shell is also started with a terminal program such as
xterm or konsole from within a graphical
environment. This type of shell invocation normally copies the parent
environment and then reads the user's ~/.bashrc
file for additional startup configuration
instructions.
A non-interactive shell is usually present when a shell script is running. It is non-interactive because it is processing a script and not waiting for user input between commands. For these shell invocations, only the environment inherited from the parent shell is used.
The file ~/.bash_logout
is not used for
an invocation of the shell. It is read and executed when a user exits
from an interactive login shell.
Many distributions use /etc/bashrc
for
system wide initialization of non-login shells. This file is usually
called from the user's ~/.bashrc
file
and is not built directly into bash itself. This convention is
followed in this section.
For more information see info bash -- Nodes: Bash Startup Files and Interactive Shells.
Most of the instructions below are used to create files located in
the /etc
directory structure which
requires you to execute the commands as the root
user. If you elect to create the files in
user's home directories instead, you should run the commands as an
unprivileged user.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/bash-shell-startup-files
Here is a base /etc/profile
. This
file starts by setting up some helper functions and some basic
parameters. It specifies some bash history parameters and, for
security purposes, disables keeping a permanent history file for
the root
user. It also sets a
default user prompt. It then calls small, single purpose scripts in
the /etc/profile.d
directory to
provide most of the initialization.
For more information on the escape sequences you can use for your
prompt (i.e., the PS1
environment
variable) see info
bash -- Node: Printing
a Prompt.
cat > /etc/profile << "EOF"
# Begin /etc/profile
# Written for Beyond Linux From Scratch
# by James Robertson<EMAIL_ADDRESS># modifications by Dagmar d'Surreal<EMAIL_ADDRESS># System wide environment variables and startup programs.
# System wide aliases and functions should go in /etc/bashrc. Personal
# environment variables and startup programs should go into
# ~/.bash_profile. Personal aliases and functions should go into
# ~/.bashrc.
# Functions to help us manage paths. Second argument is the name of the
# path variable to be modified (default: PATH)
pathremove () {
local IFS=':'
local NEWPATH
local DIR
local PATHVARIABLE=${2:-PATH}
for DIR in ${!PATHVARIABLE} ; do
if [ "$DIR" != "$1" ] ; then
NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
fi
done
export $PATHVARIABLE="$NEWPATH"
}
pathprepend () {
pathremove $1 $2
local PATHVARIABLE=${2:-PATH}
export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
}
pathappend () {
pathremove $1 $2
local PATHVARIABLE=${2:-PATH}
export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
}
export -f pathremove pathprepend pathappend
# Set the initial path
export PATH=/bin:/usr/bin
if [ $EUID -eq 0 ] ; then
pathappend /sbin:/usr/sbin
unset HISTFILE
fi
# Setup some environment variables.
export HISTSIZE=1000
export HISTIGNORE="&:[bf]g:exit"
# Set some defaults for graphical systems
export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}
export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}
export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}
# Setup a red prompt for root and a green one for users.
NORMAL="\[\e[0m\]"
RED="\[\e[1;31m\]"
GREEN="\[\e[1;32m\]"
if [[ $EUID == 0 ]] ; then
PS1="$RED\u [ $NORMAL\w$RED ]# $NORMAL"
else
PS1="$GREEN\u [ $NORMAL\w$GREEN ]\$ $NORMAL"
fi
for script in /etc/profile.d/*.sh ; do
if [ -r $script ] ; then
. $script
fi
done
unset script RED GREEN NORMAL
# End /etc/profile
EOF
Now create the /etc/profile.d
directory, where the individual initialization scripts are
placed:
install --directory --mode=0755 --owner=root --group=root /etc/profile.d
Using the bash completion script below is controversial. Not all users like it. It adds many (usually over 1000) lines to the bash environment and makes it difficult to use the 'set' command to examine simple environment variables. Omitting this script does not interfere with the ability of bash to use the tab key for file name completion.
This script imports bash completion scripts, installed by many other BLFS packages, to allow TAB command line completion.
cat > /etc/profile.d/bash_completion.sh << "EOF"
# Begin /etc/profile.d/bash_completion.sh
# Import bash completion scripts
# If the bash-completion package is installed, use its configuration instead
if [ -f /usr/share/bash-completion/bash_completion ]; then
# Check for interactive bash and that we haven't already been sourced.
if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z "${BASH_COMPLETION_VERSINFO-}" ]; then
# Check for recent enough version of bash.
if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
[ ${BASH_VERSINFO[0]} -eq 4 -a ${BASH_VERSINFO[1]} -ge 1 ]; then
[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] && \
. "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
if shopt -q progcomp && [ -r /usr/share/bash-completion/bash_completion ]; then
# Source completion code.
. /usr/share/bash-completion/bash_completion
fi
fi
fi
else
# bash-completions are not installed, use only bash completion directory
if shopt -q progcomp; then
for script in /etc/bash_completion.d/* ; do
if [ -r $script ] ; then
. $script
fi
done
fi
fi
# End /etc/profile.d/bash_completion.sh
EOF
Make sure that the directory exists:
install --directory --mode=0755 --owner=root --group=root /etc/bash_completion.d
For a more complete installation, see http://wiki.linuxfromscratch.org/blfs/wiki/bash-shell-startup-files#bash-completions.
This script uses the ~/.dircolors
and /etc/dircolors
files to control
the colors of file names in a directory listing. They control
colorized output of things like ls
--color. The explanation of how to initialize
these files is at the end of this section.
cat > /etc/profile.d/dircolors.sh << "EOF"
# Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.
if [ -f "/etc/dircolors" ] ; then
eval $(dircolors -b /etc/dircolors)
fi
if [ -f "$HOME/.dircolors" ] ; then
eval $(dircolors -b $HOME/.dircolors)
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
EOF
This script adds some useful paths to the PATH
and can be used to customize other PATH
related environment variables (e.g. LD_LIBRARY_PATH, etc) that
may be needed for all users.
cat > /etc/profile.d/extrapaths.sh << "EOF"
if [ -d /usr/local/lib/pkgconfig ] ; then
pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
fi
if [ -d /usr/local/bin ]; then
pathprepend /usr/local/bin
fi
if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
pathprepend /usr/local/sbin
fi
# Set some defaults before other applications add to these paths.
pathappend /usr/share/man MANPATH
pathappend /usr/share/info INFOPATH
EOF
This script sets up the default inputrc
configuration file. If the user does
not have individual settings, it uses the global file.
cat > /etc/profile.d/readline.sh << "EOF"
# Setup the INPUTRC environment variable.
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
INPUTRC=/etc/inputrc
fi
export INPUTRC
EOF
Setting the umask value is important for security. Here the default group write permissions are turned off for system users and when the user name and group name are not the same.
cat > /etc/profile.d/umask.sh << "EOF"
# By default, the umask should be set.
if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
umask 002
else
umask 022
fi
EOF
This script sets an environment variable necessary for native language support. A full discussion on determining this variable can be found on the LFS Bash Shell Startup Files page.
cat > /etc/profile.d/i18n.sh << "EOF"
# Set up i18n variables
export LANG=<ll>
_<CC>
.<charmap>
<@modifiers>
EOF
Here is a base /etc/bashrc
. Comments
in the file should explain everything you need.
cat > /etc/bashrc << "EOF"
# Begin /etc/bashrc
# Written for Beyond Linux From Scratch
# by James Robertson<EMAIL_ADDRESS># updated by Bruce Dubbs<EMAIL_ADDRESS># System wide aliases and functions.
# System wide environment variables and startup programs should go into
# /etc/profile. Personal environment variables and startup programs
# should go into ~/.bash_profile. Personal aliases and functions should
# go into ~/.bashrc
# Provides colored /bin/ls and /bin/grep commands. Used in conjunction
# with code in /etc/profile.
alias ls='ls --color=auto'
alias grep='grep --color=auto'
# Provides prompt for non-login shells, specifically shells started
# in the X environment. [Review the LFS archive thread titled
# PS1 Environment Variable for a great case study behind this script
# addendum.]
NORMAL="\[\e[0m\]"
RED="\[\e[1;31m\]"
GREEN="\[\e[1;32m\]"
if [[ $EUID == 0 ]] ; then
PS1="$RED\u [ $NORMAL\w$RED ]# $NORMAL"
else
PS1="$GREEN\u [ $NORMAL\w$GREEN ]\$ $NORMAL"
fi
unset RED GREEN NORMAL
# End /etc/bashrc
EOF
Here is a base ~/.bash_profile
. If
you want each new user to have this file automatically, just change
the output of the command to /etc/skel/.bash_profile
and check the permissions
after the command is run. You can then copy /etc/skel/.bash_profile
to the home directories
of already existing users, including root
, and set the owner and group
appropriately.
cat > ~/.bash_profile << "EOF"
# Begin ~/.bash_profile
# Written for Beyond Linux From Scratch
# by James Robertson<EMAIL_ADDRESS># updated by Bruce Dubbs<EMAIL_ADDRESS># Personal environment variables and startup programs.
# Personal aliases and functions should go in ~/.bashrc. System wide
# environment variables and startup programs are in /etc/profile.
# System wide aliases and functions are in /etc/bashrc.
if [ -f "$HOME/.bashrc" ] ; then
source $HOME/.bashrc
fi
if [ -d "$HOME/bin" ] ; then
pathprepend $HOME/bin
fi
# Having . in the PATH is dangerous
#if [ $EUID -gt 99 ]; then
# pathappend .
#fi
# End ~/.bash_profile
EOF
Here is a base ~/.profile
. The
comments and instructions for using /etc/skel
for .bash_profile
above also apply here. Only the
target file names are different.
cat > ~/.profile << "EOF"
# Begin ~/.profile
# Personal environment variables and startup programs.
if [ -d "$HOME/bin" ] ; then
pathprepend $HOME/bin
fi
# Set up user specific i18n variables
#export LANG=<ll>
_<CC>
.<charmap>
<@modifiers>
# End ~/.profile
EOF
Here is a base ~/.bashrc
.
cat > ~/.bashrc << "EOF"
# Begin ~/.bashrc
# Written for Beyond Linux From Scratch
# by James Robertson<EMAIL_ADDRESS># Personal aliases and functions.
# Personal environment variables and startup programs should go in
# ~/.bash_profile. System wide environment variables and startup
# programs are in /etc/profile. System wide aliases and functions are
# in /etc/bashrc.
if [ -f "/etc/bashrc" ] ; then
source /etc/bashrc
fi
# Set up user specific i18n variables
#export LANG=<ll>
_<CC>
.<charmap>
<@modifiers>
# End ~/.bashrc
EOF
This is an empty ~/.bash_logout
that
can be used as a template. You will notice that the base
~/.bash_logout
does not include a
clear
command. This
is because the clear is handled in the /etc/issue
file.
cat > ~/.bash_logout << "EOF"
# Begin ~/.bash_logout
# Written for Beyond Linux From Scratch
# by James Robertson<EMAIL_ADDRESS># Personal items to perform on logout.
# End ~/.bash_logout
EOF
If you want to use the dircolors
capability, then run the following command. The /etc/skel
setup steps shown above also can be
used here to provide a ~/.dircolors
file when a new user is set up. As before, just change the output
file name on the following command and assure the permissions,
owner, and group are correct on the files created and/or copied.
dircolors -p > /etc/dircolors
If you wish to customize the colors used for different file types,
you can edit the /etc/dircolors
file.
The instructions for setting the colors are embedded in the file.
Finally, Ian Macdonald has written an excellent collection of tips and tricks to enhance your shell environment. You can read it online at http://www.caliban.org/bash/index.shtml.
Last updated on 2018-12-02 14:36:16 -0800


jQuery.Timeline V2
You are able to easily create two types of horizontal timeline with this jQuery plugin.
Report bug
·
Request feature
·
Blog
Table of Contents
- Quick start
- What's included
- Usage
- Supported browsers
- Tutorials
- Documentation
- Example as demonstration
- Contributions
- Creators
- Copyright and license
Quick start
Several quick start options are available:
- Download the latest release.
- Clone the repository:
git clone https://github.com/ka215/jquery.timeline.git
What's included
Within the download you'll find the following directories and files, logically grouping common assets and providing compiled and minified variations. You'll see something like this:
jquery.timeline/
└── dist/
├── jquery.timeline.min.css
└── jquery.timeline.min.js
We provide compiled and minified CSS and JS (jquery.timeline.min.*
).
When deployed by using task for develop, generated source maps (jquery.timeline.*.map
) are available for use with certain browsers' developer tools.
Usage
Include the installed files into your html:
<link rel="stylesheet" src="/path/to/jquery.timeline.min.css">
<script src="/path/to/jquery.timeline.min.js"></script>
Note: You should include the jquery core script before including this plugin javascript file. Also we recommend that would like to add defer
attribute into script tag.
Bind this plugin in the scope had imported the jQuery:
$("#myTimeline").Timeline()
Supported browsers
jQuery.Timeline version 2.x supports the following browsers:
| PC | Mobile | ||||||
|---|---|---|---|---|---|---|---|
| Ok | Ok | Ok | Non-compliant | Ok | Ok | Ok | Ok |
Unfortunately as for the Internet Explorer etc., several methods of this plugin does not work because JavaScript implementation of browser is too immature. Please note that we are not go to support for these legacy browsers in the future.
Tutorials
The tutorial as a detailed usage of jQuery.Timeline is released here.
Documentation
jQuery.Timeline's documentation, included in this repository in the root directory, is built with ESDoc and publicly hosted on GitHub Pages at https://ka215.github.io/jquery.timeline/. The docs may also be run locally.
Documentation for previous releases
- For v2.0.x: https://ka2.org/jquery-timeline/
- For v2.0.x(ESDoc): https://ka215.github.io/jquery.timeline/
- For v1.0.x: https://raw.githubusercontent.com/ka215/jquery.timeline/v1/README.md
- For v1.0.x (Japanese): https://ka2.org/jquery-timeline-v1/
Example as demonstration
Contributions
Your donations for plugin development will help us.
Donate URL: https://ka215.github.io/jquery.timeline/donation.html
Creators
- ka2 (Katsuhiko Maeno)
- https://ka2.org/
Copyright and license
Code and documentation copyright 2011-2019 the ka2. Code released under the MIT License.


QRadar App Manager
Refresh Apps
All
Creating
Upgrading
Running
Stopped
Error
#
Name
UUID
Version
Status
Action
No Apps


Goal : retrieve a file on a private server http://<IP_ADDRESS>/secret.txt
This normally should be impossible due to Same Origin Policy but we will use DNS-rebinding attack to bypass the SOP and retrieve the file.
You can find more information by reading the readme.md on the github repository BY-SOP.
We assume in this part, you know the victim is browsing your malicious page for at least 3 minutes
your actual DNS record => foo.example.com. 59 IN A <IP_ADDRESS>
your new DNS record => foo.example.com. 59 IN A <IP_ADDRESS>
Martial Puygrenier - martial.puygrenier[A]gmail[DOT]com - 2016 - Github BY-SOP
Full shema available here


I am a Front-End Developer based in Port Harcourt, Nigeria.
I write pretty cool articles on my blog on codehacks
You can find me penning down my thoughts about life on medium
I currently work at Dewbicon Technologies
I was part of a team of two that designed and built the company's website. It is mainly a static website that explains what the company does.
This is a Progressive Web Application I built as a blog. I built it using modern APIs and Libraries like Webcomponents API, the Polymer Library, Service Worker API, and the IndexedDb API.


About Me
Midori Bowen
My Top Three Links
- Netflix
- Why lie?
- Angry Asian Girls United Tumblr
- A tumblr for angry asian girls worldwide to vent and share stories and experiences of being an Asian girl or woman in Western diaspora.
- W3Schools.com
- A really great reference website for coding HTML, CSS, JavaScript, PHP, SQL, and JQuery.
Netflix
I mean, really, it should be number one.
Education
- Beloit College '11 - B.A. - Intn'l Relations
- Chimacum HS '07
Job Experience
- Walgreens - Customer Service Associate - Feb. 2015-Current - Portland, OR
- Ichikawa Japanese Cuisine - Line Cook - Aug.-Dec. 2014 - Port Townsend, WA
- Truman College - Tutor - Jan. 2013-Aug. 2014 - Chicago, IL
Why Epicodus? Programming?
I moved to Portland last February after relocating back to the Northwest in August. Since moving back,
I haven't had a good sense of what I want to do in my career. Having worked mostly service-based jobs
in my life, it is very easy for me to fall back into them, but I have never enjoyed service work.
I've been looking for a new opportunity to try something new. Earlier this summer my cousin, who is a front-end
web programmer, sent me a link to Epicodus' women's only class. I've considered programming as something
I would be interested in learning and developing a career around, but when I've asked relatives about
how to get into this field, they've mostly said that I need to either learn on my own or get a BS, then
MS, in Computer Science. Both of these options seemed alternately daunting or financially prohibitive.
I've fiddled around with the CSS in my tumblr before and found that I enjoyed looking for patterns and
experimenting with the code. However, fiddling with little understanding is frustrating in my experience.
I applied to the women's only class, but struggled to complete the tests. After working on the tests for
several weeks, I saw that there was a part-time beginners class available and decided that this would be
a better fit for me. This experience makes me think that programming might be something that I can become
good at and enjoy. I'm excited to learn more about CSS, JavaScript, and beyond!
I struggle with being self-motivated, but am very socially motivated when it comes to learning. Therefore,
when I learned about Epicodus I was very interested, particularly because it has the iniative to specifically
support women's careers in tech. This seemed to me like a very good environment to learn in for me and it is
affordable.
Hobbies & Skills
- Print-making
- Tutoring
- Hiking/Camping
- Writing


"A Perfect Murder" Review by Fontaine Lien http://members.tripod.com/~orangekat
"A Perfect Murder" is a great thrill for weekend get-together nights. It's got everything a suspense thriller needs: suspense (duh), atmosphere, and *believable* characters. Michael Douglas seems apt at playing lonely millionaires, and Gwyneth Paltrow once again masters the role of the vulnerable wife. One thing I found interesting about this movie is that it's not really a "whodunnit" in the sense that we know from the start who the murderer is. It's the why and how that keeps us on the edge of our seats. Throughout the movie there's an atmosphere of loneliness and perverted sentiments that works really well in the plot. The bathing scene reminded me of "Psycho," and I thought it was a nice touch at the end with Paltrow's character (and us) experiencing a sense of deja vu when we revisit the apartment. Towards the end, however, it's clear what the only menacing factor is that's left, so the only excitement left for us is seeing how the couple will resolve their, ah, differences. Even though "A Perfect Murder" lacks in some creativity, it dots the I's and crosses the T's at what it's trying to do, and does it well.
Rating: B- (First viewing, 10/29/98)
--
ICQ: 7042188 AIM: fonnyBTS http://members.tripod.com/~orangekat
Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
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


{% extends "shared/base.html" %} {% from "shared/macros.jinja" import match_card with context %} {% block page_content %}


Exodus 32:33
And the LORD said unto Moses, Whosoever hath sinned against me, him will I blot out of my book.


SMBMOUNT
Section: (8)Updated:
Index Return to Main Contents
NAME
smbmount - 装载一个 smbfs 文件系统总览 SYNOPSIS
smbmount {service} {mount-point} [-o options]
描述 DESCRIPTION
smbmount 可以装载一个Linux SMB文件系统。它通常在带 "-t smbfs" 选项执行 mount(8) 命令时被作为mount.smbfs执行。当然内核必须支持smbfs文件系统。
smbmount使用的选项是用逗号分隔的一串key=value字串对的列表。It is possible to send options other than those listed here, assuming that smbfs supports them. If you get mount failures, check your kernel log for errors on unknown options.
smbmount is a daemon. After mounting it keeps running until the mounted smbfs is umounted. It will log things that happen when in daemon mode using the "machine name" smbmount, so typically this output will end up in log.smbmount. The smbmount process may also be called mount.smbfs.
-
注意
smbmount 调用 smbmnt(8)来完成实际的装载任务。你必须确保 smbmnt 位于可以找到的路径中。
选项 OPTIONS
- username=<arg>
-
指定联接时的用户名。如果不指定，程序会用USER这个环境变量。这个选项也接受"user%password", "user/workgroup"或"user/workgroup%password"形式的参数，允许密码和工作组作为用户名的一部分同时被指定。
- password=<arg>
-
指定SMB口令。如果不指定，将使用环境变量PASSWD. 如果没有指定，也没有环境变量， smbmount会提示输入口令，除非使用了guest选项。
Note that passwords which contain the argument delimiter character (i.e. a comma ',') will failed to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or a credentials file (see below) will be read correctly.
- credentials=<filename>
-
specifies a file that contains a username and/or password.
The format of the file is:
username = <value> password = <value>
This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab. Be sure to protect any credentials file properly.
- krb
-
Use kerberos (Active Directory).
- netbiosname=<arg>
-
设定源NetBIOS主机名。默认是本机名。
- uid=<arg>
-
设定装载的文件系统的用户标识符。可以用用户名或者UID数字两种办法来指定。
- gid=<arg>
-
设定装载的文件系统的组标识符。可以用组名或者GID数字两种方法来指定。
- port=<arg>
-
设定远程SMB系统的端口号。默认是139。
- fmask=<arg>
-
设定文件掩码。这决定了本地文件系统中远程文件的权限。它不是掩码而是实际的文件权限。默认值是根据当前的umask算出来的。
- dmask=<arg>
-
设定目录掩码。这决定了本地文件系统中远程目录的权限。它不是掩码而是实际的目录权限。默认值是根据当前的umask算出来的。
- debug=<arg>
-
设定调试等级。对于跟踪SMB的联接问题非常有用。 建议的值是4. 如果设置得过高，会产生大量输出，可能会掩盖有用的输出。
- ip=<arg>
-
设定目标主机或IP地址。
- workgroup=<arg>
-
设定目的工作组。
- sockopt=<arg>
-
设定TCP套接字的一些选项。参见smb.conf(5)配置文件中的socket options选项。
- scope=<arg>
-
设定NetBIOS范围。
- guest
-
不提示口令
- ro
-
以只读方式装载。
- rw
-
以读写方式装载。
- iocharset=<arg>
-
sets the charset used by the Linux side for codepage to charset translations (NLS). Argument should be the name of a charset, like iso8859-1. (Note: only kernel 2.4.0 or later)
- codepage=<arg>
-
sets the codepage the server uses. See the iocharset option. Example value cp850. (Note: only kernel 2.4.0 or later)
- ttl=<arg>
-
sets how long a directory listing is cached in milliseconds (also affects visibility of file size and date changes). A higher value means that changes on the server take longer to be noticed but it can give better performance on large directories, especially over long distances. Default is 1000ms but something like 10000ms (10 seconds) is probably more reasonable in many cases. (Note: only kernel 2.4.2 or later)
ENVIRONMENT VARIABLES
The variable USER may contain the username of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords. The variable can be used to set both username and password by using the format username%password.
The variable PASSWD may contain the password of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords.
The variable PASSWD_FILE may contain the pathname of a file to read the password from. A single line of input is read and used as the password.
BUGS
Passwords and other options containing , can not be handled. For passwords an alternative way of passing them is in a credentials file or in the PASSWD environment.
The credentials file does not handle usernames or passwords with leading space.
One smbfs bug is important enough to mention here, even if it is a bit misplaced:
- •
-
Mounts sometimes stop working. This is usually caused by smbmount terminating. Since smbfs needs smbmount to reconnect when the server disconnects, the mount will eventually go dead. An umount/mount normally fixes this. At least 2 ways to trigger this bug are known.
Note that the typical response to a bug report is suggestion to try the latest version first. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: samba, kernel, distribution)
SEE ALSO
Documentation/filesystems/smbfs.txt in the linux kernel source tree may contain additional options and information.
FreeBSD also has a smbfs, but it is not related to smbmount
For Solaris, HP-UX and others you may want to look at smbsh(1) or at other solutions, such as Sharity or perhaps replacing the SMB server with a NFS server.
作者 AUTHOR
samba软件和相关工具最初由Andrew Tridgell创建。samba现在由Samba Team 作为开源软件来发展，类似linux内核的开发方式。
最初的samba手册页是 Karl Auer写的。 手册页源码已经转换为YODL格式(另一种很好的开源软件，可以在ftp://ftp.ice.rug.nl/pub/unix找到)，由Jeremy Sllison 更新到Samba2.0 版本。 Gerald Carter 在Samba2.2中将它转化为DocBook 格式。 Alexander Bokovoy 在Samba 3.0中实现了DocBook XML4.2 格式的转换。
[中文版维护人]
meaculpa<EMAIL_ADDRESS>2000/12/08《中国linux论坛man手册页翻译计划》:
http://cmpp.linuxforum.net
Index
- NAME
- 总览 SYNOPSIS
- 描述 DESCRIPTION
- 选项 OPTIONS
- ENVIRONMENT VARIABLES
- BUGS
- SEE ALSO
- 作者 AUTHOR
- [中文版维护人]
- [中文版最新更新]
- 《中国linux论坛man手册页翻译计划》:
This document was created by man2html, using the manual pages.
Time: 13:13:02 GMT, December 24, 2015


bespoke-fxSlide 5
Direction: horizontal or vertical

Slide 5

bespoke-fxSlide 6
Run transition in reverse

Slide 6

bespoke-fxSlide 7
Different transitions: move [default]

Slide 7


Register
Join to our community now !
Username
Email
Password
Password again
Register
Already have an account?
Login


Got a precious gadget you want repaired, or just want to talk shop? Come visit us at:
1259B Glenwood Ave SE Atlanta, GA 30316
View Larger Map


The New Survivalist
|
|
|
Chapter 13:
|
|
Build Your Network NowHumans are social beings. We have been remarkably successful because we have been able to stick together forming groups, clans, tribes, and communities. Since humans have walked the Earth our survival has depended on our ability to ban together. During a prolonged emergency, when chaos and lawlessness are the order of the day, your chances for survival may depend on your ability to network with your neighbors.  If you ban together with your neighbors for your mutual defense your chances for survival will increase greatly.  Everyone knew their neighbors, many even since childhood. Today we live in a highly mobile society. By next year your present neighbor may have moved across the country and you may never see him or her again. To make matters even worse, thanks to the internet, we may spend more time communicating with people on the other side of the planet than with those who live on the same street. We also spend more time in front of the television than at community events. All of this has tended to alienate us from our neighbors. It is not uncommon today for people to live for years next to neighbors whom they have never met. |
| When times get tough, people are much more likely to help a friend than a stranger. It is also easier to barter with people with whom you have already established good rapport. Part of your survival plans should include getting to know as many of your neighbors as possible. If you need an icebreaker, share the bounty from your garden or orchard. Bag up some of your extra produce and give it to your neighbors. If you do not at present have produce from your garden, bake a cake or a batch of cookies, or take them a sample of your home canning. Welcome new neighbors with a dish, a dessert, or a jar of your home canning. Participate in local and community events whenever possible. Turn off the television and spend more time on the front porch. Organize a weekly poker game. Make your neighbors your friends. |
|
Once you have become well acquainted with your neighbors, there may be one or more whom you will want to discuss preparedness with. They will be less likely to come knocking at your door for provisions if they have put away provisions of their own. But no matter how well you get to know your neighbors, you should keep the full extent of your survival stash a secret from all but your closest family members. Information like that tends to spread very rapidly during times of extreme shortages, and if you are not careful you could someday have strangers knocking at your door or even breaking into your home. Regardless of your altruistic tendencies, it will be impossible for you to provide for everyone. The supplies that were supposed to last for months could disappear in as little as a day or two. Take care of your family first. But cooperate with your friends and neighbors whenever possible. Neighborhood Watches are a great way to meet your neighbors, to find out who else is awake and prepping, and to find out who you will be able to count on in an emergency, and who you will not be able to count on. Download materials from the internet and you will find that a large part of today's neighborhood watches is disaster preparedness. Neighborhood watches are a great excuse to get together with your neighbors once a month to talk about preparedness. If there is not already an organized watch in your neighborhood, start one yourself! That way you can have a lot of influence on how yours is run. Organize monthly meetings where you will cover a different preparedness topic each month. Those who will not do the small things when times are easy, should not be counted on to do the big things when times are hard. |
| Go to town meetings and local political events. Get involved with local politics. Not only will you get to know more of your neighbors and establish contacts with people who are important for your welfare, but you will also be able to keep an eye on your local politicians and get involved in their decisions before they pass ordinances that threaten you (such as a city ordinance against home gardening, which we are seeing more and more!) For too long, here in America, things were going so well that we got lazy and started taking our liberties for granted. We took our eyes off of government and then we woke up one day in the realization that, while we were asleep, our government had been seized by mega corporations who were busy establishing a control state and legislating our liberties away. Many Americans are waking up today and saying, "Not on my watch!" Although it may already be too late! |
Action Step 19: Social Check ListsBelow are sample "GET" and "DO" lists for Social. Use these lists to help you formulate your own check lists using the appropriate page in your Action Planner. Add additional items as you think of them:
Social "GET" Check List:
Social "DO" Check List:
|
|
Hard-hitting Biblically Based Rock & Roll! |


A cheat/tool/bot/whatever for a browser flash game named DarkOrbit. It does some pretty neat stuff and is still under heavy development.
Discord Server: https://discord.gg/nQ2VWVU
Attack Config
Flying Config
Attack Formation Slot:
Flying Formation Slot:


{% extends "index.html" %} {% block header %}
This tri-fold brochure outlines what it means to be a Christian, what Christians are called by God to do and what Christians believe. This is a great resource to give to new believers who may not know what the next step is after having accepted Jesus Christ as their savior.
Download PDF {% endblock %}


Contact me
You can you contact me if you have any questions about the website down here. Most of the content is sourced from spacexdata.com and open-notify.org. Contact me if you see any wrong information or values.
You can you contact me if you have any questions about the website down here. Most of the content is sourced from spacexdata.com and open-notify.org. Contact me if you see any wrong information or values.
Credits
- Map from leafletjs.com
- Images from SpaceX.com
- API source from GitHub SpaceX-API
- Icon made by Freepik from flaticon.com


--- layout: post title: 1d6 more reasons to love Ruby post_id: 147 categories: - essays and rants date: 2006-09-27 08:17:00.000000000 -06:00 author: Jamis permalink: 2006/9/27/1d6-more-reasons-to-love-ruby.html ---
Like any self-respecting geek, I can claim countless hours spent poring over Dungeons & Dragons manuals. After high school I more-or-less stopped gaming (for various reasons), but I rediscovered the game shortly after the 3rd edition came out. About five years ago (coincidentally about the same time that I discovered Ruby) I actually wrote a suite of utilities to aid Dungeon Masters in creating random non-player characters, treasure hoards, towns and cities, and dungeon maps. In those days, C was my language of choice, so all of those were done “the hard way”. (But boy, was it ever fun!)
Now, looking back (and with a bit of experience with dynamic langauges under my belt) I’ve been wondering how I might have done those generators differently. Most notably, the NPC generator uses all hard-coded data and rules, which makes it quite difficult to extend with new data and rules as more D&D supplements are published. (In fact, it is so hard to extend that I haven’t touched it in about 4 years.)
Well, Ruby is all dynamic and stuff, right? Domain-specific languages, etc, etc?
Right. So I began tinkering. I figured if I could come up with DSL that would let me represent the data for the D&D game, the rest should (more or less) fall into place.
This article isn’t about that DSL, though. That particular DSL is still under construction, as I tinker on it a little bit at a time. However, one particular aspect of that DSL has matured nicely, and I wanted to share.
I think every gamer-programmer in existence has written a “dice roller” app. I’m embarrassed to admit that I’ve done it myself. They are ridiculously simple to write, and all but impossible to use at the gaming table. Face it: real, physical dice are where it’s at.
However, in my DSL, I wanted to be able to define things like hit-dice for character classes, or starting wealth, or the rules for height/weight for the different races, all of which are described in terms of dice rolls.
Originally, I tried defining hit-dice like this:
1 2 3 4 |
character_class :wizard do hit_die 4 ... end |
Sadly, that didn’t scale well to specifying things like the starting wealth of a character, which is often defined in terms like “3d4 * 10”. My DSL wasn’t rich enough! I considered just using strings ("3d4*10"
) and parsing them on demand to determine the dice to roll. Yucky. Then, I considered introducing a “dice” helper method (dice(3,4)*10
). Also yucky. I needed a way to represent dice, using the language that gamers use. My first attempt was as follows:
1 2 3 4 5 6 7 |
class Integer def d4 sum = 0 times { sum += (rand(4) + 1) } sum end end |
Using the above, I could say things like 3.d4
and have it return the simulated result. Slick! In my DSL, I could now do:
1 2 3 4 5 |
character_class :wizard do hit_die 4 gold { 3.d4 * 10 } ... end |
Here, gold
represents the starting wealth of a new wizard. The intention is that when a new character is created, the gold
block is evaluated to determine the starting wealth.
All well and good, except there is now this inconsistency with how the hit dice are described. I could describe hit dice the same way, but then I lose the ability to keep track of what the hit die actually was—I only know how many hit points are gained at each level. (I may appear to be splitting the proverbial hair rather fine here, but trust me, to a DM, the difference matters.)
So, the second revision became something like this:
1 2 3 4 5 |
class Integer def d4 Dice.new(self, 4) end end |
The 3.d4
invocation now returns a Dice
instance (described below). This new object lets me encapsulate all kinds of nifty functionality. For instance, I can represent 3.d4 * 10
and 1.d8 + 1
and so forth, because I can override the multiplication and addition operators on the Dice class. Using that, I can unify all of my dice-references in the DSL:
1 2 3 4 5 |
character_class :wizard do hit_die 1.d4 gold 3.d4 * 10 ... end |
Then, in the code that actually generates an NPC using this data, I can do:
1 2 3 |
character.hit_points += cclass.hit_die.roll character.hit_dice += cclass.hit_die character.gold += cclass.gold.roll |
Awesome! Things are looking good. However, ability score generation (for determining how smart, strong, wise, etc. a character is) uses some tricky rules, like “roll 4d6 and discard the lowest, summing the rest”. Well, this kind of rule becomes easy to encapsulate with the Dice class:
1 2 3 4 5 |
# the "long" way score = 4.d6.to_a.sort.last(3).inject(0) { |n,v| n + v } # after encapsulating the above in a "best" method score = 4.d6.best(3) |
(Note that Dice#to_a
returns an array containing the result of each rolled die. It comes in very handy!)
So, conclusion: Ruby is awesome. Comparing this to the mess of dice rolling routines in my C-implemented utilites, this DSL is wonderful.
 Consider implementing the following interface:
Dice#*(n)
: create a new dice instance that represents self multiplied by some integer value.Dice#+(n)
: create a new dice instance that represents self incremented by some integer value.Dice#roll
: roll the dice and return the result. Consider making it return an integer or an array, depending on an optional parameter.Dice#best(n)
: return the sum (or array) of the best n
dice after rollingDice#max
: return the highest possible value the dice object could returnDice#min
: return the lowest possible value the dice object could returnDice#average
: return the average value of the diceDice#to_s
: return a string that represents the dice in a nice, readable format (like “4d6+2”).Once you’ve got your Dice object, try to monkeypatch Integer to give you the nice “4.d6” DSL I described, for each of the standard die types (d4, d6, d8, d10, d12, and d20).
Finally, my implementation: dice.rb
Enjoy!


--- layout: default title: Field Reference nav: fields ---
The fields listed here match up to the SAM data as defined in the public data extract available on SAM. The documentation for the extract is available on the openIAE site here. There are a few fields like the NAICS code which have been broken out into objects or arrays. The documentation will be updated to provide more information about how to expect those codes to be sent to the user, but most of the fields are one-to-one mapped from the public extract file.
This Excel file contains reference data for
We are working on improving access to the information on SAM. If you are directly integrating with SAM and need information about this or other interfaces into SAM, you can go to Interact, sign up, and then contact the your Change Control Board member to get access to the SAM Interfaces and Extracts Working Group forum.
| Field name | Description | Data type |
|---|
{ "line1": "1800 F St NW", "line2": "IAE Offices", "city": "Washington", "stateOrProvince": "DC", "zip": "20504", "zip4": "0000", "countryCode": "USA" }
Note that city
and zip4
are optional.
The countryCode
is a 3-digit code based on the GENC standard which is derived from ISO-3166-1 alpha-3 code. In March, the SAM API will also include West Bank, Gaza Strip and Kosovo in the country codes.
{ "firstName": "John", "middleInitial": "Z", "lastName": "Smith", "address": { -- address object -- } "usPhone": "555-555-5555", "usPhoneExt": "000", "nonUsPhone": "105055555555", "nonUsPhoneExt": "000", "email"<EMAIL_ADDRESS>}Note that only
firstName
, lastName
, email
and one phone number is required.


This was my first Salvia experience and I thought that sharing it was in order. As with most things out there I was doing some research on the Internet about psychedelics and found a word that I have never seen before “Salvia”. This peaked my interest and I started to read countless things that are on the Internet about the substance. After feeling that this would be something for me to try out I ordered some dried Salvia leaves from a source on the Internet. I still remember the day that they came. I was all excited about the “trip” that would ensue that night. Calling a few of my friends that would like to try this out happened next, plus wanting someone to sit with me was a plus. When they came over that night we all talked about some of the effects of the plant, the trip one could take, and how important it was to have the right environment.
After all the initial conversations, one of my friends kind of stepped up and asked to try it first. Loading the bowl of a water bong that we had, I covered how you should take a huge hit and hold it for 20-30 seconds. With this being said we sat down on the floor with many blankets/pillows, candle lit on a far away table, and nothing else on. My friend took as big a lungful that he could and held it. He then took another hit. At that time I asked for the pipe from him. He then started to say something and fell backwards onto the floor. I thought that he was just playing with us and making fun of some accounts we read on the Internet. No, in fact he wasn’t.
He was completely out of touch for around five minutes. He was mumbling about something during that time. Then after around five minutes he came back and started telling us how the ceiling was changing shapes and mild color/light distortions. He tried several times to get up with no luck. I tried to just get him to stay down and ride it out. He was sitting up in around fifteen minutes. After which he just reported to have a really good body buzz. I asked him what he had seen or done during that first five minutes and he couldn’t remember. To him that time just didn’t exist. He remembered handing the pipe to me and then talking about the ceiling.
I was next person to try it. I did the same two hits that my friend did and laid back. I remember kind of falling into my couch that I was laying against. It seemed to just envelope me. Sitting there remembering what I had just smoked, it seemed like the world was just as it should be. Every thought was pleasant and had warmth to it. Similar to just having sex, then just laying in bed recounting how it all felt. The first few minutes ticked by and next came a nice comfortable feeling. Kind of like just completing something very special and the after glow was intense. This subsided in around 35-40 minutes.
Overall the time I spent with Salvia was very well worth it. I have since tried it twice more and had different results every time. For me, the experience has not been as overwhelming as some reports have told. There was never a sense of fear or worry about coming out of this. The dose that we had was small and maybe with a larger dose things would change. For now, just two hits were a good time and something I will experiment with more in the future.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


I study in De La Salle Santiago Zobel under the STEM strand. I am a researcher and research conductor who has so far helped developed 4 research papers over the past 2 years of Senior Highschool. I am involved and one of the founding members of Developer's Society, a Zobel based tech org that promotes STEM and the development of computer science related skills such as media and code. Being a part of that org helped me learn a lot of skills that chanelled onto the development of my research papers. Such skills include Video Editing, Photoshop, Graphic Design and many more that I use to develop most of my group's media related outputs such as powerpoints, posters and videos.
Every so often I enjoy taking time off of school work and fancy a life apart from academics. I enjoy challenges and learning new things. Life is short, always aim for something better. Hardship often prepares an ordinary person for an extraordinary destiny.
Learning Objectives
The objective of this research was to help me improve my research and writing skills. This helps me prepare and perform better in college and become competitive in a professional world. My previous researches were aimed to help me and my groupmates understand the basics of writing a thesis and the principles, disciplines and etiquette of performing a formal study.
In general, this research course significantly helped me get a better understanding of what its like to perform a research study and how I can develop and improve my writing, surveying and research related skills.


Lucas Trigo — UX/UI Designer
UX/UI Design, Web Development
Read More →
UX/UI Design, Usability Testing
UX/UI Design, Interaction Design


{% extends 'xbmc_photos/base_xbmc.html' %} {% block title_xbmc %} - Delete Photo{% endblock %} {% block container_xbmc %} {% if invalid_id %}
There doesn't seem to be anything here. Please check the URL and try again.
Are you sure you want to delete this photo? This action cannot be undone.


There are three constants of motion for a guiding center drift, namely, the canonical toroidal angular momentum Pϕ, the magnetic moment μ, and the total kinetic energey 𝜀, which are given, respectively, by
|
| (116) |
|
| (117) |
|
| (118) |
where g(Ψ) = RBϕ, ξ is the cosine of the pitch angle of guiding center velocity (with respect to the local magnetic ﬁeld), Ψ = RAϕ with Aϕ being the toroidal component of the magnetic vector potential, Ze and m are the charge and mass of the ion, respectively.
Next, we use the constraint of the three constants of motion to determine whether an ion with a given initial condition can reach a boundary magnetic surface labeled by Ψa. The initial conditions of an ion is denoted with (Ψ0,B0,v0,ξ0), where Ψ0 lables the ﬂux surface where the particle is initially located, B0 is the magnetic ﬁeld strength at the initial location of the guiding-center, v0 and ξ0 are the initial velocity and pitch angle. The conditions of the particle when it reach the boundary ﬂux surface are denoted with (Ψa,Ba,va,ξa). Then the conservation of Pϕ requires
|
| (119) |
Using the conservation of the kinetic energy, the above equation is written
|
| (120) |
Using the conservation of μ, we obtain
|
| (121) |
which can be written
|
| (122) |
where we does not distinguish between circulating particles and trapped particles. If a particle is a circulating one, then v∥ does not change sign and thus ξ does not change sign either. In this case, equation (122) is written
|
| (123) |
If a particle is a trapped one, then both signs ± in Eq. (122) are possible.
Using Eq. (122), equation (120) is written
|
| (124) |
which can be arranged in the form
|
| (125) |
Equation (125) gives the velocity v0 needed for the particle to reach the ﬂux surface Ψa. The value of v0 given by Eq. (125) varies, depending on the value of Ba, i.e., depending on the poloidal location on the boundary magnetic ﬂux surface. By scanning the poloidal location on the boundary ﬂux surface, we can obtain the minimum value of v0, v0 min, which is the minumu velocity for a particle with the initial condition (Ψ0,B0,ξ0) to reach the ﬂux surface Ψa.
To evaluate the minimum energy for the ions to be lost, we need choose a speciﬁc magnetic conﬁguration. Next, we consider a simple large aspect ratio magnetic conﬁguration.


{% extends 'base.html' %} {% load static %} {% block content %} {% csrf_token %}
This calculator can perform batch calcuations of magmatic liquid density for thousands of samples at once. You can do this in three easy steps:
For batch calculations, an input file with the oxide compositions, P, and T of each sample must be prepared by the user. The file test-data.xlsx is included with the program and serves as a template for an input file. Although this file can have any name, it must follow the structure of test-data.xlsx, with columns named as follows (with composition in wt%, pressure in bars, and T in °C): Sample_ID, SiO2, TiO2, Al2O3, Fe2O3, FeO, MgO, CaO, K2O, H2O, P, T. The order of the columns does not matter, as the program locates data columns in the input file based on the column name given in the first row of the file.
The input file must be an excel spreadsheet with the file extension ".xlsx"
Download the test-data.xlsx file (pictured below) for an example.
Upload your input excel file to the online interface located on the home page. Upon clicking "Submit", the code with execute on heroku's servers, and a new file titled "DensityX-result.xlsx" will be downloaded to your computer. Check your downloads folder if you can't find it.
The output file is an excel spreadsheet with two sheets. The first contains the most important data you are after: the calculated densities of all samples, their associated errors, and some values associated with those samples to help you recognize which is which (sample name, SiO2 and H2O concentrations). The second sheet, "All Data", contains all calculations performed on your input data, inlcuding normalized wt% values for oxide concentrations.
This code is deployed using heroku, but you can access the same code on github: https://github.com/kaylai/DensityX-heroku. Special thanks to David Rynearson for his help in deploying this web app.
This code is maintained by Kayla Iacovino. Email her if you have questions or are having trouble using this tool.
File uploaded at: {{ uploaded_file_url }}
Also print another thing if a file is uploaded
{% endif %} {% endblock %}


Theme Songs
Help
This plugin relies on the TVDB provider Please make sure it is enabled!
Download Theme Songs


The name of the pairing session
The session duration
The session location
The session programming language
The session development practice


AWS Batch JobDefinition ContainerProperties
The ContainerProperties
property type specifies various properties
specific to container-based jobs.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "MountPoints" : [ MountPoints, ... ], "User" :
String
, "Volumes" : [ Volumes, ... ], "Command" : [String
, ... ], "Memory" :Integer
, "Privileged" :Boolean
, "Environment" : [ Environment, ... ], "JobRoleArn" :String
, "ReadonlyRootFilesystem" :Boolean
, "Ulimits" : [ Ulimit, ... ], "Vcpus" :Integer
, "Image" :String
}
YAML
MountPoints: - MountPoints User:
String
Volumes: - Volumes Command: -String
Memory:Integer
Privileged:Boolean
Environment: - Environment JobRoleArn:String
ReadonlyRootFilesystem:Boolean
Ulimits: - Ulimit Vcpus:Integer
Image:String
Properties
MountPoints
-
The mount points for data volumes in your container. This parameter maps to
Volumes
in the Create a container section of the Docker Remote API and the--volume
option to docker run.Required: no
Type: List of AWS Batch JobDefinition MountPoints
Update requires: No Interruption
User
-
The user name to use inside the container. This parameter maps to
User
in the Create a container section of the Docker Remote API and the--user
option to docker run.Required: no
Type: String
Update requires: No Interruption
Volumes
-
A list of data volumes used in a job.
Required: no
Type: List of AWS Batch JobDefinition Volumes
Update requires: No Interruption
Command
-
The command that is passed to the container. This parameter maps to
Cmd
in the Create a container section of the Docker Remote API and theCOMMAND
parameter to docker run.Required: no
Type: List of String values
Update requires: No Interruption
Memory
-
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to
Memory
in the Create a container section of the Docker Remote API and the--memory
option to docker run.Required: yes
Type: Integer
Update requires: No Interruption
Privileged
-
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the
root
user). This parameter maps toPrivileged
in the Create a container section of the Docker Remote API and the--privileged
option to docker run.Required: no
Type: Boolean
Update requires: No Interruption
JobRoleArn
-
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
Required: no
Type: String
Update requires: No Interruption
Environment
-
The environment variables to pass to a container. This parameter maps to
Env
in the Create a container section of the Docker Remote API and the--env
option to docker run.Important
We do not recommend using plain text environment variables for sensitive information, such as credential data.
Required: no
Type: List of AWS Batch JobDefinition Environment
Update requires: No Interruption
ReadonlyRootFilesystem
-
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to
ReadonlyRootfs
in the Create a container section of the Docker Remote API and the--read-only
option todocker run
.Required: no
Type: Boolean
Update requires: No Interruption
Ulimits
-
A list of
ulimits
to set in the container. This parameter maps toUlimits
in the Create a container section of the Docker Remote API and the--ulimit
option to docker run.Required: no
Type: List of AWS Batch JobDefinition Ulimit
Update requires: No Interruption
Vcpus
-
The number of vCPUs reserved for the container. This parameter maps to
CpuShares
in the Create a container section of the Docker Remote API and the--cpu-shares
option to docker run. Each vCPU is equivalent to 1,024 CPU shares.Required: yes
Type: Integer
Update requires: No Interruption
Image
-
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with
. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps torepository-url
/image
:tag
Image
in the Create a container section of the Docker Remote API and theIMAGE
parameter of docker run.-
Images in Amazon ECR repositories use the full registry and repository URI (for example,
012345678910.dkr.ecr.
).region-name
.amazonaws.com/repository-name
-
Images in official repositories on Docker Hub use a single name (for example,
ubuntu
ormongo
). -
Images in other repositories on Docker Hub are qualified with an organization name (for example,
amazon/amazon-ecs-agent
). -
Images in other online repositories are qualified further by a domain name (for example,
quay.io/assemblyline/ubuntu
).
Required: yes
Type: String
Update requires: No Interruption
-


CP Rail train derails near Lanigan, Sask., sparking fire that closes highway
by The Canadian PressLANIGAN, SASKATCHEWAN -- A Canadian Pacific freight train hauling crude derailed overnight sparking a fire that forced the closure of part of a major highway south of Humboldt, Sask.
A release issued by the RCMP said traffic on Highway 16 was blocked in both directions between Guernsey and Plunket "due to a complete lack of visibility due to smoke."
- Read more from CTV Saskatoon: Highway 16 blocked following train derailment
CP Rail issued a release saying the incident occurred just west of Guernsey around midnight local time and that no injuries had been reported and no evacuations ordered "at this time."
The fire was burning close to the roadway and CP said emergency response and HazMat crews had been deployed and were working with local first responders to assess and minimize any impact to the surrounding area.
The railway said that according to initial reports there had been no impact on any local waterways, adding that crews would work to ensure the area is cleaned up and restored.
There was no immediate word on how many rail cars were involved and CP noted that an investigation was underway into the cause of the derailment.
Police said the incident could result in an extended traffic blockage, and that an alternate route was available south of Plunket on Highway 365 toward Watrous, then north along Highway 668 to Guernsey.
This report by The Canadian Press was first published Dec. 9, 2019