BTS Jimin, The Most Fashionable Idol received several custom-made sunglasses from GENTLE MONSTER as gift!
by parkhaneul1013BTS Jimin, a fashionable idol who recently gained endless spotlight in the fashion world received several custom-made glasses from Gentle Monster as gift.Gentle Monster styled as GENTLE MONSTER (Hangeul:젠틀몬스터) is a Korean sunglasses and optical glasses brand founded by Hankook Kim in Seoul, South Korea in 2011.As of April 2018, the company has 41 directly operated stores worldwide, including Korea, the United States, Singapore, and China.
BTS Jimin previously became one of the hot topic during the 2019 Billboard Music Award for having pink hair and for wearing one of GENTLE MONSTER sunglasses during their performance. BTS Jimin trended worldwide and the sunglasses immediately sold out in several countries right after BTS Jimin was seen wearing them. GENTLE MONSTER then shared BTS Jimin's picture for wearing their products on their official Twitter account. Recently it was shared in social media that BTS Jimin received several custom-made sunglasses from GENTLE MONSTER as gift.
Amazing as it already is, this is not the first time BTS Jimin was seen wearing GENTLE MONSTER sunglasses. He was spotted wearing multiple version of GENTLE MONSTER sunglasses in different occasion.
Being one of the idol included in The Business of Fashion - Class of 2019 (#BoF500) and being the only Asian to be included in GQ Magazine - best dressed men of the week, it is no surprised to see BTS Jimin received such amazing gifts from GENTLE MONSTER.


Lesson 4
10 May 2017
def function(x):
y = x + 1
return y
...
Input → do something with it → Output
it was a
simplifying our code-base by
breaking down a complex program into simpler parts
↓
many processes can be encapsulated and called on demand
we also learnt how to store our functions in
which can be import
-ed as we need them
allowing for a more programmatic style
one that allows you to package
data-types and
functions
TOGETHER
it's programming paradigm that structures data into an abstract collection of attributes and behaviors
Strings
Can you recall what makes them unique?
✔ initialised by quotation marks
✔ have size (number of characters)
✔ can be transformed (e.g. uppercase, split, etc.)
✗ but are not mutable
strings
have a specific behaviour,
and the data is whatever you've set it to be
message = "Go jump in the lake!"
can be effectively thought of as a blueprint that describes
STATE
BEHAVIOUR
data
methods
now try to describe some of its defining attributes
and it's behaviour
but within the Python environment
are instances of a class
i.e. they are a realisation of the blueprint
e.g. a house built from a set of defined plans
much like any blueprint, I can realise it
and you've actually been using them since the first lesson
string
data type
In : name = "Garry"
In : dir(name)
Out:
['__add__',
'__class__',
'__contains__',
'__doc__',
'__format__',
'__hash__',
...,
'split',
'startswith',
'strip',
'swapcase',
'title',
'upper',]
name
is a realisation of the "string
class"
with methods and
behaviours
and we can create as many strings as we want
Let's create one to describe a customer account with a bank
class
-y accountclasses are defined like this
class Account:
# attributes defined here
# behaviour defined here
and to create a realisation (object) of this class
ac1 = Account()
the process of creating an object is called
class
-y account
class Account:
"""
Data structure to describe a customer with the business
"""
def __init__(self, name, deposit):
# customer attributes
self.name = name
self.savings = deposit
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s has $%i" % (self.name, self.savings)
print(message)
now let's put it to action!
class
-y account
In : ac1 = Account("Peter", 1000)
In : ac1
Out: <__main__.Customer at 0x7f605c04e550>
In : ac1.name
Out: "Peter"
In : ac1.savings
Out: 1000
In : ac1.account_detail()
Out: "Customer: Peter has $1000"
In : ac1.account_detail
Out: <bound method Account.account_detail of
<__main__.Account object at 0x7f605c04e550>>
class
-y account
class Account:
"""
Data structure to describe a customer with the business
"""
def __init__(self, name, deposit):
# customer attributes
self.name = name
self.savings = deposit
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s has $%i" % (self.name, self.savings)
print(message)
there are a couple of things that will be new to you
self
means it is referencing itself
↓
i.e. when the object is created, such attributes and methods will automatically refer to it
ac1 = Account("Peter", 1000)
# this is the same
ac1.account_detail()
# as this
Account.account_detail(ac1)
__init__
two things are going on here
1. when an object is created, variables (and their values) are automatically assigned to the object
2. the leading and trailing double underscore, refer to a reserved Python method
↓
i.e. Python knows what to do when it sees it
class
-y accountHaving created this new data structure, I can create as many as I want!
ac1 = Account("Mathew", 2003)
ac2 = Account("Mark", 4000)
ac3 = Account("Luke", 1350)
ac4 = Account("John", 10420)
ac5 = Account("Judas", 30)
and do it in a more pythonic way
disciples = [("Mathew", 2003), ("Mark", 4000), ("Luke", 1350), \
("John", 10420), ("Judas", 30)]
accounts = []
# add customer information to accounts list
for (name, deposit) in disciples:
acc_obj = Account(name, deposit)
accounts.append(acc_obj)
class
-ier account
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s [AC: %s] has $%i" \
% (self.name, self.accnum, self.savings)
print(message)
class
-ier account
In : ac1 = Account("John", 10420)
In : ac1.account_detail()
Out: "Customer: John [AC: 1] has $10420"
In : ac2 = Account("Judas", 30)
In : ac2.account_detail()
Out: "Customer: Judas [AC: 2] has $30"
Every time we create a new Account object
an account number is assigned according to the counter
class
-ier account
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s [AC: %s] has $%i" \
% (self.name, self.accnum, self.savings)
print(message)
def compound_interest(self, rate, freq, term):
"""
Calculates compound interest
"""
new_pos = self.savings*(1 + rate/freq)**(freq*term)
return new_pos
class
-ier account
In : ac1 = Account("Mark", 4000)
In : ac1.account_detail()
Out: "Customer: Mark has $4000"
In : ac1.compound_interest(0.05, 4, 10)
Out: 5154.7267
However, we are not changing the state of the object
In : ac1.account_detail()
Out: "Customer: Mark has $4000"
the Class method
is just returning a value
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s [AC: %s] has $%i" \
% (self.name, self.accnum, self.savings)
print(message)
def compound_interest(self, rate, freq, term):
"""
Calculates compound interest
"""
new_pos = self.savings*(1 + rate/freq)**(freq*term)
return new_pos
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def account_detail(self):
"""
Print current financial position of customer
"""
message = "Customer: %s [AC: %s] has $%i" \
% (self.name, self.accnum, self.savings)
print(message)
def compound_interest(self, rate, freq, term):
"""
Calculates compound interest
"""
self.savings = self.savings*(1 + rate/freq)**(freq*term)
return self.savings
class
-ier account
In : ac1 = Account("Mark", 4000)
In : ac1.account_detail()
Out: "Customer: Mark has $4000"
In : ac1.compound_interest(0.05, 4, 10)
Out: 5154.7267
In : ac1.account_detail()
Out: "Customer: Mark has $5154.7267"
the method now directly interacts with the object
this kind of object manipulation leads to our next topic
or piping
Originates from Unix
\[ x \rightarrow f(x) \rightarrow g(x) \rightarrow h(x) \rightarrow y \]where some data could be fed through a sequence of processes to change it
data | group | then sort | then average
we can achieve the same behaviour with our class objects
class Account:
"""
Data structure to describe a customer bank account
"""
# other stuff usually here
def compound_interest(self, rate, freq, term):
"""
Calculates compound interest
"""
self.savings = self.savings*(1 + rate/freq)**(freq*term)
return self.savings
we just need to make a slight change to our code
we can achieve the same behaviour with our class objects
class Account:
"""
Data structure to describe a customer bank account
"""
# other stuff usually here
def compound_interest(self, rate, freq, term):
"""
Calculates compound interest
"""
self.savings = self.savings*(1 + rate/freq)**(freq*term)
return self
we just need to make a slight change to our code
class Account:
"""
Data structure to describe a customer bank account
"""
# other stuff usually here
def withdraw(self, amount):
"""
Charge an account keeping fee
"""
self.savings -= amount
return self
def deposit(self, amount):
"""
Increase savings by deposit amount
"""
self.savings += amount
return self
In : ac1 = Account("Mark", 4000)
In : ac1.account_detail()
Out: "Customer: Mark has $4000"
In : ac1.compound_interest(0.05, 4, 10).withdraw(500).deposit(100)
In : ac1.account_detail()
Out: "Customer: Mark has $4854"
In : ac1.savings
Out: 4854
we use the dot
notation to connect the methods together
string
data types
In : string1 = "Hello "
In : string2 = "world!"
In : string1 + string2
Out: "Hello world!"
the addition symbol + is used to join two string together as one
under the hood, Python is joining the objects together
for instance, imagine I have two customers
Mark
Judas
who want to create a join account
↓
Can I give my Account objects behaviour to do this?
class
account
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def __add__(self, other):
self.joint_name = "%s and %s" % (self.__name, other.__name)
self.joint_savings = self.__savings + other.__savings
return Account(self.joint_name, self.joint_savings)
# other stuff usually here
Let's go through this step-by-step
class
accountFirst, create two different accounts
In : ac1 = Account("Mark", 4000)
In : ac1.account_detail()
Out: "Customer: Mark [AC: 1] has $4000"
In : ac2 = Account("Judas", 30)
In : ac2.account_detail()
Out: "Customer: Judas [AC: 2] has $30"
Now add them together to create a joint account
In : ac3 = ac1 + ac2
Out: "Customer: Mark and Judas [AC: 3] has $4030"
How cool is that!
let's have our account object be represented by something
class Account:
"""
Data structure to describe a customer bank account
"""
num_customers = 0
def __init__(self, name, deposit):
# attributes
self.name = name
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
def __repr__(self):
state = "ACC: %s | NAME: %s | SAVINGS: %s" \
% (self.__accnum, self.__name, self.__savings)
return state
class
accountOur objects now have a direct output!
In : ac1 = Account("Mark", 4000)
In : print(ac1)
Out: "ACC: 1 | NAME: Mark | SAVINGS: 4000"
In : ac2 = Account("Judas", 30)
In : print(ac2)
Out: "ACC: 2 | NAME: Judas | SAVINGS: 30"
In : ac3 = ac1 + ac2
In : print(ac3)
Out: "ACC: 3 | NAME: Mark and Judas | SAVINGS: 4030"
In : ac2.compound_interest(0.05, 4, 10)
Out: "ACC: 2 | NAME: Judas | SAVINGS: 49.31"
In : ac1.withdraw(100).deposit(500)
Out: "ACC: 1 | NAME: Mark | SAVINGS: 4400"
How cool is that!
with objects:
✔ nearly anything can be conceived as a data structure
✔ we can group related data as an abstract type
✔ which can act and behave like any other Python variable
Class names are generally given an UPPERCASE title
♦
alternatively objects are given lowercase names
♦
always have docstrings throughout the class definition
♦
keep it simple
we ♥ Classes
we ♥ & objects
we ♥ Python
think of it in terms of there being sub-classes, e.g.
tree
circle
PLANT
SHAPE
class Customer:
"""
Data structure to describe bank customer
"""
def __init__(self, name, dob)
self.name = name
self.dob = dob
class Account(Customer):
"""
Data structure to describe a customer account
"""
num_customers = 0
def __init__(self, name, dob, deposit):
# give the account object access to Customer attributes
Customer.__init__(name, dob)
# attributes
self.savings = deposit
# keep track of customers
Account.num_customers += 1
self.accnum = Account.num_customers
inherits the attributes and behaviours of Customer
For one class to inherit another you need to pass it like so
class Account(Customer):
so Account
will have the name
and dob
attributes of Customer
In : ac1 = Account("Judas", "03-04-30BC", 30)
In : ac1.dob
Out: "03-04-30BC"
even though they are defined separately
a good way to think about this is as a
where the child inherits everything from the parent
e.g.
Bank → Customer → Account
Animal → Fish → Shark
Forest → Tree → Leaf
and so forth


My long-term goal is to find a full-time job or freelance full-time work within web development/ web design. I will feel good about what I do and be appreciated by the people I am working with. I will have a good pay-rate. I will still have a lot of free time to work on my own projects and maintain freedom within my personal life.
I will develop a more conscious approach to my time management while maintaining a good balance between my freedom and discipline with respect to studying and working at large.
My core strengths revolve around understanding (respect, empathy, thoughtfulness) and creativity (problem-solving, abstract thinking, innovation)
One thing that I find limiting in my life, is the brief periods of self-doubt and anxiety that I tend to go through regularly. This is turn affects my motivation, ability to focus and my ability to think critically.
I will commit myself to better my ability to work within the allotted time-frames eg healthy daily routine. For me to do this, I need to find the motivation and inspiration I need to carry out a healthy daily routine.
I will seek help when needed firstly through online resources, secondly my peers and lastly my facilitators (depending on the context of the situation.)
I expect devs facilitators to help guide me and my peers through the learning process effectively.
n/a


Loading...
Add & Update Questions
This is the admin area of Annual Developer Quiz, login with your registered email to continue.
Correct Choice No.
This is the admin area of Annual Developer Quiz, login with your registered email to continue.


?
-U
A
0
1
cm
2
3
4
5
6
7
8
9
10
„
The
New
York
copyright
reserved
botanical
Garden
|\"VBA
COLECCION
II
I
DE
FRUTOS"
\
JARDIN
BOTANICO
NACIONAL
"DrTrAFAEL
M.
MOSCOSO'
SANTO
DOMINGO,
REPUBLICA
DOMINICANA
8522
Rhizophoraceae
New
York
Botanical
Garden
lb24D67
BOTANICAL
GARDE**,
Rhizophora
mangle
L,
most
common
mangrove
on
island,
at
periphery;
j
to
5
m.
tall;
sepals
yellow,
becoming
green
in
fruit;
few
fr.
now;
República
Dominicana:
Distrito
Nacional:
Isla
La
Matica,
near
east
beach
of
Playa
Boca
Chica;
natural
island,
very
low,
surrounded
by
4
spp,
mangroves,
dry
part
with
coconuts
and
shrubs«
l8027*N,
69°36*W
alt.
1
m.
September
25,
1980
M*
Mejia,
T.
Zanoni
1624087
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


--- layout: post status: publish published: true title: DAAB and Dynamic Connection Strings author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 174 wordpress_url: http://winterdom.com/2005/08/daabanddynamicconnectionstrings date: '2005-08-14 18:18:38 +0000' date_gmt: '2005-08-14 18:18:38 +0000' categories: - ".NET" tags: [] comments: - id: 117 author: Fred Hirschfeld author_email<EMAIL_ADDRESS>author_url: '' date: '2005-11-01 14:18:18 +0000' date_gmt: '2005-11-01 14:18:18 +0000' content: |
We had to use an encrypted connection string and thus just simply inherited from SqlDatabase overriding the GetConnection method. In here we decyphered the ConnectionString and used the base class method for creating the connection.
You could simply add properties to the derived class that would inject those parts into the ConnectionString to override the defaults. This seems like it would be easier most appropriate.
I didn't provide the real e-mail but it is fred_hirschfeld a_t hotmail d_o_t com.
- id: 118 author: Jamison author_email<EMAIL_ADDRESS>author_url: http://www.jamisomwhite.com date: '2006-05-01 14:25:38 +0000' date_gmt: '2006-05-01 14:25:38 +0000' content: | Oh man that is ugly. Fortunately, they added dynamic connection strings in the DAAB for .NET 2.0. Tom Hollander talks about it in his blot. Unfortunately, we are stuck in .NET 1.1! Thanks for posting your solution. - id: 119 author: Jamison author_email<EMAIL_ADDRESS>author_url: http://www.jamisomwhite.com date: '2006-05-01 15:55:29 +0000' date_gmt: '2006-05-01 15:55:29 +0000' content: | Here's solution translated to VB.NET Imports System.Data.SqlClient Imports Microsoft.Practices.EnterpriseLibrary.Data Imports Microsoft.Practices.EnterpriseLibrary.Data.Configuration Imports Microsoft.Practices.EnterpriseLibrary.Configuration Public Class DataHelper Public Shared Function DynamicConnect(ByVal theServer As String, ByVal theDatabase As String, ByVal theUser As String, ByVal thePassword As String) As Microsoft.Practices.EnterpriseLibrary.Data.Database Dim csd As New ConnectionStringData csd.Name = "X" csd.Parameters.Add(New ParameterData("Server", theServer)) csd.Parameters.Add(New ParameterData("Database", theDatabase)) csd.Parameters.Add(New ParameterData("Integrated Security", "false")) csd.Parameters.Add(New ParameterData("User ID", theUser)) csd.Parameters.Add(New ParameterData("Password", thePassword)) Dim sqldb As DatabaseTypeData = New DatabaseTypeData("Sql Server", "Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase") Dim instance As New InstanceData(csd.Name, sqldb.Name, csd.Name) 'not sure about 3rd arg Dim dbSettings As New DatabaseSettings dbSettings.ConnectionStrings.Add(csd) dbSettings.DatabaseTypes.Add(sqldb) dbSettings.Instances.Add(instance) dbSettings.DefaultInstance = instance.Name Dim configView As DatabaseConfigurationView = New DataHelper.DummyDatabaseConfigurationView(dbSettings) 'set to dummy Class Dim db As New Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase db.Initialize(configView) db.ConfigurationName = dbSettings.DefaultInstance Return db End Function Private Class DummyDatabaseConfigurationView Inherits DatabaseConfigurationView Private _dbSettings As DatabaseSettings Sub New(ByVal dbSettings As DatabaseSettings) MyBase.new(New ConfigurationContext) Me._dbSettings = dbSettings End Sub Public Overrides Function GetDatabaseSettings() As DatabaseSettings Return Me._dbSettings End Function End Class End Class ---I've been working on a new project this past few days, as part of which we're using the Data Access Application Block from the Enterprise Library, which is OK (for a fairly low-level ADO.NET wrapper). One of the requirements we have is that we need to support dynamic connection strings, built at runtime, because we don't know the database server and database name we are connecting to until runtime. Now, I know this has security implications, but its required for reasons I don't plan on explaining here.
But here comes the rub: I looked everywhere, and was unable to find a way within the DAAB to support dynamic connection strings. There's just no way to create a SqlDatabase object having just a connection string (or at least the components thereof); the only way is to have it stored in the configuration file. This does us no good as a) we can't have a configuration file with that information because of what I said above and a few other reasons, and b) there's really no "known" set of database we allow connections to that can be set at deployment time.
 The solution was to mimick the information in the configuration file by manually creating and filling an object of type DatabaseSettings, and then bypassing the normal initialization provided by the provider factory:
