Chapter 2 Empirical Background
This is a study of variation in the COVID-19 pandemic. Coronavirus disease 19 (COVID-19) is the disease resulting from infection by the Severe acute respiratory syndrome-related coronavirus 2 (SARS-CoV-2) (Gorbalenya et al. 2020). The very first identified and genetically sequenced case of COVID-19 was on 26 December 2019 of a patient who was a worker at a seafood market in Wuhan China ((“A Novel Coronavirus from Patients with Pneumonia in China, 2019 | NEJM,” n.d.)). The designation of pandemic was assigned by the World Health Organization on March 11, 2020 on the criteria that the disease is both new and has cases observed worldwide (“WHO | What Is a Pandemic?” n.d.).
Occupation, Income, Race Hospitlization COVID-19 Symptoms -> COVID-19 Tested Occupation -> COVID-19 Positive -> COVID-19 Symptoms
Hospitalization Rates and Characteristics of Patients Hospitalized with Laboratory-Confirmed Coronavirus Disease 2019 — COVID-NET, 14 States, March 1–30, 2020 https://www.cdc.gov/mmwr/volumes/69/wr/mm6915e3.htm (Garg 2020)
Coronavirus Disease 2019 (COVID-19)-Associated Hospitalization Surveillance Network (COVID-NET) https://www.cdc.gov/coronavirus/2019-ncov/covid-data/covid-net/purpose-methods.html COVID-NET differs from hospitalizations reported in national and state case counts in two ways. First, state and national COVID-19 case reporting are based on all people who test positive for COVID-19 in the United States. COVID-NET is limited to COVID-19-associated hospitalizations captured in the COVID-NET surveillance area. Second, COVID-NET reports rates and not just counts. These rates show how many people are hospitalized with COVID-19 in the surveillance area, compared to the entire number of people residing in that area. COVID-NET comprises 99 counties in the 14 states participating in the Emerging Infections Program (EIP) and the Influenza Hospitalization Surveillance Project (IHSP). Participating states include: California, Colorado, Connecticut, Georgia, Iowa, Maryland, Michigan, Minnesota, New Mexico, New York, Ohio, Oregon, Tennessee, and Utah. COVID-NET covers approximately 10 percent of the U.S. population. The counties covered are located in all 10 Health and Human Services (HHS) regionsexternal icon. The designated COVID-NET surveillance area is generally similar to the U.S. population by demographics; however, the information might not be generalizable to the entire country. So it’s 14 states, 99 counties, sampled-ish maybe from the 10 HHS regions.
Non-random samples (Griffith et al. 2020)
Who get’s tested? Polymerase chain reaction (PCR) antigen tests are used to confirm a suspected (currently active) COVID-19 infection. Studies that aim to determine the risk factors for confirmed current COVID-19 infection therefore rely on participants having received a COVID-19 antigen test (hereafter for simplicity: COVID-19 test or test).
Timeline On December 31 2019, China notified the World Health Organisation (WHO) about a cluster of pneumonia cases of unknown aetiology in Wuhan, the capital of the Hubei Province. The initial evidence was suggestive of the outbreak being associated with a seafood market in Wuhan, which was closed on January 1 2020. The aetiological agent was characterised as a SARS-like betacoronavirus, later named SARS-CoV-2, and the first whole genome sequence (Wuhan-HU-1) was deposited on NCBI Genbank on January 5 2020 (Wu et al., 2020).
References
Garg, Shikha. 2020. “Hospitalization Rates and Characteristics of Patients Hospitalized with Laboratory-Confirmed Coronavirus Disease 2019 COVID-NET, 14 States, March 130, 2020.” MMWR. Morbidity and Mortality Weekly Report 69. https://doi.org/10.15585/mmwr.mm6915e3.
Gorbalenya, Alexander E., Susan C. Baker, Ralph S. Baric, Raoul J. de Groot, Christian Drosten, Anastasia A. Gulyaeva, Bart L. Haagmans, et al. 2020. “The Species Severe Acute Respiratory Syndrome-Related Coronavirus : Classifying 2019-nCoV and Naming It SARS-CoV-2.” Nature Microbiology 5 (4): 536–44. https://doi.org/10.1038/s41564-020-0695-z.
Griffith, Gareth, Tim T Morris, Matt Tudball, Annie Herbert, Giulia Mancano, Lindsey Pike, Gemma C Sharp, et al. 2020. “Collider Bias Undermines Our Understanding of COVID-19 Disease Risk and Severity.” medRxiv, January, 2<IP_ADDRESS>90506. https://doi.org/10.1101/2<IP_ADDRESS>90506.
“WHO | What Is a Pandemic?” n.d. WHO. http://www.who.int/csr/disease/swineflu/frequently_asked_questions/pandemic/en/; World Health Organization.


|
Connected Home over IP
672cf7684
|
A serialized QNAME is comprised of. More...
#include <lib/mdns/minimal/core/QName.h>
Public Member Functions | |
| SerializedQNameIterator () | |
| SerializedQNameIterator (const SerializedQNameIterator &)=default | |
| SerializedQNameIterator & | operator= (const SerializedQNameIterator &)=default |
| SerializedQNameIterator (const BytesRange validData, const uint8_t *position) | |
| bool | Next () |
| Advances to the next element in the sequence Returns true if new data was available. More... | |
| bool | IsValid () const |
| Find out if the data parsing is ok. More... | |
| QNamePart | Value () const |
| Valid IFF Next() returned true. More... | |
| const uint8_t * | FindDataEnd () |
| Get the end of the sequence without following any backwards pointers. More... | |
| bool | operator== (const FullQName &other) const |
| bool | operator!= (const FullQName &other) const |
| void | Put (chip::Encoding::BigEndian::BufferWriter &out) const |
A serialized QNAME is comprised of.
This class allows iterating over such parts while validating that the parts are within a valid range
|
inline |
|
default |
|
inline |
| const uint8_t * mdns::Minimal::SerializedQNameIterator::FindDataEnd | ( | ) |
Get the end of the sequence without following any backwards pointers.
Changes iterator state.
returs nullptr on error (invalid data)
|
inline |
Find out if the data parsing is ok.
If invalid data is encountered during a [Next] call, this will return false. Check this after Next returns false.
| bool mdns::Minimal::SerializedQNameIterator::Next | ( | ) |
Advances to the next element in the sequence Returns true if new data was available.
|
inline |
|
default |
| bool mdns::Minimal::SerializedQNameIterator::operator== | ( | const FullQName & | other | ) | const |
|
inline |
|
inline |
Valid IFF Next() returned true.
Next has to be called after construction


evel sandbox challenge
evel.js claims to provide a trustworthy sandbox for running untrusted JavaScript code in modern browsers…
…can you prove this wrong?
The Sandbox
The Rules
- Provide code that pops up an
alert
(or erases the page or causes network activity…) when evel
'ed.
- Any code given in this URL's fragment part (e.g.
#prompt("What%20is%20your%20quest?")
) will run automatically.
- Share any holes found in
evel
via github issues unless they are browser vulnerabilities…
- …for browser-specific bugs please responsibly contact the vendor. Do let me know something has been filed, please.
Known issues:
- (Most) JavaScript globals are intentionally exposed, as they should not be exploitable.
- Can't prevent infinite loops. Credit: Dominic Tarr
Constructor-based leaking in IE. Credit: Mario Heiderich
Function("return this")()
=== ouch. Credit: Stefano Di Paola
- Previous two fixed! Credit: Aaron Kumavis
Global leakage via `evel` itself! Credit: Mickael van der Beek
- 2015/Feb/3 — Fixed the previous self-inflicted vulnerability, added tests.
- clever exploit here?
© 2013-2015 Nathan Vander Wilt. Terms and conditions apply or something.


Crystals Collector Game
Wins:
Losses:
Number to Guess:
Score:
Match score to the random number for a WIN!!
Click on a Crystal to add to your score!


-
A camel is a horse designed by committee
I don't start with a design objective, I start with a communication objective. I feel my project is successful if it communicates what it is supposed to communicate.
Start free trial
I don't start with a design objective, I start with a communication objective. I feel my project is successful if it communicates what it is supposed to communicate.
Start free trialI don't start with a design objective, I start with a communication objective. I feel my project is successful if it communicates what it is supposed to communicate.
Start free trialI don't start with a design objective, I start with a communication objective. I feel my project is successful if it communicates what it is supposed to communicate.
Start free trialI don't start with a design objective, I start with a communication objective. I feel my project is successful if it communicates what it is supposed to communicate.
Start free trialA chair is the first thing you need when you don’t really need anything, and is therefore a peculiarly compelling symbol of civilization.
Get Started


Welcome professor {{userInfo.family_name}}, {{userInfo.given_name}}
Please, upload your video following the next steps.
Name: {{video.name}}
Class number: {{video.class}}


IE-Admin
Inspire Electronics Admin System for fast CakePHP development
Requirements
- CakePHP 2.x.x
- PHP 5.3.0 or greater
- MySql 4 or greater
- Apache (mod_rewrite) also works with Nginx
Instalation
Git:
git clone https://github.com/elektricmaster7/IE-Admin.git
Functionality
- Administration Panel
- User/Group/Rules
- Material Design
Roadmap
- New Admin Material Design template
- Store Module Plugin
- Full Translation Support
- Administration Flexible yet functional generation
Developed
DEVELOPED BY INSPIRE ELECTRONICS © 2017 IN SUNNY ALENTEJO - PORTUGAL


