--- Part One ---
There isn't much to do while you wait for the droids to repair your ship. At least you're drifting in the right direction.
Digging through the ship's storage, you find a deck of space cards! Just like any deck of space cards, there are 10007 cards in the deck numbered 0
through 10006
. The deck must be new - they're still in factory order, with 0
on the top, then 1
, then 2
, and so on, all the way through to 10006
on the bottom.
You've been practicing three different techniques that you use while shuffling. Suppose you have a deck of only 10 cards (numbered 0
through 9
):
To deal into new stack
, create a new stack of cards by dealing the top card of the deck onto the top of the new stack repeatedly until you run out of cards:
Top Bottom
0 1 2 3 4 5 6 7 8 9 Your deck
New stack
1 2 3 4 5 6 7 8 9 Your deck
0 New stack
2 3 4 5 6 7 8 9 Your deck
1 0 New stack
3 4 5 6 7 8 9 Your deck
2 1 0 New stack
Several steps later...
9 Your deck
8 7 6 5 4 3 2 1 0 New stack
Your deck
9 8 7 6 5 4 3 2 1 0 New stack
Finally, pick up the new stack you've just created and use it as the deck for the next technique.
To cut N
cards, take the top N
cards off the top of the deck and move them as a single unit to the bottom of the deck, retaining their order. For example, to cut 3
:
Top Bottom
0 1 2 3 4 5 6 7 8 9 Your deck
3 4 5 6 7 8 9 Your deck
0 1 2 Cut cards
3 4 5 6 7 8 9 Your deck
0 1 2 Cut cards
3 4 5 6 7 8 9 0 1 2 Your deck
You've also been getting pretty good at a version of this technique where N
is negative! In that case, cut (the absolute value of) N
cards from the bottom of the deck onto the top. For example, to cut -4
:
Top Bottom
0 1 2 3 4 5 6 7 8 9 Your deck
0 1 2 3 4 5 Your deck
6 7 8 9 Cut cards
0 1 2 3 4 5 Your deck
6 7 8 9 Cut cards
6 7 8 9 0 1 2 3 4 5 Your deck
To deal with increment N
, start by clearing enough space on your table to lay out all of the cards individually in a long line. Deal the top card into the leftmost position. Then, move N
positions to the right and deal the next card there. If you would move into a position past the end of the space on your table, wrap around and keep counting from the leftmost card again. Continue this process until you run out of cards.
 Space on table
^ Current position
Deal the top card to the current position:
1 2 3 4 5 6 7 8 9 Your deck
0 . . . . . . . . . Space on table
^ Current position
Move the current position right 3:
1 2 3 4 5 6 7 8 9 Your deck
0 . . . . . . . . . Space on table
^ Current position
Deal the top card:
2 3 4 5 6 7 8 9 Your deck
0 . . 1 . . . . . . Space on table
^ Current position
Move right 3 and deal:
3 4 5 6 7 8 9 Your deck
0 . . 1 . . 2 . . . Space on table
^ Current position
Move right 3 and deal:
4 5 6 7 8 9 Your deck
0 . . 1 . . 2 . . 3 Space on table
^ Current position
Move right 3, wrapping around, and deal:
5 6 7 8 9 Your deck
0 . 4 1 . . 2 . . 3 Space on table
^ Current position
And so on:
0 7 4 1 8 5 2 9 6 3 Space on table
Positions on the table which already contain cards are still counted; they're not skipped. Of course, this technique is carefully designed so it will never put two cards in the same position or leave a position empty.
Finally, collect the cards on the table so that the leftmost card ends up at the top of your deck, the card to its right ends up just below the top card, and so on, until the rightmost card ends up at the bottom of the deck.
The complete shuffle process (your puzzle input) consists of applying many of these techniques. Here are some examples that combine techniques; they all start with a factory order deck of 10 cards:
deal with increment 7
deal into new stack
deal into new stack
Result: 0 3 6 9 2 5 8 1 4 7
cut 6
deal with increment 7
deal into new stack
Result: 3 0 7 4 1 8 5 2 9 6
deal with increment 7
deal with increment 9
cut -2
Result: 6 3 0 7 4 1 8 5 2 9
deal into new stack
cut -2
deal with increment 7
cut 8
cut -4
deal with increment 7
cut 3
deal with increment 9
deal with increment 3
cut -1
Result: 9 2 5 8 1 4 7 0 3 6
Positions within the deck count from 0
at the top, then 1
for the card immediately below the top card, and so on to the bottom. (That is, cards start in the position matching their number.)
After shuffling your factory order deck of 10007 cards, what is the position of card 2019
?


THE MUMMY (1999) (Universal) Starring: Brendan Fraser, Rachel Weisz, John Hannah, Arnold Vosloo, Kevin J. O'Connor, Oded Fehr. Screenplay: Stephen Sommers. Producers: James Jacks and Sean Daniel. Director: Stephen Sommers. MPAA Rating: PG-13 (violence, adult themes, profanity) Running Time: 127 minutes. Reviewed by Scott Renshaw.
I am reminded of a favorite line from the Coen brothers' 1991 film BARTON FINK in this era of the wildly over-produced blockbuster. Barton Fink, an intellectual writer who has come to Hollywood in the early 1940s, reports to his studio boss that he's having trouble getting started on his first assignment, a wrestling film starring Wallace Beery. The baffled mogul responds, "Wallace Beery, wrestling picture...what do you need, a road map?" When it comes to genre film-making, there's an easy way to get the audience to respond the way you want them to respond, and there's the way writer/director Stephen Sommers chooses to craft his remake of THE MUMMY. Rarely has a film exterted so much narrative effort to say so little.
That narrative begins in 1719 B.C., where the Egyptian high priest Imhotep (Arnold Vosloo), after an affair with the Pharaoh's mistress, is buried alive to carry a curse on the world should he ever be awakened. Flash forward to 1923, where soldier of fortune Nick O'Connell (Brendan Fraser) discovers the lost city of Hamunaptra, legendary site of untold treasure and -- unbeknownst to anyone -- Imhotep's tomb. Flash forward again three years, where Egyptologist/librarian Evelyn (Rachel Weisz) and her ne'er-do-well brother Jonathan (John Hannah) learn that the jailed O'Connell knows the location of Hamunaptra, and win his freedom in exchange for his aid. Thus begins a journey to the lost city which results in the release of Imhotep, who emerges into the 20th century with a mission, an attitude and a whole lot of nasty supernatural powers.
Unlike the 1932 original, this version is more action-adventure than horror, focusing on derring-do over scaring-do. It certainly delivers its share of fight sequences; some of them are even fairly rousing, combining unique visual effects with narrow escapes and a dose of visual humor. The echoes of RAIDERS OF THE LOST ARK are obvious, but THE MUMMY may actually owe an equal debt to Sam Raimi's ARMY OF DARKNESS in its attempts at supernatural slapstick. Though nowhere near the level of the "Indiana Jones" films -- and indeed, not even necessarily at the level of ARMY OF DARKNESS -- THE MUMMY at times manages to deliver the goods.
The goals of a film like THE MUMMY should be fairly simple, yet Sommers manages to miss the point entirely over and over again. The plot summary above doesn't do remote justice to the sacks of exposition, extraneous plot threads and go-nowhere characters with which THE MUMMY is burdened. The film takes forever to set up the premise, with the exploration party finally reaching Hamunaptra at about the one hour mark. Unnecessary complications ensue with the inclusion of a rival team of explorers guided by a sniveling former colleague of O'Connell's (Kevin J. O'Connor), increasing the body count in the least efficient manner possible. The danger to Evelyn -- targeted by Imhotep as part of his plan to resurrect his former love -- is buried beneath the ten plagues of Egypt, which Imhotep conveniently controls to allow for some more cool special effects. There's no economy to THE MUMMY, no understanding of how to create a solid hero, a solid villain and a solid conflict and let the action roll.
It would be easy enough to snipe at the dopey dialogue and silly performances in THE MUMMY -- I'm still waiting for someone to convince me that Brendan Fraser has leading-man charm -- especially since it would deserve every snipe. There are a few clever touches, but mostly Sommers seems to show the typical blockbuster disdain for characters and situations which do anything more than set up the next effects shot. Yet such complaints miss the point that THE MUMMY isn't even a good brainless action film with its lumbering pacing. All the jaw-dropping visual trickery in the world doesn't help if a film wanders around in circles before pulling out its "A" material. Groan if you must, but THE MUMMY needed to be wrapped up much more tightly. The Mummy, horror picture...what do you need, a road map?
On the Renshaw scale of 0 to 10 plagues of Egypt: 4.
Visit Scott Renshaw's Screening Room http://www.inconnect.com/~renshaw/ *** Subscribe to receive new reviews directly by email! See the Screening Room for details, or reply to this message with subject "Subscribe".
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


Web Performance Monitoring:
Quit Being So Fast!
Who am I?
Gregory Mazurek
Lead Software Engineer at Gilt Groupe, 3.5 years
<EMAIL_ADDRESS>I also previously worked
in book publishing for 4 years.
What are we talking about?
Basics of performance monitoring.
How do we integrate performance at Gilt?
Why you should slow down, sometimes.
What aren't we talking about?
Native app performance
Magic
Tools
Synthetic Monitoring
Real User Monitoring (RUM)
Performance Timing API
Synthetic Monitoring
Hit your pages from servers remotely.
At Gilt, we use Rigor.com.
Real User Monitoring
Your users generate the data.
At Gilt, we use New Relic.
Performance Timing API
http://bit.ly/fastfastfast
Google Chrome Plugin that
visually displays data for the current website.
Over 400 performance lovers use it.
Gilt wants engineers to feel responsible for performance
PULL Strategy
We pulled them into our presentations.
We pulled them into Rigor and New Relic.
We pulled them into tutorial sessions.
It didn't work.
We were interfering with preexisting patterns for development rather than augmenting them.
So, we PUSHed.
PUSH Strategy
Performance reviewed during monthly KPI meetings.
Distribute company-wide reports.
We -1 commits that are not performant.
That works.
Engineers care about performance.
Our page speeds are getting lower.
Learn from us.
3 things you can do
today
to improve the performance of your website
tomorrow.
1. Make marketing tag performance visible
Use a tag management container (Signal).
Monitor performance of these tags.
Communicate their performance or lack thereof.
Marketing doesn't want to slow the user experience.
They want to know if they are.
2. Performance test new features before they go live
Product team feels responsibility.
Know what's going to happen before you deploy to prod.
Don't regress your current features.
3.
Get designers approval.
Designers care about performance as well.
What is the difference between these photos?
Nothing :)
But, what is the difference between these two images?
500 kb, the left larger than the right
3 Big Things:
Marketing tags.
Test changes.
Reduce image sizes.
So now you're thinking, "why should I bother to remember these three things?"
"There are so many other things I could do!
The CDN!
Pre-fetching assets!
No more CSS3 animations!"
"Shouldn't I just make my website fast.
Like, real fast!"
"All my users will know my site
as the fastest
in ALL THE LAND!"
And I'm thinking, "your users don't care...
...as much as you care."
Let's talk about books.
How could we measure
the performance of reading a book?
On The Client Side:
How quickly did the text load?
Were the images preloaded?
How soon does a page load upon flip?
On The Server Side:
How long did it take to write?
What was the editing time?
Was it 4-color or black/white?
How long did it take to ship to the store?
A hardcover book !=
trade paperback !=
mass market paperback !=
ebook
Differences in price, size, paper quality, and cover.
But,
hardcover book ~== another hardcover book
trade paper ~== another trade paper
mass market ~== another mass market
ebook ~== another ebook
What is the difference?
The Content.
If a book's format is like a web browser,
the content is like the HTML, JS, CSS.
There isn't an audience of readers
demanding a format
that doesn't exist.
They don't ask for an unknown,
not-yet-created, magic book format.
They want something that looks
and feels
like what they know.
What is the corrollary for the web?
Your user experience should be similar
to other user experiences.
We see this all the time with patterns.
You make it fast!
How fast?
Super fast!
But why?
Because studies say so! That makes sense!
Studies show that
increased page load times
lead to decreased conversion.
But, Gilt did a test a few years back
that proved the opposite.
We slowed
each page request by 1 second.
And, there was no change in conversion.
A lot of times when we think about performance,
we think only about ourselves.
But really, we should consider ourselves
hardcover books
and we should compare ourselves to other
hardcover books.
There's no point to being super fast
if it means losing essential features.
The point is to be reasonable and responsible.
If your goal is speed,
you're going to create a product
based on speed.
If your goal is a good user experience,
you might have to sacrifice a bit
on speed.
You have to decide what is right
for your users
based on your company's objectives.
But one thing is for sure:
if you're a hardcover book
you want to be at least as good as
all the other hardcover books.
Measuring your own site's performance is good.
Measuring your site's performance against your competition is better.
You can use the Google Chrome Extension
as a start:
http://www.bit.ly/fastfastfast
If your website looks, performs, and acts like a hardcover book, it'll be a hardcover book.
In publishing, do you know why we call
a large-format book
with lots of pictures
a "coffee-table" book?
Because they're heavy,
they're difficult to hold,
and they largely go unread.