public DataBase Connect(string theServer, string theDatabase)
{
ConnectionStringData csd = new ConnectionStringData();
csd.Name = "X";
csd.Parameters.Add(new ParameterData("Server", theServer));
csd.Parameters.Add(new ParameterData("Database", theDatabase));
csd.Parameters.Add(new ParameterData("Integrated Security", "true"));
DatabaseTypeData sqldb =
new DatabaseTypeData("Sql Server", typeof(SqlDatabase).FullName);
InstanceData instance =
new InstanceData(csd.Name, sqldb.Name, csd.Name);
DatabaseSettings dbSettings = new DatabaseSettings();
dbSettings.ConnectionStrings.Add(csd);
dbSettings.DatabaseTypes.Add(sqldb);
dbSettings.Instances.Add(instance);
dbSettings.DefaultInstance = instance.Name;
DatabaseConfigurationView configView =
new DummyDatabaseConfigurationView(dbSettings);
SqlDatabase db = new SqlDatabase();
db.Initialize(_configView);
db.ConfigurationName = _dbSettings.DefaultInstance;
// now db is initialized
return db;
}
internal class DummyDatabaseConfigurationView : DatabaseConfigurationView
{
private DatabaseSettings _dbSettings;
///
/// Creates a new instance of the class
///
public DummyDatabaseConfigurationView(DatabaseSettings dbSettings)
: base(new ConfigurationContext())
{
_dbSettings = dbSettings;
}
public override DatabaseSettings GetDatabaseSettings()
{
return _dbSettings;
}
} // class DummyDatabaseConfigurationView
Is there really no other way? If the answer is no, please do take this into consideration for future versions!


