{% extends "phenix/header.html" %} {% load static %} {% block content %}
Learn how to fit a flexible ligand into density.
First, let's set up the example data (described in more detail here):
Get the files from the Phenix regression directory and change into the new folder:
phenix.setup_tutorial tutorial_name=model-building-scripting
cd model-building-scripting
Type phenix.python
to start up Python with the Phenix environment all set up:
phenix.python
Set up the high level objects, so we can start our task:
from iotbx.data_manager import DataManager # Load in the DataManager
dm = DataManager() # Initialize the DataManager and call it dm
dm.set_overwrite(True) # Overwrite files with the same name
mmm = dm.get_map_model_manager( # getting a map_model_manager
model_file="boxed_ligand_map.pdb", # model file
map_files="boxed_ligand_map.ccp4") # map file
mmm.set_resolution(3.0) # working (nominal) resolution of map
mmm.set_experiment_type('xray') # define experiment type
mmm_saved = mmm.deep_copy() # save a copy of the map_model_manager
The model boxed_ligand_map.pdb corresponds to a protein model, the map boxed_ligand_map.ccp4 corresponds to a box of density covering part of the protein. The image below shows what it looks like in a molecular viewer:
When we zoom into the density, we can see that the map has some unaccounted density for a ligand:
Let’s fit a ligand into this density using the fit_ligand model-building tool. Let’s use the map_model_manager mmm
containing this map and model to do this.
Let’s get rid of any part of the model that is outside the part of the map that is present (this modifies the map_model_manager mmm
permanently, so it’s a good thing we have saved a copy):
mmm.remove_model_outside_map(boundary=1.5) # remove model outside map
Now let’s get a model-building object:
build = mmm.model_building() # get a model-building object
And let’s fit a ligand (ATP) into the map:
fitted_ligand = build.fit_ligand(ligand_code = 'ATP') # fit the ligand
The first thing that happens is the fit_ligand tool generates a generic ATP molecule and its associated restraints. (If you wanted to, you could have supplied these directly with the keywords ligand_model and restraints_object, and you would have read in the ligand_model and restraints_object with the DataManager dm.)
The next thing that happens is the fit_ligand tool figures out where to place the ATP, and what bonds to rotate to fit the ATP into the density. Your fitted ligand is in fitted_ligand and you can write it out if you want with the DataManager dm
:
dm.write_model_file(fitted_ligand, 'fitted_ligand.pdb') # Fitted ligand
If you didn’t save the fitted ligand when you ran the build.fit_ligand command, you can still get it:
result = build.get_best_result() # get the best fitted ligand result object
fitted_ligand = result.model # the fitted ligand as a model
You can also write out the working map and model (the model that was used to mask the map):
dm.write_model_file(build.model(), 'working_model.pdb') # Working model
dm.write_real_map_file(build.map_manager(), 'working_map.ccp4')# Working map
Have a look at fitted_ligand.pdb, working_model.pdb, and 'working_map.ccp4 with Coot or Chimera. Note that this map is a part of an xray map and so the unit cell is not a rectangular box (it is hexagonal in this case).


4
1 Yahweh continued and said, "Son of man, take a large clay tablet and scrape lines on it that represent Jerusalem.
2 Then draw figures around it to represent enemy soldiers who will build earthworks and forts around the city in order to take it. Set figures around it that represent battering rams.
3 Then take an iron pan, and place it to be like an iron wall between you and the carving of the city. Then turn your face toward the drawing. It will symbolize that enemy troops will surround the city to attack it. That will be a warning to the Israelite people.
4-5 Then lie on your left side, and stay like that for 390 days. You will be symbolically bearing the punishment for the sins of the Israelites, the northern kingdom; you must lie like that one day for each year that I will punish them.
6 After that, lie down again. This time, lie on your right side for forty days. That will symbolize that the Judean people, the southern kingdom, will be punished for their sins, one year for each day that you lie there.
7 Turn your face toward the drawing of Jerusalem and bare your arm like a soldier does who prepares to go into battle, and prophesy about what will happen to the city.
8 You will not be able to move; it will be as though I have tied you with ropes so that you cannot turn from one side to the other until you have finished symbolizing how many years the city will be besieged.
9 Before you do that, take some wheat, barley, beans, lentils, millet, and spelt; and put them in a storage jar, and use that to bake bread for yourself. That is what you will eat during the 390 days while you lie on your left side.
10 You will eat about two hundred grams of bread each day throughout the day.
11 Also measure out about one half liter of water to drink each day throughout the day.
12 Eat that bread like you would eat a loaf of barley bread. But use your own dried dung for fuel to bake the bread while people are watching.
13 That will symbolize that the Israelite people will be forced to eat food that is unacceptable to me when they are living in the nations to which I will force them to go."
14 Then I said, "No, Lord Yahweh! Do not force me to do that! I have never caused myself to become unacceptable to you. From the time when I was young, I have never eaten meat of any animal that was found dead or that had been killed by wild animals. And I have never eaten any meat that is unacceptable to you."
15 Yahweh replied, "Because of that, I will allow you to bake your bread using dried cow manure instead of human dung for fuel."
16 Then he said to me, "Son of man, I will cause the supply of food to Jerusalem to be cut off. Then the people will eat the small amounts of food and drink the small amounts of water that their leaders permit them to have, and they will be very distressed and anxious as they do that,
17 because water and food will be very scarce. They will see each other becoming extremely thin, and they will be appalled; but this will happen because they are being punished for the sins that they have committed."


HOME FOR THE HOLIDAYS [Spoilers] A film review by Edwin Jahiel Copyright 1995 Edwin Jahiel
* Directed and co-produced by Jodie Foster. Written by W. D. Richter. Cast: Holly Hunter, Robert Downey, Jr., Anne Bancroft, Dylan McDermott, Charles Durning, Geraldine Chaplin, Steve Guttenberg, Claire Danes, Cynthia Stevenson. Distributed by Paramount and Polygram.
The title "Home for the Holidays" suggests either a feel-good story, a family drama or a comedy, but guesses can be wrong. There was a made-for-TV movie with that title in 1972 which turned out to be a Christmastime thriller. Now, the current film's distributors have announced it as a comedy, but this description will do only if you stretch it.
Claudia (Holly Hunter) just lost her job as an art restorer at a museum. (You wait a long time to find out that the museum is in Chicago.) With some trepidation, Claudia leaves behind her sixteen-year old daughter (we later learn in passing that Hunter is unmarried) and flies to another state to spend Thanksgiving with her parents. (You wait a long time to find out that it is Maryland. If your eyes are peeled, you might catch the sign "Maryland Lottery.")
The opening sequence tries for screwball comedy style, but it is only slightly weird and far from hilarious. Soon the film goes into fast decline, in a structure that is a succession of sections, each with its title.
"Flying" is followed by "Mom and Dad." Mom is Anne Bancroft, nee Anna Maria Luisa Italiano, one of the very few Catholics who can do a Jewish Mother turn, which she sort of does here. Perhaps husband Mel Brooks is of help.
Dad (Charles Durning) is a retired something or other employee of an airline or of the Baltimore airport. (This is made clear only at the end.) He is a kind of putterer now.
Pa and Ma are eccentrics, sort of, but uninteresting as individuals and as a couple. If you remember Bancroft as the famously seductive Mrs. Robinson in 1967 THE GRADUATE, you can now see her in bra and slip. She may be showing us how well kept she is at 64, but her talent does not show in HOME FOR THE HOLIDAYS.
The next chapter, "Company," centers mostly around Claudia's brother Tommy (Robert Downey, Jr.). Tommy is gay, but you can't tell. You learn it only when you hear that "he has broken with Jack." On the other hand, Tommy is relentlessly gay in the old sense, ebullient, bouncy and far, far too cute. You feel right away that Downey is uncomfortable in, and unconvinced by his role. He arrives from Boston with Leo Fish (Dylan McDermott) whom everybody takes for a new lover.
Each section has Claudia in it but is normally focused on one or two additional characters. In "Relatives" we meet Mom's unmarried sister, retired schoolteacher Geraldine Chaplin. She too is an eccentric, unconvincing and unconvinced. Her closeups are cruel. Someone flatulates. There's an in-joke: a furnace repairman works for "The Big Heat" Company, a reference to a classic film noir.
In "More Relatives," we meet Claudia's younger sister Joanna, her sententious husband Walter (Steve Guttenberg) and their two kids. The house becomes a zoo of agitation and hyperactivity, forced and seldom funny. Only the cat is normal.
Next, "The Dinner" reveals that Tommy had married Jack some time ago. Joanna calls Tommy a freak. He keeps his good mood but overacts again. By accident, Joanna gets a plateful spilled on her dress. It turns out that Leo Fish is heterosexual. Geraldine Chaplin passionately kisses Dad--on the mouth.
Watching the slicing of the turkey, it dawned on me that this film was trying to be a slice of life. But it is also a turkey that Jodie Foster directed--her second effort, after LITTLE MAN TATE. Just as responsible is the uneven writer W. D. Richter, whose biggest hit was the dubious BUCKAROO BANZAI. His best works were SLITHER, NICKELODEON, and the excellent remake of INVASION OF THE BODY SNATCHERS. The Stephen King story he scripted before HOME FOR THE HOLIDAYS was the disastrous NEEDFUL THINGS.
 Tommy and Walter have a fight. Jack telephones Tommy. Tommy is happy. The marriage is on again. The movie turns "sensitive."