In Summary
Know what kind of book format you want to be.
Be as fast as you need to be.
Be similar or better than your competition.
Don't regress in quality.
Don't only obsess over your numbers.
Obsess over your numbers as compared to your competition's numbers.
Thank you!
gmazurek@gilt.com


Seeking happiness in this context through 'pleasure' means going after highs. It's instinctive to do this but it's super unsustainable and often has a big low swing afterwards.Passion is when you're getting your happiness from being in 'flow' or being and feeling productive and engaged. This one is harder to get into but ultimately, the pay off tends to be better and there isn't such a low afterwards.The 'higher purpose' kind of happiness derives from being part of something bigger than yourself that has meaning to you or allows you to feel meaningful. This is considered the most sustainable.According to the author, we should spend the most time on the 'higher purpose' stuff, then on 'passion' and sometimes the 'pleasure' side.
I think this section is one of the most helpful ones for me. I have really struggled with resilience the last few months but feel like it has been geting better as I work through things and take more time for self-care.I struggled to get into the meditation exercise, mainly because of the format. It has kinda been like that for me throughout this book but I use the app Pacifica which has a bunch of guided meditations that use the same ideas.
This is kinda tricky to answer because I feel like there are lots of ways to answer and lots of values no matter how I answer but here are some of my core values in no particular order:
Really, it's kind of covered by my core values but things like equality are super important to me, not just for humans but other animals too.  Being gay and multiracial has made it more of a personal battle than it might have been otherwise and maybe that's why I feel particularly passionately about it.
The section about learning optimism and unlearning pessimism is probably the one that has grabbed me the most so far. I found it particularly interesting when it's mentioned that it takes three good things to make up for one bad one. I've always been aware that I give much more weight to the negative things in my life than the positives and had wondered why I couldn't just be happy with the great things! It's nice to know that it's not uncommon and that it makes sense.


Quickstart¶
In this chapter we will write a script to perform face recognition from a set of images. We assume, that the images are given in folders, which we will read and learn a face recognition model with them.
You can obtain the code in this section from:
Getting the data right¶
We aren’t doing a toy example, so you’ll need some image data. For sake of simplicity I have assumed, that the images (the faces, persons you want to recognize) are given in folders. So imagine I have a folder images
(the dataset!), with the subfolders person1, person2 and so on:
philipp@mango:~/facerec/data/images$ tree -L 2 | head -n 20
.
|-- person1
| |-- 1.jpg
| |-- 2.jpg
| |-- 3.jpg
| |-- 4.jpg
|-- person2
| |-- 1.jpg
| |-- 2.jpg
| |-- 3.jpg
| |-- 4.jpg
[...]
One of the public available datasets, that is already coming in such a folder structure is the AT&T Facedatabase, available at:
Once unpacked it is going to look like this (on my filesystem it is unpacked to /home/philipp/facerec/data/at/
, your path is different!):
philipp@mango:~/facerec/data/at$ tree .
.
|-- README
|-- s1
| |-- 1.pgm
| |-- 2.pgm
[...]
| `-- 10.pgm
|-- s2
| |-- 1.pgm
| |-- 2.pgm
[...]
| `-- 10.pgm
|-- s3
| |-- 1.pgm
| |-- 2.pgm
[...]
| `-- 10.pgm
...
40 directories, 401 files
That’s all that needs to be done.
 The Eigenfaces method for example is a Principal Component Analysis with a Nearest Neighbor classifier. The feature (which must be an AbstractFeature) and the classifier (which must be an AbstractClassifier) form a PredictableModel), which does the feature extraction and trains the classifier.
So! If you want to use the Fisherfaces method for feature extraction you would do:
from facerec.feature import Fisherfaces
from facerec.classifier import NearestNeighbor
from facerec.model import PredictableModel
model = PredictableModel(Fisherfaces(), NearestNeighbor())
Once you have created your model you can call compute(data,labels) to learn it on given image data and their labels. There’s nothing like a Dataset structure I enforce: You pass the images as a list of NumPy arrays (or something that could be converted into NumPy arrays), the labels are again a NumPy arrays of integer numbers (corresponding to a person).
def read_images(path, sz=None):
"""Reads the images in a given folder, resizes images on the fly if size is given.
Args:
path: Path to a folder with subfolders representing the subjects (persons).
sz: A tuple with the size Resizes
Returns:
A list [X,y]
X: The images, which is a Python list of numpy arrays.
y: The corresponding labels (the unique number of the subject, person) in a Python list.
"""
c = 0
X,y = [], []
for dirname, dirnames, filenames in os.walk(path):
for subdirname in dirnames:
subject_path = os.path.join(dirname, subdirname)
for filename in os.listdir(subject_path):
try:
im = Image.open(os.path.join(subject_path, filename))
im = im.convert("L")
# resize to given size (if given)
if (sz is not None):
im = im.resize(self.sz, Image.ANTIALIAS)
X.append(np.asarray(im, dtype=np.uint8))
y.append(c)
except IOError, (errno, strerror):
print "I/O error({0}): {1}".format(errno, strerror)
except:
print "Unexpected error:", sys.exc_info()[0]
raise
c = c+1
return [X,y]
Reading in the image data is then as easy as calling:
# Read in the image data:
[X,y] = read_images("/path/to/your/image/data")
The full example¶
#!/usr/bin/env python
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Philipp Wagner <bytefish[at]gmx[dot]de>.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of the author nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
 IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import sys, os
sys.path.append("../..")
# import facerec modules
from facerec.feature import Fisherfaces
from facerec.distance import EuclideanDistance
from facerec.classifier import NearestNeighbor
from facerec.model import PredictableModel
from facerec.validation import KFoldCrossValidation
from facerec.visual import subplot
from facerec.util import minmax_normalize
# import numpy, matplotlib and logging
import numpy as np
from PIL import Image
import matplotlib.cm as cm
import logging
def read_images(path, sz=None):
"""Reads the images in a given folder, resizes images on the fly if size is given.
Args:
path: Path to a folder with subfolders representing the subjects (persons).
sz: A tuple with the size Resizes
Returns:
A list [X,y]
X: The images, which is a Python list of numpy arrays.
y: The corresponding labels (the unique number of the subject, person) in a Python list.
"""
c = 0
X,y = [], []
for dirname, dirnames, filenames in os.walk(path):
for subdirname in dirnames:
subject_path = os.path.join(dirname, subdirname)
for filename in os.listdir(subject_path):
try:
im = Image.open(os.path.join(subject_path, filename))
im = im.convert("L")
# resize to given size (if given)
if (sz is not None):
im = im.resize(self.sz, Image.ANTIALIAS)
X.append(np.asarray(im, dtype=np.uint8))
y.append(c)
except IOError, (errno, strerror):
print "I/O error({0}): {1}".format(errno, strerror)
except:
print "Unexpected error:", sys.exc_info()[0]
raise
c = c+1
return [X,y]
if __name__ == "__main__":
# This is where we write the images, if an output_dir is given
# in command line:
out_dir = None
# You'll need at least a path to your image data, please see
# the tutorial coming with this source code on how to prepare
# your image data:
if len(sys.argv) < 2:
print "USAGE: facerec_demo.py </path/to/images>"
sys.exit()
# Now read in the image data. This must be a valid path!
[X,y] = read_images(sys.argv[1])
# Then set up a handler for logging:
handler = logging.StreamHandler(sys.stdout)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)
# Add handler to facerec modules, so we see what's going on inside:
logger = logging.getLogger("facerec")
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)
# Define the Fisherfaces as Feature Extraction method:
feature = Fisherfaces()
# Define a 1-NN classifier with Euclidean Distance:
classifier = NearestNeighbor(dist_metric=EuclideanDistance(), k=1)
# Define the model as the combination
model = PredictableModel(feature=feature, classifier=classifier)
# Compute the Fisherfaces on the given data (in X) and labels (in y):
model.compute(X, y)
# Then turn the first (at most) 16 eigenvectors into grayscale
# images (note: eigenvectors are stored by column!)
E = []
for i in xrange(min(model.feature.eigenvectors.shape[1], 16)):
e = model.feature.eigenvectors[:,i].reshape(X[0].shape)
E.append(minmax_normalize(e,0,255, dtype=np.uint8))
# Plot them and store the plot to "python_fisherfaces_fisherfaces.pdf"
subplot(title="Fisherfaces", images=E, rows=4, cols=4, sptitle="Fisherface", colormap=cm.jet, filename="fisherfaces.png")
# Perform a 10-fold cross validation
cv = KFoldCrossValidation(model, k=10)
cv.validate(X, y)
# And print the result:
print cv
Results¶
Since the AT&T Facedatabase is a fairly easy database we have got a 95.5% recognition rate with the Fisherfaces method (with a 10-fold cross validation):
philipp@mango:~/github/facerec/py/apps/scripts$ python simple_example.py /home/philipp/facerec/data/at
2012-08-01 23:01:16,666 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 1/10.
2012-08-01 23:01:29,921 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 2/10.
2012-08-01 23:01:43,666 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 3/10.
2012-08-01 23:01:57,335 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 4/10.
2012-08-01 23:02:10,615 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 5/10.
2012-08-01 23:02:23,936 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 6/10.
2012-08-01 23:02:37,398 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 7/10.
2012-08-01 23:02:50,724 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 8/10.
2012-08-01 23:03:03,808 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 9/10.
2012-08-01 23:03:17,042 - facerec.validation.KFoldCrossValidation - INFO - Processing fold 10/10.
k-Fold Cross Validation (model=PredictableModel (feature=Fisherfaces (num_components=39), classifier=NearestNeighbor (k=1, dist_metric=EuclideanDistance)), k=10, runs=1, accuracy=95.50%, std(accuracy)=0.00%, tp=382, fp=18, tn=0, fn=0)
And we can have a look at the Fisherfaces found by the model:


--- layout: post status: publish published: true title: Ruby, Gruff, Rmagic, imagemagick, ghostscripts, fonts, ARG!!!! author: display_name: ian login: ian email<EMAIL_ADDRESS>url: http://iancwill.com/blog author_login: ian author_email<EMAIL_ADDRESS>author_url: http://iancwill.com/blog wordpress_id: 181 wordpress_url: http://iancwill.com/blog/?p=181 date: '2014-07-26 15:33:48 -0600' date_gmt: '2014-07-26 19:33:48 -0600' ---
I'm just trying to graph some bank balance history with ruby, because apparently all personal finances apps for OSX suck. Ruby is way nicer than python, although it doesn't have numpy. But numpy arrays aren't as great with heterogenous data, so I'd have to loop through it all anyway. So why not use ruby, surely I can make a line graph easily?
Theoretically gruff solves the problem, if you can get rmagick installed right.
gem install rmagick
All is well.
But when I run my program...
iMac:simple-banking$ ruby quick-test.rb
/usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:1142:in `annotate': unable to read font `/usr/local/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1126: `(null)' (Magick::ImageMagickError)
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:1142:in `annotate_scaled'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:888:in `draw_no_data'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:445:in `draw'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/line.rb:174:in `draw'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:424:in `write'
from /Users/will/src/simple-banking/play.rb:46:in `graph_balance'
from quick-test.rb:4:in `'
^C
These guys propose a solution: http://rubyjunction.us/issues-with-imagemagick----unable-to-read-font, who references https://garrickvanburen.com/archive/installing-imagemagick-rmagick-on-os-x-10-6-snow-leopard/. But that's all pretty overkill. I have home-brew set up, with imagemagick and ghostscript and rmagick and everything installed. I don't want to run some guy's script to re-install everything outside of home-brew.
Finally I find this http://superuser.com/questions/324980/how-do-you-re-install-a-package-with-homebrew-mac, which helpfully includes the note 'Some tools will complain unless the ghostscript fonts are installed to /usr/local/share/ghostscript/fonts'. Yes! That is my problem! But reinstalling imagemagick with fontconfig didn't solve that problem.
Then this guy http://stackoverflow.com/questions/7412208/imagemagick-and-os-x-lion-trouble suggests building ImageMagick from source with the --with-gs-font-dir=/usr/local/share/ghostscript/fonts. Does that tell imagemagick where the fonts are? Or does it put fonts there? I'm trying...
brew reinstall imagemagick --with-fontconfig --with-gs-font-dir=/usr/local/share/ghostscript/fonts
...not sure if home-brew passes along the arguments like that. Appears not.
Wow, well, finally something worked. Who knows how. I still have no fonts in /usr/local/share/ghostscript. I suspect the step that finally fixed things was, after installing imagemagick --with-fontconfig, uninstall the rmagick gem and re-installing it.