SERENDIPITY A film review by Mark R. Leeper
CAPSULE: Familiar-feeling romantic comedy from director Peter Chelsom. Two people meet, like each other, and leave to fate if they should meet again. Years later each decides they should be together and start searching for each other with very standard sorts of results. Fluffy and a lot like things you have seen before. Rating: 5 (0 to 10), low +1 (-4 to +4)
A few years ago there was a light romantic comedy called THE NIGHT WE NEVER MET. The point of that film was that two people whom the viewer knows are fated to find each other keep missing each other by inches. SERENDIPITY is a reworking of that idea. It is a story of Fate working overtime to have its two main characters meet. Each time the dramatic tension is greater and each time it is another near miss.
In a prolog Jonathan Trager (played by John Cusack) and Sara Thomas (the attractive Kate Beckinsale of PEARL HARBOR) meet in Bloomingdales when each wants to buy the same pair of gloves. There is immediate attraction, but each goes his own way. Then the two come together again. Is it fate that is bringing them together? Sara suggests they test it. She writes her name and address in a book, Jonathan writes his name on the back of a five- dollar bill. Sara sells the book Jonathan spends the bill. Will fate bring them back together? Flash forward a few years and both are making plans to be married but neither is totally happy with his intended. Each remembers the one that got away. Each decides to give fate another chance.
Marc Klein's screenplay gives us a pleasurable and amusing froth of a romantic comedy, if a little too predictable and undemanding to plot. It is easy enough to come up with any number of situations in which people just barely miss each other. That builds a tension of sorts, but the audience has strong expectations how it will all turn out. The viewer knows fate rules the lives of the characters since in this case the hand of fate is Marc Klein.
Few of the attempts at style or humor work. Eugene Levy plays officious clerk who is more irritating than funny. Worse to create a romantic effect director Peter Chelsom has not just music but songs on the music track. Notable is a cameo role for Buck Henry. There are also several opportunities to fit in the ever- popular New York City landmarks.
This is a lighthearted and frivolous romantic comedy that will not have a lot of appeal beyond audiences specifically looking that sort of film. In other words, though it is a cliche, this is a film for people who like this sort of thing. I rate it a 5 on the 0 to 10 scale and a low +1 on the -4 to +4 scale.
Mark R. Leeper<EMAIL_ADDRESS>Copyright 2001 Mark R. Leeper
========== X-RAMR-ID: 29628 X-Language: en X-RT-ReviewID: 252171 X-RT-TitleID: 1110303 X-RT-AuthorID: 1309 X-RT-RatingText: 5/10
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


Welcome to sealddr's Pages!
This site is sealddr's personal home page that contains the resume, my favorite tech, my hobbies and my products as a technical interests.
About me
I’m ICT architect living in Osaka, Japan. I’m good at leaving new
knowledge in the frontier.
My nickname is
sealddr
,
since I’m so obese that I look like seals, and I’m eager to playing
DDR (The dance simulation game published by
Konami Digital Entertainment). My real name is
Masakazu Kadoshita
Please see more details on the resume.
Please visit my blogs on WordPress.


Rangy TextRange Demo
This demo is for Rangy 1.3, which has not yet been fully released.
Rangy's TextRange module provides various methods for navigating the visible text on a page by character or word.
Demos
Find
The find panel is on the left and can be used to search and highlight text on the page, optionally using a regular expression.


Unbreakable (2000) Bruce Willis, Samuel L. Jackson, Robin Wright Penn, Charlayne Woodard, Spencer Treat Clark, James Handy, Eamonn Walker, Elizabeth Lawrence, Leslie Stefanson, M. Night Shyamalan. Score by James Newton Howard. Written and directed by M. Night Shyamalan. 107 minutes. Rated PG-13, 2.5 stars (out of five stars)
Review by Ed Johnson-Ott, NUVO Newsweekly www.nuvo.com Archive reviews at http://us.imdb.com/ReviewsBy?Edward+Johnson-Ott To receive reviews by e-mail at no charge, send subscription requests to<EMAIL_ADDRESS>or e-mail<EMAIL_ADDRESS>with the word "subscribe" in the subject line.
Last year, writer-director M. Night Shyamalan unveiled "The Sixth Sense," a thoughtful, low-key thriller that became one of the biggest hits of all time. In my initial notes for the film, I addressed the slow pace of the story, scribbling "there's a thin line between deliberate and plodding." After being flattened in the closing moments by Shyamalan's now-legendary plot twist, I saw the movie again and decided that, for the most part, the pacing was necessary for the payoff of the story to work so well.
A year later, Shyamalan returns with "Unbreakable," another somber mystery. Comparisons with "The Sixth Sense" are unavoidable, as both films star Bruce Willis and feature compelling trailers promising an exploration of otherworldly matters coupled with a surprise ending. Sadly, "Unbreakable" lacks the punch of its predecessor, hampered by a weak plot, anemic supporting characters and a needlessly abrupt wrap up. As for pacing, forget "deliberate." "Plodding" is definitely the operative word this time around.
The story begins in 1961 Philadelphia, with the birth of Elijah Price, who enters the world with broken arms and legs. We learn that the child suffers from Osteogenesis Imperfecta, a condition that renders bones extremely brittle.
Cut to the present, as security guard David Dunn (Willis) heads home by train following an out of town job interview. The camera acts as peeping tom, gliding behind seats to catch David slipping off his wedding ring and flirting with an attractive fellow passenger. When the young woman moves away, he puts the ring back on and stares out the window, only to notice that the train is going much too fast.
Later, David emerges from the examination area at a local emergency room to find everyone staring at him. A physician explains that, of the 132 people onboard the train, David is the sole survivor of a nightmarish derailment… and he doesn't have a scratch on him.
Moved by the experience, David and his wife Audrey (Robin Wright Penn) agree to try and fix their strained relationship. Otherwise, life returns to normal for the ex-football star, until he receives a note reading, "How many days of your life have you been sick?" A bit of investigation leads David to the author of the note, Elijah Price (Samuel L. Jackson). The crippled man, a dealer in comic book art, moves cautiously with a cane while projecting a skewed air of elegance. Because of his disability, Elijah (nicknamed Mr. Glass) is obsessed with the concept of strength, and he has a theory about David.
That's as much as can be revealed without spoiling the story. Unfortunately, Shyamalan spoils the story on his own.
"The Sixth Sense" was able to twist and turn because the plot was rock solid. Not so in "Unbreakable," which must rely on atmosphere and coincidence to support its flimsy storyline. Actually, there is very little story at all. What happens in the 107 minute running time would serve as the first half of most movies. But Shyamalan drags moments out, determined to establish and maintain an operatic tone. At times he succeeds, and those grand hushed segments are a welcome change from the noise and clutter of most films. But too often, he slides into tedium and pretension.
And he simply didn't think through his own concept. In the course of the film, David realizes that he possesses two highly unusual traits, which begs the question: How in the world could a man go through his life without noticing these things about himself?
I wanted to be swept away by "Unbreakable," but just couldn't make the leap. Regardless of one's belief system (or lack thereof), life after death fascinates most people, and "The Sixth Sense" drew on that allure. But the supernatural concept in "Unbreakable" merely reflects adolescent fantasizing. The idea doesn't resonate, and as a result, the presentation style comes off as ponderous and overblown (the film is reminiscent of a typical origin story from Marvel Comics, the sort of thing that might be titled "And Thus a Hero Is Born").
Where "The Sixth Sense" gave us a number of fully realized characters, "Unbreakable" offers two people and several rough sketches. Robin Wright Penn has little to do except look pallid, while Spencer Treat Clark is sympathetic, but generic as David and Audrey's son. Charlayne Woodard sparkles as Elijah's mother, but only turns up for a few seconds.
In one of the lead parts, Bruce Willis suitably underplays his role, projecting the unspoken frustration of a man who aches because he has not lived up to his potential. But the real star of the show is Samuel L. Jackson, who, with wild eyes and an unkempt Afro, casts a mesmerizing, vaguely threatening presence. Jackson skillfully creates a character that at once seems like a visionary and a crackpot, only to betrayed by the screenplay.
"Unbreakable" concludes with a revelation and then just stops, with a few on-screen sentences telling us what happened next. Imagine watching Darth Vader intone, "Luke, I am your father," only to have the film freeze at that point, with the words LUKE WENT ON TO GREATNESS, WHILE DARTH VADER COMMITTED MANY MORE VILE DEEDS, REDEEMING HIMSELF ONLY MOMENTS BEFORE HIS DEATH pasted over their faces and you'll know what to expect.
M. Night Shyamalan is a talented writer and director. Hopefully, he'll spend a little more time on the script before making his next… AND THEN THE REVIEW ENDED.
© 2000 Ed Johnson-Ott
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


THE POSTMAN (IL POSTINO) A film review by Steve Rhodes Copyright 1996 Steve Rhodes
RATING (0 TO ****): ** 1/2
Just as Gene Siskel recently admitted that he walked out of BLACK SHEEP, let me confess that I went to see THE POSTMAN (IL POSTINO) as soon as it was released last year, but walked out bored stiff after twenty minutes, and so I never wrote a review of it. Since it got two major Oscar nominations, Best Picture and Best Actor (Massimo Troisi), I decided to go back and see it all no matter how unpromising it seemed in the beginning. In short, I am glad I did, but I do not think the film is Oscar caliber. I found THE POSTMAN to be an extremely slow, but heart warming little picture.
On a small and poor Italian island in 1953, a famous Chilean poet, Pablo Neruda (Philippe Noiret), comes to live in exile. Since he is an avowed Communist, he is shunned by his government, but since he is known as "the Poet of Love", he is adored by all the women of the world. That he is plain looking, in his 50s and balding is of no concern to them; they are hot for him because of his poetry.
Massimo Troisi plays a simpleton, a la Forest Gump, called Mario Ruoppolo. Mario applies to be the postman to part of the island. It turns out that in that area everyone is illiterate except for the newly arrived poet and hence the poet is the only one that ever gets mail. Being a mailman to a single person is more work that it might seem since woman all over the planet write to the Poet of Love.
Pablo becomes a mentor to Mario who decides he wants to be a poet too. Mario wants to know all of his secrets since he is in awe of him. Pablo tries to convince Mario that poets are quite human and tells him, "We poets are all fat." In a touching series of scenes, Pablo attempts to teach metaphors to Mario, but Mario is sure that the concept is too difficult. When he accidentally creates his first metaphor, Mario claims it does not count since it was not intentional.
Once reason Mario wants to be a poet is to attract women. Being painfully shy, he needs all the help he can get. When he goes into a bar, he sees a stunning beautiful woman, Beatrice Russo (Maria Grazia Cucinotta), in a low cut dress playing a table game with soccer players on sticks. He plays it with her without speaking, but loses since he spends most of the time staring at her.
An old Dictaphone type of instrument plays a key part in the show.
With Pablo's help, soon Mario is spouting poetry left and right. He woes Beatrice with lines including, "your laugh is a sudden silvery spoon," and "your smile spreads like a butterfly." With his new confidence, Mario becomes involved in the Communist party, but he wonders what would happen if they ever actually won. "So what if we break our chains? What do we do then?"
I did not buy the ending of the show. Although the conclusion did not detract from the overall effect of the picture, I found it too manipulative.
I have no idea why this film was nominated for best picture of the year for 1995. There were so many that were better, PERSUASION and TOY STORY just to name two much better ones. And as for Massimo Troisi getting the best actor nomination, I am even more surprised.  An effective, but monochromatic performance and certainly not worth award consideration.
The sets by Lorenzo Baraldi and the cinematography by Franco DiGiacomo create a wonderful atmosphere of a dirt poor but highly picturesque out of the way island. The town is lush shades of rose and salmon and most of the houses have highly texture stucco walls with pealing paint. The simple costumes by Gianna Gissi add to the feeling of prevailing but beautiful poverty. The natural grandeur of the sheer rocky cliffs overlooking the blue ocean seem a natural setting for poetry. Finally, my favorite part of the film is the music by Luis Enriquez Bacalov. It is dreamy music full of overtones of a simpler time and place.
THE POSTMAN runs a slow 1:56. The editor (Roberto Perpignani) and the director (Michael Radford) create a film with long scenes that are only sparsely filled with dialog. I suggest bulking up on coffee as I did, or the film's soporific pacing may put you to sleep. This is a sweet little life affirming movie, but it moves at a glacial speed. When there are words, they are in Italian subtitled in English. The film is rated PG for no reason whatsoever. There is no sex, nudity, violence, bad words, or anything to offend anyone of any age. A two year old could see this film. I give the movie a thumbs up and award it ** 1/2.
**** = One of the top few films of this or any year. A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show.  Totally unbearable.
REVIEW WRITTEN ON: February 21, 1996
Opinions expressed are mine and not meant to reflect my employer's.
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