| Opcode | Instruction | 64-Bit Mode | Compat/Leg Mode | Description |
| D9 F7 | FINCSTP | Valid | Valid | Increment the TOP field in the FPU status register. |
Adds one to the TOP field of the FPU status word (increments the top-of-stack pointer). If the TOP field contains a 7, it is set to 0. The effect of this instruction is to rotate the stack by one position. The contents of the FPU data registers and tag register are not affected. This operation is not equivalent to popping the stack, because the tag for the previous top-of-stack register is not marked empty.
This instruction’s operation is the same in non-64-bit modes and 64-bit mode.
IF TOP = 7 THEN TOP ← 0; ELSE TOP ← TOP + 1; FI;
The C1 flag is set to 0. The C0, C2, and C3 flags are undefined.
None.
| #NM | CR0.EM[bit 2] or CR0.TS[bit 3] = 1. |
| #MF | If there is a pending x87 FPU exception. |
| #UD | If the LOCK prefix is used. |
Same exceptions as in protected mode.
Same exceptions as in protected mode.
Same exceptions as in protected mode.
Same exceptions as in protected mode.


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Pooling
This annotation provides some basic parameters that affect the pooling service.
SystemPooling
| Optional Element Summary | |
|---|---|
long |
creationTimeOut
The default maximum amount of time (in milliseconds) the Pool.obtainObject() method should block before throwing an
exception when the pool is exhausted and the
"when exhausted" action is
SystemPooling.EXHAUSTED_BLOCK . |
boolean |
enable
Specifies true to activate the pooling service. |
boolean |
JustInTime
JustInTime activation (TRUE) allows multiple clients to use your component seemingly simultaneously. |
int |
MaxPoolSize
This parameter defines the maximum number of objects that can be obtained from the pool at a given time. |
int |
MinPoolSize
This property controls the minimum objects that must be maintained in the pool at all times. |
SystemPooling |
options
Provides all the configuration parameters that affect the pooling service. |
public abstract boolean enable
public abstract boolean JustInTime
The default setting for this parameter is false.
public abstract int MinPoolSize
The values should be greater than or equal to 0. The default setting for this parameter is 0.
public abstract int MaxPoolSize
SystemPooling.exhaustedActionType()
property.
Values should be greater than or equal to 0. If a negative value is specified, there is no limit on the obtained objects, and theoretically the pool can never be exhausted.
The default setting for this parameter is 8
public abstract long creationTimeOut
Pool.obtainObject()
method should block before throwing an
exception when the pool is exhausted and the
"when exhausted" action
is
SystemPooling.EXHAUSTED_BLOCK
.
The values should be greater than 0. When less than or equal to 0,
the Pool.obtainObject()
method may block indefinitely.
The default setting for this parameter is -1 (the
Pool.obtainObject()
method is blocked indefinitely).
public abstract SystemPooling options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |


--- layout: default title: Sitemap overview: true ---
This is a listing of all the pages, and building blocks that make up the Dev Hub portal. Everything here you can navigate via HTML and programmatically via JSON, all accessible from this single sitemap.


Weekly Meeting
We have too many meetings
and everybody has to have their say
That's why I called you all here. Why don't you create a document that lists the rules for meetings at our company


{% extends 'layout.html' %} {% block content %} {% if tracks.length %}
{{ track.name }}
{{ track.artists[0].name }}
No results for that search. You probably should''ve searched SexyBack


“Assuming a realistic range of prior probabilities for null hypotheses, false report probability is likely to exceed 50% for the whole literature.”
Bem, D.J. (2011). Experimental evidence for anomalous retroactive influences on cognition and affect. Journal of Personality and Social Psychology, 100(3), 407-425.
“This article reports 9 experiments, involving more than 1,000 participants, that test for retroactive influence by”time-reversing" well-established psychological effects so that the individual’s responses are obtained before the putatively causal stimulus events occur."
“We argue that in order to convince a skeptical audience of a controversial claim, one needs to conduct strictly confirmatory studies and analyze the results with statistical tests that are conservative rather than liberal. We conclude that Bem’s p values do not indicate evidence in favor of precognition; instead, they indicate that experimental psychologists need to change the way they conduct their experiments and analyze their data.”
| Country | Females | Males | Age (wks) | Coded video Hrs |
|---|---|---|---|---|
| India | 17 | 13 | 3-63 | 3.1 (0.5-6.0) |
| U.S. | 15 | 19 | 4-62 | 4.6 (0.2-7.6) |
U.S. | India (Gilmore et al, 2015)
U.S. | India (Gilmore et al, 2015)
U.S. | India (Gilmore et al, 2015)
\(\begin{pmatrix}\dot{x} \\ \dot{y}\end{pmatrix}=\frac{1}{z} \begin{pmatrix}-f & 0 & x\\ 0 & -f & y \end{pmatrix} \begin{pmatrix}{v_x{}}\\ {v_y{}} \\{v_z{}}\end{pmatrix}+ \frac{1}{f} \begin{pmatrix} xy & -(f^2+x^2) & fy\\ f^2+y^2 & -xy & -fy \end{pmatrix} \begin{pmatrix} \omega_{x}\\ \omega_{y}\\ \omega_{z} \end{pmatrix}\)
Geometry of environment/observer: \((x, y, z)\) Translational speed: \((v_x, v_y, v_z)\) Rotational speed: \((\omega_{x}, \omega_{y}, \omega{z})\) Retinal flow: \((\dot{x}, \dot{y})\)
| Parameter | Crawling Infant | Walking Infant |
|---|---|---|
| Eye height | 0.30 m | 0.60 m |
| Locomotor speed | 0.33 m/s | 0.61 m/s |
| Head tilt | 20 deg | 9 deg |
| Geometric Feature | Distance |
|---|---|
| Side wall | +/- 2 m |
| Side wall height | 2.5 m |
| Distance of ground plane | 32 m |
| Field of view width | 60 deg |
| Field of view height | 45 deg |
| Type of Locomotion | Ground Plane | Room | Side Wall | Two Walls |
|---|---|---|---|---|
| Crawling | 14.41 | 14.42 | 14.43 | 14.62 |
| Walking | 9.38 | 8.56 | 7.39 | 9.18 |
Kitzes, J., Turek, D., & Deniz, F. (Eds.). (2018). The Practice of Reproducible Research: Case Studies and Lessons from the Data-Intensive Sciences. Oakland, CA: University of California Press. E-book.
“…psychologists tend to treat other peoples’ theories like toothbrushes; no self-respecting individual wants to use anyone else’s.”
“Reviewers and editors want novel, interesting results. Why would I waste my time doing careful direct replications?”
Any number of researchers I’ve talked with
## Joining multiple datasets
Fancy approach to multiple dataset merge. Joins datasets two at a time from left to right in the list. The result of a two-table join becomes the 'x' dataset for the next join of a new dataset 'y'.
```{r data-frame-demo}
df1 <- data.frame(id=1:10, x=rnorm(10), y=runif(10))
df2 <- data.frame(id=1:11, z=rnorm(11), a=runif(11))
df3 <- data.frame(id=2:10, b=rnorm(9), c=runif(9))
Reduce(function(...) { full_join(...) }, list(df1, df2, df3))
```
| Example | Multi-measure | Indiv link/search | Visualize | Self-curate | Permissions |
|---|---|---|---|---|---|
| Databrary | ✔ | ✔ | tabular | ✔ | ✔ |
| Human Proj | ✔ | ✔ | ? | ? | ✔ |
| ICPSR | ✔ | ? | ✔ | ? | ✔ |
| Neurosynth | fMRI BOLD | group data | ✔ | public | NA |
| OpenNeuro | ✔ | ? | ✔ | ✔ | public |
| Open Humans | ✔ | ✔ | ? | ? | ✔ |
| OSF | ✔ | ✔ | public | ||
| WordBank | M-CDI | group metadata | ✔ | ? | public |
This talk was produced on 2017-09-07 in RStudio Server Pro using R Markdown and the reveal.JS framework on Penn State’s ACI-ICS RStudio Server Pro instance. The code and materials used to generate the slides may be found at https://github.com/gilmore-lab/aci-ics-2017-09-07/. Information about the R Session that produced the code is as follows:
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS Sierra 10.12.6
##
## Matrix products: default
## BLAS: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
##
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] DiagrammeR_0.9.2 revealjs_0.9
##
## loaded via a namespace (and not attached):
## [1] Rcpp_0.12.12 compiler_3.4.1 RColorBrewer_1.1-2
## [4] influenceR_0.1.0 plyr_1.8.4 bindr_0.1
## [7] viridis_0.4.0 tools_3.4.1 digest_0.6.12
## [10] jsonlite_1.5 viridisLite_0.2.0 gtable_0.2.0
## [13] evaluate_0.10.1 tibble_1.3.3 rgexf_0.15.3
## [16] pkgconfig_2.0.1 rlang_0.1.2 igraph_1.1.2
## [19] rstudioapi_0.6 yaml_2.1.14 bindrcpp_0.2
## [22] gridExtra_2.2.1 downloader_0.4 dplyr_0.7.2
## [25] stringr_1.2.0 knitr_1.17 htmlwidgets_0.9
## [28] hms_0.3 grid_3.4.1 rprojroot_1.2
## [31] glue_1.1.1 R6_2.2.2 Rook_1.1-1
## [34] XML_3.98-1.9 rmarkdown_1.6 ggplot2_2.2.1
## [37] tidyr_0.6.3 purrr_0.2.3 readr_1.1.1
## [40] magrittr_1.5 backports_1.1.0 scales_0.5.0
## [43] htmltools_0.3.6 assertthat_0.2.0 colorspace_1.3-2
## [46] brew_1.0-6 stringi_1.1.5 visNetwork_2.0.1
## [49] lazyeval_0.2.0 munsell_0.4.3


A beautiful & handcrafted monitor stand to reduce neck and eye strain.
of $100,000 backed
total backers
days left
The Mastercraft Bamboo Monitor Riser is a sturdy and stylish platform that elevates your screen to a more comfortable viewing height. Placing your monitor at eye level has the potential to improve your posture and make you more comfortable while at work, helping you stay focused on the task at hand.
Featuring artisan craftsmanship, the simplicity of design creates extra desk space below your computer to allow notepads, pens, and USB sticks to be stored under the stand.
You get an ergonomic stand made of natural bamboo. You've helped us launch our promotional campaign, and you’ll be added to a special Backer member list.
You get a Black Special Edition computer stand and a personal thank you. You’ll be added to our Backer member list. Shipping is included.
You get two Special Edition Mahogany stands, a Backer T-Shirt, and a personal thank you. You’ll be added to our Backer member list. Shipping is included.
Want to support us in bringing Mastercraft Bamboo Monitor Riser out in the world?
Choose to support us without a reward if you simply believe in our project. As a backer, you will be signed up to receive product updates via email.
You get an ergonomic stand made of natural bamboo. You've helped us launch our promotional campaign, and you’ll be added to a special Backer member list.
 You’ll be added to our Backer member list. Shipping is included.