Cricket: Australian bowlers bounce back from slow start to dismiss Pakistan for 240
by The New DailyAustralia’s bowling attack has rebounded from a slow start to dismiss Pakistan for 240 late on day one of the First Test at the Gabba on Thursday.
Having gone to lunch wicketless as Pakistan reached 0-75, the much-vaunted Australian bowling attack took 4-3 in a seven-over blitz on Thursday afternoon.
Pakistan openers Azhar Ali and Shan Masoon had become the first tourists to bat through the opening session of a Test at the Gabba without loss, but momentum soon switched dramatically.
Josh Hazlewood bagged two wickets and Pat Cummins and Mitchell Starc each claimed one, before spinner Nathan Lyon also joined the party to leave the tourists reeling at 5-94.
Cummins finished with figures of 3-60 in his first home Test since claiming the mantle of the world’s best bowler.
He was fortunate to have Muhammad Rizwan caught behind after tea off what appeared to be a no-ball.
English third umpire Michael Gough watched several replays of the Aussie quick’s foot landing on the line, before declaring it a fair delivery and Muhammad was sent on his way.
Starc also had 4-52 and went within a whisker of a hat-trick, before claiming the final wicket on what proved to be the final ball of the opening day.
The left-arm quick showed again why he is the world’s most dangerous bowler against tailenders.
He produced a ripper to clean up Yasir Shah via a late-inswinging yorker with the second new ball, before having Shaheen Shah Afridi caught behind next ball.
The left-armer was unlucky not to claim a hat-trick, with 16-year-old debutant Naseem Shah inside edging a ball past his stumps to deny Starc.

It ended a resolute 134-ball innings from the Pakistani No.4, with his 76 keeping the tourists in the battle in the last session.
Just 13,561 paying spectators watched Pakistan battle a patient Australian bowling attack on Thursday.
Not since 2015 has the Gabba hosted the first Test of the summer against a side other than England, when a day-one crowd of 16,181 watched Australia and New Zealand.
Pakistan is attempting to claim a first Test win in Australia since 1995 in this two-Test series.
It has never won a series in the country from 12 attempts, nor won at the Gabba, with the Aussies unbeaten at the ground against any team in Test cricket since 1988.
-with AAP


I am a budding entrepreneur, student and a web developer. I love the internet, technology, and building beautiful things. I love to ideate, innovate and invent new solutions for various domains.
Bangalore, India.
Google Associate Cloud Engineer.
Because programming is awesome and programming for the internet is even more awesome.
AgriTech Innovations and Research.
Developing ecommerce websites and singing.
Swayam Krishi Machineries and Tools Private Limited. Oct 2017 - Present
Aqsa India Group of Companies. Apr 2018 - Present
eMudhra Limited. Apr 2017 - Present
Amaze Inc. Jun 2019 - Sep 2019
Bachelor of Technology - Computer Science
2017 - 2021
Computer Science
2015 - 2017
Computer Science
2012 - 2015
Issued Oct 2019 ID: N3A44BLFXR89
Issued Oct 2019 ID: KWQWB8MLVRMA
Issued Oct 2019 ID: NP9NJJUNDKLJ
Issued Oct 2019 ID: NKAYP9M8MZXB
Issued Sep 2019 ID: CVJ264P5BAGF
Issued Sep 2019 ID: WFKFR7JDWCLP
Youth for Parivarthan Oct 2016 - Present
Start-Ups Endorsed by Chaitanyaa K K.
Team Building Endorsed by Chaitanyaa K K.
Trainer
An absolute pleasure to know Ashutosh. One of the few I have come across, deeply focused, dedicated, disciplined and above all responsible. Any task entrusted to Ashutosh will be done in the best possible manner. Wishing him all the best.
Recognized Startup under DIPP Startup India ● Govt. of Karnataka Startup Awardee ● Best Paper Award in The National Conference on Cognitive Computing 2019 ● Participated in the National Workshop on Cryptology 2019 ● Participated in Basic Pranic Healing Course ● Access the Bars ● Grand Master in SIP Academy.
A Study on Applications of Cognitive Computing in the Internet of Things.
IEEE Computer Society ● Institute of Electrical and Electronic Engineers ● Cryptology Research Society of India
Building IT Infrastructure from Scratch. ● Live Weather and Pollution Tracking.