Server Demo Page
This is a server side demo page for MBBVC: Matsuo BBVC.
Register Task
You can try to register your own task:
in JavaScript
in WebAssembly, compiled from C++
Registered Task List
Task ID
State
Details


Looks up code definition so you don't have to!
Highlight a piece of code you would like to lookup the definition for, and click this button again
Works like magic...
I didn't know where this method was defined, now I do!
It's like IntelliSense, but dumber.


RxJS Data Binding Example
Demonstrate concepts of RxJS form data binding!
Simple Form Data
First Name
Last Name
Form Data


Command-T makes macvim not work (cannot open a window)
-
anonymous
Hi all, I tried installing Command-T but as long as it's in the .vim/ruby/ folder, MacVim refuses to work--ie it cannot load an editor window, although it seems to be running since it is in the dock. I use rvm so I thought it might be the problem, but I tried rvm use system before the ruby and make commands with the same results. Any help would be much appreciated, this plugin looks absolutely amaazing.
-
Greg Hurrell
Are you using the latest MacVim snapshot? I would imagine that if you use that and build Command-T using the system Ruby then everything should work just fine.
In any case, it is rather odd that with Command-T present the MacVim window won't even appear. Anything logged to the console?
-
anonymous
Created
,
edited
Do you have Ruby Version Manager installed? That can cause problems.
@Wincent: I found that when installing CommandT with RVM active, it is important for FIRST set you default ruby version to 1.8.7 (which MacVim was built against?) Otherwise CommandT will built against the currently active version (for me that was 1.9.2) and it won't work.
So the solution is simple:
- check if you have 1.8.7
$ rvm list
- if not, install it
$ rvm install 1.8.7
- set it as default (I found that 'use' was not enough...)
$ rvm --default 1.8.7
- install command-t with the extconf.rb and make
$ ruby extconf.rb $ make
- fire up macvim and it should work just fine!
-
Jeroen Bourgois
This made me wiser:
http://jeroenbourgois.posterous.com/command-t-macvim-and-rvm
Reply
This topic is now closed.


CSS Design
Inline, block, and inline-block
January 24, 2015
In order to be able to create a visually appealing web page, one must understand the tools used to move objects around the webpage. This post will look at different ways to display objects on a webpage using CSS (Cascading Style Sheets). CSS is a language used to format HTML (HyperText Markup Language), which is the language through which all websites are interpreted. Specifically, this post will examine the display method and its features, inline, block, and inline-block.
Let’s say we have an object with some text inside, like this:
span{
background:red;
height:50px;
width:50px;
}
Inline
Now, let's add some text around it and set the display as inline (the default display).
span{
background:red;
height:50px;
width:50px;
display: inline;
}
Notice how the text is now "inline", but also how the margins of the objects have been changed to fit within the surrounding text.
Block
Next, let's look at the block attribute.
span{
background:red;
height:50px;
width:50px;
display: block;
}
First, notice how the margins of the object have not been effected at all. Second, notice that the object was moved down below.
Inline-block
Great! Finally, let's look at inline-block.
span{
background:red;
height:50px;
width:50px;
display: inline-block;
}
Cool! You should notice that inline-block combines attributes of both inline and block. Like inline, the object remains within the text--it does not start a new line. Like block, however, it sustains the border of the object and does not start a new line.
Now you know the difference between inline, block, and inline-block. If you're looking for a less visual explanation, I found this to be extremely helpful. So far, I have found that understanding the differences between certain CSS object settings can be tricky. I think practice will definitely be helpful. Good luck!
Last Post Next Post


Tweet me your github repository with some love. See Examples below
- @jo_liss Thanks for the link. We checked the repository and filed a PR: http://t.co/9bH8SJjGYY
— hugbot (@hugbotme) 24. Mai 2015
Okay. @hugbotme is maybe a little to huggy :D https://t.co/6mAkLPBGPC #Broccoli
— Andy Grunwald (@andygrunwald) 24. Mai 2015


We enhance solutions!
- reintermediate intuitive e-business
- innovate efficient partnerships
- facilitate sexy relationships
- disintermediate B2C initiatives
- iterate B2C e-commerce
- implement web-enabled infomediaries
- leverage value-added communities
- redefine web-enabled functionalities
- repurpose web-enabled niches
- reinvent robust bandwidth
- aggregate frictionless functionalities
- engineer extensible applications
- visualize robust portals


A new vulnerability fundamentally breaks zerocoin security. Watch out for any zerocoin related announcements in the next few days. Don't trade OTC. PIVX, VEIL, ZCOIN and many more projects affected. It's estimated that this can't be fixed.
Likes
171
Not sure how true that vuln is
jl777c26-Apr-19 04:52 PM
you mean the zcoin that used 3 year old tech at the time zcash was done and abandoned by professor green as being experimental proof of concept?
@TheCryptoSieve I don't have anything to do with those coins.
jl777c26-Apr-19 04:53 PM
and even the first iteration of zcash (sprout) has some very bad issues
dont roll your own crypto and dont use crypto libraries that the creator says is not good enough for production, unless you are smarter about the crypto math than he is
Following our earlier announcement, we wish to disclose further details on the Zerocoin vulnerability that we discovered to give further clarity to the
Hollowman900026-Apr-19 04:58 PM
Meh, if their new system doesn’t suffer from the flaw
How is this different from the sprout vulnerability and transition to sapling?
Other than showing perhaps they aren’t as diligent or experienced in crypto proof review
Which is kinda the whole shebang
jl777c26-Apr-19 05:01 PM
zcoin is a pre-sprout. so likely all the issues with sprout, it has. just that there is no next version for zcoin at the ready
Hollowman900026-Apr-19 05:01 PM
“Sigma”
1
Apparently
I don’t follow zcoin so I don’t know
LocoMB26-Apr-19 05:08 PM
black swan?!? I thought those were crows!
... tell me what thy lordly name is on the nights plutonian shore!! Quoth the raven NEVERMORE
@ShitcoinSherpa @Zel_Core Proxy token exchanges are fine. Maybe we can start calling them PEX's?
We have nothing against this model, we got listed on another Bitshares bridge last night.
This new one is "Know Your Chicken"-less.. https://t.co/Pn4Z2fc29n
"Tell us about the chicken."
And then a random reference to Shindlers list. Need to know what movie this is
Gif is certainly @Hollowman9000 approved.
LocoMB26-Apr-19 05:12 PM
bitcoinexchangeguide.com/cryptocapital-co-may-be-cryptos-black-swan/
this reads more like something from an ebola outbreak than any kind of trading businesses! Qudriga exmo CEX Bitfinex (edited)
I added to the pile yesterday.
 People are so stupid
1
crumb26-Apr-19 07:09 PM
yes, it's the end
jl777c26-Apr-19 07:11 PM
most all coins are looking like a ride down a water slide at the aquapark
KMD is middle of the pack on todays waterslide
coingirl8726-Apr-19 07:12 PM
No...kmd is top ten
jl777c26-Apr-19 07:12 PM
look on binance BTC markets
-6% is middle of pack.
maybe it is best to turn off the charts until BTC is back above $10k
by then all this "has the bear market really ended" talk will be gone
and KMD will be back to ICO price of 10k sats
or maybe up toward 100k sats
i would say 90% chance somewhere in between
coingirl8726-Apr-19 07:14 PM
Look at coinpaprika...kmd is number 10 of loosers(edited)
polycryptoblog26-Apr-19 07:15 PM
On cmc it’s not even on the top 30 losers, your point?
jl777c26-Apr-19 07:16 PM
not seeing it on the paprika list. if it was top 10 losers, then definitely time to dump the KMD as all hope is lost
The biggest gainers and losers trending in the cryptocurrency space over the last hour, day, and week
jl777c26-Apr-19 07:18 PM
well it is giant 77 BTC volume on binance
coingirl8726-Apr-19 07:18 PM
I talked about top 100 coins and volume over 1.000.000
jl777c26-Apr-19 07:18 PM
this is the big selloff
or
its just bots pushing the price down as i described the other day
77 BTC is probably half the bots trading to themselves to push the price down
get people to panic sell at the lower price
more profits that way
so that is the game
crumb26-Apr-19 07:19 PM
@coingirl87 stop being a drama queen and accept the fact that the whole crypto space is highly irrational. perhaps you should reduce your exposure if you get upset so easily
jl777c26-Apr-19 07:19 PM
we dont have any market operations to fiddle with the market price so these marketmaker bots do the pushing the price down
do you understand that there are people that sacrifice some BTC to push the price down, in order to buy at even lower prices?
that very few people are actually selling
the problem is that KMD only has about 100 million coins, a lot of coins that have disproportionate marketcap have billions and billions
that makes each coin cheap
and believe it or not a lot of people trade based on "hey its only 100 sats, it must be a good deal" type of logic
4
that centralized closed source DEX is the same as decentralized open source cross chain atomic swap DEX
that USDT is identical to USD
that LTC has done any real development since they changed the mining algo and blocktime
that CSW is really satoshi
the list goes on an on
that XRP and EOS are real crypto
that electric costs spent isnt anything real
crumb26-Apr-19 07:25 PM
highly irrational. just accept and embrace it
1
1
jl777c26-Apr-19 07:25 PM
that PoS is as secure as PoW (on the chain with most hashrate for that algo)
that unicorns run with joy in fields of green with two rainbows in the sky
2
2
3
2
we are still in the pets.com stage of the internet era, mapped to the crypto era
2
no crypto has any meaningful real world adoption beyond BTC (and even that is still at a relatively small scale) that all cryptos are tied for first to last place as far as mass market usage goes
maybe some are finally achieving some real usage in some areas
when no-name exchanges want to charge 100 BTC for listing due to their massive chinese audience and trading volumes