Enter your pledge
You get two Special Edition Mahogany stands, a Backer T-Shirt, and a personal thank you. You’ll be added to our Backer member list. Shipping is included.
Enter your pledge
Your pledge brings us one step closer to sharing Mastercraft Bamboo Monitor Riser worldwide. You will get an email once our campaign is completed.


---
layout: post
title: Towering Above Everything Else
date: 2008-10-14 05:36:10.000000000 +05:30
categories:
- kiranoncemore
- S3 IS
tags:
- kuala lumpur
- petronas
status: publish
type: post
published: true
meta:
_edit_last: '2'
author:
login: kiranoncemore
email<EMAIL_ADDRESS>display_name: kiranoncemore
first_name: Kiran
last_name: ''
---
Av:F/2.7; Tv: 1/20; ISO: 80;f: 6mm (35mm-eq: 38 mm)
At first glance, I thought this was an outstanding snap (yeah-yeah .. i patted myself on the back and stuff!). But when I examined it later, I found quite a few shortcomings:
- As a rule of thumb, tall structures should be shot in Portrait mode. Especially the once-tallest-building-on-earth. Of course, this is not a hard-and-fast rule. However, I think that this snap would have been much better had I rotated my camera 90 deg while clicking it.
- Even in landscape mode, it is not properly centered. I feel that symmetry is very important for these kinds of photos. Even if there was not perfect symmetry at the time of clicking the snap, I could have fixed it during post-processing (by rotating the picture a bit and inserting black background).
- There is still an oh-so-faint camera shake (you can discern it if you see the top of the tower on the your right). I probably should have gone for faster shutter. But that would have meant higher ISO and the accompanying noise.
- Probably giving it a Vivid Skin Tone might have enhanced the overall effect.
What other problem do you see with this snap? Comments are welcome!


Changes from 3.0.2 to 3.0.3
Varnishd
- Fix a race on the n_sess counter. This race made varnish do excessive
session workspace allocations. Bug #897.
- Fix some crashes in the gzip code when it runs out of memory. Bug #1037.
Bug #1043. Bug #1044.
- Fix a bug where the regular expression parser could end up in an infinite
loop. Bug #1047.
- Fix a memory leak in the regex code.
- DNS director now uses port 80 by default if not specified.
- Introduce idle_send_timeout and increase default value for send_timeout
to 600s. This allows a long send timeout for slow clients while still being
able to disconnect idle clients.
- Fix an issue where <esi:remove> did not remove HTML comments. Bug #1092.
- Fix a crash when passing with streaming on.
- Fix a crash in the idle session timeout code.
- Fix an issue where the poll waiter did not timeout clients if all clients
were idle. Bug #1023.
- Log regex errors instead of crashing.
- Introduce pcre_match_limit, and pcre_match_limit_recursion parameters.
- Add CLI commands to manually control health state of a backend.
- Fix an issue where the s_bodybytes counter is not updated correctly on
gunzipped delivery.
- Fix a crash when we couldn't allocate memory for a fetched object.
Bug #1100.
- Fix an issue where objects could end up in the transient store with a
long TTL, when memory could not be allocated for them in the requested
store. Bug #1140.
- Activate req.hash_ignore_busy when req.hash_always_miss is activated.
Bug #1073.
- Reject invalid tcp port numbers for listen address. Bug #1035.
- Enable JIT for better performing regular expressions. Bug #1080.
- Return VCL errors in exit code when using -C. Bug #1069.
- Stricter validation of acl syntax, to avoid a crash with 5-octet IPv4
addresses. Bug #1126.
- Fix a crash when first argument to regsub was null. Bug #1125.
- Fix a case where varnish delivered corrupt gzip content when using ESI.
Bug #1109.
- Fix a case where varnish didn't remove the old Date header and served
it alongside the varnish-generated Date header. Bug #1104.
- Make saint mode work, for the case where we have no object with that hash.
Bug #1091.
- Don't save the object body on hit-for-pass objects.
- n_ban_gone counter added to count the number of "gone" bans.
- Ban lurker rewritten to properly sleep when no bans are present, and
otherwise to process the list at the configured speed.
- Fix a case where varnish delivered wrong content for an uncompressed page
with compressed ESI child. Bug #1029.
- Fix an issue where varnish runs out of thread workspace when processing
many ESI includes on an object. Bug #1038.
- Fix a crash when streaming was enabled for an empty body.
- Better error reporting for some fetch errors.
- Small performance optimizations.
varnishncsa
- Support for tn in varnishncsa format strings.
- Add new format: %{VCL_Log:foo}x which output key:value from std.log() in
VCL.
- Add user-defined date formatting, using %{format}t.
varnishtest
- resp.body is now available for inspection.
- Make it possible to test for the absence of an HTTP header. Bug #1062.
- Log the full panic message instead of shortening it to 512 characters.
Other
- Documentation updates.
- Bump minimum number of threads to 50 in RPM packages.
- RPM packaging updates.
- Fix some compilation warnings on Solaris.
- Fix some build issues on Open/Net/DragonFly-BSD.
- Fix build on FreeBSD 10-current.
- Fix libedit detection on *BSD OSes. Bug #1003.
Changes from 3.0.2 rc 1 to 3.0.2
Varnishd
- Make the size of the synthetic object workspace equal to
http_resp_size and add workaround to avoid a crash when setting
too long response strings for synthetic objects.
- Ensure the ban lurker always sleeps the advertised 1 second when it
does not have anything to do.
- Remove error from vcl_deliver. Previously this would assert while
it will now give a syntax error.
varnishncsa
- Add default values for some fields when logging incomplete records
and document the default values.
Other
- Documentation updates
- Some Solaris portability updates.
Changes from 3.0.1 to 3.0.2 rc 1
Varnishd
- Only log the first 20 bytes of extra headers to prevent overflows.
- Fix crasher bug which sometimes happened if responses are queued and
the backend sends us Vary. Bug #994.
- Log correct size of compressed when uncompressing them for clients
that do not support compression. Bug #996.
- Only send Range responses if we are going to send a body. Bug #1007.
- When varnishd creates a storage file, also unlink it to avoid
leaking disk space over time. Bug #1008.
- The default size of the -s file parameter has been changed to
100MB instead of 50% of the available disk space.
- The limit on the number of objects we remove from the cache to make
room for a new one was mistakenly lowered to 10 in 3.0.1. This has
been raised back to 50. Bug #1012.
- http_req_size and http_resp_size have been increased to 8192
bytes. This better matches what other HTTPds have. Bug #1016.
VCL
- Allow relational comparisons of floating point types.
- Make it possible for vmods to fail loading and so cause the VCL
loading to fail.
varnishncsa
- Fixed crash when client was sending illegal HTTP headers.
- %{Varnish:handling} in format strings was broken, this has been
fixed.
Other
- Documentation updates
- Some Solaris portability updates.
Changes from 3.0.1 rc 1 to 3.0.1
Varnishd
- Fix crash in streaming code.
- Add fallback director, as a variant of the round-robin
director.
- The parameter http_req_size has been reduced on 32 bit machines.
VCL
- Disallow error in the vcl_init and vcl_fini VCL functions.
varnishncsa
- Fixed crash when using -X.
- Fix error when the time to first byte was in the format string.
Changes from 3.0.0 to 3.0.1 rc 1
Varnishd
- Avoid sending an empty end-chunk when sending bodyless responsed.
- http_resp_hdr_len and http_req_hdr_len were set to too low
values leading to clients receiving HTTP 400 Bad Request errors.
The limit has been increased and the error code is now HTTP 413
Request entity too large.
- Objects with grace or keep set were mistakenly considered as
candidates for the transient storage. They now have their grace and
keep limited to limit the memory usage of the transient stevedore.
- If a request was restarted from vcl_miss or vcl_pass it would
crash. This has been fixed. Bug #965.
- Only the first few clients waiting for an object from the backend
would be woken up when object arrived and this lead to some clients
getting stuck for a long time. This has now been fixed. Bug #963.
- The hash and client directors would mistakenly retry fetching an
object from the same backend unless health probes were enabled.
This has been fixed and it will now retry a different backend.
VCL
- Request specific variables such as client.* and server.* are now
correctly marked as not available in vcl_init and vcl_fini.
- The VCL compiler would fault if two IP comparisons were done on the
same line. This now works correctly. Bug #948.
varnishncsa
- Add support for logging arbitrary request and response headers.
- Fix crashes if hitmiss and handling have not yet been set.
- Avoid printing partial log lines if there is an error in a format
string.
- Report user specified format string errors better.
varnishlog
- varnishlog -r now works correctly again and no longer opens the
shared log file of the running Varnish.
Other
- Various documentation updates.
- Minor compilation fixes for newer compilers.
- A bug in the ESI entity replacement parser has been fixed. Bug
#961.
- The ABI of vmods are now checked. This will require a rebuild of
all vmods against the new version of Varnish.
Changes from 3.0 beta 2 to 3.0.0
Varnishd
- Avoid sending an empty end-chunk when sending bodyless responsed.
VCL
- The synthetic keyword has now been properly marked as only
available in vcl_deliver. Bug #936.
varnishadm
- Fix crash if the secret file was unreadable. Bug #935.
- Always exit if varnishadm can't connect to the backend for any
reason.
Changes from 3.0 beta 1 to 3.0 beta 2
Varnishd
- thread_pool_min and thread_pool_max now each refer to the number of
threads per pool, rather than being inconsistent as they were
before.
- 307 Temporary redirect is now considered cacheable. Bug #908.
- The stats command has been removed from the CLI interface. With
the new counters, it would mean implementing more and more of
varnishstat in the master CLI process and the CLI is
single-threaded so we do not want to do this work there in the first
place. Use varnishstat instead.
VCL
- VCL now treats null arguments (unset headers for instance) as empty
strings. Bug #913.
- VCL now has vcl_init and vcl_fini functions that are called when a
given VCL has been loaded and unloaded.
- There is no longer any interpolation of the right hand side in bans
where the ban is a single string. This was confusing and you now
have to make sure bits are inside or outside string context as
appropriate.
- Varnish is now stricter in enforcing no duplication of probes,
backends and ACLs.
varnishncsa
- varnishncsa now ignores piped requests, since we have no way of
knowing their return status.
VMODs
- The std module now has proper documentation, including a manual page
Changes from 2.1.5 to 3.0 beta 1
Upcoming changes
- The interpretation of bans will change slightly between 3.0 beta 1
and 3.0 release. Currently, doing ban("req.url == req.url")
will cause the right hand req.url to be interpreted in the context
of the request creating the ban. This will change so you will have
to do ban("req.url == " + req.url) instead. This syntax already
works and is recommended.
Varnishd
- Add streaming on pass and miss. This is controlled by the
beresp.do_stream boolean. This includes support for
compression/uncompression.
- Add support for ESI and gzip.
- Handle objects larger than 2G.
- HTTP Range support is now enabled by default
- The ban lurker is enabled by default
- if there is a backend or director with the name default, use
that as the default backend, otherwise use the first one listed.
- Add many more stats counters. Amongst those, add per storage
backend stats and per-backend statistics.
- Syslog the platform we are running on
- The -l (shared memory log file) argument has been changed,
please see the varnishd manual for the new syntax.
- The -S and -T arguments are now stored in the shmlog
- Fix off-by-one error when exactly filling up the workspace. Bug #693.
- Make it possible to name storage backends. The names have to be
unique.
- Update usage output to match the code. Bug #683
- Add per-backend health information to shared memory log.
- Always recreate the shared memory log on startup.
- Add a vcl_dir parameter. This is used to resolve relative path
names for vcl.load and include in .vcl files.
- Make it possible to specify -T :0. This causes varnishd to look
for a free port automatically. The port is written in the shared
memory log so varnishadm can find it.
- Classify locks into kinds and collect stats for each kind,
recording the data in the shared memory log.
- Auto-detect necessary flags for pthread support and VCC_CC
flags. This should make Varnish somewhat happier on Solaris. Bug
#663
- The overflow_max parameter has been renamed to queue_max.
- If setting a parameter fails, report which parameter failed as this
is not obvious during startup.
- Add a parameter named shortlived. Objects whose TTL is less
than the parameter go into transient (malloc) storage.
- Reduce the default thread_add_delay to 2ms.
- The max_esi_includes parameter has been renamed to
max_esi_depth.
- Hash string components are now logged by default.
- The default connect timeout parameter has been increased to 0.7
seconds.
- The err_ttl parameter has been removed and is replaced by a
setting in default.vcl.
- The default send_timeout parameter has been reduced to 1 minute.
- The default ban_lurker sleep has been set to 10ms.
- When an object is banned, make sure to set its grace to 0 as well.
- Add panic.show and panic.clear CLI commands.
- The default http_resp_hdr_len and http_req_hdr_len has been
increased to 2048 bytes.
- If vcl_fetch results in restart or error, close the
backend connection rather than fetching the object.
- If allocating storage for an object, try reducing the chunk size
before evicting objects to make room. Bug #880
- Add restart from vcl_deliver. Bug #411
- Fix an off-by-up-to-one-minus-epsilon bug where if an object from
the backend did not have a last-modified header we would send out a
304 response which did include a Last-Modified header set to
when we received the object. However, we would compare the
timestamp to the fractional second we got the object, meaning any
request with the exact timestamp would get a 200 response rather
than the correct 304.
- Fix a race condition in the ban lurker where a serving thread and
the lurker would both look at an object at the same time, leading to
Varnish crashing.
- If a backend sends a Content-Length header and we are streaming and
we are not uncompressing it, send the Content-Length header on,
allowing browsers to diplay a progress bar.
- All storage must be at least 1M large. This is to prevent
administrator errors when specifying the size of storage where the
admin might have forgotten to specify units.
VMODs
- Add a std vmod which includes a random function, log, syslog,
fileread, collect,
VCL
- Change string concatenation to be done using + rather than
implicitly.
- Stop using %xx escapes in VCL strings.
- Change req.hash += value to hash_data(value)
- Variables in VCL now have distinct read/write access
- bereq.connect_timeout is now available in vcl_pipe.
- Make it possible to declare probes outside of a director. Please see
the documentation on how to do this.
- The VCL compiler has been reworked greatly, expanding its abilities
with regards to what kinds of expressions it understands.
- Add beresp.backend.name, beresp.backend.ip and
beresp.backend.port variables. They are only available from
vcl_fetch and are read only. Bug #481
- The default VCL now calls pass for any objects where
beresp.http.Vary == "*". Bug #787
- The log keyword has been moved to the std vmod.
- It is now possible to choose which storage backend to be used
- Add variables storage.$name.free_space,
storage.$name.used_space and storage.$name.happy
- The variable req.can_gzip tells us whether the client accepts
gzipped objects or not.
- purge is now called ban, since that is what it really is and
has always been.
- req.esi_level is now available. Bug #782
- esi handling is now controlled by the beresp.do_esi boolean rather
than the esi function.
- beresp.do_gzip and beresp.do_gunzip now control whether an
uncompressed object should be compressed and a compressed object
should be uncompressed in the cache.
- make it possible to control compression level using the
gzip_level parameter.
- obj.cacheable and beresp.cacheable have been removed.
Cacheability is now solely through the beresp.ttl and
beresp.grace variables.
- setting the obj.ttl or beresp.ttl to zero now also sets the
corresponding grace to zero. If you want a non-zero grace, set
grace after setting the TTL.
- return(pass) in vcl_fetch has been renamed to
return(hit_for_pass) to make it clear that pass in vcl_fetch
and vcl_recv are different beasts.
- Add actual purge support. Doing purge will remove an object and
all its variants.
Libraries
- libvarnishapi has been overhauled and the API has been broken.
Please see git commit logs and the support tools to understand
what's been changed.
- Add functions to walk over all the available counters. This is
needed because some of the counter names might only be available at
runtime.
- Limit the amount of time varnishapi waits for a shared memory log
to appear before returning an error.
- All libraries but libvarnishapi have been moved to a private
directory as they are not for public consumption and have no ABI/API
guarantees.
Other
- Python is now required to build
- Varnish Cache is now consistently named Varnish Cache.
- The compilation process now looks for kqueue on NetBSD
- Make it possible to use a system jemalloc rather than the bundled
version.
- The documentation has been improved all over and should now be in
much better shape than before