Recently played tracks
-
Tony Vipros
Hi,
I've been very happy with Synergy, and have trashed iscrobbler in favour of Synergy's last.fm support. However i've noticed a feature of iscrobbler that Synergy doesn't have; the ability to use the recently played playlist to submit tracks that are played on my iPod while it's not connected to the computer.I rarely play tracks in iTunes anymore and mainly use my iPod in my car or with headphones, and these tracks are not being submitted by Synergy. I was wondering if this is a feature that might be included in the next Synergy update.
Thanks
-
Greg Hurrell
I do plan to implement this at some point in the future:
http://wincent.com/a/support/bugs/show_bug.cgi?id=517
Right now working on documentation.
-
zerock
awesome, i want this feature, as i use both iscrobbler and synergy
-
Eto
Bump! Any news on getting this feature into the Synergy code base? This is the one feature I'm really missing.
-
Greg Hurrell
This is going to be a post-Leopard thing seeing as I will be using Leopard as an excuse to start introducing post-Jaguar features (Synergy was released when Jaguar was the latest and greatest and I've maintained compatibility with Jaguar ever since then).
So I'll continue to maintain the Jaguar branch with bug fixes for users still running the now-ancient version of the OS, but feature development will occur in new versions which rely on newer releases of Mac OS X.
To implement this feature I'll be using a Core Data backing store, which is a Tiger-only thing. This and other stuff will start to trickle out when I start shipping the new builds, which will happen once Leopard goes public (next month, supposedly).
Reply
This topic is now closed.


tencyclopedia
Toggle navigation
Home
About
Contact Us
Newsletter
Top 10 Hindi Songs - March 2016
1. Kar Gayi Chull
Movie : Kapoor & Sons
Artist : Badshah, Fazilpuria, Sukriti Kakar & Neha Kakkar
2. Jabra Fan
Movie : Fan
Artist : Nakash Aziz
3. Sanam Re
Movie : Sanam Re
Artist : Mithoon ft. Arijit Singh
4. Soch na Sake
Movie : Airlift
Artist : Amaal Mallik, Arijit Singh & Tulsi Kumar, Kumaar
5. High Heels Te Nachche
Movie : Ki & Ka
Artist : Meet Bros ft. Jaz Dhami and Aditi Singh Sharma
6. Yeh Fitoor Mera
Movie : Fitoor
Artist : Arijit Singh
7. Rock Tha Party
Movie : Rocky Handsome
Artist : Bombay Rockers (Navtej Singh Rehal,Thomas Weinholt Sardorf,Jasun Bosen Barnewitz)
8. Gerua
Movie : Dilwale
Artist : Arijit Singh & Antara Mitra
9. Dil Cheez Tujhe De Di
Movie : Airlift
Artist : Ankit Tiwari & Arijit Singh
10. Mar Jaayen
Movie : Loveshhuda
Artist : Atif Aslam
×
Enter Your E-mail Id below to Subscribe for Newsletters every Month!!
Name
Email-id


Log into foauth.org
If you've forgotten your password, you can instead log in using one of the services you've already authorized. As long as you use an account that's already on file here, we'll let you in long enough to change your password.
{% extends 'base.html' %} {% block nav %}{{ nav('login') }}{% endblock %} {% block content %}
If you've forgotten your password, you can instead log in using one of the services you've already authorized. As long as you use an account that's already on file here, we'll let you in long enough to change your password.


Forest of Dean adventures 24 Nov 2019, 22:13 by Zoe Chamberlain, https://www.facebook.com/LifestyleZoeChamberlain/?fref=ts Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)1 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)2 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)3 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)4 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)5 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)6 of 32 Feeding the donkeys at Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)7 of 32 Puzzlewood in the Forest of Dean (Image: Adam Fradgley / Exposure)8 of 32 Puzzlewood Cottages in the Forest of Dean9 of 32 Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)10 of 32 Leaf peeping at Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)11 of 32 Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)12 of 32 Sculpture Trail at Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)13 of 32 Sculpture Trail at Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)14 of 32 Leaf peeping in the Forest of Dean (Image: Adam Fradgley / Exposure)15 of 32 Picnic from Forest Deli in Coleford, Forest of Dean (Image: Adam Fradgley / Exposure)16 of 32 Forest Deli in Coleford, Forest of Dean17 of 32 Forest Deli in Coleford, Forest of Dean18 of 32 Forest Deli in Coleford, Forest of Dean (Image: Adam Fradgley / Exposure)19 of 32 Beechenhurst in the Forest of Dean (Image: Adam Fradgley / Exposure)20 of 32 Adventure Challenge at Bracelands, Forest of Dean21 of 32 Adventure Challenge at Bracelands in the Forest of Dean (Image: Adam Fradgley / Exposure)22 of 32 Pedalabikeaway in the Forest of Dean23 of 32 Pedabikeaway in the Forest of Dean (Image: Nanette Hepburn)24 of 32 Pedabikeaway in the Forest of Dean (Image: Nanette Hepburn)25 of 32 Clearwell Caves in the Forest of Dean26 of 32 Clearwell Caves in the Forest of Dean27 of 32 Clearwell Caves in the Forest of Dean (Image: Adam Fradgley / Exposure)28 of 32 Clearwell Caves in the Forest of Dean (Image: Adam Fradgley / Exposure)29 of 32 Clearwell Caves in the Forest of Dean (Image: Adam Fradgley / Exposure)30 of 32 Krazy Golf and Sparky's Diner in the Forest of Dean (Image: Adam Fradgley / Exposure)31 of 32 Krazy Golf and Sparky's Diner in the Forest of Dean (Image: Adam Fradgley / Exposure)32 of 32


I am an avid programmer who doesn't like coffee (suspicious right?). I am also a freelance CGI artist and graphic designer. Check out my blog for the latest posts and tutorials about AI | Machine Learning | Programming | CGI | Science.
If you have a project in mind, or would like to contact me, Lets talk! Drop a mail at<EMAIL_ADDRESS>Blog GithubSubscibe to get updates about latest posts!


Electoral officer dies in boat accident - The Nation Newspaper
By James Azania, Lokoja
THE Kogi State Resident Electoral Commissioner (REC), Prof. James Apam, has confirmed the death of an ad-hoc Electoral Officer (EO) in a boat accident in Ibaji Local Government Area of the state.
The deceased (names withheld) was on election duty on Saturday when he met his untimely death. The boat he and others were travelling in capsized.
According to the REC, the deceased ad-hoc staff was a student of the Kogi State Polytechnic, Lokoja, engaged for the governorship election in the state.
He said efforts were already being made to convey the body of the deceased ad-hoc staff to Lokoja, the state capital.
Meanwhile, the results of the Kogi State governorship election were still being announced at the governorship election collation centre at the state headquarters of the Independent National Electoral Commission (INEC), in Lokoja, the state capital, as at the time of filing this report.
Results from 12 local government areas have so far been announced out of twenty one local government areas of the state.
The governorship election has stirred controversy among the political class as tension mounts in the state ahead of final declaration of the results.


Mission: 10 Million Meals is an endeavor to deliver 10 million mid-day meals to schoolchildren in one year. All it takes is 2,000 donors committing to donate ₹2,000 ($30) every month and 43,000 hungry children can be fed one hot meal every school day in 19 states across India.
Education is a fundamental right for all children, but girls from impoverished, illiterate families are mostly denied this right in India. By the time they reach adolescence, 40% are out of school, kept at home doing household chores. Join Mission: Every Girl in School and support the education of thousands of girls. ₹600/month can make a huge difference to one girl's life.
Mission Oxygen is an initiative of the Democratic People Foundation. We have partnered with United Way India to enable people from outside India to contribute to the cause.


Redash on Docker Connect to Database Over SSH Tunnel
Redash is an application for data visualization from a database and is Open Source.
Currently Redash can be run directly on several cloud providers using the Redash image provided, including Docker. Please visit the official website for more information
You can install Redash in a local environment (laptop or personal pc) and you can also connect it to a database in the local environment as well a database on a public server. However, usually databases that are on public servers are not open to the public, therefore to connect to the database it is necessary to create a tunnel to the database via SSH.
To create a tunnel directly from the terminal or use bash, use the following syntax:
$ ssh -L 3389:<IP_ADDRESS>:3306<EMAIL_ADDRESS>Or if you want to use SSH Config, you can use the following configuration:
Host devx-sibunglon
Hostname devx.sibunglon.com
User user
LocalForward <IP_ADDRESS>:3389 <IP_ADDRESS>:3306
-) devx-sibunglon : the hostname used when connecting to the server. To connect to the server, just use the command ssh devx-sibunglon
.
-) 3389 : port database running in local environment after successfully connecting to server using SSH
-) 3306 : database port running on the server
-) user : the username used goes to the server via SSH
-) devx.sibunglon.com : hostname server
After successfully connecting to the server via SSH, based on the previously created SSH tunnel, the database connection in Redash can be configured as follows:
-) host : host.docker.internal
-) Port : 3389
-) And several configurations can be adjusted to the database configuration on the server, such as database name, database user and password.


 And, in parting from you now, Thus much let me avow- You are not wrong, who deem That my days have been a dream; Yet if hope has flown away In a night, or in a day, In a vision, or in none, Is it therefore the less gone? All that we see or seem Is but a dream within a dream.
This is a paragraph.
HTML can embed programs written in a scripting language such as JavaScript, which affects the behavior and content of web pages. Inclusion of CSS defines the
look and layout of content. The World Wide Web Consortium (W3C), maintainer of both the HTML and the CSS standards, has encouraged the use of CSS over
explicit presentational HTML since 1997.


Vigenere Cipher
Encryption
Plaintext:
Key:
Encrypt
Decryption
Ciphertext:
Key:
Decrypt
Note: support for uppercase characters, numbers, and symbols will be added whenever I feel like it
Output:


Enumeration
SnapshotSupport
public enum SnapshotSupport
A namespace for the methods supporting to generate snapshot from scenarios.
Relationships
Nested Types
SnapshotSupport.ImageFormat
The image format of the exported file.
Methods
data(for:on:format:scale:keyWindow:viewPreprocessor:handler:)
public static func data(
for scenario: Scenario,
on device: SnapshotDevice,
format: ImageFormat,
scale: CGFloat = UIScreen.main.scale,
keyWindow: UIWindow? = nil,
viewPreprocessor: ((UIView) -> UIView)? = nil,
handler: @escaping (Data) -> Void
)
Generates an image file data that snapshots the given scenario.
Parameters
| Name | Type | Description |
|---|---|---|
| scenario | Scenario |
A scenario to be snapshot. |
| device | SnapshotDevice |
A snapshot environment simulating device. |
| format | ImageFormat |
An image file format of exported data. |
| scale | CGFloat |
A rendering scale of the snapshot image. |
| keyWindow | UIWindow? |
The key window of the application. |
| handler | @escaping (Data) -> Void |
A closure that to handle generated data. |
| viewPreprocessor | ((UIView) -> UIView)? |
A closure to preprocess scenario UIView before generating snapshot. |
image(for:on:scale:keyWindow:viewPreprocessor:handler:)
public static func image(
for scenario: Scenario,
on device: SnapshotDevice,
scale: CGFloat = UIScreen.main.scale,
keyWindow: UIWindow? = nil,
viewPreprocessor: ((UIView) -> UIView)? = nil,
handler: @escaping (UIImage) -> Void
)
Generates an UIImage
that snapshots the given scenario.
Parameters
| Name | Type | Description |
|---|---|---|
| scenario | Scenario |
A scenario to be snapshot. |
| device | SnapshotDevice |
A snapshot environment simulating device. |
| scale | CGFloat |
A rendering scale of the snapshot image. |
| keyWindow | UIWindow? |
The key window of the application. |
| handler | @escaping (UIImage) -> Void |
A closure that to handle generated |
| viewPreprocessor | ((UIView) -> UIView)? |
A closure to preprocess scenario UIView before generating snapshot. |


Skip to main content
ATP
Toggle navigation
Snake
2048
Logout
Connecting
Thank you for joining in our
Anonymous Testing Platform (ATP)
Test Group.
ATP needs your location information. Please allow your browser to detect and provide device's location information.
If the status on the top-right is gray "Offline", please refresh this page to reconnect to ATP.
ATP provides serveral tiny games for you. Have fun. =)
Snake
2048
Direction control:
Arrow Keys
Play/Pause Game:
ESC
Start Game
Play
Pause


Day 14
Praise and exaltation to the Lord our God
14
You, our Lord, are worthy of the highest of praises. You are clothed in perfect light. Truth is as a belt upon Your waist. You are Just in all Your ways, and the only perfect love that exists is from You. One day You will receive the honor and praise that You deserve.By Thy Spirit, give Your saints a voice of Praise. One voice that drowns out the sounds of this world and rises into the heavens. A song of praise that makes creation jealous to join us. A song of Adoration that echoes through the forests, across the prairies, upon the mountains, and in the halls, homes, and offices of every town and city.
Let all who fear Your name join together in worship. Let the testimonies of the redeemed ring out one and then another, and then another, until the whole world knows of Your greatness and glory. Fill us with such bold praise to prepare for Your return. Then on that day, that wonderful day of victory, creation will rejoice with us for it has eagerly longed for the revealing of the sons of God, for then it will be set free from its bondage. Erupt, erupt oh springs of living water within our souls. Let us sing a new song unto the King of Glory. For He is worthy! Amen (Psalm 65:1; Romans 8:19-23; Psalm 40:3; Revelation 5:9)


Let the user install a device wallpaper located in the 'Wallpaper.js' script in the project root folder.
Example - Install Wallpaper
var walljs = `
function OnStart()
{
wall = app.CreateWallpaper();
var sw = app.GetScreenWidth( "real" )
var sh = app.GetScreenHeight( "real" );
img = app.CreateImage( "/Sys/Img/StarField.jpg", sw, sh, "px,wallpaper" );
}`;
function OnStart() {
app.WriteFile( "Wallpaper.js", walljs );
app.InstallWallpaper( "this", "this" );
app.Exit();
}