get the data¶
run the following two cells below to get the data for this exercise, then followup by reading the questions and writing your own code to answer them.
!pip install requests
Requirement already satisfied: requests in c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages (2.24.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages (from requests) (2020.6.20)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages (from requests) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages (from requests) (1.25.10)
import requests
url = "http://mlr.cs.umass.edu/ml/machine-learning-databases/adult/adult.data"
request = requests.get(url)
request.raise_for_status()
with open('adult.csv', 'w') as f:
f.write(request.text)
### now the data is available in the file adult.csv.
### read the questions below
# import pandas as pd
# pd.read_csv('adult.csv')
---------------------------------------------------------------------------
gaierror Traceback (most recent call last)
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connection.py in _new_conn(self)
159 conn = connection.create_connection(
--> 160 (self._dns_host, self.port), self.timeout, **extra_kw
161 )
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\util\connection.py in create_connection(address, timeout, source_address, socket_options)
60
---> 61 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
62 af, socktype, proto, canonname, sa = res
c:\users\aviad\appdata\local\programs\python\python37\lib\socket.py in getaddrinfo(host, port, family, type, proto, flags)
751 addrlist = []
--> 752 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
753 af, socktype, proto, canonname, sa = res
gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
NewConnectionError Traceback (most recent call last)
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
676 headers=headers,
--> 677 chunked=chunked,
678 )
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
391 else:
--> 392 conn.request(method, url, **httplib_request_kw)
393
c:\users\aviad\appdata\local\programs\python\python37\lib\http\client.py in request(self, method, url, body, headers, encode_chunked)
1251 """Send a complete request to the server."""
-> 1252 self._send_request(method, url, body, headers, encode_chunked)
1253
c:\users\aviad\appdata\local\programs\python\python37\lib\http\client.py in _send_request(self, method, url, body, headers, encode_chunked)
1297 body = _encode(body, 'body')
-> 1298 self.endheaders(body, encode_chunked=encode_chunked)
1299
c:\users\aviad\appdata\local\programs\python\python37\lib\http\client.py in endheaders(self, message_body, encode_chunked)
1246 raise CannotSendHeader()
-> 1247 self._send_output(message_body, encode_chunked=encode_chunked)
1248
c:\users\aviad\appdata\local\programs\python\python37\lib\http\client.py in _send_output(self, message_body, encode_chunked)
1025 del self._buffer[:]
-> 1026 self.send(msg)
1027
c:\users\aviad\appdata\local\programs\python\python37\lib\http\client.py in send(self, data)
965 if self.auto_open:
--> 966 self.connect()
967 else:
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connection.py in connect(self)
186 def connect(self):
--> 187 conn = self._new_conn()
188 self._prepare_conn(conn)
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connection.py in _new_conn(self)
171 raise NewConnectionError(
--> 172 self, "Failed to establish a new connection: %s" % e
173 )
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000002DED3D0BA88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
MaxRetryError Traceback (most recent call last)
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
448 retries=self.max_retries,
--> 449 timeout=timeout
450 )
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
726 retries = retries.increment(
--> 727 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
728 )
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\urllib3\util\retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
438 if new_retry.is_exhausted():
--> 439 raise MaxRetryError(_pool, url, error or ResponseError(cause))
440
MaxRetryError: HTTPConnectionPool(host='mlr.cs.umass.edu', port=80): Max retries exceeded with url: /ml/machine-learning-databases/adult/adult.data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002DED3D0BA88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
ConnectionError Traceback (most recent call last)
<ipython-input-2-83fe6576a1c2> in <module>
2
3 url = "http://mlr.cs.umass.edu/ml/machine-learning-databases/adult/adult.data"
----> 4 request = requests.get(url)
5 request.raise_for_status()
6 with open('adult.csv', 'w') as f:
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\api.py in get(url, params, **kwargs)
74
75 kwargs.setdefault('allow_redirects', True)
---> 76 return request('get', url, params=params, **kwargs)
77
78
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\api.py in request(method, url, **kwargs)
59 # cases, and look like a memory leak in others.
60 with sessions.Session() as session:
---> 61 return session.request(method=method, url=url, **kwargs)
62
63
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
528 }
529 send_kwargs.update(settings)
--> 530 resp = self.send(prep, **send_kwargs)
531
532 return resp
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\sessions.py in send(self, request, **kwargs)
641
642 # Send the request
--> 643 r = adapter.send(request, **kwargs)
644
645 # Total elapsed time of the request (approximately)
c:\users\aviad\appdata\local\programs\python\python37\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
514 raise SSLError(e, request=request)
515
--> 516 raise ConnectionError(e, request=request)
517
518 except ClosedPoolError as e:
ConnectionError: HTTPConnectionPool(host='mlr.cs.umass.edu', port=80): Max retries exceeded with url: /ml/machine-learning-databases/adult/adult.data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002DED3D0BA88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
income for adults from the 1994 census¶
This dataset was extracted done by Barry Becker from the 1994 Census database. source: http://mlr.cs.umass.edu/ml/datasets/Adult
Listing of attributes:
age: continuous.
workclass: Private, Self-emp-not-inc, Self-emp-inc, Federal-gov, Local-gov, State-gov, Without-pay, Never-worked.
fnlwgt: continuous.
education: Bachelors, Some-college, 11th, HS-grad, Prof-school, Assoc-acdm, Assoc-voc, 9th, 7th-8th, 12th, Masters, 1st-4th, 10th, Doctorate, 5th-6th, Preschool.
education-num: continuous.
marital-status: Married-civ-spouse, Divorced, Never-married, Separated, Widowed, Married-spouse-absent, Married-AF-spouse.
occupation: Tech-support, Craft-repair, Other-service, Sales, Exec-managerial, Prof-specialty, Handlers-cleaners, Machine-op-inspct, Adm-clerical, Farming-fishing, Transport-moving, Priv-house-serv, Protective-serv, Armed-Forces.
relationship: Wife, Own-child, Husband, Not-in-family, Other-relative, Unmarried.
race: White, Asian-Pac-Islander, Amer-Indian-Eskimo, Other, Black.
sex: Female, Male.
capital-gain: continuous.
capital-loss: continuous.
hours-per-week: continuous.
native-country: United-States, Cambodia, England, Puerto-Rico, Canada, Germany, Outlying-US(Guam-USVI-etc), India, Japan, Greece, South, China, Cuba, Iran, Honduras, Philippines, Italy, Poland, Jamaica, Vietnam, Mexico, Portugal, Ireland, France, Dominican-Republic, Laos, Ecuador, Taiwan, Haiti, Columbia, Hungary, Guatemala, Nicaragua, Scotland, Thailand, Yugoslavia, El-Salvador, Trinadad&Tobago, Peru, Hong, Holand-Netherlands.
income: >50K, <=50K.
1. load the data¶
extract the column names from the description and read the csv while supplying the columns names
rename columns with a hyphen
-
to use underscores_
insead. example:capital-gain --> capital_gain
look at the head()
look at info, dtype, check for nan values
what are the value counts of the categorical variables: workclass, education, marital_status, occupation, relationship, race, sex, native_country, income?
do you notice the extra space ‘ ‘ at the beginning of each value?
remove the extra space
turn ‘sex’ and ‘income’ into 0/1 fields
replace the categorical ‘sex’ column with a numerical ‘female’ column with value 1 for females and 0 for males
replace the categorical ‘income’ column with a numerical ‘over50k’ column with value 1 for ‘>50k’ and 0 for ‘<50K’
use
.describe()
function to get descriptive statistics for most columnsmake sure that ‘sex’ and ‘over50k’ are now numerical fields
2. explore capital gains / losses¶
capital_gain¶
plot the histogram for capital gains
verbally describe what you see
for people who have
capital_gain > 0
plot the histogram for capital gains
how many people have capital gains over 25000?
use
value_counts()
to look at all the values of capital_gain over 25000.what’s weird about the data?
could the people who had capital_gain==25124 be related?
does capital_gain over 50k mean income is over 50k?
capital_loss¶
plot the histogram of capital_loss
for people who have
capital_loss > 0
plot the histogram for capital_loss
how many people had both
capital_gain>0
andcapital_loss>0
?who can afford to lose money on capital investments?
what percent of people overall had over 50K income?
what percent of people with 0 capital_loss? with capital_loss>0?
combining and binning¶
create a new
capital_change
column that equalscapital_gain - capital_loss
use the
qcut
function to quantize/bin/cutcapital_change
into a new columns calledcapital_change_bin
with 10 bins of equal proportions.do not bin
capital_change==0
values as there are too many of themto simplify using this column later, use the left side of the interval created as the label
label rows with
capital_change==0
as havingcapital_change_bin=0
make sure you have no null values for
capital_change_bin
how many people have a non-zero capital_change?
lets call this ‘has_capital_change’
plot ‘has_capital_change’ over ‘over50k’
what do you learn from this diagram
plot
capital_change
byover50k
what do you learn from this diagram
plot
over50k
bycapital_change_bin
what can you learn from this diagram?
education¶
what is the mean education_num by education?
sort the education categories by the mean_values. does it make sense
check out other descriptive statistics to see if anything falls out of place
turn education into a categorical ordered type
plot education VS education_num
what have we learned?
plot the distribution for
education
plot over50k by education
what can we learn?
plot hours_per_week by education
what can we learn from this plot?
now use the hue=”over50k” of seaborn to see hours_per_week by education/over50k.
learn anything else?
plot education_num by occupation
sort by mean education_num
plot education_num by workclass
sort by mean education_num
create a crosstab or a pivot_table of education VS occupation.
normalize it by the education rows (each row X shows the conditional probability of having occupation Y by education level X)
create a heatmap that shows which occpupations are most likely for each education level
verbally describe what you’ve learned
create a crosstab or a pivot_table of education VS workclass.
normalize it by the education rows (each row X shows the conditional probability of having workclass Y by education level X)
create a heatmap that shows which workclass is most likely for each education level
verbally describe what you’ve learned
re-run this analysis without the private sector
plot “race” vs “education_num
plot “relationship” vs “education_num
occupation / workclass¶
how many levels of occupation?
how many levels of worklass?
how many combinations? potential? actual?
plot
over50k
byoccupation
sort by mean
over50k
compare this to
over50k
byeducation
. which variable more strongly predicts income?compare this to
education_num
byoccupation
. are the highest paying jobs correlated with highest earning education?
plot
over50k
byworkclass
look at combinations of occupation / workclass
what are the top combinations in terms of earning over50k (mean)? how many people in that category?
how many of these combinations have more than 100 people?
show a heatmap of the mean over50k of occupation-vs-worklass for combinations with more than 100 people. center the heatmap at the populations mean over50k for increased effect. what conclusions can you draw?
create a numerical encoding for occupation / workclass pairs
create a new column called “occ_class” that combines the string of the occupation and workclass
use the library category_encoders, here’s an intro how to do it
use the weight of evidence encoder
ce.woe.WOEEncoder
here’s an article explaining itadd the encoded occ_class as a new column called
occ_class_woe
to your dataframe
correlations¶
which features are most important, which correlate?
compute the correction matrix of features with themselves
draw a clustermap or heatmap of this correlation
center the cluster at 0
annotate the plot with the correlation values
look at the strongest correlations and draw some conclusions.
TODO:¶
look at
relationship
andmarriage_status
. how meaningful are they? should we encode them?look at
native_country
. how does immigration effect other variables? should we build further categories based on continent or on 1st/2nd/3rd world countries? should we add anis_immigrant
boolean column?we’ve done the analysis treating each row of the data as a person, when in fact each row represents a large group of people, with the variable
fnlwgt
counting how many people are in the group. redo some of the analysis with weighted averageslook further at age. should we cut this continous variable into age groups like 18-25, 25-40 etc ?
combine age/relationship to see if relationship effects can be explained away by age
education_num
seems to be a label encoding ofeducation
. I think some degrees are not properly captured with that encoding, likeassoc-voc
. it would be interesting to to recode it with woe againstover50k
and see if anything changes.data quality questions:
why are women under-represented in this data
why are there no hispanic/latin category in race?
compare to other interesting analysis:
Predicting Earning Potential using the Adult Dataset https://rpubs.com/H_Zhu/235617
related notebook on kaggle https://www.kaggle.com/uciml/adult-census-income