MAGNOLIA
Reviewed by Harvey Karten New Line Cinema Director: Paul Thomas Anderson Writer: Paul Thomas Anderson Cast: William H. Macy, Julianne Moore, Tom Cruise, Jason Robards, Philip Seymour Hoffman, Jeremy Blackman, Michael Bowen, Philip Baker Hall, Melora Walters, John C. Reilly, Melinda Dillon, Emmanuel Johnson, Miriam Margolyes, Luis Guzman
"I am the master of my fate/ I am the captain of my soul," said the poet William Ernest Henley back in 1888, to which some of us, having witnessed some mighty irrational occurrences during this century, would cynically reply, "Ha!" Are we indeed creatures whose use of free will can make or break us? Of are we mere bondsmen to our real overlords and rulers, the vagaries of life--namely chance, accidents, coincidences, and our own past?
In Paul Thomas Anderson's vision, we are like puppets on strings, manipulated by Divine Will, flukes, happenstance, societal norms, and driven at times to near-insanity by the afflictions of our own past. Anderson's previous film, "Boogie Nights," re-created an extended family of pornographers in California's San Fernando Valley from the late seventies to the early eighties, centering on an alienated teen (Mark Wahlberg) who is made into a porn star. Like "Magnolia," that creation of the twenty-eight-year-old director features flamboyant cinematography, a garish production design, and some gritty shots of the California landscape that could give a foreigner watching the film the impression that with few exceptions, the whole state houses no less than an anguished collection of guilt-ridden, media-obsessed, coke-snorting, manipulating, erratic, unloved and unloving freaks. What a panorama of personalities to exploit for the making of a bold, imaginative, envelope-pushing movie! Fellini would shape his material to suit his neeeds: Anderson does so his way.
Anderson deliberately and happily does not try to shape his epic-length story into a timeless classic that could be suitably viewed and enjoyed by people a century from now. Though we do see the family dysfunction that had fired the fancy of the Greeks and Elizabethans, "Magnolia" spotlights a particular place with a unique lifestyle--California's San Fernando Valley--just as Anderson had centered on the characteristic environment of L.A. in "Boogie Nights" and on Nevada in "Hard Eight." While the pornographers of "Boogie Nights" plied their trade with little embarrassment, however, many of the folks in "Magnolia" are overwhelmed with feelings of guilt for their transgressions, spiritually dried up and dying for their inability to give or receive love. But like Dirk, the stud at the core of the 1997 film, the characters in the current work try to compensate for the put- downs and abuse suffered at the hands of their parents in odd, but often futile, ways.
If the porno scene of "Boogie Nights" was a reflection of the greedy 1980s, the rootless nineties forms the backdrop of "Magnolia." More people in America are living alone than ever before, many subsisting on the meager rewards of watching TV, attending support groups (like the guys in David Fincher's "Fight Club"), engaging in meaningless, recreational sex, and filling their bodies with harmful substances--the drugs which, we are told, are being consumed in place of the hugs we should be receiving. Anderson frames the story with some faux-historical clips to demonstrate the workings of chance and coincidence on our lives, the first frames actually taken with a century-old Pathe camera to evoke a feeling of authenticity. From there, cinematographer Robert Elswit joins with editor Dylan Tichenor to create Altmanesque short cuts which capture the goings-on of a small group of Californians, occurrences which at first seem absolutely unrelated but which, in fact, are interwoven. All events in the movie take place during a single, striking 24-hour period, all bolstering the cogent expression, "What a difference a day makes."
Each of the principals in this character-driven tale possesses a solid, distinct personality. The most flamboyant is Frank Mackey, who is played by Tom Cruise in a role unlike any other he has rendered. On the surface, Mackey is an arrogant, successful leader of a male support group who prances confidently before expensive seminars teaching his devotees how to seduce women--how to be the in-charge guy who is irresistible to the opposite sex.  He is estranged from his 65-year-old dad, Earl Partridge (Jason Robards), the producer of a quiz show who is quickly and painfully dying of cancer and wants only to see his son before he goes. Partridge's much younger wife, Linda (Julianne Moore), has been driven into a frenzy by guilt over her relationship with her husband, while most of the principals are either similarly awash with overwhelming regrets for their past deeds or unhappy products of ill treatment they received from people they had trusted.
"Magnolia," which gets its title from Mark Bridges and Williams Arnold's production design--the greens, browns and off-whites of the flower, the colors deepening as the characters grow to understand their motivations--will probably not enjoy the popular appeal of the more vigorous "Boogie Nights." Anderson's loosely constructed script requires more patience from the audience, which may be too eager to discover the connections among these diverse personalities and are left hanging for quite a while before locating the director's aims and understanding his vision. Nor does "Magnolia" enjoy the level of humor that Anderson rouses in his previous script. While Alfred Molina is his usual exuberant self this time around, we miss the side-splitting shtick of two years ago when he portrayed an easy-going fellow who just wants to party throughout the day.
Rarely before has a film utilized its soundtrack in the pulsating style of "Magnolia." Aimee Mann's songs are every bit a character, their palpitating tones punctuating all aspects of the story--particularly the final strain in which everyone joins, dead and living alike. Mark Bridges's costumes symbolize the camouflage behind which we all hide our truer, darker personalities, most pointedly the expensive outfits worn by Linda Partridge to hide her inner impoverishment. Some particularly arresting roles are played by young Jeremy Blackman as Stanley, the love-starved boy genius who sings part of a "Carmen" aria to win points on a quiz show m.c.'d by first-class phony Jimmy Gator (Philip Baker Hall), and by William H. Macy as a former boy genius so messed up by his parents that he winds up a near basket case thinking that orthodontia could bring him love.
Though there is cause for optimism as "Magnolia"'s personalities come to grips with their psyches, making amends sometimes successfully, sometimes fruitlessly, and in one case disastrously, Anderson's concept is a bleak one. If his country continues on its current, rootless path, ignoring the obligations and joys of family connection and healthy relationships with friends and associates, California and the other alienated centers of America are in for a cataclysmic disaster. We could perhaps suffer even the Divine punishment which Anderson so boldly and surrealistically splashes across the screen toward the movie's conclusion, a punishment that recalls God's harsh treatment of the Egyptian pharaoh who would not let his enslaved people go.
Rated R. Running Time: 195 minutes. (C) 1999 Harvey Karten<EMAIL_ADDRESS>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


Home
Open Cart
Open WishList
Open MasterList
Home
MasterList
Settings
Add an Item
Select option
Mark this task as
Done
Add to Wishlist
Add to Cart
Not Done
Cancel
Right On
You did it
Good Job
Get to Work!
Keep at it
Back
Home
CartList
Settings
Add an Item from master or wish
Select option
Mark this task as
Done
Add to Wishlist
Not Done
Cancel
Right On
You did it
Good Job
Get to Work!
Keep at it
Back
Home
WishList
Settings
Add an Item from master or wish
Select option
Mark this task as
Done
Add to Wishlist
Not Done
Cancel
Right On
You did it
Good Job
Get to Work!
Keep at it
Back


Classes
The following classes are available globally.
-
A InputItem that inherits from UIButton
Important Notes
- Intended to be used in an
InputStackView
Declaration
Swift
open class InputBarButtonItem : UIButton, InputItem
- Intended to be used in an
-
Declaration
Swift
open class InputBarSendButton : InputBarButtonItem
-
A powerful InputAccessoryView ideal for messaging applications
See moreDeclaration
Swift
open class InputBarAccessoryView : UIView
-
An object that observes keyboard notifications such that event callbacks can be set for each notification
See moreDeclaration
Swift
@available(iOSApplicationExtension, unavailable) open class KeyboardManager : NSObject, UIGestureRecognizerDelegate
-
Declaration
Swift
open class AttachmentManager : NSObject, InputPlugin
extension AttachmentManager: UICollectionViewDataSource, UICollectionViewDelegateFlowLayout
-
Declaration
Swift
open class AttachmentCell : UICollectionViewCell
-
Declaration
Swift
open class AttachmentCollectionView : UICollectionView
-
Declaration
Swift
open class ImageAttachmentCell : AttachmentCell
-
Declaration
Swift
open class AutocompleteManager : NSObject, InputPlugin, UITextViewDelegate, UITableViewDelegate, UITableViewDataSource
-
A class containing data on the
See moreAutocompleteManager
‘s sessionDeclaration
Swift
public class AutocompleteSession
extension AutocompleteSession: Equatable
-
Declaration
Swift
open class AutocompleteCell : UITableViewCell
-
Declaration
Swift
open class AutocompleteTableView : UITableView
-
An simple
See moreUIViewController
subclass that is ready to work with aninputAccessoryView
Declaration
Swift
open class InputBarViewController : UIViewController, InputBarAccessoryViewDelegate
-
A UIStackView that’s intended for holding
InputItem
sImportant Notes
- Default alignment is .fill
- Default distribution is .fill
- The distribution property needs to be based on its arranged subviews intrinsicContentSize so it is not recommended to change it
Declaration
Swift
open class InputStackView : UIStackView
-
A UITextView that has a UILabel embedded for placeholder text
Important Notes
- Changing the font, textAlignment or textContainerInset automatically performs the same modifications to the placeholderLabel
- Intended to be used in an
InputBarAccessoryView
- Default placeholder text is “Aa”
- Will pass a pasted image it’s
InputBarAccessoryView
‘sInputPlugin
s
Declaration
Swift
open class InputTextView : UITextView
-
A UIView thats intrinsicContentSize is overrided so an exact height can be specified
Important Notes
- Default height is 1 pixel
- Default backgroundColor is UIColor.lightGray
- Intended to be used in an
InputStackView
Declaration
Swift
open class SeparatorLine : UIView


If you’re using custom table view cells defined within NIB/XIB files for your iOS application, and you’re a beginner like me, you may do one of these two mistakes. Just find out what not to do by having a look at this article!
Context
One of the projects I’m currently working on involves displaying custom UITableViewCells. To be exact, I display a dynamic list of elements which can be either displayed by a UITableViewCell
A or a UITableViewCell
B. Each of these cells is defined in its own NIB file.
- Cell A has 3 subviews: 2 labels and a progress view.
- Cell B has only 1 subview, the label.
My first mistake was to try using IBOutlets to update the cell’s content.
I have a subclass of UITableViewController
which will load the cells’ NIB files when needed (from UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
- you can have a look at the “A Closer Look at Table-View Cells” documentation page for more information).
In the cell’s NIB, I have set the File’s Owner as my subclass of UITableViewController
. I setup an outlet to link to the cell so I have a reference when I load it in my table view controller. However I also wanted to use IBOutlets to link to the cell’s subviews… This is a bad idea. This lead to some bizarre side-effects when displaying the table view, such as some rows replacing others when scrolling.
If you have subviews in your custom cell you want to update (if you don’t, I’m not sure I understand how you’re using your cells…), follow the documentation and use the tag value of your subviews when editing the NIB file. From your controller, you can access them with [cell viewForTag:(NSInteger)tag]
.
My second mistake was to use ‘0’ as a tag.
One last thing. Even if I did not read it in the documentation, maybe you should not use ‘0’ as a tag. I was using it for one of my subview and only the subview tagged ‘0’ was displayed, the other disappeared. So just change the tag from the default value, and start with ‘1’.


ILLiad
Enter your user information below.
Then press the Logon to ILLiad button to continue.
*
Indicates required field
ILLiad Logon
*
Username
*
Password
Forgot Password?
First Time Users


Welcome to phenum’s documentation!¶
Contents:
Methods used for generating the symmetry group. All of these methods were adapted to python from their original fortran implementations which can be found at: https://github.com/msg-byu/symlib
-
phenum.symmetry.
bring_into_cell
(vec, cart_to_latt, latt_to_cart, eps)¶ This subroutine translates a point back into the unit cell in lattice coordinates, the coefficients of the point must all be less than one and at least zero.
Parameters: - vec (list of int) – The atom’s position vector
- cart_to_latt (numpy ndarray) – The matrix that transforms from cartesian to lattice coordinates
- latt_to_cart (numpy ndarray) – The matrix that transforms form lattice to cartesian coordinates
- eps (float) – Finite precision tolerance.
Returns: vec – The vector brought back into the cell.
Return type: list of float
-
phenum.symmetry.
get_concs_for_size
(size, nspecies, res_concs, nB, concs)¶ Gets the concentration ranges for the atoms within the cells of certain sizes given the constraints provided such as concentration restrictions and the presence of arrows. Code rewritten from the get_conetration_list subroutine of: https://github.com/msg-byu/enumlib/blob/master/src/derivative_structure_generator.f90
Parameters: - size (int) – The cell size in integer form
- nspecies (int) – the number of atomic species in the system
- nB (int) – the number of basis vectors being used
- res_concs (bool) – a logical that indicates of the concentrations are being restricted
- concs (list of int) – A 2D integer array that contains the concentration ranges for each atom in the system
Returns: c_list – The allowed concentration ranges.
Return type: array-like
-
phenum.symmetry.
get_lattice_pointGroup
(a_vecs, eps=1e-10)¶ - This routine returns only the point group of the lattite rather
- than the space group of the given crystal structure.
Parameters: - a_vecs (array-like) – The 2D array that contains the parent lattice vectors as row vectors.
- eps (float, optional) – Finite precision tolerance
Returns: lattpg_op – The point group for the lattice in cartesian coordinates.
Return type: array-like
-
phenum.symmetry.
get_spaceGroup
(par_lat, atomType, bas_vecs, eps=1e-10, lattcoords=False)¶ This routine takes a crystal structure (basis vectors and basis atoms and positions) and returns the point operators and fractional translations of the space group. The routine assumes that the given crystal structure is already primitive.
Parameters: - par_lat (array-like) – A 2D array that contains the parent lattice vectors.
- atomType (list of int) – Integer array representing the type of each basis atom.
- bas_vecs (array-like) – A 2D array that contains the basis vectors for the cell.
- eps (float, optional) – Finite precisions tolerance.
- lattcoords (bool, optional) – True if vectors are in lattice coordinates rather than cartesian.
Returns: (sg_ops, sg_fracts) – The rotation and mirror operations of the space group, and the translation operations of the space group.
Return type: array-like, array-like
-
phenum.element_data.
get_lattice_parameter
(elements, concentrations, default_title)¶ Finds the lattice parameters for the provided atomic species using Vagars law.
Parameters: - elements (list of str) – A list of the elements in the system.
- default_title (str) – The default system title.
- concentrations (list of int) – The concentrations of each element.
Returns: lat_param – The lattice parameter of the system.
Return type: Raises: ValueError
– if the number of elements doesn’t match the len of the concentration array.
Methods needed for the enumeration of arrows.
-
phenum.phonons.
add_arrows
(col, agroup, dim, translations, accept=None, nested=False, num_wanted=None, small=False, supers=False)¶ Finds the unique arrangements of arrows for a given configuration.
Parameters: - col (list) – A 2D integer array of the initial labeling.
- dim (int) – The number of directions the arrows can point.
- translations (list) – The translations of the lattice.
- accept (float, optional) – acceptance rate of configurations for large enumerations.
- agroup (list) – The stabilizers for the colors only with the arrow permutations.
- nested (bool, optionl) – Set to True if this is called from within the context of another progress bar.
- supers (bool, optional) – True if we want to include super periodic arrangements in the enumeration.
Returns: arsurvivors – The unique arrow arrangements.
Return type: list
-
phenum.phonons.
arrow_concs
(cList, aconcs)¶ Uses the concentrations of the atoms and the arrows to make a labeling for the system. It then sorts them to be in the correct order for the code.
Parameters: - cListr (list) – An integer array the concentration of the colors.
- aconcs (list) – An array of floats of the fractional number of arrows for each color
Returns: decoration_w_arrows – The labeling of both colors and arrows.
Return type: list
-
phenum.phonons.
enum_sys
(groupfile, concs, a_concs, num_wanted, HNF, params, supers, accept=None)¶ Enumerates a random subset of the unique structures that have the shape defined by the symmetry group and the specified concentration.
Parameters: - groupfile (str) – Path to the file containing the symmetry group.
- concs (list) – Integer array of the concentrations for each species.
- a_concs (list) – Integer array of the arrow concentrations for each species.
- HNF (list) – The HNF matrix for the system we’re currently enumerating
- params (dict) – The dictionary of parameters read in from lattice.in
- supers (bool) – True if superperiodic structures are to be kept.
- accept (float, optional) – The acceptance rate for this enumeration.
- num_wanted (int) – The number of structures to pick randomly from the enumerated list.
Returns: configs – A list of the unique labelings in this system.
Return type: list
Raises: ValueError
– if the number of configurations found doesn’t match the number requested.
-
phenum.phonons.
get_arrow_concs
(params)¶ If the concentrations are being restricted then find the correct arrow for each species included.
Parameters: params (dict) – The parameters read in from lattice.in. Returns: a_concs – The arrow concentration for each species. Return type: list
-
phenum.phonons.
how_many_arrows
(tcol)¶ Determines the number of colors that have arrows on them.
Parameters: tcol (list) – A 2D array of the labeling that contains the colors and arrows for each site. Returns: arrows – The number of arrows in the system. n_species (int): The number of different atomic species with arrows. aconcs (list): The concentration of each arrow species. Return type: int
Methods for reading and writing enumeration and polya-counting results.
-
phenum.structures.
make_enum_in
(infile, distribution, outfile, number=None, sizes=None, save=True, seed=None, restrict=None)¶ Makes an enum.in file if the distrubiton type is all with the desired number of structures. Otherwise prints the distribution information to the screen for the user.
Parameters: - infile (str) – The name of the ‘polya.out’ style input file.
- n (int) – The number of structures or ‘all’.
- outfile (str) – The name of the output file for the distribution
- save (bool) – True if the data is to be saved to file.
- seed (float) – The seed for the random number generator.
- distribution (list) – The parameters that the distribution is over (‘shape’, ‘conc’, ‘size’, ‘all’).
- sizes (list) – when specified, limit the distribution to these integer cell sizes; otherwise, look for all cell sizes we have data for.
- restrict (list) – A list containing the restriction type (‘shape’,’conc’) and the file of allowed values.
Raises: ValueError
– if the ‘polya.*’ file cannot be found.
Contains routines used to map the enumerated structures to real space.
-
phenum.vector_utils.
cartesian2direct
(sLV, aBas, eps)¶ This routine takes three lattice vectors and a list of atomic basis vector in Cartesian coordinates and converts them to direct (“lattice”) coordinates.
Parameters: - sLV (list) – The superlattice vectors in cartesian coordinates as rows of a matrix.
- aBas (list) – Atomic basis vectors in cartesian coordinates.
- eps (float) – Finite precision tolerance.
Returns: aBas – The atomic basis vectors in direct coordinates.
Return type: list
-
phenum.vector_utils.
map_enumStr_to_real_space
(system_data, structure_data, minkowskiReduce)¶ Maps an enumerated structure back to real space. Returns a dictionary containing the real space data.
Parameters: - system_data (dict) –
A dictionary containing all the information about the sysytem with keys:
“plattice”: The parrent lattice vectors.“dvecs”: The atomic basis vectors.
“title”: The name of the system.
“bulksurf”: ‘bulk’ or ‘surface’.
“nD”: The number of atomic basis vectors.
“k”: The number of atomic species.
“eps”: Finite precision tolerance.
- sturture_data (dict) –
A dictionary containing the information for this structure with keys:
“strN”: The structure number.“hnfN”: The HNFs number.
“hnf_degen”: The HNFs degeneracy.
“lab_degen”: The label degeneracy.
“tot_degen”: The total degeneracy for the structure.
“sizeN”: The system size.
“n”: Number of structure within this size.
“pgOps”: The number of point group operations.
“diag”: The diagonal of the SNF.
“HNF”: The HNF matrix.
“L”: The left transform matrix.
“labeling”: The atomic labeling for the structure.
“directions”: The arrow labeling for the structure.
- minkowskiReduce (bool) – Logical indicating if basis should be reduced.
Returns: space_data –
A dictionary of the structure mapped to real space with keys:
“sLV”: The super lattice vectors as rows in a matrix.
“aBas”: The attomic basis vectors.
“spin”: A list of the occupanices.
“gIndx”: The integer group index.
“x”: A list of the concentrations of each atom type.
Return type: - system_data (dict) –
The heart of the code is here. These methods build the tree and check the canfigurations for uniqueness.
-
phenum.tree.
brancher
(concs, group, colors_w_arrows, dim, supers, cellsize, total=0, subset=None, accept=None, seed=None)¶ This routine navigates the tree and saves the unique configurations to an array survivors.
Parameters: - concs (list) – The concentrations of the colors or atoms.
- dim (int) – The number of directions the arrows can point.
- supers (bool) – True if superperiodic structures are to be kept.
- cellsize (int) – The number of cells in the system.
- total (int, optional) – The total number predicted by polya. Default is 0.
- group (list) – The symmetry group for the system, including the effect on the arrows (displacement directions).
- colors_w_arrows (list) – An integer 2D array that indiciates which atoms are being displaced, i.e., where the arrows are.
- subset (list, optional) – An integer array of the subset of unique arrangements wanted. Default is None.
- accept (float, optional) – for large enumerations, how often to accept configurations. Default is None.
- seed (int, optaion) – The random seed. Default is None.
Returns: survivors – A 3D array of the unique arrangements of colors and arrows.
Return type: list
-
phenum.tree.
guess_and_check_brancher
(concs, group, colors_w_arrows, dim, supers, cellsize, num_wanted)¶ When the number of configurations wanted is sufficiently small relative to the total number of unique configurations then it is faster to ‘pick’ them from the list of possible configurations and then verify that none of your selected configurations are equivalent.
Parameters: - concs (list) – An integer arrray of the concentrations of the colors or atoms.
- dim (int) – The number of directions the arrows can point.
- supers (bool) – Logical that indicates if super periodic structures are to be kept.
- cellsize (int) – The number of cells in the system.
- group (list) – The symmetry group for the system, including the effect on the arrows (displacement directions).
- colors_w_arrows (list) – An integer 2D array that indiciates which atoms are being displaced, i.e., where the arrows are.
Returns: survivors – A 3D array of the unique arrangements of colors and arrows.
Return type: list
Methods for taking an HNF and finding the site permutations and the arrow permutations. All of these have been modified for python from their original fortran implementations which can be found at: https://github.com/msg-byu/enumlib/. Of these only get_rotation get_rotation_perms_lists() has been modified in order to produce the arrow group. The class ArrowPerm has also been added and implemented inside the RotPermList class.
-
class
phenum.grouptheory.
ArrowPerm
(site_perm=None, arrow_perm=None)¶ ArrowPerm pairs a site permutation with an arrow permutation.
-
site_perm
¶ list – A 1D array containing a site permutation.
-
arrow_perm
¶ list – A 1D array containing an arrow permutation.
-
-
class
phenum.grouptheory.
OpList
(rot=None, shift=None)¶ OpList maintains the data structure of the fixing operations form the fortran code.
-
rot
¶ array-like – A 3D array containing the rotations.
-
shift
¶ array-like – A 2D array containing the translations of the lattice.
-
-
class
phenum.grouptheory.
RotPermList
(nL=None, v=None, perm=None, RotIndx=None, arrows=None)¶ RotPermList maintains the data structure for the rotations and permutations from the fortran code.
-
nL
¶ int – An integer indicating the number of operations.
-
v
¶ array-like – A 2D array containing the lattice vectors.
-
perm
¶ ArrowPerm – An ArrowPerm object.
-
RotIndx
¶ list – List of the rotation indices.
-
-
phenum.grouptheory.
SmithNormalForm
(HNF)¶ Finds the Smith Normal Form (SNF) of an HNF as well as the left and right transforms.
Parameters: HNF (list of list) – An integer matrix for which the SNF is to be found. Returns: (M, A, B) – The M is the Smith Normal Form matrix of the input matrix, A is the left transform matrix, and B is the right transform matrix. The matrices are such that np.dot(np.dot(A,HNF),B) = M. Return type: matrix, matrix, matrix
-
phenum.grouptheory.
a_group
(trans, rots)¶ This subroutine combines that translations of the lattice with the rotatians of the lattice.
Parameters: - trans (list) – A 2D array where each row is an translation of the lattice.
- rots (list) – A 3D array. Each row’s first entry is the site permutations and the second entry is the arrow permutations.
Returns: groupi – The full symmetry group.
Return type: list
-
phenum.grouptheory.
a_group_gen
(trans, rots)¶ This subroutine combines that translations of the lattice with the rotatians of the lattice for the generators of the system.
Parameters: - trans (list) – A 2D array where each row is an translation of the lattice.
- rots (list) – A 3D array. Each row’s first entry is the site permutations and the second entry is the arrow permutations.
Returns: groupi – The full symmetry group.
Return type: list
-
phenum.grouptheory.
get_full_HNF
(HNF)¶ Turns the reduced HNF to a full HNF matrix.
Parameters: HNF (list) – The 1D array that contains all the lower diagonal entries of the HNF matrix. Returns: full_hnf – A 2D list containing the HNF matrix. Return type: list of list
-
phenum.grouptheory.
get_sym_group
(par_lat, bas_vecs, HNF, LatDim, arrows=True)¶ Generates the symmetry group for a given lattice and HNF
Parameters: - par_lat (numpy ndarray) – a 2D array that contains the parrent lattice vectors
- bas_vecs (list) – A list of the atomic basis vectors for the lattice.
- HNF (numpy ndarray) – The HNF matrix that defines the supercell.
- LatDim (int) – 2 if a surface case case 3 if bulk.
- arrows (bool, optional) – True if the arrow group is to be found as well.
Returns: sym_group –
- The symmetry operations represented as permutations
of a list.
Return type:
Methods for reading and writing enumeration and polya-counting results.
-
phenum.io_utils.
create_labeling
(config)¶ This routine takes a string of atomic locations as a vector and the atomic concentrations and returns a unique labeling.
Parameters: config (list of int) – A list of integers describing the arrangement of atoms on the lattice. Returns: label – The atomic labeling for the arrangement. arrow (str): The arrow directions for the arrangement. Return type: str
-
phenum.io_utils.
read_enum
(filename='enum.in')¶ Reads the list of structures and the number of random candidates to enumerate from the ‘enum.in’ styled file. It should contain only integers and have:
HNF concs num_wantedwhere,
HNF: the list of 6 independent entries in the HNF matrix; concs: list of integer species concentrations; num_wanted: number of random structures to draw from the enumerated list.
Parameters: filename (str, optional) – The filename and path. Default ‘enum.in’. Returns: systems – A list containing the lists of [HNF, concs, num_wanted]. Return type: list of lists
-
phenum.io_utils.
read_enum_out
(args)¶ Reads the enum.out file and builds a dictionary with the needed information to construct a POSCAR.
Parameters: args (dict) – The makeStr.py input arguments. Returns: system – A dictionary with the keys:
“plattice”: The parrent lattice vectors.“dvecs”: The atomic basis vectors.
“title”: The name of the system.
“bulksurf”: ‘bulk’ or ‘surface’.
“nD”: The number of atomic basis vectors.
“k”: The number of atomic species.
“eps”: Finite precision tolerance.
- structure_data (list of dict): A list of dictionaries for each desired structure. Each
- dictionary contains:“strN”: The structure number.
“hnfN”: The HNFs number.
“hnf_degen”: The HNFs degeneracy.
“lab_degen”: The label degeneracy.
“tot_degen”: The total degeneracy for the structure.
“sizeN”: The system size.
“n”: Number of structure within this size.
“pgOps”: The number of point group operations.
“diag”: The diagonal of the SNF.
“HNF”: The HNF matrix.
“L”: The left transform matrix.
“labeling”: The atomic labeling for the structure.
“directions”: The arrow labeling for the structure.
Return type: dict
-
phenum.io_utils.
read_group
(fname)¶ Reads the symmetry group in from the ‘rot_perms’ styled group output by enum.x.
Parameters: fname (str) – Path to the file to read the group from. Returns: group – The symmetry group. Return type: numpy ndarray
-
phenum.io_utils.
read_lattice
(filename='lattice.in')¶ Reads the lattice.in file.
Parameters: filename (str, optional) – The filename to be read in. Default is ‘lattice.in’. Returns: result – A dictionary with the following fields:
“sizes”: the range of cell sizes,“lat_vecs”: lattice vectors of the parent cell,
“nspecies”: the number of atomic species in the enumeration,
“basis_vecs”: basis vectors of the parent cell,
“is_crestricted”: logical that indicates if the concentrations will be restricted,
“arrows”: logical that indicates if arrows are present,
“concs”: array of the concentrations in format [1,3].
Return type: dict
-
phenum.io_utils.
which
(program)¶ Determines if and where an executable exists on the users path. This code was contributed by Jay at http://stackoverflow.com/a/377028
Parameters: program (str) – The name, or path for the program. Returns: The program or executable.
-
phenum.io_utils.
write_POSCAR
(system_data, space_data, structure_data, args)¶ Writes a vasp POSCAR style file for the input structure and system data.
Parameters:
-
phenum.io_utils.
write_enum
(params, outfile='enum.out')¶ Writes a ‘struct_enum.out’ style preamble to the specified output file using the enumeration parameters gleaned from a ‘lattice.in’ styled file.
Parameters: - params (dict) – values returned from method:read_lattice().
- outfile (str, optional) – path to desired output file. Default is ‘enum.out’.
-
phenum.io_utils.
write_struct_enum
(params)¶ Writes a ‘struct_enum.in’ file for the executable enum.x.
Parameters: params (dict) – values returned from method:read_lattice().
Numerical methods for mathematical functions neede for the program
-
phenum.numerics.
binomial_coefficient
(n, k)¶ Finds the binomial coefficient n choose k. See https://en.wikipedia.org/wiki/Binomial_coefficient for details.
Parameters: Returns: t – The binomial coefficient, n choose k.
Return type:
-
phenum.numerics.
factorial
(num)¶ Finds the factorial of the input integer.
Parameters: num (int) – The integer to find the factorial of. Returns: fact – The factorial of num. Return type: int
AUTHORS: Conrad W. Rosenbrock, Wiley S. Morgan (June 2015)
Classes to support the calculation of coefficients for specific terms in a product of multinomials. Construct a product class by specifying the exponent and target term and then add multinomials using the Product instance’s append(). The coefficient is then available from the coeff().
-
class
phenum.polyaburnside.
Multinomial
(power, coeff, arrowings, exponent=1)¶ Represents a multinomial expansion.
-
power
¶ list – The power on each of the unexpanded variables in the multinomial; of the form (x^2+y^2+z^2) => 2.
-
coef
¶ list – The coefficient on each of the variables in the multinomial; e.g. (x^2 + a y^2) => a. For more than two variables, each color that has arrowing gets the coefficient while the others get 1.
-
arrowings
¶ list – The exponents of the arrows terms.
-
exponent
¶ int – The exponent of the entire multinomial, default value is 1.
-
powersum
¶ list – The integer value that all term exponents in the multinomial should sum to (or be less than).
-
possible_powers
¶ list – The possible powers based on the exponent in the multinomial.
-
static
nchoosek
(n, k)¶ This implementation was taken from “Binomial Coefﬁcient Computation: Recursion or Iteration?” by Yannis Manolopoulos, ACM SIGCSE Bulletin InRoads, Vol.34, No.4, December 2002. http://delab.csd.auth.gr/papers/SBI02m.pdf It is supposed to be robust against large, intermediate values and to have optimal complexity.
Parameters: Returns: t – The value of n choose k.
Return type:
-
nchoosekm
(sequence)¶ Returns the number of different ways to partition an n-element set into disjoint subsets of sizes k1, ..., km.
Parameters: sequence (tuple) – An un-normed tuple of form (k1, k2, k3). Returns: nckm – The value of the multinomial coefficient for the series. Return type: int
-
normed_seq
(seq)¶ Normalizes the specified sequence using the powers of unexpanded terms in the multinomial.
Parameters: seq (list) – A list of exponents in an expanded term. Returns: norm_seq – The normalized lust of exponents. Return type: list
-
possible_powers
= None For each variable being considered, determines the possible powers based on the exponent in the multinomial.
-
powersum
= None Returns the integer value that all term exponents in the multinomial should sum to (or be less than).
-
-
class
phenum.polyaburnside.
Product
(coefficient, targets)¶ Represents a product of multinomials for which only a single term is interesting.
-
coefficient
¶ int – The scalar integer multiplying this product of multinomials.
-
targets
¶ list – A list of exponents for the terms in the products.
-
multinoms
¶ list – A list of multinomials.
-
-
class
phenum.polyaburnside.
Sequence
(root, possibles, i, powersum, targets, parent=None)¶ Represents an exponent-limited sequence with a single root. Here, sequence represents a sequence of integer values k_1, k_2...k_j that are the exponents of a single term in a multinomial. The root of the sequence is one of the k_i; its children become sets of sequences including variables to the right of i.
-
used
¶ int – The sum of the exponents that have already been used.
-
parent
¶ Sequence – A Sequence instance for the variable previouse to this one.
-
kids
¶ Sequence – The next possible Sequence instances.
-
varcount
¶ int – The number of variables in the polynomial.
-
expand
(depth=0)¶ Recursively generates a list of all relevant sequences for this multinomial term.
Parameters: depth (int, optional) – The current depth in the recursion. Returns: sequences – The relevant sequences for the multinomial. Return type: list
-
expand_noappend
(sequences, start, varindex)¶ Implements an expansion that doesn’t use python’s append.
Parameters: Returns: sequences – The relevant sequences for the multinomial.
Return type: list
Raises: ValueError
– if self.kidcount is zero.
-
-
phenum.polyaburnside.
group
(gen)¶ Generates an entire group using the specified generators by applying generators to each other recursively.
Parameters: gen (list) – A list of generators as integers. Returns: groupi – A list of the symmetry group operators. Return type: list
-
phenum.polyaburnside.
polya
(concentrations, group, arrowings=None, debug=False)¶ Uses a group and concentrations to find the number of unique arrangements as described by polya.
Parameters: - concentrations (list) – : A list of integers specifying how many of each coloring should be present in each of the enumerated lists.
- group (list) – A list of group operations for permuting the colorings.
- arrowings (int, optional) – The number of arrows present. Default is None.
- debug (bool, optional) – True if the code is being debugged.
Returns: polya – The polya number for the system.
Return type: Raises: ValueError
– if the concentrations don’t sum to the size of the group operation.
This module contains methods used for visualizing the enuerated structures.
-
phenum.visualize.
HNF_atoms
(enum, lattice, show, testmode=False)¶ Plots the atomic positions of the atoms in the cells.
Parameters:
-
phenum.visualize.
HNF_shapes
(enum, lattice, show, testmode=False)¶ Plots the shape of each HNF.
Parameters:


Home
Best Music Video
Best Duo/Group
Best Male Artist
Best Female Artist
Best Album
Best Song
Best Male Artist
Harry Styles
Vote
Justin Bieber
Vote
Drake
Vote
Lil Nas X
Vote
The Weeknd
Vote
Post Malone
Vote


The sweet, pretty things are in bed now of course,
The city fathers, they're trying to endorse
The reincarnation of Paul Revere's horse,
But the town has no need to be nervous.
The ghost of Belle Starr, she hands down her wits
To Jezebel, the nun, she violently knits
A bald wig for Jack the Ripper, who sits
At the head of the Chamber of Commerce.
Mama's in a factory, she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in the kitchen with the tombstone blues.
The hysterical bride in the penny arcade,
Screaming, she moans, "I have just been made!"
Then sends out for the doctor, who pulls down the shade
And says, "My advice is to not let the boys in."
Now, the medicine man comes and he shuffles inside,
He walks with a swagger and he says to the bride,
"Stop all this weeping, swallow your pride,
You will not die, it's not poison!"
Mama's in the factory, she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in the kitchen with the tombstone blues.
Well, John the Baptist, after torturing a thief,
Looks up at his hero, the Commander-in-Chief,
Saying, "Tell me, great hero, but please make it brief,
Is there a hole for me to get sick in?"
The Commander-in-Chief answers him while chasing a fly,
Saying, "Death to all those who would whimper and cry!"
And, dropping a barbell, he points to the sky
Saying, "The sun's not yellow, it's chicken!"
Mama's in the factory. she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in the kitchen with the tombstone blues.
The king of the Philistines, his soldiers to save,
Puts jawbones on their tombstones and flatters their graves,
Puts the pied-pipers in prison and fattens the slaves,
Then sends 'em out to the jungle.
Gypsy Davy
1 with a blowtorch, he burns out their camps,
With his faithful slave Pedro behind him he tramps
With a fantastic collection of stamps
To win friends and influence his uncle.
Mama's in a factory, she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in trouble with the tombstone blues.
The geometry of innocent flesh on the bone
Causes Galileo's math book to get thrown
At Delilah, who's sitting worthlessly alone,
But the tears on her cheeks are from laughter.
I wish I could give Brother Bill his great thrill,
I would set him in chains at the top of the hill,
Then send out for some pillars and Cecil B. DeMille.
He could die happily ever after.
Mama's in the factory, she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in the kitchen with the tombstone blues.
Where Ma Rainey and Beethoven once unwrapped their bedroll,
Tuba players now rehearse around the flagpole
And the National Bank at a profit sells road-maps for the soul
To the old folks' home and the college.
I wish I could write you a melody so plain
That could hold you, dear lady, from going insane,
That could ease you and cool you and cease the pain
Of your useless and pointless knowledge.
Mama's in the factory, she ain't got no shoes,
Daddy's in the alley, he's looking for food,
I'm in the kitchen with the tombstone blues.


TWO FAMILY HOUSE (Lions Gate) Starring: Michael Rispoli, Kelly Macdonald, Katherine Narducci, Kevin Conway, Matt Servitto. Screenplay: Raymond DeFelitta. Producers: Anne Harrison and Alan Klingenstein. Director: Raymond DeFelitta. MPAA Rating: R (profanity, adult themes, violence) Running Time: 104 minutes. Reviewed by Scott Renshaw.
Sentimentalized stories of the 1950s have become so commonplace in film that it's incredibly refreshing to find one that doesn't whitewash the darker side of the happy days. Raymond DeFelitta's TWO FAMILY HOUSE is in some ways a familiar feel-good story, but it gives its good feeling an unexpected edge. The story's protagonist is Buddy Visalo (Michael Rispoli), a World War II veteran living in a predominantly Italian Staten Island neighborhood in 1956. Buddy once had dreams of being a singer, but those dreams were overwhelmed by his wife Estelle's (Katherine Narducci) desire for a normal life. While Buddy works in a local factory, he still strives for something more, and jumps at the chance to purchase a run-down two story house that he and Estelle can occupy upstairs while turning the downstairs into a tavern. Unfortunately, the upstairs is already occupied by Jim O'Neary (Kevin Conway) and his pregnant wife Mary (Kelly Macdonald), who are in no hurry to leave and have an obscure tenancy law on their side.
For a while, TWO FAMILY HOUSE looks like it might turn into a broad comedy, with the Italians and Irish clashing loudly and perhaps farcically. Then, on the day Buddy is prepared to throw the O'Nearys out, Mary gives birth to an unexpectedly -- ahem -- dark-hued child, and Jim abandons her. The somewhat guilty Buddy puts Mary and her child up in a nearby apartment, and the two begin spending time together while Estelle continues to scoff at Buddy's attempts at entrepreneurship. In fact, she's scoffing at even more than that, as are Buddy's friends in a slightly different way. What is ridiculous to them is the idea of anyone moving too far beyond the proscribed ethnic, cultural and even geographic boundaries. Buddy's willingness to extend a hand to Mary, just like his desire to pursue a career dream, suggests that the boundaries are a bit blurry. And the idea of blurry boundaries makes everyone around Buddy more than slightly uncomfortable.
Even without its subtext, TWO FAMILY HOUSE is a funny, well-acted and tremendously appealing drama -- so appealing that it might even be perceived as fantastically generous to its protagonist. Rispoli delivers a nicely nuanced performance as Buddy, a teddy bear of a guy trying to move forward rather than look back in bitterness at missed opportunities or failures. DeFelitta's brand of nostalgia includes the recognition that most of his characters are racists; they toss around slurs with the casual understanding that in their homogenous world, there's "us" and "them." It would be easy to interpret Buddy's open-mindedness as anachronism, but DeFelitta doesn't make him the good guy just because he helps the girl with the black baby, nor are Estelle and Buddy's friends obvious villains just because they use the "n-word." TWO FAMILY HOUSE builds its characters by building a complete understanding of the world around them.
DeFelitta does go a bit overboard in his use of voice-over narration (told by Mary's son from a distance of forty years), and the film does drag as it moves past the 90 minute mark. It occupies that treacherous middle ground between comedy and drama where a film can either feel too frivolous or not frivolous enough. Fortunately, DeFelitta understands how to make his film about more than its obvious premise without resorting to overly-weighty symbolism. Culture clashes tend to be represented on screen either in strident sociology lectures or fish-out-of-water yuk-fests. TWO FAMILY HOUSE explores melting pot growing pains in the context of a simple story about a simple man. It's an achievement that's not nearly as simple as it looks.
On the Renshaw scale of 0 to 10 houses divided: 8.
Visit Scott Renshaw's Screening Room http://www.inconnect.com/~renshaw/ *** Subscribe to receive new reviews directly by email! See the Screening Room for details, or reply to this message with subject "Subscribe".
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


2
1 Then Jonah prayed to Yahweh his God from the fish's belly.
2 He said,
"I called out to Yahweh about my distress
and he answered me;
from the belly of sheol I cried out for help!
You heard my voice.
3 You had thrown me into the depths, into the heart of the seas,
and the currents surrounded me;
all your waves and billows
passed over me.
4 And I said, 'I am driven out from before your eyes;
how can I ever again gaze at your holy temple?'
5 The waters closed over me to take my life;
the deep was all around me;
seaweed was wrapped around my head.
6 I went down to the bases of the mountains;
the earth with its bars closed upon me forever.
Yet you brought up my life from the pit, Yahweh, my God!
7 When my soul fainted within me, I called Yahweh to mind;
then my prayer came to you, to your holy temple.
8 Those who pay attention to useless gods
reject your faithfulness toward themselves.
9 But as for me, I will sacrifice to you with a voice of thanksgiving;
I will fulfill that which I have vowed.
Salvation comes from Yahweh!"
10 Then Yahweh spoke to the fish, and it vomited up Jonah upon the dry land.


Jolly Roger was a good surprise, the outside of the building seemed to be yelling to us "we've got tots!" so we checked it out, and indeed, they had tots! They even had awesome tots! The bar itself is a dive bar, they have sports-ball TVs playing sports stuff.
As to the quality of the tots, they were fantastic. We went for the plain salty one (fried to perfection and served right out of the fryer) which were served with a generous portion of ranch sauce.
We will be back, and next time we will ask about totchos. It did not occur to me but their menu showed they had nachos and tots... That mix needs to happen so we will be back soon to try that out.
Nachos are great, but Tatchos are a step above in terms of greatness. They are that same wonderful combination of carbs with cheese, sour cream and veggies but the nachos chips are replaced by a better carb.
What Hotel Albatross has to offer for totchos is legit. Price was on the high side, but I think that everything is too expensive at all time so perhaps you should disregard my opinion on this. The combination of ingredients was good, the texture of the tots (and the way they were fried) was as good as it gets. It came with a good combination of stuff and they had a legit happy hour that included good discounts on shitty bear!
Ferries are some of the greatest things on Earth (in my opinion) and Washington State has an awesome network of kick-ass ferries. With kick-ass ferries comes kick-ass cafeterias. In the WSF you can find all sort of awesome snacks and meals but my go to on most WSF rides, are the T-O-T-S. The setting is certainly the best one that I know to enjoy a tot from.
The tots are fairly good and they are also very cheap. The crispiness level is lower than others, but for the price and the setting, they are amazing! Also, psssst, if you ask the lady at the cafeteria at the beginning of the sailing, you will get the best tots ;)
Hi! I'm Stephanie and I love tots. I come from a tots-free country and had the pleasure to discover the joy of those delightful things in 2013. In this blog, I will post reviews about tots (and totchos) experiences. You can expect tot reviews for local pubs tots but also for less obvious places like Washington State ferries cafeterias. Stay tuned!
Check out also my friend's pizza blog!


Shekhar Singh
BLOG
BOOKS
OUTDOORS
ABOUT
Shekhar's books - read
Shekhar Singh's favorite books »
Share
book reviews
and ratings with Shekhar, and even join a
book club
on Goodreads.
Shekhar's books - reading
Shekhar Singh's favorite books »
Share
book reviews
and ratings with Shekhar, and even join a
book club
on Goodreads.