Connect to COMPARATIVE LITERATURE-BF in the Course Register.
COMPARATIVE LITERATURE
COML-057 GREAT BOOKS OF JUDAISM 1 CU BENJAMIN FRANKLIN SEMINARS ARTS & LETTERS SECTOR 401 SEM TR 3-4:30PM WILL 301 STERN D CROSS LISTED: JWST-151 NELC-156 RELS-027 MAX W/CROSS LIST: 30 COML-255 RUSSIAN THINKERS 1 CU BENJAMIN FRANKLIN SEMINARS 401 SEM TR 1:30-3PM WILL 216 VINITSKY I ALL READINGS AND LECTURES IN ENGLISH CROSS LISTED: RUSS-261 SECTION MAX: 10 MAX W/CROSS LIST: 20 COML-260 TRANSLATING CULTURES 1 CU BENJAMIN FRANKLIN SEMINARS CROSS CULTURAL ANALYSIS ARTS & LETTERS SECTOR 401 SEM TR 12-1:30PM WILL 27 HELLERSTEIN K ALL READINGS AND LECTURES IN ENGLISH CROSS LISTED: GRMN-264 JWST-264 MAX W/CROSS LIST: 20 COML-333 DANTE'S DIVINE COMEDY 1 CU BENJAMIN FRANKLIN SEMINARS 401 SEM TR 1:30-3PM WILL 27 BROWNLEE K CROSS LISTED: ITAL-333 SECTION MAX: 7 MAX W/CROSS LIST: 23
Return to Course & Room Roster
Comments to:
Office of the University Registrar
University of Pennsylvania
Room 221 Franklin Building
3451 Walnut Street
Philadelphia, PA 19104-6291
Phone:<PHONE_NUMBER> Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>Updated: Sat Jan 17 08:30:02 2015


{% extends "base.html" %} {% load staticfiles %} {% block extra_container %}
It is very simple. Just take your iPhone or iPad and train a new detector using the DetectMe app
You decide if you want other people viewing and using your detectors. That way your work can help others with their tasks!
You also can use others public detectors. For example, take a cup detector and extend it to recognize the cups you care about. It's very easy!


This tests a basic WBMP image that has been corrupted with a binary editor.
The WBMP decoder currently only deals with a well-defined type 0 WBMP.
Basic image
Good image - width field is multi-byte and complete
Good image - height field is multi-byte and complete
Bad image - width field is multi-byte but incomplete
Bad image - height field is multi-byte but incomplete


Configuration Reference¶
Setting up a settings file¶
GRU is configured using a YAML settings file. see the Quick Start guide to see how make sure GRU picks up and uses the settings file we’ll be providing.
At the most basic level, we need to let GRU know of the following:
- Which inventory provider we want to use. EC2 and ElasticSearch come out of the box, but you can write your own.
- Which authentication backend you want to use. Dummy (no auth at all) and LDAP authentication are provided, but, again, feel free to write your own.
- How you want to display your inventory: Which metadata should be visible and where
- Which external plugins you want to load, including any configuration they may require
Below is the full list of configuration parameters that GRU supports, including all the builtin plugins.
You can check out the examples/
directory on Github for complete examples.
All basic configuration parameters¶
For brevity, nested keys will be denoted using a period (.
) i.e.:
foo.bar = <some value>
Is equivalent to the following YAML structure:
---
foo:
bar: <some value>
flask.debug
¶
boolean whether to start the underlying flask server in debug mode or not. This will affect the logging verbosity
flask.secret_key
¶
string used to encrypt signed cookies, used by the session system. Any random value will do.
flask.session_seconds
¶
integer how long in seconds to keep user sessions.
Defaults to 604800
(7 days)
plugins.directories
¶
array of strings list of directories that contain GRU plugins.
Defaults to ['~/.gru-plugins', '/opt/gru-plugins']
See Loading plugin for more info
plugins.modules
¶
array of strings list of module names to import and search for plugins
See Loading plugin for more info
authentication.backend
¶
string class name for the authentication backend to use.
Out of the box, you can use either gru.contrib.auth.backends.LdapBackend
or gru.contrib.auth.backends.DummyBackend
.
inventory.provider
¶
string class name of the inventory provider to use.
Out of the box, you can use either gru.contrib.inventory.providers.ElasticSearchProvider
or gru.contrib.inventory.providers.EC2Provider
.
inventory.group_by
¶
array of dictionaries
Describes the list of Host attributes to group the inventory by. This is used by the host breakdown screens. Common fields to group hosts by may include: data center (or AWS region), environment, role and operating system.
Each dictionary should provide at least the field
key, which corresponds to a Host attribute name, and an optional
title
key which will be used by the UI to give this field a human readable name.
Example:
---
inventory:
group_by:
- field: os
title: Operating System
- field: dc
title: Data Center
- field: role
...
This will appear in the UI under the “Browse Inventory” drop-down.
inventory.host_display_name_field
¶
string
A name for a Host attribute that will be used as the host’s display name in various places in the UI.
Examples: "hostname"
, "instance-id"
inventory.host_table_sort_by
¶
string
A name for a Host attribute that will be used when sorting lists of hosts, on supporting Inventory Providers. Out of the box, this is currently only supported by the ElasticSearch provider.
Examples: "hostname"
, "instance-id"
inventory.host_table_fields
¶
array of dictionaries
Describe the list of Host attributes used when showing a table of multiple hosts. Common fields will generally include: role, data center, OS, IP address, # of cores, memory GBs, etc.
Each dictionary should provide at least the field
key, which corresponds to a Host attribute name, and an optional
title
key which will be used by the UI to give this field a human readable name.
Example:
---
inventory:
host_table_fields:
- field: os
title: Operating System
- field: dc
title: Data Center
- field: role
- field: num_cores
title: "# Of Cores"
- field: memory_gb
title: Memory GB
- field: ipaddress
title: IP address
...
The field names may vary depending on your Inventory Provider.
inventory.host_info_fields
¶
array of dictionaries
Describe the list of Host attributes used when a single host. Other fields will be hidden behind a “show more...” button. Common fields will generally include: role, data center, OS, IP address, # of cores, memory GBs, etc.
Each dictionary should provide at least the field
key, which corresponds to a Host attribute name, and an optional
title
key which will be used by the UI to give this field a human readable name.
Example:
---
inventory:
host_info_fields:
- field: os
title: Operating System
- field: dc
title: Data Center
- field: role
- field: num_cores
title: "# Of Cores"
- field: memory_gb
title: Memory GB
- field: ipaddress
title: IP address
...
The field names may vary depending on your Inventory Provider.
LDAP authentication backend configuration parameters¶
Here’s what an LDAP configuration might look like:
authentication:
backend: gru.contrib.auth.backends.LdapBackend
config:
server: <IP_ADDRESS>
port: 3268
bind_user: 'CN=gru_bind_user,OU=ops,DC=example,DC=com'
bind_password: 'binduserpassword'
user_query: '(sAMAccountName=$username)'
authentication.config.user_query
¶
string
LDAP query to perform when searching the logging in user.
You can use the $username
interpolation token which will be replaced by the value provided by the logging in user.
Configuration Parameters for the built-in ElasticSearch inventory provider¶
inventory.config.hosts
¶
array of strings
A list of urls to use when connecting to the ElasticSearch cluster.
inventory.config.timeout_seconds
¶
integer
Amount of time in seconds before timing out a request to an ElasticSearch query
Defaults to 30
.
Configuration Parameters for the built-in EC2 inventory provider¶
inventory.config.connections
¶
array of dictionaries
Every connection to the EC2 API is represented by an entry in the connections array.
For each connection, specify the following:
inventory.config.accounts
- array the AWS accounts we want to connect to.
inventory.config.accounts.[].aws_access_key_id
- string optional the AWS access key ID to connect with. If omitted, it will be searched in your filesystem and environment variables in the order listed in boto’s documentation
inventory.config.accounts.[].aws_secret_access_key
- string optional the AWS secret access key to connect with. If omitted, it will be searched in your filesystem and environment variables in the order listed in boto’s documentation
inventory.config.accounts.[].regions
- array of string optional The AWS regions we wish to connect and pull inventory from. Example: ['us-east-1', 'us-west-2']
Example:
---
provider: gru.contrib.inventory.providers.EC2Provider
config:
accounts:
- aws_access_key_id: AKXXXXXXXXXXXXXXXXXX
aws_secret_access_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- regions: ['us-east-1', 'us-west-2']