Please confirm your registration
Thank you for registering to our newsletter.
Please click the following button, to confirm your email address and your free registation:
If you dont confirm your email address, no newsletters can be sent. Of course you can revoke your agreement anytime. Should this registration be an accident or not sent on your behalf, you can ignore this email. No more messages will be sent to you.
Contact<EMAIL_ADDRESS>www.sendeffect.de Phone: +49 (0) 8571 - 97 39 - 69-0
Imprint Address: Schulgasse 5, D-84359 Simbach am Inn, Email<EMAIL_ADDRESS>Operator: WEBanizer AG, Register court: Local court Landshut HRB 5177, UstId.: DE 2068 62 070 Chairman: Ottmar Neuburger, Supervisory committee: Tobias Neuburger


Class PlacesService
Inherited Members
Namespace: TimeAndDate.Services
Assembly: TimeAndDate.Services.dll
Syntax
public class PlacesService : BaseService
Constructors
| Improve this Doc View SourcePlacesService(String, String)
The places service can be used to retrieve the list of supported places. The ids for the places are then used in the other services to indicate the location to be queried.
Declaration
public PlacesService(string accessKey, string secretKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accessKey | Access key. |
| System.String | secretKey | Secret key. |
Properties
| Improve this Doc View SourceIncludeCoordinates
Return coordinates for the Geography object.
Declaration
public bool IncludeCoordinates { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
| Improve this Doc View SourceGetPlaces()
Gets list of supported places
Declaration
public IList<Place> GetPlaces()
Returns
| Type | Description |
|---|---|
| IList<Place> | The places. |
GetPlacesAsync()
Gets list of supported places
Declaration
public async Task<IList<Place>> GetPlacesAsync()
Returns
| Type | Description |
|---|---|
| Task<IList<Place>> | The places. |


{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}Grant Unit{% endblock %} {% block custom_css %} {% endblock %} {% block page_content %}
Each year, the New York State Archives’ Local Government Records
Management Improvement Fund (LGRMIF) awards up to $1 million dollars to New York City mayoral agencies. The
grants are intended to help establish or improve records management programs. The Grant Administration Unit
(GAU) of the Department of Records and Information Services administers the LGRMIF program for city mayoral
agencies.
The Grant Administration Unit provides guidance to the agencies in the development of grant projects from
the first conceptual stages, to the preparation of final application drafts. The unit submits agencies’
proposals to the State and monitors projects progress for those that receive funding. At the conclusion of
grant projects, the Grant Administration Unit prepares comprehensive reports for the State Archives and the
New York City Comptroller’s office.


Projects
Desktop Search -
A powerful, hierarchical desktop search engine based on swing and lucene.
- Query-tree based search
- Full control over search results
- Different views for the result (globe rendering, list and grid view)
- Support all kind of documents and images
- Technology stack (Java, Gradle, Swing, Lucene, NASA Worldwind, TIKA)
JSpMM -
Sparse Matrix - Matrix Multiplication for GPU, Java8 Streams, Multicore CPU and GridGain.
- Support for different matrix types (CCS, COO, CRS, Dense)
- Matrix multiplication implementation for distributed systems (GridGain), Multicore CPU, OpenCL)
- Technology stack (Java, Gradle, OpenCL, GridGain)
SOM - RGB -
Visualization of SOM (self organizing map) algorithm based on RGB colorspace.
- It shows the interactive clustering for the SOM algorithm, in 2D and 3D
- Technology stack (Java, Gradle, Swing, Java3D)
EarthFeed -
EarthFeed is an interactive, knowledge-based RSS-FeedReader that displays news in realtime on an interactive World.
- RSS Feed reader
- 3D interactive globe rendering
- Place name extraction from news feeds
- Technology stack (Java, Gradle, NASA Worldwind)


Minio is an alternative to AWS S3 for object storage. Dinivas can create a Minio cluster and managed it for you


Building Spark with Maven
- Setting up Maven’s Memory Usage
- Specifying the Hadoop Version
- Building With Hive and JDBC Support
- Spark Tests in Maven
- Continuous Compilation
- Using With IntelliJ IDEA
- Building Spark Debian Packages
- Running Java 8 Test Suites
- Building for PySpark on YARN
- Packaging without Hadoop Dependencies for YARN
Building Spark using Maven requires Maven 3.0.4 or newer and Java 6+.
Setting up Maven’s Memory Usage
You’ll need to configure Maven to use more memory than usual by setting MAVEN_OPTS
. We recommend the following settings:
export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
If you don’t run this, you may see errors like the following:
[INFO] Compiling 203 Scala sources and 9 Java sources to /Users/me/Development/spark/core/target/scala-2.10/classes...
[ERROR] PermGen space -> [Help 1]
[INFO] Compiling 203 Scala sources and 9 Java sources to /Users/me/Development/spark/core/target/scala-2.10/classes...
[ERROR] Java heap space -> [Help 1]
You can fix this by setting the MAVEN_OPTS
variable as discussed before.
Note: For Java 8 and above this step is not required.
Specifying the Hadoop Version
Because HDFS is not protocol-compatible across versions, if you want to read from HDFS, you’ll need to build Spark against the specific HDFS version in your environment. You can do this through the “hadoop.version” property. If unset, Spark will build against Hadoop 1.0.4 by default. Note that certain build profiles are required for particular Hadoop versions:
| Hadoop version | Profile required |
|---|---|
| 0.23.x | hadoop-0.23 |
| 1.x to 2.1.x | (none) |
| 2.2.x | hadoop-2.2 |
| 2.3.x | hadoop-2.3 |
| 2.4.x | hadoop-2.4 |
For Apache Hadoop versions 1.x, Cloudera CDH “mr1” distributions, and other Hadoop versions without YARN, use:
# Apache Hadoop 1.2.1
mvn -Dhadoop.version=1.2.1 -DskipTests clean package
# Cloudera CDH 4.2.0 with MapReduce v1
mvn -Dhadoop.version=2.0.0-mr1-cdh4.2.0 -DskipTests clean package
# Apache Hadoop 0.23.x
mvn -Phadoop-0.23 -Dhadoop.version=0.23.7 -DskipTests clean package
For Apache Hadoop 2.x, 0.23.x, Cloudera CDH, and other Hadoop versions with YARN, you can enable the “yarn-alpha” or “yarn” profile and optionally set the “yarn.version” property if it is different from “hadoop.version”. The additional build profile required depends on the YARN version:
| YARN version | Profile required |
|---|---|
| 0.23.x to 2.1.x | yarn-alpha |
| 2.2.x and later | yarn |
Examples:
# Apache Hadoop 2.0.5-alpha
mvn -Pyarn-alpha -Dhadoop.version=2.0.5-alpha -DskipTests clean package
# Cloudera CDH 4.2.0
mvn -Pyarn-alpha -Dhadoop.version=2.0.0-cdh4.2.0 -DskipTests clean package
# Apache Hadoop 0.23.x
mvn -Pyarn-alpha -Phadoop-0.23 -Dhadoop.version=0.23.7 -DskipTests clean package
# Apache Hadoop 2.2.X
mvn -Pyarn -Phadoop-2.2 -Dhadoop.version=2.2.0 -DskipTests clean package
# Apache Hadoop 2.3.X
mvn -Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0 -DskipTests clean package
# Apache Hadoop 2.4.X
mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests clean package
# Different versions of HDFS and YARN.
mvn -Pyarn-alpha -Phadoop-2.3 -Dhadoop.version=2.3.0 -Dyarn.version=0.23.7 -DskipTests clean package
Building With Hive and JDBC Support
To enable Hive integration for Spark SQL along with its JDBC server and CLI,
add the -Phive
profile to your existing build options.
# Apache Hadoop 2.4.X with Hive support
mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -DskipTests clean package
Spark Tests in Maven
Tests are run by default via the ScalaTest Maven plugin.
Some of the tests require Spark to be packaged first, so always run mvn package
with -DskipTests
the first time. The following is an example of a correct (build, test) sequence:
mvn -Pyarn -Phadoop-2.3 -DskipTests -Phive clean package
mvn -Pyarn -Phadoop-2.3 -Phive test
The ScalaTest plugin also supports running only a specific test suite as follows:
mvn -Dhadoop.version=... -DwildcardSuites=org.apache.spark.repl.ReplSuite test
Continuous Compilation
We use the scala-maven-plugin which supports incremental and continuous compilation. E.g.
mvn scala:cc
should run continuous compilation (i.e. wait for changes). However, this has not been tested extensively.
Using With IntelliJ IDEA
This setup works fine in IntelliJ IDEA 11.1.4. After opening the project via the pom.xml file in the project root folder, you only need to activate either the hadoop1 or hadoop2 profile in the “Maven Properties” popout. We have not tried Eclipse/Scala IDE with this.
Building Spark Debian Packages
The Maven build includes support for building a Debian package containing the assembly ‘fat-jar’, PySpark, and the necessary scripts and configuration files. This can be created by specifying the following:
mvn -Pdeb -DskipTests clean package
The debian package can then be found under assembly/target. We added the short commit hash to the file name so that we can distinguish individual packages built for SNAPSHOT versions.
Running Java 8 Test Suites
Running only Java 8 tests and nothing else.
mvn install -DskipTests -Pjava8-tests
Java 8 tests are run when -Pjava8-tests
profile is enabled, they will run in spite of -DskipTests
.
For these tests to run your system must have a JDK 8 installation.
If you have JDK 8 installed but it is not the system default, you can set JAVA_HOME to point to JDK 8 before running the tests.
Building for PySpark on YARN
PySpark on YARN is only supported if the jar is built with Maven. Further, there is a known problem with building this assembly jar on Red Hat based operating systems (see SPARK-1753). If you wish to run PySpark on a YARN cluster with Red Hat installed, we recommend that you build the jar elsewhere, then ship it over to the cluster. We are investigating the exact cause for this.
Packaging without Hadoop Dependencies for YARN
The assembly jar produced by mvn package
will, by default, include all of Spark’s dependencies, including Hadoop and some of its ecosystem projects. On YARN deployments, this causes multiple versions of these to appear on executor classpaths: the version packaged in the Spark assembly and the version on each node, included with yarn.application.classpath. The hadoop-provided
profile builds the assembly without including Hadoop-ecosystem projects, like ZooKeeper and Hadoop itself.


---
layout: default
title: Publications
description: Let's push the bounderies of human knowledge to discover the world around us and our place in it
permalink: '/publications'
---
{{ page.description }}
{%- if site.data.bib.enable -%}
{%- assign pubs = site.data.bib -%}


Greenifier
Travel Green.
Earn points.
Enjoy discounts.
Plant trees.
Tap on the menu top left, become a Greenifier!


This subpart implements the Robert T. Stafford Disaster Relief and Emergency Assistance Act (42 U.S.C. 5150), which provides a preference for local organizations, firms, and individuals when contracting for major disaster or emergency assistance activities.
“Emergency response contract” means a contract with private entities that supports assistance activities in a major disaster or emergency area, such as debris clearance, distribution of supplies, or reconstruction.
“Local firm” means a private organization, firm, or individual residing or doing business primarily in a major disaster or emergency area.
“Major disaster or emergency area” means the area included in the official Presidential declaration(s) and any additional areas identified by the Department of Homeland Security. Major disaster declarations and emergency declarations are published in the Federal Register and are available at http://www.fema.gov/news/disasters.fema.
When awarding emergency response contracts during the term of a major disaster or emergency declaration by the President of the United States under the authority of the Robert T. Stafford Disaster Relief and Emergency Assistance Act (42 U.S.C. 5121, et seq.), preference shall be given, to the extent feasible and practicable, to local firms. Preference may be given through a local area set-aside or an evaluation preference.
The contracting officer may set aside solicitations to allow only local firms within a specific geographic area to compete (see 6.208).
(a) The contracting officer, in consultation with the requirements office, shall define the specific geographic area for the local set-aside.
(b) A major disaster or emergency area may span counties in several contiguous States. The set-aside area need not include all the counties in the declared disaster/emergency area(s), but cannot go outside it.
(c) The contracting officer shall also determine whether a local area set-aside should be further restricted to small business concerns in the set-aside area (see Part 19).
The contracting officer may use an evaluation preference, when authorized in agency regulations or procedures.
(a) In anticipation of potential emergency response requirements, agencies involved in response planning should consider awarding emergency response contracts before a major disaster or emergency occurs to ensure immediate response and relief. These contracts should be structured to respond to immediate emergency response needs, and should not be structured in any way that may inhibit the transition of emergency response work to local firms (e.g., unnecessarily broad scopes of work or long periods of performance).
(b) 42 U.S.C. 5150(b)(2) requires that agencies performing response, relief, and reconstruction activities transition to local firms any work performed under contracts in effect on the date on which the President declares a major disaster or emergency, unless the head of such agency determines in writing that it is not feasible or practicable. This determination may be made on an individual contract or class basis. The written determination shall be prepared within a reasonable time given the circumstances of the emergency.
(c) In effecting the transition, agencies are not required to terminate or renegotiate existing contracts. Agencies should transition the work at the earliest practical opportunity after consideration of the following:
(1) The potential duration of the disaster or emergency.
(2) The severity of the disaster or emergency.
(3) The scope and structure of the existing contract, including its period of performance and the milestone(s) at which a transition is reasonable (e.g., before exercising an option).
(4) The potential impact of a transition, including safety, national defense, and mobilization.
(5) The expected availability of qualified local offerors who can provide the products or services at a reasonable price.
(d) The agency shall transition the work to local firms using the local area set-aside identified in 26.202-1.
(a) 42 U.S.C. 5150(b)(1) requires that, subsequent to any Presidential declaration of a major disaster or emergency, any expenditure of Federal funds, under an emergency response contract not awarded to a local firm, must be justified in writing in the contract file. The justification should include consideration for the scope of the major disaster or emergency and the immediate requirements or needs of supplies and services to ensure life is protected, victims are cared for, and property is protected.
(b) The justification may be made on an individual or class basis. The contracting officer approves the justification.
(a) Contracting officers shall consult the Disaster Response Registry via https://www.acquisition.gov to determine the availability of contractors for debris removal, distribution of supplies, reconstruction, and other disaster or emergency relief activities inside the United States and outlying areas.
(b) A list of prospective vendors voluntarily participating in the Disaster Response Registry can be retrieved using the System for Award Management (SAM) search tool, which can be accessed via https://www.acquisition.gov. These vendors may be identified by selecting the criteria for “Disaster Response Contractors”. Contractors are required to register with SAM in order to gain access to the Disaster Response Registry.
(a) The contracting officer shall insert the provision at 52.226-3, Disaster or Emergency Area Representation, in solicitations involving the local area set-aside. For commercial items, see 12.301(e)(4).
(b) The contracting officer shall insert the clause at 52.226-4, Notice of Disaster or Emergency Area Set-aside in solicitations and contracts involving local area set-asides.
(c) The contracting officer shall insert the clause at 52.226-5, Restrictions on Subcontracting Outside Disaster or Emergency Area, in all solicitations and contracts that involve local area set-asides.


BOX MODEL
Navbar
my first box
my second box
my third box
my first box
my second box
my third box
Sizing Units
px units : popular absolute units
percentage: popular relative units
First half
Second half
em units


[Gecode] Header of C++ files fixed
Christian Schulte
schulte at imit.kth.se
Thu Sep 9 14:13:16 CEST 2004
What I forgot. In misc/fixheader you find the perl script I used for
generating the header... So, I actually didn't cheat!
Christian
--
Christian Schulte, http://www.imit.kth.se/~schulte/
-----Original Message-----
From: gecode-bounces at ps.uni-sb.de [mailto:gecode-bounces at ps.uni-sb.de] On
Behalf Of Christian Schulte
Sent: Thursday, September 09, 2004 2:11 PM
To: 'Technical discussions about Gecode'
Subject: [Gecode] Header of C++ files fixed
Dear all,
as promised, I just fixed the header of all C++ files in gecode. Please
check whether you want to correct some stuff manually by yourself (maybe if
you are listed as author or contributing author but don't feel that way).
The alice-stuff is not tagged with it as this is will not be part of gecode.
What still is required is that all the other files (Makefiles, autoconf
stuff) are also added with the same header. Guido, Gabor could you please do
that for the non msc stuff?
Cheers
Christian
--
Christian Schulte, http://www.imit.kth.se/~schulte/
_______________________________________________
Gecode mailing list
Gecode at ps.uni-sb.de http://www.ps.uni-sb.de/mailman/listinfo/gecode
More information about the gecode-users
mailing list


int printf ( const char * format, ... );
| specifier | Output | Example |
|---|---|---|
| d or i | Signed decimal integer | 392 |
| u | Unsigned decimal integer | 7235 |
| o | Unsigned octal | 610 |
| x | Unsigned hexadecimal integer | 7fa |
| X | Unsigned hexadecimal integer (uppercase) | 7FA |
| f | Decimal floating point, lowercase | 392.65 |
| F | Decimal floating point, uppercase | 392.65 |
| e | Scientific notation (mantissa/exponent), lowercase | 3.9265e+2 |
| E | Scientific notation (mantissa/exponent), uppercase | 3.9265E+2 |
| g | Use the shortest representation: %e or %f | 392.65 |
| G | Use the shortest representation: %E or %F | 392.65 |
| a | Hexadecimal floating point, lowercase | -0xc.90fep-2 |
| A | Hexadecimal floating point, uppercase | -0XC.90FEP-2 |
| c | Character | a |
| s | String of characters | sample |
| p | Pointer address | b8000000 |
| n |
Nothing printed.
The corresponding argument must be a pointer to a signed int . The number of characters written so far is stored in the pointed location. |
|
| % | A % followed by another % character will write a single % to the stream. | % |
| flags | description |
|---|---|
| - | Left-justify within the given field width; Right justification is the default (see width sub-specifier). |
| + | Forces to preceed the result with a plus or minus sign ( + or - ) even for positive numbers. By default, only negative numbers are preceded with a - sign. |
| (space) | If no sign is going to be written, a blank space is inserted before the value. |
| # |
Used with
o
,
x
or
X
specifiers the value is preceeded with
0
,
0x
or
0X
respectively for values different than zero.
Used with a , A , e , E , f , F , g or G it forces the written output to contain a decimal point even if no more digits follow. By default, if no digits follow, no decimal point is written. |
| 0 | Left-pads the number with zeroes ( 0 ) instead of spaces when padding is specified (see width sub-specifier). |
| width | description |
|---|---|
| (number) | Minimum number of characters to be printed. If the value to be printed is shorter than this number, the result is padded with blank spaces. The value is not truncated even if the result is larger. |
| * | The width is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted. |
| .precision | description |
|---|---|
| . number |
For integer specifiers (
d
,
i
,
o
,
u
,
x
,
X
):
precision
specifies the minimum number of digits to be written. If the value to be written is shorter than this number, the result is padded with leading zeros. The value is not truncated even if the result is longer. A
precision
of
0
means that no character is written for the value
0
.
For a , A , e , E , f and F specifiers: this is the number of digits to be printed after the decimal point (by default, this is 6). For g and G specifiers: This is the maximum number of significant digits to be printed. For s : this is the maximum number of characters to be printed. By default all characters are printed until the ending null character is encountered. If the period is specified without an explicit value for precision , 0 is assumed. |
| .* | The precision is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted. |
| specifiers | |||||||
|---|---|---|---|---|---|---|---|
| length | d i | u o x X | f F e E g G a A | c | s | p | n |
| (none) | int | unsigned int | double | int | char* | void* | int* |
| hh | signed char | unsigned char | signed char* | ||||
| h | short int | unsigned short int | short int* | ||||
| l | long int | unsigned long int | wint_t | wchar_t* | long int* | ||
| ll | long long int | unsigned long long int | long long int* | ||||
| j | intmax_t | uintmax_t | intmax_t * | ||||
| z | size_t | size_t | size_t * | ||||
| t | ptrdiff_t | ptrdiff_t | ptrdiff_t * | ||||
| L | long double |
c
specifier: it takes an
int
(or
wint_t
) as argument, but performs the proper conversion to a
char
value (or a
wchar_t
) before formatting it for output.
|
|
Characters: a A Decimals: 1977 650000 Preceding with blanks: 1977 Preceding with zeros:<PHONE_NUMBER> Some different radices: 100 64 144 0x64 0144 floats: 3.14 +3e+000 3.141600E+000 Width trick: 10 A string |


Flight 44:
KoreaSat 5A is a Ku-band satellite capable of providing communication services from East Africa and Central Asia to southern India, Southeast Asia, the Philippines, Guam, Korea, and Japan. The satellite will be placed in GEO at 113° east longitude and will provide services ranging from broadband internet to broadcasting services and maritime communications. -wiki


For continuous integration on a CI server, the usual lifecycle is:
Prepare quickstart artifact and license -> install and start AEM instance -> deploy project artifacts -> restart -> await initialization -> execute tests -> kill instance
This process can easily be modeled using the aem-maven plugin. The following example
Note that this sample config explicitly increases the timeout values for startup and installation - this can be necessary if deployments and configurations cause aem (re-)starts to take long. In addition, the pauseJcrInstaller flag will pause the installer before deployment and activate it afterwards. This means that bundles and configurations are not installed or applied while the deployment is running, thus stabilizing the deployment.
<plugin> <artifactId>maven-dependency-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>prepare-aem-quickstart</id> <phase>generate-test-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <!-- In this example, this zip contains a quickstart.jar and license.properties --> <groupId>com.example.company</groupId> <artifactId>aem-6.5</artifactId> <version>1.0.0</version> <type>zip</type> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}/aem/publish</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.unic.maven.plugins</groupId> <artifactId>aem-maven-plugin</artifactId> <version>2.0.17-SNAPSHOT</version> <configuration> <aemType>publish</aemType> <startupWaitTime>5</startupWaitTime> <initializationWaitTime>5</initializationWaitTime> <shutdownWaitTime>5</shutdownWaitTime> <pauseJcrInstaller>true</pauseJcrInstaller> </configuration> <executions> <execution> <id>prepare-aem-instance-for-test</id> <phase>pre-integration-test</phase> <goals> <goal>kill</goal> <!-- Make sure no orphaned instance is running, e.g. due to a previously aborted build --> <goal>start</goal> <!-- Start or install the instance --> <goal>deploy</goal> <!-- Deploy the artifacts and / or files configured below --> <goal>restart</goal> <!-- Stop and Start --> </goals> <configuration> <deployArtifacts> <artifact>com.acme.groupId:acme-app-configurations:zip:${project.version}</artifact> <artifact>com.acme.groupId:acme-app-thirdparties:zip:${project.version}</artifact> <artifact>com.acme.groupId:acme-app:zip:${project.version}</artifact> <artifact>com.acme.groupId:acme-testcontent:zip:${project.version}</artifact> </deployArtifacts> </configuration> </execution> <execution> <id>terminate</id> <phase>post-integration-test</phase> <goals> <goal>kill</goal> </goals> </execution> </executions> </plugin>


Toggle navigation
Zillion
Home
Form A
(Application for permission to erect a lift)
(To be submitted to the Inspector of Lifts, Delhi)
{{item.question}}
Submit


Work
Browse Through the Work
Welcome to the portfolio of Kristina L. Hall. Within this website is the creative, professional, and personal portfolio of Kristina L. Hall. Included in this website is a resume of my education and of my experience in the field, a biography of my personal experiences in web design, and contact information for you to inquire about my services.


Initiator Peer
Receiver Peer
MyEtherWallet.com MEW Connect Integration Development Site
MyEtherWallet.com MEW Connect Integration Development Site [Sign Message Page]


| PostgreSQL 9.5.19 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 8. Data Types | Next |
The pg_lsn data type can be used to store LSN (Log Sequence Number) data which is a pointer to a location in the XLOG. This type is a representation of XLogRecPtr and an internal system type of PostgreSQL.
Internally, an LSN is a 64-bit integer, representing a byte position in the write-ahead log stream. It is printed as two hexadecimal numbers of up to 8 digits each, separated by a slash; for example, 16/B374D848. The pg_lsn type supports the standard comparison operators, like = and >. Two LSNs can be subtracted using the - operator; the result is the number of bytes separating those write-ahead log positions.


| 025:036 Khan | : |
And We said: "Go you both to the people who have denied Our Ayat (proofs, evidences, verses, lessons, signs, revelations, etc.)." Then We destroyed them with utter destruction. |
| 025:036 Maulana | : |
Then We said: Go you both to the people who reject Our messages. So We destroyed them with utter destruction. |
| 025:036 Pickthal | : |
Then We said: Go together unto the folk who have denied Our revelations. Then We destroyed them, a complete destruction. |
| 025:036 Rashad | : |
We said, "Go, both of you, to the people who rejected our revelations," and subsequently, we utterly annihilated the rejectors. |
| 025:036 Sarwar | : |
We told them, "Both of you go to the people who have rejected Our revelations." We completely destroyed these unbelievers. |
| 025:036 Shakir | : |
Then We said: Go you both to the people who rejected Our communications; so We destroyed them with utter destruction. |
| 025:036 Sherali | : |
And WE said to them, 'Go both of you to the people who have rejected OUR Signs;' Then WE destroyed them utterly. |
| 025:036 Yusufali | : |
And We command: "Go ye both, to the people who have rejected our Signs:" And those (people) We destroyed with utter destruction. |
Concepts/Themes Covered:
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


50 Tips and Tricks for MongoDB Developers: Get the Most Out of Your Database
ISBN-13:<PHONE_NUMBER>614
ISBN-10:<PHONE_NUMBER>
Author: Kristina Chodorow
Edition: 1
Binding: Paperback
Publisher: O'Reilly Media
Published: May 2011
List Price: $27.99
Best Rental Prices |
||||
|---|---|---|---|---|
| #1 |
Free shipping Ready to ship |
Notes |
||
| #2 |
+5.99 shipping Ready to ship |
Notes |


This track shows 5' cap analysis gene expression (CAGE) tags and clusters in RNA extracts from different sub-cellular localizations in multiple cell lines. A CAGE cluster is a region of overlapping tags with an assigned value that represents the expression level. The data in this track were produced as part of the ENCODE Transcriptome Project.
This track is a multi-view composite track that contains multiple data types (views). For each view, there are multiple subtracks that display individually on the browser. Instructions for configuring multi-view tracks are here. To show only selected subtracks, uncheck the boxes next to the tracks that you wish to hide.
This track contains the following views:
Metadata for a particular subtrack can be found by clicking the down arrow in the list of subtracks.
Replicate numbering in the track display page is done by rank. The first replicate available may be replicate number three.
Color differences in subtracks may be set as a visual cue to distinguish between the different cell types or between annotations on the plus and minus strand.
Cells were grown according to the approved ENCODE cell culture protocols. RNA molecules longer than 200 nt were isolated from each subcellular compartment and then were fractionated into polyA+ and polyA- fractions as described in these protocols. The CAGE tags were sequenced from the 5' ends of cap-trapped cDNAs produced using RIKEN CAGE technology (Kodzius et al. 2006; Valen et al. 2009). To create the tag, a linker was attached to the 5' end of polyA+ or polyA- reverse-transcribed cDNAs which were selected by cap trapping (Carninci et al. 1996). The first 27 bp of the cDNA were cleaved using class II restriction enzymes. A linker was then attached to the 3' end of the cDNA.
After PCR amplification, the tags were sequenced using Illumina's Genome analyzer or HiSeq. The read lengths for each sample are specified in the metadata. Tags were mapped to the human genome (hg19) using the program Delve (T. Lassmann manuscript in preparation). Delve is a new probabilistic aligner focused on giving the best possible alignment of reads to a genome rather than focusing on speed. It calculates the mapping accuracy (probability of each alignment being true or not) for each alignment. There is no set limit on the number of errors allowed and therefore the mapping rate is commonly 100%. However, for analysis it is recommended to discard alignments with low mapping qualities.
Exceptions to the above protocol are the polyA- RNA samples from K562 cytosol, K562 nucleus, and prostate whole cell which were sequenced using ABI SOLiD technology. These reads were mapped using Bowtie with its default parameters. Clusters were defined as regions of overlapping CAGE reads. The expression level was computed as the number of reads making up the cluster, divided by the total number of reads sequenced, times 1 million.
This is Release 4 (July 2012) of Riken CAGE. Three missing Transcription Start Sites determined by Hidden Markov Models (TssHmm) tables have been added (H1-hesc Nucleus, H1-hesc Cytosol and NHEK Nucleus polyA+ samples).
As with previous releases, the orignal data from the hg18 version of this track is still included and can be noted in the metadata as having a bioRepId that starts with gen0. This older data may be missing some information and does not have replicates. If there are new data available for an older sample, only the newer data is displayed. The older data is still availble for downloads.
These data were generated and analyzed by Timo Lassmann, Phil Kapranov, Hazuki Takahashi, Yoshihide Hayashizaki, Carrie Davis, Tom Gingeras, and Piero Carninci.
Contact: Piero Carninci at RIKEN Omics Science Center
Carninci P, Kvam C, Kitamura A, Ohsumi T, Okazaki Y, Itoh M, Kamiya M, Shibata K, Sasaki N, Izawa M, et al. High-efficiency full-length cDNA cloning by biotinylated CAP trapper. Genomics. 1996 November 1; 37(3):327-336.
Kodzius R, Kojima M, Nishiyori H, Nakamura M, Fukuda S, Tagami M, Sasaki D, Imamura K, Kai C, Harbers M, et al. CAGE: cap analysis of gene expression. Nat Methods. 2006 March 1; 3(3):211-222.
Valen E, Pascarella G, Chalk A, Maeda N, Kojima M, Kawazu C, Murata M, Nishiyori H, Lazarevic D, Motti D, et al. Genome-wide detection and analysis of hippocampus core promoters using DeepCAGE. Genome Res. 2009 February; 19(2):255-265.
Data users may freely use ENCODE data, but may not, without prior consent, submit publications that use an unpublished ENCODE dataset until nine months following the release of the dataset. This date is listed in the Restricted Until column, above. The full data release policy for ENCODE is available here.