"Now What?" follows. Here, this mish-mashy, misguided, mis-written film predictably brings together Leo Fish and Claudia. Earlier, Leo was passable as a quiet observer. Now that he emotes, he is artificial. The couple have a too-cute impromptu date and kiss. Taking leftovers to Joanna's house, the sisters have a heart-to-heart talk. Says Claudia: "We don't have to like each other. We're a family." This, I guess, is the moral of the story.
Viewer Liberation comes with "The Point." Claudia and Leo, by mutual consent, will not have sex as they are going in different geographic (and other) directions. Dad watches home movies. More sentiment. The real point is that this movie is pointless. That not a single performer is explored, seems to believe in his part, plays well, is involving, That no one uses more than two basic expressions.
Claudia takes the return plane. Who comes in but Leo, with a ridiculous lamp (don't ask)? He proposes that they spend the two-hour flight sitting together. Perhaps they'll go to sleep. That's what the film's audience ought to do too.
E.Jahiel and the News-Gazette
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


Avoiding Inappropriate Questions
As the face of Interview Pandit, it is important for you to avoid asking inappropriate questions during the interview while still getting to the root of the concern behind the question. The table below gives you a few examples of how to ask these questions appropriately.
| Focus Area | Do not Ask | Instead Ask |
|---|---|---|
| Religion | What religious holidays do you observe? | What days are you available to work? |
| Age | How much longer are you planning to work before you retire? | What are your long-term career goals? |
| Marital / Family Status | Do you have or plan to have children? | Are you available to work overtime on occasion? Can you travel? |
| Culture/Gender | What do you think of inter-office dating? | Have you ever been disciplined for your behavior at work? |
Sensitize candidates to prepare ahead of time for these type of questions.
While it is important not to ask any inappropriate questions, it is equally important not to indulge in any personal discussions or answer personal questions that a candidate may have for you. Also you must never reveal your name or the organization that you work for to a candidate. Keep your discussions focused on the job role you are interviewing a candidate for.


statsmodels.regression.linear_model.GLS¶
-
class
statsmodels.regression.linear_model.
GLS
(endog, exog, sigma=None, missing='none', hasconst=None, **kwargs)[source]¶ Generalized least squares model with a general covariance structure.
- Parameters
- endogarray-like
1-d endogenous response variable. The dependent variable.
- exogarray-like
A nobs x k array where nobs is the number of observations and k is the number of regressors. An intercept is not included by default and should be added by the user. See
statsmodels.tools.add_constant
.- sigmascalar or array
sigma is the weighting matrix of the covariance. The default is None for no scaling. If sigma is a scalar, it is assumed that sigma is an n x n diagonal matrix with the given scalar, sigma as the value of each diagonal element. If sigma is an n-length vector, then sigma is assumed to be a diagonal matrix with the given sigma on the diagonal. This should be the same as WLS.
- missingstr
Available options are ‘none’, ‘drop’, and ‘raise’. If ‘none’, no nan checking is done. If ‘drop’, any observations with nans are dropped. If ‘raise’, an error is raised. Default is ‘none.’
- hasconstNone or bool
Indicates whether the RHS includes a user-supplied constant. If True, a constant is not checked for and k_constant is set to 1 and all result statistics are calculated as if a constant is present. If False, a constant is not checked for and k_constant is set to 0.
Notes
If sigma is a function of the data making one of the regressors a constant, then the current postestimation statistics will not be correct.
Examples
>>> import numpy as np >>> import statsmodels.api as sm >>> data = sm.datasets.longley.load(as_pandas=False) >>> data.exog = sm.add_constant(data.exog) >>> ols_resid = sm.OLS(data.endog, data.exog).fit().resid >>> res_fit = sm.OLS(ols_resid[1:], ols_resid[:-1]).fit() >>> rho = res_fit.params
rho is a consistent estimator of the correlation of the residuals from an OLS fit of the longley data. It is assumed that this is the true rho of the AR process data.
>>> from scipy.linalg import toeplitz >>> order = toeplitz(np.arange(16)) >>> sigma = rho**order
sigma is an n x n matrix of the autocorrelation structure of the data.
>>> gls_model = sm.GLS(data.endog, data.exog, sigma=sigma) >>> gls_results = gls_model.fit() >>> print(gls_results.summary())
- Attributes
- pinv_wexogarray
pinv_wexog is the p x n Moore-Penrose pseudoinverse of wexog.
- cholsimgainvarray
The transpose of the Cholesky decomposition of the pseudoinverse.
df_model
floatThe model degree of freedom, defined as the rank of the regressor matrix minus 1 if a constant is included.
df_resid
floatThe residual degree of freedom, defined as the number of observations minus the rank of the regressor matrix.
- llffloat
The value of the likelihood function of the fitted model.
- nobsfloat
The number of observations n.
- normalized_cov_paramsarray
p x p array \((X^{T}\Sigma^{-1}X)^{-1}\)
- resultsRegressionResults instance
A property that returns the RegressionResults class if fit.
- sigmaarray
sigma is the n x n covariance structure of the error terms.
- wexogarray
Design matrix whitened by cholsigmainv
- wendogarray
Response variable whitened by cholsigmainv
Methods
fit
([method, cov_type, cov_kwds, use_t])Full fit of the model.
fit_regularized
([method, alpha, L1_wt, …])Return a regularized fit to a linear regression model.
from_formula
(formula, data[, subset, drop_cols])Create a Model from a formula and dataframe.
get_distribution
(params, scale[, exog, …])Returns a random number generator for the predictive distribution.
hessian
(params)The Hessian matrix of the model
hessian_factor
(params[, scale, observed])Weights for calculating Hessian
information
(params)Fisher information matrix of model
Initialize (possibly re-initialize) a Model instance.
loglike
(params)Returns the value of the Gaussian log-likelihood function at params.
predict
(params[, exog])Return linear predicted values from a design matrix.
score
(params)Score vector of model.
whiten
(X)GLS whiten method.


--- layout: post status: publish published: true title: Before you preach that sermon about landmarks... author: Ryan Hayden wordpress_id: 1607 wordpress_url: http://www.pastorryanhayden.com/?p=1607 date: '2014-02-22 09:30:02 -0600' date_gmt: '2014-02-22 15:30:02 -0600' categories: - Fundamentalism - ministry tags: - fundamentalism - Bible preaching ---
I was reading Proverbs this morning and came upon a familiar verse. If you grew up in independent Baptist churches you have probably heard at least a dozen sermons from Proverbs 22:28:
"Remove not the ancient landmark, which thy fathers have set"
But is that what this verse says? Let's take a closer look at Proverbs 22:28 in context.
Most Proverbs are pretty close to self-standing units. There are many proverbs where there would be nothing wrong with taking a single verse or two verses and running with it, because at least in terms of a literary unit, those verses aren't tied to their immediate context.
Proverbs 22:28 is definitely NOT one of those Proverbs. The context for Proverbs 22:28 is found in verses 22-28:
"Rob not the poor, because he is poor: neither oppress the afflicted in the gate: For the Lord will plead their cause, and spoil the soul of those that spoiled them.  Be not thou one of them that strike hands, or of them that are sureties for debts. If thou hast nothing to pay, why should he take away thy bed from under thee? Remove not the ancient landmark, which thy fathers have set"
For further proof of this, just go to the next chapter - chapter 23 - and look at verses 10-11
"Remove not the old landmark; and enter not into the fields of the fatherless: For their redeemer is mighty; he shall plead their cause with thee"
Maybe, just maybe, there isn't a verse in scripture that clearly teaches that it's wrong to make changes to things not clearly addressed by scripture. Maybe, the choice of the text was a sign that the preacher was reaching. Maybe, it's just symptomatic and if any ancient landmark has been removed, it was the ancient landmark of "rightly dividing the word."


Consultant Management
Search Consultant
Consultant name:
Consultant lastname:
Skills (separated by commas):
Cancel
Search
No consultant registered
Rossi Mario (30 years old)
Registration date: 01-01-2013
Consultant No. 201311529C5A707AD0713
No skill assigned
Skills
[[#{global.edit}]]
[[#{consultant.profile}]]


KASA stands for the Korean American Student Association and the organization’s mission is to spread Korean culture to as many people as possible. The organization encourages people of all cultural backgrounds to be a member. The organization has events to spread culture to those within the organization while ensuring the members have fun at the same time. The organization then puts all of its efforts together to hold a culture show, which hundreds of students from Virginia Tech as well as students and parents from other schools come to watch.
During the culture show, the organization does its best to put on a show that is entertaining to watch and related to Korean culture. In addition, the organization holds fundraisers and raises money for philanthropic causes. KASA is part of the Oak Tree Project, a non-profit charity in Korea that funds the education of orphans in Korea. When orphans turn 18, they are kicked out of their orphanages and are left with no money, but the Oak Tree Project helps with furthering their education and KASA raises money to send to this charity every year.
KASA aims to unite students under the core values of Korean culture including devotion, family, and respect. Our organization strives to achieve this mission through programs that promote social networking and cultural exchange that include but are not limited to social events, philanthropy projects, and culture shows.
KASA works as the cohesive voice of our members to advance the recognition of Korean culture within Virginia Tech and to solidify our relations with other Korean American communities.
KASA raises money for the Oak Tree Project, but also hosts many awesome events such as the culture show every year. One primary goal of KASA is to spread Korean culture to everyone. If you want to learn more about Korea or if you already know a lot about it and want to help others learn about Korean culture, then KASA is perfect for you!
You also don’t have to be Korean to join KASA. We welcome everyone, regardless of background. The members interact with each other and KASA is the perfect place to meet new people and get together with a common goal. The meetings also occasionally provide free Korean food for its members.


ReaderMap help
ReaderMap helps you to organize your reading and improves your learnig.
How doest it works
While you are reading an e-book with your e-book reader you may want to underline some
pieces of text with a particular meaning for you, or add some notes and comments.
As long as you add notes or emphasize important concepts your reader stores these
information into a plain text file. Unfortnately this file is not very useful because
its contents are mixed-up and it is impossible for a human to recover notes and emphasized
text in a sensible view.
ReaderMap bring this file into a conceptual map starting from
the book and inserting your annotations under the proper chapter in a hyerarchical
view. Then you can
refine this repreesentation and transform it into a mind-map using
FreeMind.
How to use ReaderMap
- Locate in your book reader the MyClippings.txt file
- Save a copy of this file to your pc
- Run the ReaderMap and press the Import my clippings button
- Select a book from the list displayed on the right upper panel
- Insert the table of contents: you can generate it, import from an external file or create in place
- Generate the map pressing the Generate map button
- Improve your map with FreeMind software
(http://freemind.sourceforge.net/)
Table of contents: how to's
To organize better your notes and highlights it is important to have the book structure and the table of contents.
You have many ways to have the table of contents, but the better one is making the
ReaderMap generate it for you. This is possible only if you mark every chapter
as long as you read the book adding a special note to it as described later.
How to generate the table of contents (ToC)
To have the ToC automatically generated for your e-books you must follows a simple
rules while reading the book: mark every chapter title with a note starting with a
special character, for example a paragraph § character.
For example:
- Select the chapter title
- Press
Add note
option
- Write:
§
or other special character you have assign in the program settings
- Press
Save
How to load the table of contents
You can write on yourself the ToC with
a simple plain text editor, and then import.
Start a new line for each chapter and add the following informations according to the format:
- Title: the chapter title (characters, numbers and punctuations)
- press
tab
- Number: the chapter number (characters, numbers and punctuations)
- press
tab
- Begin: beginnig position, you must get it from the reader, (integer number)
- press
tab
- End: ending position, you can leave blank, (integer number)
- press
tab
- Comment: your comment (characters, numbers and punctuations)
- press
tab
- Hierarchy level: (integer number)
- press
Enter
Then press the Import table of contents
button.
How to create the table of contents
You can create the ToC with ReaderMap.
In the Chapter frame of the program you must
fill the new chapter input text fields: the Title, the Number,
the Start position, and optionally the Comment. Then
press the Add Chapter button.
If you want to change a chapter,
first select it, make your changes and finally press the Change Chapter button.
If you have inserted more chapters than you needed select the wrong one and press
the Remove Chapter button.
ReaderMap settings
The ReaderMap setting works properly, you can change and try. When restart the
program the default parameters are loaded.
Implement your book reader ReaderMap generator
ReaderMap works with Kindle MyClippings.txt files, can implements your
java classes to support other book readers.
Features
- ReaderMap automatically calculates every chapter end position, so you do not
have to input it.
- Even if you generate the ToC there may be errors or double entries, you
can safely delete them without loosing information.
- If the program finds notes without a
chapter it adds a new chapter at the end of the map with all unassigned notes. Then you can
rearrange them with Freemind.
Next features
- Simple scripting to add more nodes under a note
- More export formats


Cutting the Sunday Ride Short
So today I ended up going for a ride and aborted it early.
Partly due to the fact that I’m still a bit saddle sore from last weekend - the Brompton turns out is pretty decent (I’ve used it for about 60Km a ride before, see the data for the London Classic and the LBC ride, the Thames Triple Chaser). These rides were fine and the saddle performed fine. However, over the distance I rode last weekend and the partly gravelly nature of the route (I think), the saddle did end up causing some chafing and discomfort. Didn’t help I wasn’t wearing cycling shorts (well, padded shorts). So I thought a smallish ride today to ease back in.
However, whilst it started off well, things took a turn for the worst.
Ride
I started off normally and headed down the Alban Way towards St Albans. I ended up taking a different route to get to Colney Heath and ended up going across a field.
Anyhow, once getting past Colney Heath, I continued on my and ended up powering up a hill and this appeared to be my downfall. Cresting the hill, I wanted to find somewhere to stop and take off my new wind layer that I’d picked up from Regatta/Dare 2B on Friday (this one, though I got it for a smidge under £19, thanks to YHA discount and the cheaper in store prices!). When I stopped, I was overcome with feeling faint.
I had to sit down for a good couple of minutes, taking on water and trying not to fall onto the grass verge and lie down. I was sweating profusely and felt sick. Lightheaded as well until I say down on the kerb properly. However, stuck there, I was a distance from Hatfield and didn’t really have any choice but to leisurely start heading home. I made sure to use quiet roads and then the NCN Route 12 when I could.
I felt much better on the way back at the more sedate pace and even stopped to get a panoramic of the rape fields.
I’m not entirely sure what caused the issue - perhaps I was pushing it to hard, perhaps it was to do with hitting my head earlier in the morning or that I’d eaten breakfast maybe less than an hour before hand. Either way, I was a bit put out and had to cut it short.
In fairness. getting in, I was beginning to feel the saddle was beginning to hurt again so it was probably a good distance to do. Least it got me out in the sun!
Hopefully, next weekend will see me back in the saddle properly with no more ill effects.


Numbers (separate subtypes; three are integer types)
Integer
Boolean
Long integer
Floating point real number
Complex number
String
List
Tuple
Dictionary
We will also refer to standard types as "primitive data types" in this text because these types represent the primitive data types that Python provides. We will go over each one in detail in Chapters 5, 6, and 7.


This website uses 🍪 to ensure you get the best experience on our website.
We use cookies to ensure you get the best experience on our website, personalise content and ads,
to provide social media features and to analyse our traffic.
We also share information about your use of our site with our social media,
advertising and analytics partners who may combine it with other information
that you’ve provided to them or that they’ve collected from your use of their services.
In order to specify which cookies to allow please make a choice amongst the following: Cookie Policy and settings


In order to migrate, in small steps, you'll only need to put on your web.xml:
<context-param>
<param-name>br.com.caelum.vraptor.provider</param-name>
<param-value>br.com.caelum.vraptor.vraptor2.Provider</param-value>
</context-param>
<context-param>
<param-name>br.com.caelum.vraptor.packages</param-name>
<!-- Your base package here -->
<param-value>com.companyname.projectname</param-value>
</context-param>
<filter>
<filter-name>vraptor</filter-name>
<filter-class>br.com.caelum.vraptor.VRaptor</filter-class>
</filter>
<filter-mapping>
<filter-name>vraptor</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
and add all jars from lib/mandatory and lib/containers/<one of the containers> from vraptor zip on your classpath.
Don't forget to remove the old VRaptorServlet declaration from VRaptor2, and its respective servlet-mapping.
VRaptor2's @Component correspondent in VRaptor3 is @Resource. Therefore, in order to make logic classes accessible, just annotate them with @Resource (removing the @Component).
The conventions used are slightly different:
In VRaptor2:
@Component
public class ClientsLogic {
public void form() {
}
}
In VRaptor 3:
@Resource
public class ClientsController {
public void form() {
}
}
The form method will be accessible from the URI: "/clients/form", and the default view
will be WEB-INF/jsp/clients/form.jsp
.
Which means, the suffix Controller
is removed from the class name and there is no more
.logic at the end of the URI. Also, the result jsp doesn't have either "ok" or "invalid" on
its name.
VRaptor3 manages the dependencies for you, so, what you were used to annotate with @In on VRaptor2, you'll only need to receive as constructor arguments:
In VRaptor 2:
@Component
public class ClientsLogic {
@In
private ClientDao dao;
public void form() {
}
}
In VRaptor 3:
@Resource
public class ClientsController {
private final ClientDao dao;
public ClientsController(ClientDao dao) {
this.dao = dao;
}
public void form() {
}
}
In order for this to work, you only need that your ClientDao is annotated with VRaptor3's @br.com.caelum.vraptor.ioc.Component.
In VRaptor2 you used either the @Out annotation or a getter method to make and object accessible to the view. In VRaptor3 you only need to return the specified object, if it's only one, or make use of a special object which exposes your objects to the view. This object is the Result.
In VRaptor 2:
@Component
public class ClientsLogic {
private Collection<Client> list;
public void list() {
this.list = dao.list();
}
public Collection<Client> getClientList() {
return this.list;
}
@Out
private Client client;
public void show(Long id) {
this.client = dao.load(id);
}
}
In VRaptor 3:
@Resource
public class ClientsController {
private final ClientDao dao;
private final Result result;
public ClientsController(ClientDao dao, Result result) {
this.dao = dao;
this.result = result;
}
public Collection<Client> list() {
return dao.list(); // the name will be "clientList"
}
public void anotherList() {
result.include("clients", dao.list());
}
public Client show(Long id) {
return dao.load(id); // the name will be "client"
}
}
When your method's return type isn't void, VRaptor uses that type to find out which will be the object's name on the view. When not using the Result object, the name of the exposed object depends on the method's return type. If the return type is a Collection, the object name will be the name of the object contained by the Collection followed by the word List. In the above example, the object would be named 'clientList'. Otherwise, if the return type is a single object, the exposed object's name will be the name of the class with lowercase characters.
In VRaptor3 there's no views.properties file, although it is supported when using VRaptor3's compatibility mode. Thus, all redirections are made on the underlying logic, using the Result object.
@Resource
public class ClientsController {
private final ClientDao dao;
private final Result result;
public ClientsController(ClientDao dao, Result result) {
this.dao = dao;
this.result = result;
}
public Collection<Client> list() {
return dao.list();
}
public void save(Client client) {
dao.save(client);
result.redirectTo(ClientsController.class).list();
}
}
If it's redirection to a logic, you can refer to it directly, and the given parameters will be passed to the called logic.
If you want to forward to a JSP page, you can use:
result.forwardTo("/WEB-INF/jsp/clients/save.ok.jsp");
You don't need to create a method called validateLogicName in order to do the validation, you only need to receive the br.com.caelum.vraptor.Validator object in your logic's constructor, and use it to do your validation, specifying which logic to go when your validation fails.
@Resource
public class ClientsController {
private final ClientDao dao;
private final Result result;
private final Validator validator;
public ClientsController(ClientDao dao, Result result, Validator validator) {
this.dao = dao;
this.result = result;
this.validator = validator;
}
public void form() {
}
public void save(Client client) {
if (client.getName() == null) {
validator.add(new ValidationMessage("error","invalidName"));
}
validator.onErrorUse(Results.page()).of(ClientsController.class).form();
dao.save(client);
}
}
On VRaptor2 it was enough an @Out(ScopeType.SESSION) for putting an object on HttpSession. It doesn't work on VRaptor3, because this way you lose control on your variables. So in VRaptor3 you have to do one of this two approaches:
Your object will be accessed only by components and controllers, not by jsps:
@Component
@SessionScoped
public class SessionMyObject {
private MyObject myobject;
//getter and setter
}
And you receive on your classes constructors a SessionMyObject, and use getters and setters to handle the MyObject on session.
The object will be accessed in jsps too:
@Component
@SessionScoped
public class SessionMyObject {
private HttpSession session;
public SessionMyObject(HttpSession session) {
this.session = session;
}
public void setMyObject(MyObject object) {
this.session.setAttribute("object", object);
}
public MeuObjeto getMyObject() {
return this.session.getAttribute("object");
}
}


| public nothrow | Line() |
| public nothrow | Line(const PointF& start_, const PointF& end_) |
| public nothrow | Line(const PointF& start_, const Vector& v) |
| public nothrow float | Length() const |
| public nothrow Vector | ToVector() const |
| public PointF | end |
| public PointF | start |


| DOSE: |
repeated |
smoked |
DMT |
(powder / crystals) |
| |
repeated |
smoked |
Cannabis |
(plant material) |
First, I would like to state that this was my first trip in almost 17 years. I had experienced several hundred trips with LSD and eaten many ounces of mushrooms, in my day. I had arrived at a point in my personal journey of awakening, where I had been up & down the elevator of Cosmic Consciousness, over and over again. At the apex of my last experience with LSD, I was asked (or maybe commanded?) to purify myself and wait for... 'The Calling'. No, I was not told to hold-off from partaking of sacred substances or 'the food of the Gods' (psychedelics) by any human teacher. Neither was it an angelic force, rather, by the living Goddess, herself (in a psychedelic vision).
Now, while I am not the type of person who worships anthropomorphic deifications, to the contrary, I practice Zen Buddhism and prefer to meditate on the Void. However, in the presence of such Divine authority, I humbly accepted this message and have been patiently awaiting an INVITATION for a return journey of awakening, through the imbibing of a sacred, psychedelic substance. I go into such elaborate detail here, as I want to convey that I do not believe these powerful halucinagens are some form of entertainment. I do not trip for the fun or it, anymore. I know they are shamanic medicines for the human soul and not to taken lightly. As I have been sleeping and dreaming my own illusory mirage, lo these many years, I have been true to the MESSAGE I had received from this supreme Goddess. Frankly, I can't tell you why I needed to obstain or why the Divine entity took the form of a Goddess. Regardless, I am a firm believer that, 'Timing is everything.'
So, when a good friend of mine asked me (two weeks ago), 'Want to trip on some DMT?', I politely declined. Now, somewhere in the back of my mind, I recalled reading about this substance but had never tried it or knew anyone else that had taken it (at least to my knowledge). I explained to him my situation and he looked at me with a twinkle in his eye and said, 'It's up to you.' I replied, 'Maybe you know something I don't?' He just smiled and told me to take it with me and I could decide later on, whether to try or not to try it. He assured me that the effects only lasted 15-20 minutes. I said 'Yeah, but can't 15 minutes can be an eternity?' He chuckled and said, 'Exactly!'
So, I meditated on the possibility for 7 days. Indeed, I felt an inner calling, so I decided to give it a go. Did I really make the decision or was I just accepting the invitation to once again, merge with the ONE? Do we ever really make our own choices? Sometimes I wonder...
I have always believed that I should go into any new drug experiences without preconceptions, so I did no research about other folks DMT journeys. I wanted to be completely open to whatever the experience had to teach me. This might be a dangerous path to travel but it has always been my way. I strongly believe in the spontaneous flow of existance and besides... who really needs all that extra stuff in their mind, on the threshold of self-obliteration/ego death?
With minimal instruction, I proceeded to explore this new chemical pathway to a higher state of consciousness. I had been given a small gel capsule containing the DMT (yellow-orange, crystalline powder). I instinctively separated the amount into 4 small piles, each slightly larger than the previous pile. As I had been instructed to do, I loaded a small pinch of Skunk #1 into my glass bowl and 'protected' the DMT from direct contact with the flame from my lighter. Ganja has always been a dear friend, so I figured it would be a nice combination and perhaps soften the intensity a touch? Turns out, it was like trying to 'soften' a hurricane with a fly-swatter!
I sat on the couch with my legs crossed and prepared to cross into another territory or rather, another dimension. Upon my first deep inhalation, I was shocked by the foul chemical taste! Probably the only part of the trip I really didn't care for. I held it in as long as I could stand to. After my exhalation, I quickly took a second deep inhalation from the pipe. Trying hard not to gag on the thick smoke, I really don't remember my second exhalation, at all.
Suddenly, I heard a loud auditory ringing in my ears, accompanied by the familiar droning of the universal sound (the Word). Almost instantly, I was treated to an explosion of colorful visual patterns. I was drawn within myself and caught up in a rushing force of unlimited energy. Having had many prior journeys with LSD, psilocybin mushrooms and mescaline... I had learned enough to surrender to the pull and merged with the moment. Now, did I really have any choice? Hardly.
Within seconds, I became aware of my chakras being activated. This kind of came as a surprise, as I no longer considered myself a practicing Yogi. As I drew the energy up my spine, I had intense visions of these multifarious levels, even as my spirit rose higher and higher. I won't go into elaborate detail about the myriad of horrifying and alternately, tremendously beautiful visions. It would take a whole book to describe everything I can actually remeber about the thousands of visual impressions flashing before me. I released them each, as they emerged and consciously moved on to higher and yet, higher levels of awareness.
When the rushing force propelled up my spinal column had reached my third-eye (sixth chakra), I became cognesant of what I used to refer to as, 'THE GRID'. The predominant colors I saw were a bright green color (with just a hint of blue to it) and a lavender/magenta/purple. Wow!!!
This amazed me, as I had recalled a whole rainbow of colors under the influence of LSD. I remember thinking to myself, 'These colors reminds me of peyote and mescaline. Must be a similar place?'. I saw curve-linear lines of criss-crossing, colored light. These rays of colors were swelling and undulating out of a central point of blinding white light. This 'Grid' was circular in it's formation and was superimposed over everything I looked at (inside and outside).
I had become increasingly aware of my breathing and the beating of my heart. Almost as if my physical body was trying to remind me of my mortality. In truth, I know now that my heart chakra and throat chakra were pulling on my awareness. Perhaps some kind of built-in safety valve or maybe just the gravity of self, insisting on attention? Having more than 36 years of sitting meditation, under my belt, I calmly centered my breathing and proceeded to raise the energy back up, in an effort to merge with the Great Light (which seemed to be calling to me, drawing me further and further within.)
As I looked with my mind's eye, I could see clearly, that at every point that these lines of colorful energy intersected, there was a point of that same blinding white light. It occurred to me that I was observing the interior blue-print of the Great Spirit, hidden within each particle of the entire panorama of the physical universe. Much like Einstein's theory of an undifferentiated, indivisible field of energy/being... secretly inherent within the illusion of time/space/duality.
At this very moment, I returned to myself and became aware of my body and the fact that I was a separate, individual self or consciousness. Yes, I was back again and what seemed like an eternity was in fact, a little over 15 minutes of time! Once more, my fear, paranoia and selfishness had pulled me back down. Me, myself and I... again.
After stretching into some hatha yoga postures and doing some tai chi chuan, I gradually came out of the rushing current of this force. I reflected upon the journey and loaded another bowl, yet I believe I waited more than an hour to light it up. Yeah, I do remember looking a my watch, although at first I couldn't really figure out what the mysterious symbols on it's face meant (numbers). In a little while, I was completely back to my earthly dream-state and ready for another trip.
I won't go into too much minute detail about my perceptions of the second DMT lift-off, as it was quite similar to the first. Granted, it was easier to access this dimension, since I was familiar with the terrain. Even so, each successive lift-off into the raging current of this force, brought me slightly higher & deeper into this matrix of electrifying power.
After another hour or so, the third shot projected me to the place where I understood what the GRID actually was, in essence (so I believed at that moment). I realized that the finite barrier of being an observer of the observed phenominon, still existed within my being. I could see that, what I visualized as a mandala-like geometric pattern, swirling in a galactic, spiralling whirl... was emanating from the crown of my head. I remember hearing an ethereal voice say, 'The Thousand-petaled Lotus'. Yes, I had risen to the awareness of the 7th chakra. I was actually seeing it through my third-eye (literally looking directly up at it, over head).
This, however, was not enough to achieve complete union and I hesitated, on the verge of dissolving my self into the clear light of the ONE. Moments later, I was separated from this transition-point and back to the ego-driven sense of me, myself and I.
I had come to the point of loading my 4th dose and wanted to wait long enough to maximize the potential. I began to look closely at the DMT and noticed a rather large crystal poking out of the powdered crystalline stuff. It was beautiful and glistened in the sunlight. I had the intuition/feeling that this 1/10th inch, golden crystal was awaiting for me to cross into another level of reality. The realm beyond witness and witnessed, self and other, experiencer and that which is experienced.
After my fourth dose had been smoked, I was explosively propelled towards the boundary of the eternal. I still recall viewing the GRID above me. One of my last thoughts was that it was like a grand, cosmic, ballooning hat. Right on top of my own head! It reminded me of some of the Mayan terracotta sculptures I have seen. Now, this 'hat' was simultaneously expanding outwards into infinity and pulling internally within itself, also an infinity.
Just as I perceived these billions of brilliant glowing white lights, shining at the intersecting points of the colorful mandala pattern, I had the realization that these lights were all of the sentient beings within the fabric of creation. Each bright light was another individuated, third-eye, connected to the totality. Each consciousness united with each other and was intricately woven into this fantastic, geometric pattern. I realized my oneness with each of these stars and recognized that they were each a separate reflection of the GREAT LIGHT, emanating from the center of the GRID.
As I recall it now, I had another revelation, thus I had just one last thought before dissolving into silence... 'The GRID is GOD!!!' The omniscience and the omnipotence of this consciousness was nearly unbearable to behold! I can well imagine how the Biblical Moses must have felt... as he fell, terrified, upon the ground before the BURNING BUSH!!! While I was tempted to worship this GOD as my ONE LORD and SAVIOR, I knew that I must sacrifice myself fully, and merge completely with it. So, I even had to let go of this ecstacy, for it was the last barrier.
Of course, there are no human words that can come close to describing the state of consciousness wherein we die, so to speak, as a separate self and experience union with the ABSOLUTE. I can but fail to describe my perception of this DIVINE oneness. Zen Buddhists refer to this as the VOID. It could be named the CHRIST, the TAO, the GREAT SPIRIT, the GOD-HEAD or simply... I AM. But seriously, I can't detail it any more, as I wasn't conscious of being me, observing the Divine and living presence of GOD. I was awakened to my own true Self. I was absorbed into I AM.
There was no longer any shred of duality to cling to, at all. I vaguely recall the feeling of extreme bliss, as I evaporated into the ONENESS. The last spark of recollection I have of this powerful DMT peak, is a profound stillness within the center of this cyclone of pure, boundless energy. Then... ABSOLUTE SILENCE.
After some time, I awoke into my ordinary dream-world, living on the other side. Oddly enough, I was standing with my arms outstretched, resembling the letter T. Or was it a cross?  My palms were facing upwards and I had tears streaming from the corners of my eyes. My upturned face wore a broad grin and I could feel my heart beating evenly, again. I took a deep breath and to this day, I cannot remeber if I had been breathing at all or even if my heart had been beating. Must have been but I was not watching the panorama for a short interlude. I suspect I had gotten so focused on the inner journey, that I was returning from a single, profound moment, free of time. In that one brief momentary peak... an ETERNITY.
It has been 6 days since my DMT experience and I have been undergoing deep meditations every day since the trip. All in all, the whole process took less that 5 hours but the inspiration lives on. Returning to 'normal' consciousness and an ordinary chemical condition is both, exhilarating and a little depressing. After all, who doesn't want to be perpetually awake? Until another moment outside of myself, I must go to sleep, once again. Still, I thank my lucky stars I was gifted with this powerful experience.
 I had been up all night on LSD and arrived at the very same state of BEING. At the time, I really felt I had found a way to speak about my deep revealation. Frankly, I had even forgotten all about it, until this recent DMT trip.
It goes like this, 'There is no self to which I cling, for I am one with everything.' Just goes to show, words fall so very shy of the mark. Even so, I will quote that most-illumined Chinese sage, who wrote the Tao Te Ching. Lao Tsu said, 'The Tao that can be named is not the Eternal Tao.' God bless him.
Since I came down, I have been reading about effects of DMT and researching the journeys others have had with DMT. In the process, I decided to share my voyage with you folks. Sorry to be so verbous but it is super hard to vocalize about such wonders, and keep it brief.
Peace to all of you, my family and dear friends. May your way be clear and may the GREAT LIGHT shine in your minds and hearts, forever.
I love you all, Brother Rising Spirit.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


$modifiers
$modifiers : array
The possible column modifiers.
compileCreate(\Illuminate\Database\Schema\Blueprint $blueprint, \Illuminate\Support\Fluent $command, \Illuminate\Database\Connection $connection) : string
Compile a create table command.
| \Illuminate\Database\Schema\Blueprint | $blueprint | |
| \Illuminate\Support\Fluent | $command | |
| \Illuminate\Database\Connection | $connection |
compileCreateTable(\Illuminate\Database\Schema\Blueprint $blueprint, \Illuminate\Support\Fluent $command, \Illuminate\Database\Connection $connection) : string
Create the main create table clause.
| \Illuminate\Database\Schema\Blueprint | $blueprint | |
| \Illuminate\Support\Fluent | $command | |
| \Illuminate\Database\Connection | $connection |
compileCreateEncoding(string $sql, \Illuminate\Database\Connection $connection, \Illuminate\Database\Schema\Blueprint $blueprint) : string
Append the character set specifications to a command.
| string | $sql | |
| \Illuminate\Database\Connection | $connection | |
| \Illuminate\Database\Schema\Blueprint | $blueprint |
compileCreateEngine(string $sql, \Illuminate\Database\Connection $connection, \Illuminate\Database\Schema\Blueprint $blueprint) : string
Append the engine specifications to a command.
| string | $sql | |
| \Illuminate\Database\Connection | $connection | |
| \Illuminate\Database\Schema\Blueprint | $blueprint |
modifyVirtualAs(\Illuminate\Database\Schema\Blueprint $blueprint, \Illuminate\Support\Fluent $column) : string|null
Get the SQL for a generated virtual column modifier.
| \Illuminate\Database\Schema\Blueprint | $blueprint | |
| \Illuminate\Support\Fluent | $column |


Jason E. Stajich, Ph.D.
Professor
Dept of Microbiology and Plant Pathology
Institute for Integrative Genome Biology
Center for Plant Cell Biology
email: jason.stajich (AT) ucr.edu
Interested in joining the Stajich lab?
We don’t generally post for specific positions, so please reach out! We welcome applicants from all backgrounds.


{{ partial "header_index.html" . }}
Announcing a new initiative, supported by users and industry leaders around the world, to bring open standards to software containers.


--- title: "Putting the R in Docker: An introduction to single application containers by Derrick Kearney" slug: "mar2019" date: 2019-03-19 ---
Location of slides.


Introduction
Harmony - a library for patching, replacing and decorating .NET methods during runtime.
Prerequisites
Harmony works with all languages that compile to CIL, Microsofts intermediate byte code language. This is foremost the .NET Framework and of course Mono - used by the game engine Unity.
The exception is probably Unity .NET Standard profile, which does not provide the functionality to fully create methods on the fly at runtime.
Bootstrapping and Injection
Harmony does not provide you with a way to run your own code within an application that is not designed to execute foreign code. You need a way to inject at least the few lines that start the Harmony patching and this is usually done with a loader. Here are some common examples of loaders (incomplete):
You need to find your own injection method or choose a game that supports user dll loading (usually called Mods) like for example RimWorld (Wiki).
Dependencies
It has no other dependencies and will most likely work in other environments too. Harmony was tested on PC, Mac and Linux and support 32- and 64-bit. For a typical Unity target, simply set your project to .Net 3.5 or Mono 2.x and include the Harmony dll.
Altering functionality (Patching)
In general, if you want to change how an exising C# application like a game works and you don't have the source code for that application, you have basically two principles to do that:
- Alter dll files on disk
- Re-point method implementations (hooking)
Depending on the needs and situation, altering dll files is not always a desirable solution. For example
- it has legal implications
- it might be blocked by an anti-cheat system
- it does not coordinate nicely with multiple concurrent changes
- it has to be done before and outside the original application
Harmony uses a variation of hooking and focuces only on runtime changes that don't affect files on disk:
- less conflicts with multiple mods
- supports existing mod loaders
- changes can be made dynamically/conditionally
- the patch order can be flexible
- other mods can be patched too
- less legal issues
How Harmony works
Where other patch libraries simply allow you to replace the original method, Harmony goes one step further and gives you:
- A way to keep the original method intact
- Execute your code before and/or after the original method
- Modify the original with IL code processors
- Multiple Harmony patches co-exist and don't conflict with each other
Limits of runtime patching
Harmony can't do everything. Make sure you understand the following:
With Harmony, you only manipulate methods. This includes constructors and getters/setters.
You can only work with methods that have an actual IL code body, which means that they appear in a dissassembler like dnSpy.

You cannot add fields to classes and you cannot extend enums (they get compiled into ints).
Patching generic methods or methods in generic classes is tricky and might not work as expected.
Hello World Example
Original game code:
public class SomeGameClass
{
public bool isRunning;
public int counter;
private int DoSomething()
{
if (isRunning)
{
counter++;
}
return counter * 10;
}
}
Patching with Harmony annotations:
// your code, most likely in your own dll
using HarmonyLib;
using Intro_SomeGame;
public class MyPatcher
{
// make sure DoPatching() is called at start either by
// the mod loader or by your injector
public static void DoPatching()
{
var harmony = new Harmony("com.example.patch");
harmony.PatchAll();
}
}
[HarmonyPatch(typeof(SomeGameClass))]
[HarmonyPatch("DoSomething")] // if possible use nameof() here
class Patch01
{
static AccessTools.FieldRef<SomeGameClass, bool> isRunningRef =
AccessTools.FieldRefAccess<SomeGameClass, bool>("isRunning");
static bool Prefix(SomeGameClass __instance, ref int ___counter)
{
isRunningRef(__instance) = true;
if (___counter > 100)
return false;
___counter = 0;
return true;
}
static void Postfix(ref int __result)
{
__result *= 2;
}
}
Alternatively, manual patching with reflection:
// your code, most likely in your own dll
using HarmonyLib;
using Intro_SomeGame;
public class MyPatcher
{
// make sure DoPatching() is called at start either by
// the mod loader or by your injector
public static void DoPatching()
{
var harmony = new Harmony("com.example.patch");
var mOriginal = AccessTools.Method(typeof(SomeGameClass), "DoSomething"); // if possible use nameof() here
var mPrefix = SymbolExtensions.GetMethodInfo(() => MyPrefix());
var mPostfix = SymbolExtensions.GetMethodInfo(() => MyPostfix());
// in general, add null checks here (new HarmonyMethod() does it for you too)
harmony.Patch(mOriginal, new HarmonyMethod(mPrefix), new HarmonyMethod(mPostfix));
}
public static void MyPrefix()
{
// ...
}
public static void MyPostfix()
{
// ...
}
}


MiniTest::Spec -- The faster, better, less-magical spec framework!
For a list of expectations, see MiniTest::Expectations.
Contains pairs of matchers and Spec classes to be used to calculate the superclass of a top-level describe. This allows for automatically customizable spec types.
See: ::register_spec_type and ::spec_type
Define an ‘after’ action. Inherits the way normal methods should.
NOTE: type
is ignored and is only there to make porting
easier.
Equivalent to MiniTest::Unit::TestCase#teardown.
# File lib/minitest/spec.rb, line 171 def self.after type = :each, &block raise "unsupported after type: #{type}" unless type == :each add_teardown_hook {|tc| tc.instance_eval(&block) } end
Define a ‘before’ action. Inherits the way normal methods should.
NOTE: type
is ignored and is only there to make porting
easier.
Equivalent to MiniTest::Unit::TestCase#setup.
# File lib/minitest/spec.rb, line 158 def self.before type = :each, &block raise "unsupported before type: #{type}" unless type == :each add_setup_hook {|tc| tc.instance_eval(&block) } end
This is used to define a new benchmark method. You usually don’t use this directly and is intended for those needing to write new performance curve fits (eg: you need a specific polynomial fit).
See ::bench_performance_linear for an example of how to use this.
# File lib/minitest/benchmark.rb, line 309 def self.bench name, &block define_method "bench_#{name.gsub(/\W+/, '_')}", &block end
Create a benchmark that verifies that the performance is constant.
describe "my class" do bench_performance_constant "zoom_algorithm!" do |n| @obj.zoom_algorithm!(n) end end
# File lib/minitest/benchmark.rb, line 353 def self.bench_performance_constant name, threshold = 0.99, &work bench name do assert_performance_constant threshold, &work end end
Create a benchmark that verifies that the performance is exponential.
describe "my class" do bench_performance_exponential "algorithm" do |n| @obj.algorithm(n) end end
# File lib/minitest/benchmark.rb, line 368 def self.bench_performance_exponential name, threshold = 0.99, &work bench name do assert_performance_exponential threshold, &work end end
Create a benchmark that verifies that the performance is linear.
describe "my class" do bench_performance_linear "fast_algorithm", 0.9999 do |n| @obj.fast_algorithm(n) end end
# File lib/minitest/benchmark.rb, line 338 def self.bench_performance_linear name, threshold = 0.99, &work bench name do assert_performance_linear threshold, &work end end
Specifies the ranges used for benchmarking for that class.
bench_range do bench_exp(2, 16, 2) end
See MiniTest::Unit::TestCase.bench_range for more details.
# File lib/minitest/benchmark.rb, line 322 def self.bench_range &block return super unless block meta = (class << self; self; end) meta.send :define_method, "bench_range", &block end
Returns the children of this spec.
# File lib/minitest/spec.rb, line 141 def self.children @children ||= [] end
Define an expectation with name desc
. Name gets morphed to a
proper test method name. For some freakish reason, people who write specs
don’t like class inheritence, so this goes way out of its way to make sure
that expectations aren’t inherited.
This is also aliased to specify and doesn’t require a desc
arg.
Hint: If you do want inheritence, use minitest/unit. You can mix and match between assertions and expectations as much as you want.
# File lib/minitest/spec.rb, line 194 def self.it desc = "anonymous", &block block ||= proc { skip "(no tests defined)" } @specs ||= 0 @specs += 1 name = "test_%04d_%s" % [ @specs, desc.gsub(NAME_RE, '_').downcase ] define_method name, &block self.children.each do |mod| mod.send :undef_method, name if mod.public_method_defined? name end name end
Essentially, define an accessor for name
with
block
.
Why use let instead of def? I honestly don’t know.
# File lib/minitest/spec.rb, line 216 def self.let name, &block define_method name do @_memoized ||= {} @_memoized.fetch(name) { |k| @_memoized[k] = instance_eval(&block) } end end
Register a new type of spec that matches the spec’s description. This method can take either a Regexp and a spec class or a spec class and a block that takes the description and returns true if it matches.
Eg:
register_spec_type(/Controller$/, MiniTest::Spec::Rails)
or:
register_spec_type(MiniTest::Spec::RailsModel) do |desc| desc.superclass == ActiveRecord::Base end
# File lib/minitest/spec.rb, line 109 def self.register_spec_type(*args, &block) if block then matcher, klass = block, args.first else matcher, klass = *args end TYPES.unshift [matcher, klass] end
Figure out the spec class to use based on a spec’s description. Eg:
spec_type("BlahController") # => MiniTest::Spec::Rails
# File lib/minitest/spec.rb, line 123 def self.spec_type desc TYPES.find { |matcher, klass| if matcher.respond_to? :call then matcher.call desc else matcher === desc.to_s end }.last end
Another lazy man’s accessor generator. Made even more lazy by setting the
name for you to subject
.
# File lib/minitest/spec.rb, line 227 def self.subject &block let :subject, &block end


File Manager
Files will be added automatically from the IDE when you change, add or
save them.
This will clear the files in this local repo but not in the IDE.
GIT
Connections
Connect to your wallet first, then connect to 3Box using your wallet account.
Export
This will export the files to IPFS and store a key in your 3Box
account.
Import
Importing files from IPFS will clear the filelist.
IPFS Settings
Only set these if you want to override the default settings.
Hello, world! This is a toast message.


NEXT V-card is an easy cutomizable v-card/portfolio/mini website template made entierly 95% with html and css it allows you to introduce yourself with the most important informations to your features clients or employers.
NEXT V-card can be used also as a mini website for a small compagny that want to be introduced quickly and easly.
The template is responsive that's allows it to view it in the mobile devices also.
All the html ,css, javascript code are well organized and commented to make any change easy to do without any problems.
When you download the main download file you finde several folder :
NEXT vCard come with a cool gradient effect animation in the header and the footer of the theme, you can customize the gradient background with the combination of the color that you want, you cab do that easly by changing the hexadecimal color values in the setup of the gradient background, and you will dinf that in the script.js file unther Gradient animation section.
More info about this cool plugin in the link below :
The images used in this template are not included with the main purchased files, but there are freebies and you can download them from the link below :
Pattern used in this template from subtlepattern
NEXT vCard uses fonttello icons , the template come with a set of icons that you can use as you want, and change the default icons to fit your needs.
You can find the list of the icons in the fontello.css in the css folder then you can choose the icon that you want and change it in the html code
NEXT vCard come with a map location section to locate your adress in google map. To setup your coordinate open index.html file then scroll down until you find the map script setup. You are concerned with the lat = -33.867487, lng = 151.20699 values change them to your coordinate location in the map.
NEXT come whith a good to go ajax contact form ready to use, you have to replace the adress of the recipient in the send.php file by your adresse.
To do that open the send.php file located in the main download file in any editor of your choice and go to the line 34 and change the adress by your adresse.


A reflection on time and habit techniques
I am giving the Pomodoro Techinque a go while doing this blog. I have always had issues with being easily distracted by outside sources while doing work. I am hoping this will keep me focussed on the task at hand.
In the past I have used meditation, in particular moving meditation, while swimming. Diving deeper into the other realms of meditation looks interesting. I tried to not get caught in a rabbit hole while looking through this info but the concept of daily mindfulness meditation looks cool also.
The Pomodoro Technique is working well so far! I still have 20 minutes left!!
Pomodoro technique and Mindfullness Meditation stuck out to me the most but I am also keen to try out the Fogg Method.


ATT: Sir/Madam I am Robert Zulugan , a staff of a bank in South Africa. I will give you the name of my bank and other important information if I receive a positive reply from you. For security reasons I cannot disclose my full identity to you now until I am sure of your cooperation. I work in the operations dept where I serve as account officer to numerous customers. One of the customers whom I worked as his account officer was a wealthy diamond merchant from Australia. Because this man was good to me when he was alive, I took it upon myself to travel to his country last month, to see if I could locate any of his close relations. On reaching there I discovered that his only surviving uncle died a few months back. I sponsored this trip on my own and nobody in the bank knew I was undertaking the journey so I did not present any official report of my findings in the bank. Now there are two things I could do with regards to the money. First, as his accounts officer, I could formally notify the bank authorities that the man is dead and has no next of kin. In this case the money would be forfeited to the government after some time. As a matter of fact this is the proper thing I am supposed to do. Another thing I can do is to arrange for someone else, a foreigner, to act as the next of kin of the late man so that he will claim the money. This is the option that I can do to help anybody and myself since the money actually is public fund due to the fact that my friend was a close ally to the late brutal military president that looted government treasury. And that is why I have chosen to do it. I want you to be my partner. All you would have to do is act as the next of kin of the dead man and the whole money in the account will be transferred to your account. As the accounts officer to the late man, I have all the necessary documents that will require claiming the money in the account.The total money in the account is USD25 million. Your share will be 30%, My own share will be 70%. Reach me immediately by email so that I can give you further details. Also provide me you with direct tel.number to reach you. Yours truly, Robert Zulugan. Teancum Mail + LDS Branch Address Book = LDS Global Directory


Reports FlexUnit 4 [Test] annotated methods which are located inside a class extending the abstract FlexUnit 1 or Flunit class TestCase. Mixing FlexUnit API's like this is confusing and can lead to problems running the tests.


1oak is a traditional
Tischlerei.
Joinery
Like we say in German:
“Ja der Meister machts!”
Practice Makes Perfect!
The owner of 1oak,
Tischlermeister
Master Carpenter
Wolf Ehmanns, was born and raised in Germany. He started his woodworking career in 1993 and received the Germany equivalent of Red Seal Journeyman tickets in both Carpentry and Joinery (cabinetry & furniture building).
He then continued his woodworking education to achieve the German Masters degree in joinery, allowing him to provide high quality design and production in all woodworking projects.
Wolf owned and operated a successful business in Germany for many years. He moved to Canada in 2007, and started working in the commercial cabinetry industry.
During this time he discovered the need for a shop like 1oak – where custom cabinetry could be formed perfectly with high-quality design and workmanship.
In 2011, Wolf married the woman of his dreams and moved his new family to Nanoose Bay, BC, and started the operation of 1oak.
His extensive training allows him to work with his clients and assess their vision, needs and budget. He is then able to implement the drafting, design, and creation of their custom cabinetry and furniture.
The
Tagesgeschaeft
Bread and Butter
at 1oak is in kitchens, bathrooms and unique furniture, but includes multi-trade renovation and interior projects as well.
“Ja, das koennen wir!”
Yes we can!
Everything we do is custom! We do it all in house - from the design process to the finished product! There are no limitations; if you can imagine it, we can build it!
That’s what makes us unique and leads to the company’s name 1oak – One Of A Kind!”
And yes –
Wir sprechen auch Deutsch!
We speak German
Everything we build at 1oak hinges on classic joinery and furniture making. It is where experience, innovation and craftsmanship go hand in hand.
On a daily basis, we design and build projects that range from standardized household cabinets to truly extravagant designs.
Your imagination is the only limit.
Wood, plastics, glass, metal, and composites; we transform all materials known to mankind into your dream fixtures.
We build display cases, sideboards, TV and multimedia furniture, tables, interior or exterior benches and chairs, kitchens, wardrobes, shop fittings, and many more!
Unsure of how to fully realize your furniture dreams? We love helping out with the whole process!
With 1oak you will find the competent partner from the very first pencil line to the completed project.
Are you looking for custom solutions?
Have you been searching for quality products and something unique and special?
Have you invented or discovered your dream kitchen but haven't been able to find the right partner to make this dream a reality?
Do you you know what your walk-in closet should look like but can't put your thoughts on paper?

Looking for an extra special door but can’t seem to find it anywhere?
If this feels familiar, you're not alone. These feelings are often what our clients struggle with when it comes to interior projects.
Your search is over.
You have found your partner!
Planning, design and manufacturing of custom doors, staircases, and walk-in closets is what we do and we make sure to build to your exact specifications.
From floors to doors over staircases and walk-in closets, we cover it all. We work with you from the very first idea to the finished project with a keen eye on time and budget. No job too small.
We Specialize in


Visit my LinkedIn profile:
You can follow me on Twitter: Follow @BridgetShoe
Links to Notes
Overview of "System Development Life Cycle"...
Introduction to SDLC


{% extends "base.html" %} {% block nav_form %}{% endblock nav_form %} {% block body %}
Your API key has been successfully saved. Thank you.
If you wish to delete this API key please do so at: https://community.eveonline.com/support/api-key/
{% endblock body %}


Pathanamthitta District, the thirteenth revenue district of the State of Kerala, nestles its head on the slopes of the Western Ghats and stretches to the low-lying rice fields bordering Alappuzha District. It was formed with effect from the 1st November, 1982 vide G.O. (M.S) No.1026/82/RD dated 29.10.1982, with headquarters at Pathanamthitta. It is bounded on the North by Changanassery and Kanjirappally Taluks of Kottayam District and Peerumade Taluk of Idukki District, on the East by the State of Tamil Nadu, on the South by Kunnathur, Pathanapuram and Kottarakkara Taluks of Kollam District and on the West by Chengannur, Mavelikkara and Kuttanad Taluks of Alappuzha District. It abounds with natural splendours – undulating hills, dark mysterious forests, exotic wildlife and enchanting valleys.


Boomerang Cache
Boomerang-Cache Documentation
View On GitHub
View Documentation
BoomerangCache is a client side caching library based on localStorage and sessionStorage
Download
GitHub Repo
Help/Support/Bugs


Have a job that our community would be interested in? Please check our job submission how-to for details on how to file a job posting.
{% if request.user.is_authenticated %}You can use this form to create a new job posting or view your previously submitted job postings.
{% else %}After you have reviewed our how-to document, please login and use this form to create a new job posting
If you have submitted jobs previously under your login, you can view them by logging in now.
{% endif %}In case of questions, please contact the PSF Python Job Board team. Thank you.


---
layout: post
date: 2012-02-03
time: "10:00:00"
authors: ["Greg Wilson"]
title: We're Going to Be Busy
tags: ["Bootcamps"]
---
Here are the bootcamps we have lined up for the next few months:
- International Center for Theoretical Physics, Trieste, February 18 — March 2
- University of Toronto, February 23-24
- Indiana University, March 7-8
- Monterey Bay Aquarium Research Institute, March 26-27
- Lawrence Berkeley National Laboratory, March 28-29
- University of Chicago, April 2-3
- Utah State University, April 14-15
- University College London, April 30 — May 1
- Michigan State University, May 7-9
- Newcastle University, May 14-15
- University of Alberta, May 16-17
- University of British Columbia, May 22-23
We could use help with all of them, both in person as they're running, and online as participants follow up with self-paced material. If you'd like to help out, please get in touch.


|
Panda3D
|
A base class for things that may be directly added into the egg hierarchy. More...
Public Member Functions | |
| applyTexmats () | |
| Applies the texture matrices to the UV's of the vertices that reference them, and then removes the texture matrices from the textures themselves. More... | |
| EggRenderMode | determineAlphaMode () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has an alpha_mode other than AM_unspecified. More... | |
| EggRenderMode | determineBin () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a bin specified. More... | |
| bool | determineDecal () |
| Walks back up the hierarchy, looking for an EggGroup at this level or above that has the "decal" flag set. More... | |
| EggRenderMode | determineDepthOffset () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_offset specified. More... | |
| EggRenderMode | determineDepthTestMode () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_test_mode other than DTM_unspecified. More... | |
| EggRenderMode | determineDepthWriteMode () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_write_mode other than DWM_unspecified. More... | |
| EggRenderMode | determineDrawOrder () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a draw_order specified. More... | |
| bool | determineIndexed () |
| Walks back up the hierarchy, looking for an EggGroup at this level or above that has the "indexed" scalar set. More... | |
| EggRenderMode | determineVisibilityMode () |
| Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a visibility_mode other than VM_unspecified. More... | |
| flattenTransforms () | |
| Removes any transform and instance records from this node in the scene graph and below. More... | |
| int | getDepth () |
| Returns the number of nodes above this node in the egg hierarchy. More... | |
| const LMatrix4d | getNodeFrame () |
| Returns the coordinate frame of the node itself. More... | |
| const LMatrix4d | getNodeFrameInv () |
| Returns the inverse of the matrix returned by get_node_frame(). More... | |
| const LMatrix4d | getNodeFrameInvPtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_frame_inv() matrix. More... | |
| const LMatrix4d | getNodeFramePtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_frame() matrix. More... | |
| const LMatrix4d | getNodeToVertex () |
| Returns the transformation matrix suitable for converting vertices in the coordinate space of the node to the appropriate coordinate space for storing in the egg file. More... | |
| const LMatrix4d | getNodeToVertexPtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_to_vertex() matrix. More... | |
| EggGroupNode | getParent () |
| const LMatrix4d | getVertexFrame () |
| Returns the coordinate frame of the vertices referenced by primitives at or under this node. More... | |
| const LMatrix4d | getVertexFrameInv () |
| Returns the inverse of the matrix returned by get_vertex_frame(). More... | |
| const LMatrix4d | getVertexFrameInvPtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_frame_inv() matrix. More... | |
| const LMatrix4d | getVertexFramePtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_frame() matrix. More... | |
| const LMatrix4d | getVertexToNode () |
| Returns the transformation matrix suitable for converting the vertices as read from the egg file into the coordinate space of the node. More... | |
| const LMatrix4d | getVertexToNodePtr () |
| Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_to_node() matrix. More... | |
| bool | isAnimMatrix () |
| Returns true if this node represents a table of animation transformation data, false otherwise. More... | |
| bool | isJoint () |
| Returns true if this particular node represents a <Joint> entry or not. More... | |
| bool | isLocalCoord () |
| Returns true if this node's vertices are not in the global coordinate space. More... | |
| bool | isUnderInstance () |
| Returns true if there is an <Instance> node somewhere in the egg tree at or above this node, false otherwise. More... | |
| bool | isUnderTransform () |
| Returns true if there is a <Transform> entry somewhere in the egg tree at or above this node, false otherwise. More... | |
| EggNode | operator= (const EggNode copy) |
| bool | parseEgg (str egg_syntax) |
| Parses the egg syntax given in the indicate string as if it had been read from the egg file within this object's definition. More... | |
| int | renameNode (VectorString strip_prefix) |
| Rename by stripping out the prefix. More... | |
| testUnderIntegrity () | |
| transform (const LMatrix4d mat) | |
| Applies the indicated transformation to the node and all of its descendants. More... | |
| transformVerticesOnly (const LMatrix4d mat) | |
| Applies the indicated transformation only to vertices that appear in global space within vertex pools at this node and below. More... | |
| write (Ostream out, int indent_level) | |
| Public Member Functions inherited from EggNamedObject | |
| __init__ (const EggNamedObject copy) | |
| __init__ (str name) | |
| EggNamedObject | operator= (const EggNamedObject copy) |
| output (Ostream out) | |
| Public Member Functions inherited from EggObject | |
| __init__ () | |
| __init__ (const EggObject copy) | |
| clearUserData () | |
| Removes all user data pointers from the node. More... | |
| clearUserData (TypeHandle type) | |
| Removes the user data pointer of the indicated type. More... | |
| EggUserData | getUserData () |
| Returns the user data pointer most recently stored on this object, or NULL if nothing was previously stored. More... | |
| EggUserData | getUserData (TypeHandle type) |
| Returns the user data pointer of the indicated type, if it exists, or NULL if it does not. More... | |
| bool | hasUserData () |
| Returns true if a generic user data pointer has recently been set and not yet cleared, false otherwise. More... | |
| bool | hasUserData (TypeHandle type) |
| Returns true if the user data pointer of the indicated type has been set, false otherwise. More... | |
| EggObject | operator= (const EggObject copy) |
| setUserData (EggUserData user_data) | |
| Sets the user data associated with this object. More... | |
| Public Member Functions inherited from TypedObject | |
| TypeHandle | getType () |
| int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
| bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly. More... | |
| bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type. More... | |
| Public Member Functions inherited from ReferenceCount | |
| int | getRefCount () |
| Returns the current reference count. More... | |
| ref () | |
| Explicitly increments the reference count. More... | |
| bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
| bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
| bool | unref () |
| Explicitly decrements the reference count. More... | |
| Public Member Functions inherited from Namable | |
| __init__ (const Namable) | |
| __init__ (str initial_name) | |
| clearName () | |
| Resets the Namable's name to empty. More... | |
| str | getName () |
| bool | hasName () |
| Returns true if the Namable has a nonempty name set, false if the name is empty. More... | |
| output (Ostream out) | |
| Outputs the Namable. More... | |
| setName (str name) | |
Static Public Member Functions | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from EggNamedObject | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from EggObject | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from TypedReferenceCount | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from TypedObject | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from ReferenceCount | |
| static TypeHandle | getClassType () |
| Static Public Member Functions inherited from Namable | |
| static TypeHandle | getClassType () |
Public Attributes | |
| int | depth |
| Returns the number of nodes above this node in the egg hierarchy. More... | |
| EggGroupNode | parent |
| Public Attributes inherited from TypedObject | |
| TypeHandle | type |
| Returns the TypeHandle representing this object's type. More... | |
| Public Attributes inherited from ReferenceCount | |
| int | ref_count |
| The current reference count. More... | |
| Public Attributes inherited from Namable | |
| const String | name |
A base class for things that may be directly added into the egg hierarchy.
This includes groups, joints, polygons, vertex pools, etc., but does not include things like vertices.
| applyTexmats | ( | ) |
Applies the texture matrices to the UV's of the vertices that reference them, and then removes the texture matrices from the textures themselves.
| EggRenderMode determineAlphaMode | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has an alpha_mode other than AM_unspecified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| EggRenderMode determineBin | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a bin specified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| bool determineDecal | ( | ) |
Walks back up the hierarchy, looking for an EggGroup at this level or above that has the "decal" flag set.
Returns the value of the decal flag if it is found, or false if it is not.
In other words, returns true if the "decal" flag is in effect for the indicated node, false otherwise.
| EggRenderMode determineDepthOffset | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_offset specified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| EggRenderMode determineDepthTestMode | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_test_mode other than DTM_unspecified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| EggRenderMode determineDepthWriteMode | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a depth_write_mode other than DWM_unspecified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| EggRenderMode determineDrawOrder | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a draw_order specified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| bool determineIndexed | ( | ) |
Walks back up the hierarchy, looking for an EggGroup at this level or above that has the "indexed" scalar set.
Returns the value of the indexed scalar if it is found, or false if it is not.
In other words, returns true if the "indexed" flag is in effect for the indicated node, false otherwise.
| EggRenderMode determineVisibilityMode | ( | ) |
Walks back up the hierarchy, looking for an EggGroup or EggPrimitive or some such object at this level or above this node that has a visibility_mode other than VM_unspecified.
Returns a valid EggRenderMode pointer if one is found, or NULL otherwise.
| flattenTransforms | ( | ) |
Removes any transform and instance records from this node in the scene graph and below.
If an instance node is encountered, removes the instance and applies the transform to its vertices, duplicating vertices if necessary.
Since this function may result in duplicated vertices, it may be a good idea to call remove_unused_vertices() after calling this.
|
static |
| int getDepth | ( | ) |
Returns the number of nodes above this node in the egg hierarchy.
| const LMatrix4d getNodeFrame | ( | ) |
Returns the coordinate frame of the node itself.
This is simply the net product of all transformations up to the root.
| const LMatrix4d getNodeFrameInv | ( | ) |
Returns the inverse of the matrix returned by get_node_frame().
See get_node_frame().
| const LMatrix4d getNodeFrameInvPtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_frame_inv() matrix.
| const LMatrix4d getNodeFramePtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_frame() matrix.
| const LMatrix4d getNodeToVertex | ( | ) |
Returns the transformation matrix suitable for converting vertices in the coordinate space of the node to the appropriate coordinate space for storing in the egg file.
This is the same thing as:
get_node_frame() * get_vertex_frame_inv()
| const LMatrix4d getNodeToVertexPtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_node_to_vertex() matrix.
| EggGroupNode getParent | ( | ) |
| const LMatrix4d getVertexFrame | ( | ) |
Returns the coordinate frame of the vertices referenced by primitives at or under this node.
This is not the same as get_node_frame().
Generally, vertices in an egg file are stored in the global coordinate space, regardless of the transforms defined at each node. Thus, get_vertex_frame() will usually return the identity transform (global coordinate space). However, primitives under an <Instance> entry reference their vertices in the coordinate system under effect at the time of the <Instance>. Thus, nodes under an <Instance> entry may return this non- identity matrix.
Specifically, this may return a non-identity matrix only if is_local_coord() is true.
| const LMatrix4d getVertexFrameInv | ( | ) |
Returns the inverse of the matrix returned by get_vertex_frame().
See get_vertex_frame().
| const LMatrix4d getVertexFrameInvPtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_frame_inv() matrix.
| const LMatrix4d getVertexFramePtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_frame() matrix.
| const LMatrix4d getVertexToNode | ( | ) |
Returns the transformation matrix suitable for converting the vertices as read from the egg file into the coordinate space of the node.
This is the same thing as:
get_vertex_frame() * get_node_frame_inv()
| const LMatrix4d getVertexToNodePtr | ( | ) |
Returns either a NULL pointer or a unique pointer shared by nodes with the same get_vertex_to_node() matrix.
| bool isAnimMatrix | ( | ) |
Returns true if this node represents a table of animation transformation data, false otherwise.
| bool isJoint | ( | ) |
Returns true if this particular node represents a <Joint> entry or not.
This is a handy thing to know since Joints are sorted to the end of their sibling list when writing an egg file. See EggGroupNode::write().
| bool isLocalCoord | ( | ) |
Returns true if this node's vertices are not in the global coordinate space.
This will be the case if there was an <Instance> node under a transform at or above this node.
| bool isUnderInstance | ( | ) |
Returns true if there is an <Instance> node somewhere in the egg tree at or above this node, false otherwise.
| bool isUnderTransform | ( | ) |
Returns true if there is a <Transform> entry somewhere in the egg tree at or above this node, false otherwise.
| bool parseEgg | ( | str | egg_syntax | ) |
Parses the egg syntax given in the indicate string as if it had been read from the egg file within this object's definition.
Updates the object accordingly. Returns true if successful, false if there was some parse error or if the object does not support this functionality.
| int renameNode | ( | VectorString | strip_prefix | ) |
Rename by stripping out the prefix.
| testUnderIntegrity | ( | ) |
| transform | ( | const LMatrix4d | mat | ) |
Applies the indicated transformation to the node and all of its descendants.
| transformVerticesOnly | ( | const LMatrix4d | mat | ) |
Applies the indicated transformation only to vertices that appear in global space within vertex pools at this node and below.
Joints and other transforms are not affected, nor are local vertices.
| write | ( | Ostream | out, |
| int | indent_level | ||
| ) |
| int depth |
Returns the number of nodes above this node in the egg hierarchy.
| EggGroupNode parent |


Expedition: Catastrophe
An explorer's plane crashed recently. You and your friends went to explore the site. The scrap parts of the wing fell down behind you, trapping you in the debris. You discovered an oil leak and estimated an hour to escape. With the exits blocked and time ticking, you must dig through the explorer's journals and maps to figure out where the emergency exit is.
Time: 1 Hour Difficulty: Easy
Book Now


--- layout: post title: A recipe that will live in infamy…. date: 2010-05-23 12:00:24.000000000 -04:00 type: post published: true status: publish categories: - recipes - savory - vegan - vegetarian tags: - bean burgers - recipe - vegan meta: tagazine-media: a:7:{s:7:"primary";s:61:"http://farm4.static.flickr.com/3351/4631807129_1679681310.jpg";s:6:"images";a:1:{s:61:"http://farm4.static.flickr.com/3351/4631807129_1679681310.jpg";a:6:{s:8:"file_url";s:61:"http://farm4.static.flickr.com/3351/4631807129_1679681310.jpg";s:5:"width";s:3:"500";s:6:"height";s:3:"375";s:4:"type";s:5:"image";s:4:"area";s:6:"187500";s:9:"file_path";s:0:"";}}s:6:"videos";a:0:{}s:11:"image_count";s:1:"1";s:6:"author";s:7:"9073083";s:7:"blog_id";s:7:"8808538";s:9:"mod_stamp";s:19:"2010-05-23 16:02:47";} _oembed_3c43f84e1da5a19e3ec6a6861f9a096b: author: login: sophie email<EMAIL_ADDRESS>display_name: Pika first_name: '' last_name: '' ---
For damaging my camera lens. That’s right—as I was leaning in for the close up, I stuck my beloved camera right into a pile of mayo. And then proceeded to rub it all over the lens.
But not to worry, these burgers are not inherently evil—in fact they’re delicious and the first vegan burger recipe I’ve made that’s actually stayed together instead of collapsing all over the pan. They’re super quick to whip up, moist and flavorful too. This recipe is a half-batch and makes only four, perfect for one night, so double if you want extra.
Small Batch Chili Bean Burgers
Makes 4
adapted from the Vegetarian Family Cookbook
Pour the boiling water onto the oats and let it sit for about 5 min.
Mash all the ingredients together (oats included) until beans and squished up and everything’s well mixed.
Grease and heat a large skillet; scoop 1/3 cups of the mixture onto the pan and flatten slightly. Cook on both sides until browned. Serve warm.
*Oh, btw, that's not a bagel and cream cheese, that's a bagel thin—you know, some flimsy low-calorie thing the parentals bought. Poor substitute for a bun.


sign up
Name
Description
Street Address
City
State
Zip
Event Date
Desired Contribution:
Funds
Volunteers
Create Event!
Cancel
Toggle navigation
[events near you]
{{event.name}}
{{event.description}}
{{event.location.name}}
Make a New Event!
{{eventData[eventSelected].name}}:
{{eventData[eventSelected].description}}
{{eventData[eventSelected].location.name}}
"Hello! I am organizing an event to come plant trees but I need a little extra help with money to pay for gas and food!"
[go back to event view]