If you go to Kelsey Haberin’s birthday you will notice one thing missing: balloons. While most people think that balloons make the party, for Kelsey, they're her worst nightmare.
The junior Communications major from Pennington, NJ has an intense fear of balloons. Like most phobias, Kelsey developed her extreme anxiety of balloons as a child. “It was my 4th birthday,” she explained. Her mother had covered the walls of their house with many colorful balloons for the big day. However, when someone open a door, a balloon popped right above Kelsey’s head, sending her into a shock.
The fear of balloons is a verified condition known as globophobia. When Kelsey first heard the term globophobia from a friend, her response was, “I’m afraid of the earth? What?” And Kelsey isn’t alone; there are many people that suffer from globophobia. In fact, there are Facebook pages and Tumblr blogs dedicated to raising awareness. When informed that Oprah Winfrey also had globophobia Kelsey laughed, “it’s like we’re the same person.”
Her fear and anxiety makes her uncomfortable, and noticeably affects her behavior. At parties she avoids balloons like the plague. When she sees a child playing with a balloon she becomes extremely anxious, usually working herself up and eventually breaking out in hives. While children often outgrow their phobias, Kelsey’s fear has followed her into adulthood. But as she’s become older it’s become easier to manage her globophobia. “Its not like I’m going to be going to Chuck E. Cheese birthday parties any time soon,” she jokes.
Relatives and friends have differing reactions to Kelsey’s globophobia. When asked what her parents think about her fears Kelsey said, “They are understanding to a degree. Its not like they bring home balloons to tease me. But when I have a panic attack my mom’s like, ‘you’re not my daughter.’ ” Tyler Hoppe, Kelsey’s childhood friend of since the 3rd grade, is a bit more accommodating. “Since the fear only applies to latex balloons, I must always spend a few extra dollars on the metallic balloons when I (rarely) have to buy balloons for her.”
Kelsey’s least favorite thing about balloons is when they pop. The loud noise startles her and often sends her into a panic. But, for her, a close second is when someone rubs his or her fingers on a balloon. She attempted to demonstrate by petting an imaginary balloon with her fingers while making a noise that was a cross between a pterodactyl screech and nails on a chalkboard.
The trick is surrounding herself with people who know and understand her fears. “Its very rare to come across balloons in the wild,” she rationalized. But middle school was the hardest for Kelsey to get through. “There would be balloons in the hallways for pep rallies and stuff. Definitely at pep rallies,” she recalls, “because everyone was pumped up and they’re popping balloons, and I’m like, ‘guys we don’t need to do this. We have enough pep.’ And they would just be breaking them all. It was the worst.”
Unlike most people, Kelsey has yet to personally meet someone with the same fear as her. When asked if she thinks her fear is irrational she chuckled and shook her head. “I think it’s a silly one. It’s just funny. Like people are afraid of spiders and that makes sense, but balloons?” she shrugs. “It makes me unique.”
Grace: Hi Michael. I appreciate you sitting down with me and explaining your six-word memoir.
Michael: It’s my pleasure.
Grace: Do you mind if I record this session?
Michael: Not at all.
Grace: Some people don't understand your memoir, "Hayley Williams. Jeremy Davis. Taylor York". Can you explain the reference?
Michael: The three names are simply the names of the members of Paramore. Their music has become such an intricate part of my life, that the music they create sums up my life in a clear and succinct way.
Grace: When did you start listening to Paramore?
Michael: I started listening to Paramore in the eighth grade. They released their second album, RIOT!, in 2007 which included singles such as “That's What You Get”, “Misery Business”, and “crushcrushcrush”.
Grace: What is your favorite song and why?
Michael: This is always the hardest question about Paramore. I could never pick my favorite song, because they all have a distinct message and resonant with me in a different way. My favorites to hear live are “Let the Flames Begin” and “Emergency”. If they play an acoustic show, I love to hear “Misguided Ghosts”. But a favorite one as a whole, that's impossible.
I can't quite explain why I especially love them, at least not to someone else. Perhaps because they have their own style but still have so much diversity. But the easiest way for me to explain my love for Paramore is that when I listen to them I feel at home, and no other band or singer has done that for me before.
Grace: If you could take one Paramore lyric and apply it to your life, what would it be?
Michael: "It's just a spark, but it's enough to keep me going." It’s from a song called “Last Hope”. I met Paramore on June 21, 2014 and had Hayley Williams write out this lyric and I got it tattooed on my leg.
Grace: How has Paramore defined your life?
Michael: In more ways then you can even imagine. Their music has showed me that its okay to be pissed off and mad about conflicts with friends (or even bandmates) and to enjoy happiness and the joys that life has to offer. They have been there for even high and low in my life.
Grace: Has Paramore influence your choice of major/minor?
Michael: Bands like this have made my interest in music flourish. I declared a Marketing major and Music Industry minor because I want to work for a record label to help new bands start their own musical journey.
Grace: If you could work for/with the band, what position would you want?
Michael: I want to be the Marketing Director for their record label, Fueled By Ramen. I am currently part of the street team for this label, so I go to concerts and help promote artists on the label to the general population. It has been one of the best experiences of my life.
Grace: Wow, thank you for letting me experience your passion and love for Paramore.
Michael: No problem.


In this rotation we did vinyl cutting and CNC milling. I made a vinyl sticker of a hibiscus flower, which I wanted to put on my computer, however it did not stick properly and ended up ruined. The other thing I made this rotation was a mold of a honeycomb, which worked out far better. I also made some regular stickers that haven't been put on anything yet.


{% extends 'basecontrol.html' %} {% block content %}
Enter in your 4-digit pin code and the amount you wish to pay in order to have a safe and secure transaction
Questions?Email: abhi12.p<EMAIL_ADDRESS>Your message has been sent to us.
There was an error sending your message.


Hey, what's your name? Hello, I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
I'm Sam.
Is that not racist?
I don't think so.
Okay, good.
Let's just stop there.
How are you feeling?
I feel a little bit iffy.
Would you like to tell a listener what's in your left hand?
Yes.
I have a hot tardy.
Which is basically hot water and copious mince of alcohol.
It's not copious amounts of alcohol.
I have two tablespoons of brandy in it.
- Well, brandy's like a soft liquor.
- I don't know what it is.
I don't know enough of it at all.
(laughs)
But I have that and honey and lemon and hot water in a cup.
- And I have new and wing of bat.
- No.
- Why do you have a hot toddy?
- Because I'm feeling a little iffy
and some nice southern ladies this morning
told me that I should have a hot toddy.
So I'm going to try it.
Okay.
Medical research breakthrough happening here live.
If A.J.
begins to slaughter her speech, it's because of the medicine she is on.
We've had, I was just thinking about this week.
We've been so super social this week.
We had dinner with our dear friend and fabulous missionary, Shelly.
We did.
She's back in town from Cambodia at the moment.
We caught up with Josh and Sarah.
We did.
We took Sarah out for her birthday.
I'm here two months late.
Yeah.

I'm caught up with Mason Lamly.
We had great habachi.
I love habachi.
So do I.
Food prepared for you was a show.
Yes.
And our guy was funny.
He was great.
He was probably one of the best habachi people I've seen.
Mm-hmm.
And then we had yum yum sauce, which is a lord.
I mean, do you need to say any more yum yum.
But it's been a rough week aside from meeting lots of people, which was a great one.
was a good part. Yes. All our kids were sick at varying stages of this week, which meant
you had to stay home Monday and Tuesday because I was teaching on boundaries at the school.
Yes.  So I thought I emanate for you. Yes. And then
poor sweet mug and Scott's sick either Tuesday or Wednesday night was up most of the night,
which meant I was up most of the night. I was in my friend. No, you were not. Yeah,
I got up at 513. You lay on my sleep. You did. When I didn't get him back into bed until
five when he started crying and getting five thirties like babe.
I just finally got to sleep.
So you graciously came down with it on the weekend.
So I didn't get to go to church strong, but I did stream it and it was great.
Yeah.
I'd definition everything.
And then we just streaming.
Then we had Jared and Jenna's wedding tonight.
We did.
Which was awesome.
We had lots of amazing people.
We did.
Which was so funny.
Yeah, we got to see Tyler and Anna Lee.
Yeah, his beard looks amazing.
They're a big fan of the beard.
They're probably in the running for one of Nashville's most beautiful couples.
They're stinking gorgeous.
They are ridiculously gorgeous.
Inside and out.
And we picked up Steve Long from the airport.
We did.
We did.
We did.
Which is nice to see Steve and catch up with him tonight.
Yeah.
You're always going well.
Bit of home.
Told amazing stories.
Yes.
And he's the chain of school this week.
Which is so great.
And if you're listening to this on a Monday before 7/13, you live in Nashville.
Steve will be ministering at Emmonate.
Yes, and it sounds like what he's going to speak on is very interesting. I'm I can't wait for tomorrow night
Would you like some listeners questions? I would do you want to answer question one or question two?
I will like I don't know. Oh, you can do number one and I'll do number two just for fun. All right reading the question number one
Question number one is I can't really see
There we go
It says
It's from Rachel Suzanne and it says I've been thinking about humility a lot. What is humility?
I know Jesus is a good example, but if you could break humility down into bite-sized chunks, what does it look like?
I think
humility is simply agreeing
with what God said about you and
There's a thin line between true humility and pride
For example, David is sent off by his father to go take some sandwiches to his brothers.
And when he arrives at the front line, he finds out about Goliath.
And so he's just inquiring like, "Hey, why are the army of the Lord cowering when this
Philistine comes out?"
And he's just genuinely asking, like he's just so confident in God.

They misinterpret what he's saying as him being cocky and arrogant, but he's not.
He's just in touch with what God has revealed himself to be.
He's just walking with his revelation of the Father, especially because we know that
he's the Lord has saved David from the lion and the bear many times.

And they misinterpret his confidence in God or his humility for pride.

So yeah, I think humility is simply believing with what God said about you and walking in
accordance with that, and sometimes you'll be confused as not being humble.
 So I think
the mark of humility is the focus doesn't have to be on you, you're happy for the
focus to be elsewhere. But you can also handle other people praising you and
you're not quick to swap that down which is that false humility thing. Oh no, I'm not.
The funniest verse I think in the scripture is where it says, "Now Moses was
the most humble man on the face of the earth.
And the person who most likely wrote that was Moses.
- Yeah, it is really funny.
(laughing)
- All right, you ready for question number two?
- I think so.
- Question number two from Justin.
He says, "Hey Alan, AJ, you go for a couple of your podcasts."
Thank you.
I'm called to step in a full-time ministry,
but it seems like it has been difficult in regards
to the area of provision and finance.
My question is, how does God provide for the calling He gives us?
Can you give me any insight from your own journey in pursuing full-time industry?
Wow.
I guess it's really, for me I'd say you want to make sure you have God's timing on it,
not just his calling to do it, because the timing is pretty important as well.
When I got called into ministry, even though it looked really bad financially when it actually
happened, there was provision for me. So for myself, because I knew I was supposed to in
the fall step into full time ministry. This was a 2001. And, but I had a full time job
and a free car and a free it just looked like a bad decision. But I knew what God was speaking.
And then when it actually happened, the way that it happened, which I didn't realize,
I got laid off and I got, it was either 10 or 12 weeks worth of severance.
And so I actually had several months worth of buffer in terms of finances to be able
to step out.
And the Lord really provided I never went without.
I definitely had some tricky bits and some months where it was scary, but never where
I didn't, I couldn't meet my bills, although I do remember once not being able to buy groceries.
So you decided to fast?
I did.
That was very logical.
I'm going to fast and I'm not going to tell anybody that I can't buy groceries.
And actually I learned a really valuable lesson in the midst of that is that you're part of
a family no matter what you're called to, whether you're called to ministry or whether
you're called to work at a bank, you're part of a larger group of people.
Those people that loved me at the time, one of my friends came over, Jenny, and she came
over and she said, "Hey, what are you doing?"
And I was like, "Oh, you know."
And she just really wanted to get in my house.
She had a key, but she wanted to get in my house, kept past me and look at my fridge.
And I only had a catch-up bottle and lemon left in my fridge.
I mean, I'd eaten anything you could eat.
And she said, "Why don't you have groceries?"
And I said, "I can't afford it right now."
And so I'm just fasting.
And she went out and got food and came back.
And she said, "Part of being a family as we get to
share each other's burdens and we get to love each other,
you know, enough to help."
And that kind of stuff.
So there was moments where I learned great lessons
at the low points.
But I think I would also say what God orders He pays for.
- Right.
- So I think that I had probably the low points
And there wasn't that many of them in order to learn something either about God or about
myself, or maybe not in order to, but I did learn something about God or about myself
in the midst of those things.
Well, I also think, Justin, in your question, you say, "I'm called to step into full-time
ministry."
There's a big difference between being called and being commissioned, and you never want
to get those two confused.
So you know, Jeremiah was called as a prophet from before he was conceived in his mother's
womb, I said.
And most scholars think that he was probably approached by the Lord somewhere between 8 and 12,
but then didn't start as prophetic ministry for a long time.

You know, he was called out before the foundations of the earth.
And yet when he was born in the natural, he didn't start as ministry until he was in his 30s.
And so if he tried to start his ministry before he was 30, he would have been premature.
And he would be like, "Hey God, why are you providing for my ministry?"
And the Lord's like, "Well, you decided to start your ministry without waiting for me to start it."
And that's why I'm by the timing thing.
I totally agree.
It's about commissioning.
Yeah, some of it is all timing.
So don't get ahead in your schedule.
And it's also about like, if you feel called to full-time ministry,
what are you doing now to sew in that direction?
Like, start doing the things that you can do now to serve people that are in full-time ministry
into serving small groups and serving the places that maybe don't look as flashy and
wonderful as you might think, but are actually places where you get to start to practice
your gifts.
Very good.
All right, our topic for this week is love.
Nice, small topic, easily defined.
Should be able to get through it in 10 minutes, no problem.
No problem.
Go for it.
Go for it.
Well, I thought it'd be fun because we just came from a wedding to talk about, I guess,
just some of the pieces of advice that we sometimes give at weddings and stuff like
that, like things that we've learned that have been helpful.
I'd love to do that.
Before we do that, I wonder if you could talk to us about Storgay love because that's a
foundation for all other loves.
Yes.
And when we talked about, you know, what we're going to talk about in our podcast, we started
talking about love.
I thought about my mother.
So can you give a quick one minute teaching or explanation rather on Storgay Love and
our Tupperware?
Storgay Love, okay.
Yeah, Storgay Love is, well, Storgay is one of the four words that the Greeks use to describe
love.
So when we read the word love in the Bible, what we translate as love, they had four different
words for that.
So they had Storgae, Folayo, Eros, and Agape.
And Storgae was a family love or affectionate love.
It's a kind of love that you feel and you experience.
And typically, as a child, it's your first form of love that you come in contact with.
You primarily receive Storgae love from your mom and from your parents, but first from
your mom in the womb and with her rubbing her stomach and then when you're outside of
the womb from your mom and your parents and your siblings and that kind of stuff.
Storgay love is experience not understood.
So there's three main ways that you receive Storgay love that's through loving eye contact,
loving tones of voice and loving touch.
like tickles and cuddles and all that kind of stuff.

And people instinctively reach for face, hands and feet.
Right.
And they make eye contact and you start gibbering in some other language like you have no command
of the English language.
And that's story of love and action.
Right.

Right.
story he loves, our mothers doing that in our close family.
That gives us, you call it Tupperware, but basically a container in which to store love.
Yeah, that's Denise Jordan describes it as it's what places within us a container that
enables us to receive and contain love.
So that later on in life when people are pouring out affectionate on us or pouring in love
to us or we're now getting married and that kind of stuff, we're able to receive and
contain that, it just doesn't just flow out through our feet like a bottomless pit.
You know, it's that container is there.
So I want to boast on my mother with that as your...

Yeah.
She's awesome.
She is the Storgate Queen.
Yeah.
So I didn't know what Storgate was till I heard you teach on it.
And when you taught on it, I thought, "Oh, gosh, suddenly my life makes sense."
Because for those of you who know my mother, you know my mother is to motherhood, like,
Bill Gates is to Microsoft or Steve Jobs is to Apple.
Neither of those are good examples because Steve Jobs is now dead and Bill Gates no longer runs Microsoft.
But anyway, there were the founders there.
No, he doesn't.
Nevertheless, my mother is amazing.
And all I remember my childhood being was my mother covering us in affection at love, just kisses, cuddles.
Constantly tell us we were amazing.
Always eye contact, always loving tone of voice, just amazing.
And my, you know, my friends who would come over to my house would be on the receiving end of my mother's
storgi love. And so I was just thinking about the capacity to receive and send love comes
from a full Tupperware container. Yeah. And we've probably all met those people that are difficult
to love, not because of difficult people, but when you show them affection, when you show them
love, it's like a sieve and then just go straight through them. Right. And probably because they
were never actually shown it properly as children. I think probably at the end of this podcast,
we should pray for people who are worried that their Tupperware is faulty. But anyway,
I just wanted to kind of honor my mom who's just an absolute storgi monster, which is probably
where I learned to receive such enormous love and which the father, of course my dad, you know,
was loving too. But when I talk about the father, him, talk about the heavenly father,
who would just lavish his supernatural love and it would feel very similar to that storgay
container. You know where you just get filled and overflowing. So anyway, yeah, I love love.
Do you know, I find that when I'm alone with the Lord, my heart begins to overflow with love
for other people. Like I'm not a gushy, gushy person who sits and thinks about people. That's
terrible. I really don't, you know, I just got on with life. But whenever I come into the Lord's
presence, I begin to, and often when I'm falling asleep, I begin to think about people and my
heart begins to overwhelm with love. You know, you'll notice that that often I'll go to bed,
then I'll get out of bed. And it's usually because I'm connecting with the love of God,
and I want to go and be with him. But a lot of times it's me thinking about people who I love,
Are people who love me well and my heart is being still overflow with love.
Not weird.
It's beautiful.
But it is beautiful, but weird.
Especially when I'm trying to sleep.
All right.
You mentioned practical stats for love.
You were going to do a whole lot of advice we gave for people who were getting married.
I was thinking of stuff like, you know, when Jeff Dollar said he who apologizes first wins.
That's sheer genius.
Right.
So just like little, little tips like that.
Like I was thinking today, you know, during the wedding, I was thinking selfishness is the enemy of love.
You can't be selfish and be loving towards somebody at the same time.
That's very true.
What about you, baby?
I am all out of quick, wicked, brilliant, one-liners, but love.
I find that hard to believe.
Give me a second.
Okay.
That's too much pressure.
Oh, I don't know.
I was thinking this was going to be a back and forth thing, not the AJ show.
But, um, I guess I would say like stuff that we've said or stuff that we've
passed on to people or things like, you know, learn what the other person's
love language is and learn to speak it, which actually you're very good at, at, uh,
say that again, but louder, actually you're very good.
That's right.
Um, I would say you are much better at speaking stuff like acts of service to me than I am
at speaking words of affirmation to you.
Or I'm still very clunky at it.
I have to think to myself, he needs to be affirmed.
You did a great job, baby.
But even like, even though I think that in my head, I think saying something like, thanks, babe.
This is awesome where as a words of affirmation person,
you need actually each thing recognized to feel affirmed for it.
Right.
But I wonder if that's actually a words of affirmation thing or if it's a man thing.
Because it seems like from some of the conversations I've heard recently of
different teachings, it's a man thing more than a words of affirmation.
Well, I think about when I'm doing like this morning, I
at home the kids from church and you're a church and I'm thinking what would bless you?
So, then I'm systematically compiling in my head a list of things that would bless you
and then I'm working through them.
And somewhere in my head I'm thinking if you don't notice what I've done I'm going to
feel disappointed because it's all been intentional.
It hasn't just been a by-product.
Like you being blessed isn't the accidental by-product of me doing stuff.
The only reason I'm doing this is so that you're blessed.
But if you're doing it so I'm blessed, then shouldn't you just be happy that I'm blessed
and shouldn't be about whether I recognize every single thing?
That's what I don't understand.
Right.
I think probably somewhere in my head I'm thinking I'm being intentional.
I'm being intentional to come out of my comfort zone and do stuff to show you that I love
you.
Therefore, you will be so profuse in your overwhelming of that love that a natural overflow will be to tell me how awesome I am.
So did I do okay telling you how awesome you were because I remember coming home and being like, "Babe is so clean and so great."
And then I came upstairs and he'd done the beds and I was like, "Babe is great."
But I don't remember you throwing me on the bed and jumping me.
Oh.
That's the ultimate.
That's not words of affirmation.
That's something else of affirmation.
my primary love lineages are physical time and quality touch.
That was stolen from the genius, Josh Parsons.
- That is hysterical.
Babe, what was the thing that,
I think it was Chip Judd said about,
essentially it was like make your life
about serving the other person.
- Oh yeah, Chip Judd, he's a genius.
What did he say?
He said marriage is a competition to see
who can out serve one another.
- Yeah.
I love that definition.
Such a great idea.
I like the line that you say that we stay in love because we're married, we don't stay
married because we're in love.
Yeah.
That's from YWAM.
I mean, that's something I learned on YWAM.
And I didn't really understand it because I wasn't married.
Right, but now...
It totally makes sense.
When...
I love what Danny Silk says about, you know, you modify your behavior to preserve the
connection.
Yeah.
So we have a connection because we're married.
Yes.
connection will vary in degrees of connectedness throughout the week depending on stress,
commitment, time, misunderstanding, great communication. It will go up and it will go down.
The temptation is when it goes down is to believe the worst about your spouse
and the temptation is to just disconnect and go get your own love needs met somewhere else.
which isn't of course healthy. At that point, the greatest act of love you can do is step out and serve the other person.
You know, modify your behavior. Right. When you least feel like it, basically. Right.
And that's what I think, marriage about, you know, I, we said this a lot. Marriage is about death.
It is. Marriage is about dying to yourself really, really quickly so you can invest in someone else.
As fast as you can. Right. And I love Jeff's line. You know, he apologizes his first wins.
You mentioned that earlier, but the whole thing is I rather than demand that my rights are met,
I actually ensure that my responsibilities are being administered. So my rights,
and kind of misquoted scripture here is that I have a wife who submits to me.
But my responsibility is to love you as Christ loved the church. Too often in marriages,
I'll just complain.  My wife isn't submitting to me.
 You just get to honor your responsibilities.
 So that's been an interesting
challenge. Yeah. And now I think it's too, too,
- Turkey for anyone really.
- I think love also comes down to being responsible.
- Making a choice every single day.
- Right, it's the age old thing.
You said to me the day,
I think we were having a family day out
and it's like, I don't wanna have a family day out.

We decided to have three children.

So why not make a choice to be a good one?
- Right.
- And so sometimes love is just as practical
putting your big boy pants on and being present in the room.
Yeah.
Often it's just as practical as that.
I think the idea that the warm fuzzy love is what keeps you through 50 years of marriage
is probably fairly naive.
I think it's the love that you choose.
It's not fairly naive.
It's absolutely absurd.
But I think that like I still feel that warm fuzzy love towards you, but there's so much
more depth than what I love.
There will be days during the week where you do not feel that warm fuzzy love.

God bless them.
They can work out.
I'm outside doing a task that is way beyond my competence level.
I've been working all day in the freezing cold, trying to build that
screen in porch and I'm feeling like my saw is laughing at me.
That the screwdriver that will not work is mocking me.
I'm just, you know, and so as a result, my frustrations are being
expressed towards you who haven't done anything wrong.
Yeah.
And I can tell very quickly, oh, wait, I'm diminishing our connection.
And yet you don't choose to lash out.

Stay in the zone.
He's frustrated.
He's probably as frustrated as I am.
And that's maturity, but you're not feeling warm fuzzy.
You're just having to remind yourself.
And he loves me.
He's just having a bad day.
And I'm choosing to love.
I'm choosing to stay connected.
But I also know that you're not doing something that you enjoy and, you know,
I can, I can see where that could create some tension for you.
Right.
But what I'm saying is I'm honoring your ability to stay connected,
even though I'm disconnecting because I'm frustrated.
It's got nothing to do with you.
You're just, you're just happened to be in the zone where I'm frustrated and I
happen to be aiming at you, which isn't very nice or very, or, or, or honoring.
But here's the great thing you can later apologize and just say, Hey, I'm so
Sorry.
You are amazing at that game, but
you are amazing at you.
You came back in after you've been outside for like what half an hour or
an hour or something.
Oh, it was probably five minutes.
I'm so good.
Remember?
Okay.
Sure.
Five minutes.
Let's go with that.
Sure.
And you just came over and gave me a hug and said, I'm sorry, babe, you know,
whatever.
And that was, I mean, that's it.
We're good.
I'm restored.
I'm fine.
You know, but I would also say
that you have a fairly robust piece of Tupperware.
Yes. And I'm not particularly emotive.
No, you're not.
Though I have my moment.
Yes, you do.
So I don't know if any of this advice helps anyone other than to just say, we're all in
process, I think.
What do you do if you want to love someone?
But there isn't someone in your life that you can love.
I'm talking about you want to be married and you're not married.
How did you cope in the eight years before I arrived on the scene and answered your prayers?
I think I tried to do well at the relationships that I did have as opposed to focus on the
ones that I didn't.
Well, that's very profound.
So I did have a bunch of girlfriends that were, you know, very sweet and definitely gifts
to me and then a couple different couples that were the same, you know, just wonderful gifts
to me.
So I tried to focus on, okay, God, you know, during this season, this is who's in my life
and you know what my desires are.
So I'm going to enjoy the people that are in my life right now.
Then I would also just try and sew towards where I wanted to go.
So if there was, you know, people or marriages that I could bless in some way, I did that
as well.
Why don't you pray for people?

I always sort of imagine that container somewhere around you where your stomach would be.
And I'm just going to pray for you. Father, I thank you for each person listening today.
And Lord, I ask that you would supernaturally either go in and repair the container
that is there that can receive and contain love, or that you would just supernaturally replace the whole thing with an upgrade.
Lord, I ask that you would just fill in any holes or...
that you would increase the capacity for each person for their ability to receive love from you,
and not only receive it, but be able to contain it.
It doesn't flow out through their feet five minutes or two hours later, but they still
know that they're left and they're able to walk in that.
And also when others in their lives are trying to love on them and pour love into them that
they would be able to receive that and not enter into skepticism or cynicism or anything
like that.
Lord, I thank you that you are amazing and no matter what we've been through as children
or adolescence, no, you know, no matter what we've suffered or what loss there's been,
you can heal everything and anything because you're amazing and you're big and you know
everything that's happened and nothing is beyond you.
So God, I ask that you would really just pour out your healing on each person listening
today.
And Lord, that you would help us from this day forward be able to receive from you in
new way and receive from those people that you've placed in our lives in a new way in Jesus name.
Amen. Thank you to everyone who bought a copy of our band
I hope it's going to be a blessing to you this week and we will be here at the same time
next week.
Have an amazing week.
Bye bye.


| Module | ActiveRecord::Validations |
| In: |
vendor/rails/activerecord/lib/active_record/validations.rb
|
Active Records implement validation by overwriting Base#validate (or the variations, validate_on_create and validate_on_update). Each of these methods can inspect the state of the object, which usually means ensuring that a number of attributes have a certain value (such as not empty, within a given range, matching a certain regular expression).
Example:
class Person < ActiveRecord::Base protected def validate errors.add_on_empty %w( first_name last_name ) errors.add("phone_number", "has invalid format") unless phone_number =~ /[0-9]*/ end def validate_on_create # is only run the first time a new object is saved unless valid_discount?(membership_discount) errors.add("membership_discount", "has expired") end end def validate_on_update errors.add_to_base("No changes have occurred") if unchanged_attributes? end end person = Person.new("first_name" => "David", "phone_number" => "what?") person.save # => false (and doesn't do the save) person.errors.empty? # => false person.errors.count # => 2 person.errors.on "last_name" # => "can't be empty" person.errors.on "phone_number" # => "has invalid format" person.errors.each_full { |msg| puts msg } # => "Last name can't be empty\n" + "Phone number has invalid format" person.attributes = { "last_name" => "Heinemeier", "phone_number" => "555-555" } person.save # => true (and person is now saved in the database)
An Errors object is automatically created for every Active Record.
Please do have a look at ActiveRecord::Validations::ClassMethods for a higher level of validations.
| VALIDATIONS | = | %w( validate validate_on_create validate_on_update ) |
The validation process on save can be skipped by passing false. The regular Base#save method is replaced with this when the validations module is mixed in, which it is by default.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 747 747: def save_with_validation(perform_validation = true) 748: if perform_validation && valid? || !perform_validation 749: save_without_validation 750: else 751: false 752: end 753: end
Attempts to save the record just like Base#save but will raise a RecordInvalid exception instead of returning false if the record is not valid.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 757 757: def save_with_validation! 758: if valid? 759: save_without_validation! 760: else 761: raise RecordInvalid.new(self) 762: end 763: end
Updates a single attribute and saves the record without going through the normal validation procedure. This is especially useful for boolean flags on existing records. The regular update_attribute method in Base is replaced with this when the validations module is mixed in, which it is by default.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 768 768: def update_attribute_with_validation_skipping(name, value) 769: send(name.to_s + '=', value) 770: save(false) 771: end
Runs validate and validate_on_create or validate_on_update and returns true if no errors were added otherwise false.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 774 774: def valid? 775: errors.clear 776: 777: run_validations(:validate) 778: validate 779: 780: if new_record? 781: run_validations(:validate_on_create) 782: validate_on_create 783: else 784: run_validations(:validate_on_update) 785: validate_on_update 786: end 787: 788: errors.empty? 789: end
Overwrite this method for validation checks on all saves and use Errors.add(field, msg) for invalid attributes.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 798 798: def validate #:doc: 799: end
Overwrite this method for validation checks used only on creation.
# File vendor/rails/activerecord/lib/active_record/validations.rb, line 802 802: def validate_on_create #:doc: 803: end


version
Select a job from the sidebar to get more details.
There are currently no jobs being processed.
Started by
at
Map phase
Waiting Running Done Failed
Reduce phase
Current Status
There aren't any workers processing this job at this moment
No results available.


About Zoom
About Zoom
A small jQuery plugin for zooming images on mouseover or mousedown. See the project page for documentation and a demonstration. Released under the MIT license.
To compile the .min.js file, run: uglifyjs --comments '/license:/' < jquery.zoom.js > jquery.zoom.min.js
Changelog:
v1.7.21 - 2018/4/26
- Added empty alt attribute. Resolves #134
v1.7.20 - 2017/4/25
- Replaced alt and aria-hidden with role attribute. Resolves #121
v1.7.19 - 2017/4/20
- Added alt and aria-hidden attributes to the zoom layer img element. Merged #121
v1.7.18 - 2016/9/9
- Fixed regression from 1.7.16 that occurred when the target option was passed a selector. Fixes #113
v1.7.17 - 2016/9/7
- Detect src using element.currentSrc to support srcset. Fixes #82
v1.7.16 - 2016/9/7
- Cancelled the onload event when calling destroy. Fixes #83
v1.7.15 - 2016/2/8
- Added touchend event, might fix #97 #75 #62. Merges #100.
v1.7.14 - 2015/3/18
- Fixes bug with passing the
target
property a selector, rather than a DOM node. Merges #73.
v1.7.13 - 2014/4/29
- Destroy event does a better job of reseting back to the original state.
v1.7.12 - 2014/2/11
- Set zoomed image’s maxHeight to none, just in case a maxHeight has been defined for images in the CSS.
v1.7.11 - 2013/11/12
- Added magnify property to allow scaling of the zoomed image.
v1.7.10 - 2013/10/16
- Fixed bug relating to the size of the target element when using the target property (Fixes #35)
v1.7.9 - 2013/10/16
- Added simple fallback for touch events (Fixes #37 #39)
- Renamed minified file to jquery.zoom.min.js to match jQuery’s convention.
v1.7.8 - 2013/7/30
- Will use data-src attribute if present before checking for the presence of an src attribute.
v1.7.7 - 2013/7/14
- Restricted grab to just the left-mouse-button on mousedown
v1.7.6 - 2013/6/24
- Fixed misnamed onZoomOut callback
v1.7.5 - 2013/6/19
- Fixed a bug with absolutely or fixed position target elements
- Set the value of
this
to be zoom-image element for the onZoomIn and onZoomOut callbacks
v1.7.4 - 2013/6/18
- Namespaced events to assist unbinding events.
- Added destroy event to unbind zoom events & remove created img element. Example: $(‘.example’).trigger(‘zoom.destroy’);
- Added onZoomIn and onZoomOut callbacks
v1.7.3 - 2013/6/10
- Fixing mistake made in previous commit
v1.7.2 - 2013/6/6
- Replaced new Image() with document.createElement(‘img’) to avoid a potential bug in Chrome 27.
v1.7.1 - 2013/3/12
- Replaced jQuery shorthand methods with on() in anticipation of jQuery 2.0
v1.7.0 - 2013/1/31
- Added ‘toggle’ behavior to zoom in/out on click. Example: $(‘#example’).zoom({ on:’toggle’ });
- Removed the icon property in favor of just using CSS.
v1.6.0 - 2013/1/22
- Created $.zoom which contains the positioning logic, so that users can write custom controls or event handling.
v1.5.0 - 2012/11/19
- Added ‘target’ property for specifying the element that displays the zoomed image.
v1.4.0 - 2012/9/29
- Changed API & added option to activate on click.
v1.3.0 - 2011/12/21
- Added ‘callback’ property that will execute a callback function once the image has loaded.
- Fixed a bug relating to the ‘grab’ property
v1.2.0 - 2011/11/15
- Fixed a positioning bug
v1.1.0 - 2011/11/15
- Added ‘grab’ property
v1.0.0 - 2011/11/11
- First release


We DO NOT USE Facebook/Google SDK to prevent their trackers from listening to your personal information.
However, when using one of the social login buttons above, please keep in mind that you agree with
this social network on knowing you are using SimpleLogin.
Warning


The Grief Recovery Method® is a step-by-step course on how to deal with the grief stemming from a loss.
Learn MoreAllison is a Certified Grief Recovery Specialist® certified by the Grief Recovery Institute®, who can help you navigate the feelings and grief that arise after unfortunate loss. Through weekly meetings and readings from the Grief Recovery Handbook®, you will uncover the myths about grief, understand what you're feeling is normal, and begin moving forward in your life.
Learn More.8 Weekly Meetings covering the Grief Recovery Method®
Private sessions covering Grief Recovery Method®.
Learn what the Grief Recovery Method® is, why it works, and the common misinformation about grief.
Is your community facing a major loss or crisis? Book a talk centered on a specific grief topic facing your company, organization or group.
Your visiting this site it the first step to your recovery. Take the next step. Learn about my next support group or information session. Send me an email, and I will get back to you as soon as possible.