adapt
is a framework allowing for arbitrary exponential families for computing E-steps and arbitrary algorithms for fitting M-steps.
adapt( x, pvals, models, dist = beta_family(), s0 = rep(0.45, length(pvals)), alphas = seq(0.01, 1, 0.01), params0 = list(pix = NULL, mux = NULL), nfits = 20, nms = 1, niter_fit = 10, tol = 1e-04, niter_ms = 20, cr = "BIC", fs = TRUE, verbose = list(print = TRUE, fit = FALSE, ms = TRUE), Mstep_type = "unweighted", lfdr_type = "over" )
| x | covariates (i.e. side-information). Should be compatible to |
|---|---|
| pvals | a vector of values in [0, 1]. P-values |
| models | an object of class " |
| dist | an object of class " |
| s0 | a vector of values in [0, 0.5). Initial threshold. |
| alphas | a vector of values in (0, 1). Target FDR levels. |
| params0 | a list in the form of list(pix = , mux = ). Initial guess of pi(x) and mu(x). NULL as default |
| nfits | a positive integer. Number of model-fitting steps. See Details |
| nms | a non-negative integer. Number of model selection steps. See Details |
| niter_fit | a positive integer. Number of EM iterations in model fitting |
| tol | a positive scalar. EM algorithm stops when pi(x) and mu(x) in consecutive steps differ by at most 'tol' for each element |
| niter_ms | a positive integer. Number of EM iterations in model selection |
| cr | a string. The criterion for model selection with BIC as default. Also support AIC, AICC and HIC |
| fs | logical. Indicate whether the +1 correction is needed in FDPhat |
| verbose | a list of logical values in the form of list(print = , fit = , ms = ). Each element indicates whether the relevant information is outputted to the console. See Details |
| Mstep_type | "unweighted" or "weighted". Indicate whether to use weighted training in M-steps. Please keep the default value "unweighted" unless there is a need to change it. See Appendix A.3 of the paper for details. |
| lfdr_type | "over" or "raw". Indicate whether to use over-estimate or raw estimate of local FDR. Please keep the default value "over" unless there is a need to change it. See Section 4.3 of the paper for details. |
a vector of integers. Number of rejections for each alpha
a list of vector of integers. The set of indices of rejections for each alpha
a matrix of size length(pvals) X length(alphas)
. Threshold curves for each alpha
a list. Each element is a list in the form of list(pix = , mux = , alpha = , nmasks =)
, recording the parameter estimates, the achieved alpha and the number of masked p-values. To avoid massive storage cost, it only contains the information when a new target FDR level is achieved. As a result, it might be shorter than nfits
.
a vector of values in [0, 1]UInf. Q-values. See Details
a permutation of 1:length(pvals)
. Indices of hypotheses arranged in the order of reveal. See Details
same as the input alphas
same as the input dist
a list of adapt_model
objects of length params
. The model used in each fitting step. As in params
, it only contains the model when a new target FDR level is achieved and each element corresponds to an element of params
.
a list of length nfits
. Each element is a list recording extra information in each fitting step, e.g. degree of freedom (df) and variable importance (vi). As in params
, it only contains the model information when a new target FDR level is achieved and each element corresponds to an element of params
.
a list including the other inputs nfits
, nms
, niter_fit
, niter_ms
, tol
, cr
x
should have a type compatible to the fitting functions in models
. For GLM and GAM, x
should be a data.frame. For glmnet, x
should be a matrix.
models
could either be an adapt_model
object, if a single model is used, or a list of adapt_model
objects, each of which corresponding to a model. Each element should be generated by gen_adapt_model
. For glm/gam/glmnet, one can use the shortcut by running gen_adapt_model
with name = "glm" or "gam" or "glmnet" but without specifying pifun
, mufun
, pifun_init
and mufun_init
. See examples below.
nfits
is the number of model fitting steps plus nms
, the model selection steps, if models
contains multiple adapt_model
objects. Suppose M is the number of masked p-values at the initial step, then the model is updated at the initial step and at every time when [M/nfits
] more p-values are revealed. If nms > 0
, model selection is performed at the initial step an at every time when [M/nms
] more p-values are revealed. Between two consecutive model selection steps, the model selected from the last step is used for model fitting. For example, when M = 10000, nfits = 10 and nms = 2, model selection will be performed at the initial step and when 5000 p-values are revealed, while the model fitting will be performed when 1000, 2000, 3000, 4000, 6000, 7000, 8000, 9000 p-values are revealed.
verbose
has three elements: print
, fit
and ms
. If print = TRUE
, the progress of the main procedure is outputted to the console, in the form of "alpha = 0.05: FDPhat 0.0333, Number of Rej. 30" (where the numbers are made up for illustration). If fit = TRUE
, a progress bar for the model fitting is outputted to the console. Similarly, if ms = TRUE
, a progress bar for the model selection is outputted to the console.
For ultra-large scale problems (n > 10^5), it is recommended to keep alphas
short because the output s
is of size n x length(alphas)
.
is length(alphas)
.
The output qvals
gives the q-values of each hypothesis. qvals[i]
is defined as the minimum target FDR level such that pvals[i]
is rejected. For hypotheses with p-values above s0, the q-values are set to be Inf because they are never rejected by AdaPT for whatever alpha.
The output order
gives the order of (the indices of) p-values being revealed, i.e. being in the region (s, 1-s). The latter hypotheses appeared in order
have smaller q-values (i.e. are more likely to be rejected).
# \donttest{ # Load estrogen data data(estrogen) pvals <- as.numeric(estrogen$pvals) x <- data.frame(x = as.numeric(estrogen$ord_high)) dist <- beta_family() # Subsample the data for convenience inds <- (x$x <= 5000) pvals <- pvals[inds] x <- x[inds,,drop = FALSE] # Generate models for function adapt library("splines") formulas <- paste0("ns(x, df = ", 6:10, ")") models <- lapply(formulas, function(formula){ piargs <- muargs <- list(formula = formula) gen_adapt_model(name = "glm", piargs = piargs, muargs = muargs) }) # Run adapt res <- adapt(x = x, pvals = pvals, models = models, dist = dist, nfits = 10)#> Model selection starts! #> Shrink the set of candidate models if it is too time-consuming. #> | | | 0% | |========== | 20% | |==================== | 40% | |============================== | 60% | |======================================== | 80% | |==================================================| 100% #> alpha = 0.29: FDPhat 0.2899, Number of Rej. 3474 #> alpha = 0.28: FDPhat 0.2798, Number of Rej. 3306 #> alpha = 0.27: FDPhat 0.27, Number of Rej. 3182 #> alpha = 0.26: FDPhat 0.26, Number of Rej. 2904 #> alpha = 0.25: FDPhat 0.2498, Number of Rej. 2778 #> alpha = 0.24: FDPhat 0.2399, Number of Rej. 2664 #> alpha = 0.23: FDPhat 0.2297, Number of Rej. 2608 #> alpha = 0.22: FDPhat 0.2198, Number of Rej. 2552 #> alpha = 0.21: FDPhat 0.2098, Number of Rej. 2469 #> alpha = 0.2: FDPhat 0.1999, Number of Rej. 2376 #> alpha = 0.19: FDPhat 0.1898, Number of Rej. 2292 #> alpha = 0.18: FDPhat 0.1799, Number of Rej. 2173 #> alpha = 0.17: FDPhat 0.1698, Number of Rej. 2096 #> alpha = 0.16: FDPhat 0.1598, Number of Rej. 2040 #> alpha = 0.15: FDPhat 0.15, Number of Rej. 1980 #> alpha = 0.14: FDPhat 0.1399, Number of Rej. 1915 #> alpha = 0.13: FDPhat 0.1296, Number of Rej. 1844 #> alpha = 0.12: FDPhat 0.1198, Number of Rej. 1778 #> alpha = 0.11: FDPhat 0.1096, Number of Rej. 1715 #> alpha = 0.1: FDPhat 0.0999, Number of Rej. 1482 #> alpha = 0.09: FDPhat 0.0899, Number of Rej. 1390 #> alpha = 0.08: FDPhat 0.0798, Number of Rej. 1303 #> alpha = 0.07: FDPhat 0.0693, Number of Rej. 1155 #> alpha = 0.06: FDPhat 0.06, Number of Rej. 984 #> alpha = 0.05: FDPhat 0.0497, Number of Rej. 925 #> alpha = 0.04: FDPhat 0.0393, Number of Rej. 839 #> alpha = 0.03: FDPhat 0.0289, Number of Rej. 589 #> alpha = 0.02: FDPhat 0.019, Number of Rej. 263# }


#MONITORYOURFITNESS
|
Physio Neck Exercises |
Triceps Stretch |
Hamstring Stretches |
Hip Stretch |
|
Thigh Stretch |
Split Exercises |
Sitting Stretches |
Upward Extended Pose |
|
Cross Arm Crunch |
Reverse Crunches |
Straight Arm Plank |
Bird Dog |
|
Long Arm Crunch |
Mountain Climber |
Jumping Squats |
Bicycle Crunch |
|
Jumping Jacks |
High Knee Run |
Front Lunges |
Side Lunges |
|
Squats |
Boxer Shuffle |
Butt Kicks |
Fly Jacks |
|
Glute Bridge |
Inverted Shoulder Press |
Skater Hops |
Skipping |
|
Lying Leg Rotation |
Superman Exercise |
Leg Lifts |
Inverted V Plank |


[Erowid Note: No contact information was provided with this report, so we are unable to confirm it or follow up with the author. It is our policy to try to verify any life-endangering adverse reactions which people report, where possible. If the author reads this, please contact<EMAIL_ADDRESS>You think cocaine is all fun and games? I thought so too until 2 days ago.
To start off with a little bit of background, me and my buddy Doug have been recreationally using different substances together for about four years. Our relationship was very special in the aspect that we had both smoked weed together for our first times, and we all had the same group of friends, a mix of jocks and skaters and stoners (unusual, huh?) We have done coke, mushrooms, acid, painkillers, and of course, smoked weed together on several occasions. We were best friends, and our parents are also very good friends with each other. They approved of and trusted our experimentation under the other's watchful eyes. They instructed us to be safe, but basically let us be 17 year old boys. We were always hanging out together, and not always just to get loaded. We were very close friends.
Two nights ago, Doug, me, and another of our friends Ben were hanging out in Doug's barn drinking some beers, and just chillin. We had smoked some bud, and had each drank about 6 shots each and drank a few beers each.  A guy that we mutually know named David came over, and had a few grams of coke for sale. We bought a gram for 40 bucks, and put it away for later.
We played some video games, and smoked a few bowls. We were just hanging out and everything was going good. We both noticed we weren't as drunk as a few hours before, so we decided to do some of the coke. We had figured it would be a waste of coke to do it while totally sloshed. So we each divided up two 1 inch lines each and snorted them quickly... it was mediocre coke, not good but not shitty. We just chilled, playing around with Ben's guitar, and listening to old nirvana albums, and just bulshitting, enjoying our highs.
 Keep in mind he has done coke on several occasions, and in no way shape of form felt any different than any other time, or he would have said so. I know him well enough to know he would have told us if he thought something was wrong. He just was simply tired, and fucked up, and wanted to sleep it off like so many other times he has done the same thing. We all smoked a cigarette, turned off the lights in the loft, and went into our own little worlds in the dark.
Approxomately an hour later, I was still awake and in a chemical daze on a sleeping mat on the floor, and I heard puking outside. No surprise. Happens every time we get together and drink, someone throws up. Then I hear crying... not as normal as puking. I stumble to the barn door and see Doug laying on the ground, and can see him shaking with sobs, and still puking in between. I wake up Ben, and we both help him into the barn, almost both completely sober by now you can imagine. We get him back on the couch, and give him some water and a hot dog bun, thinking that it may be alcohol poisoning and wanting to get any more alcohol in his stomach absorbed to give his liver a break for a few minutes. He thanks us, he is completely responsive, and says he is just really drunk. He has done this before, and we think nothing more of it. He passes out, and he starts snoring very loudly. After about 10 minutes of watchin over him, Ben and I pass out again. We are very relieved.
In the morning at about ten o clock, Ben and I wake up and see Doug still sleeping. We get up and feed the animals, and collect a few eggs for breakfast.   His mom asks us to wake him up as he has to help Doug Sr. make a hay delivery in an hour, and he needs to get ready. We go in and I grab his shoulder and shake him. He is still sleeping. I shake him four or five times, and then notice he isn't even moving which is very unusual. I grab his hand, and it is very cold. I don't know if you have ever grabbed a dead person, but it is the FREAKIEST thing anyone could ever do, especially not expecting it.
The medical examiner came over, and said Doug was indeed dead, but said he hadn't the slightest clue why, as he was so young and healthy and hadn't been injured recently. But me and Ben knew why. It wasn't the cocaine alone, or the alcohol alone. Doug had done both before, separately, and was experienced with both. We by no know means took a larger than average (for us) dose, and I didn't even have a coke-over like I usually do on the morning after snorting. The man at the hospital later said that what had killed my best friend was not either drug individually, but a chemical produced by the combination called cocaethylene (I am not sure of the spelling).
As of right now, me, Ben, Doug's parents and sisters, and everyone else who was close to him, is in shock. Two days ago we were being kids. We didn't even think we were going overboard. It was very normal for us on a Saturday night. Everything was normal. I for one am in a daze, and still haven't fully realized yet that Doug is gone. Ben and I are both the same. We joked today and didn't really discuss it much, although we are both very much shocked and in disbelief, I think. I am just now starting to realize what happened two nights ago. I just wonder why not me or Ben. We all drank and snorted approximately the same amount each, and we are all the same size. Nothing was abnormal until Sunday morning.
I am so shocked, that I don't really believe this is real. I just hop I can warn others about this dangerous mixture before someone else loses their life over an a night of fun. I do not mean to preach or anything. In fact, I will continue to smoke marijuana, but I think it will be a long time before I use cocaine or alcohol again, and forever before I use them together again. It is pointless for a 17 year old boy who was a good friend, a good brother, and a father to be to lose his life for a night of drugging.
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.


Nicely done! You have a good understanding of how to analyze data.
The only problem you had was with question 2:
The first names may not be needed for your analysis. You would only look them up if you were doing analysis that required them.
Nicely done! You have a good understanding of how to analyze data.
The only problem you had was with question 2:
The first names may not be needed for your analysis. You would only look them up if you were doing analysis that required them.


15 November 2001
Disease Outbreak Reported
The patient who was infected with yellow fever while travelling in The Gambia died in a hospital in Belgium on 14 November 2001.
WHO advises all travellers to be aware of the risk of yellow fever and to ensure that they are vaccinated if they are travelling to areas where there is a risk of yellow fever transmission.


Sunday's Simpsons Will Be Russi Taylor's Final Martin Prince Performance
by Evangelia GalanisThis Sunday marks yet another holiday episode of The Simpsons. However, it's also significant because it's Russi Taylor's last performance as Martin Prince, a long-running character on the show.
A celebrated voice actress, Russi Taylor had voiced Prince since his appearance on the show's first season, but sadly died over the summer. Matt Selman took to Twitter to announce the significance of the episode. writing, "This Sunday’s episode of @TheSimpsons features the last vocal appearance of the wonderful, hilarious Russi Taylor as Martin Prince. It turned out to be an epic farewell, one Russi would have loved.”
Click the button below to start this article in quick view.
Earlier in the month, The Simpsons' showrunner, Al Jean, welcomed Grey DeLisle-Griffin to the cast as the new voice of Martin Prince. DeLisle-Griffin will also take on Taylor's other characters from the show, Sherri and Terri.
The Simpsons was created by Matt Groening and developed by James L. Brooks, Groening and Sam Simon. Brooks, Groening and Al Jean are executive producers of the series from Gracie Films Production in association with 20th Century Fox Television. The series airs Sunday nights at 8 p.m. on Fox.
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2TVhttps://www.cbr.com/category/tv/ListItem3TV Newshttps://www.cbr.com/category/tv/news-tv/ListItem4Sunday's Simpsons Will Be Russi Taylor's Final Martin Prince Performancehttps://www.cbr.com/the-simpsons-russi-taylor-final-performance/


BlaxJax
Dealer
Player
Balance: {{User.balance}}
Amount Won:
Start Game
Hit
Stand
Quit Game?
Bet More
Currently Betting:
Bet Less
Need a hint?
Here's a Hint
×
Hint:


Go to the source code of this file.
Variables | |
| const int | eventQSize = 16 |
| const int | maxCollectionSize = INT_MAX / sizeof(void *) |
| const int | maxViewWidth = 132 |
| const int | maxFindStrLen = 80 |
| const int | maxReplaceStrLen = 80 |
Definition in file tvconfig.h.
|
|
Specifies the size of the event queue. Definition at line 24 of file tvconfig.h. |
|
|
maxCollectionSize determines the maximum number of elements that may be contained in a collection, which is essentially the number of pointers that can fit in INT_MAX (= 2^31-1) bytes. Definition at line 31 of file tvconfig.h. |
|
|
Gives the maximum length for a find string in TEditor applications.
Definition at line 42 of file tvconfig.h. |
|
|
Gives the maximum length for a replacement string in TEditor applications.
Definition at line 48 of file tvconfig.h. |
|
|
Sets the maximum width of a view. Definition at line 36 of file tvconfig.h. |


Another likely candidate is Clear Linux, a distribution supported by Intel Corporation. They clearly have a useful agenda: make Intel processors look good with Linux. And they succeed.
The documentation on the front page seemed promising, as it gives several use-cases and lists of available software.
It has a marketing feel: a list of features (as opposed to technologies) which includes “stateless” twice, customizable, and “Intel optimized”.
Unstated, but implied, is that this is more of a “corporate-friendly” distro that should see little friction in corporate environments. The stateless part is a strong piece of that.
The documents include Guides, Tutorials, and References. Like Python documentation, there is a clear distinction amongst these.
Guides include: Bundles, Kernels, and what Stateless means. Additional Guides cover lifecycle, networking, and typical deployment stacks like database, deep learning, or high-performance computing (HPC).
Tutorials cover easy, moderate and difficult topics like setting up a LAMP stack, HPC cluster, or Kubernetes cluster. These all assume you have Clear Linux already installed.
The guide Download-Verify-Decompress describes the various tailored images, including the VMware .vmdk file that I used.
An important distinction here: the documents are accurate. That’s very important.
The big difference, and a significant advantage, is the bundle concept.
Each bundle contains as many or as few open source projects needed to provide a complete functionality.
This is a very big deal as it eliminates a lot of cross-RPM compatibility issues – instead, Intel and the Clear Linux developers select the compatible RPMs and “bundle” them. The functionality just works.
One of the downsides is the relative invisibility (in search tools or the bundle web site) of developer bundles. And as mentioned below, some bundles are too small.
There is a clear statement of the minimum CPU requirement at Compiler Flags and this is Westmere CPUs (available in 2010) and tuning for Haswell architecture.
A slightly more detailed description is at System Requirements
Nobody else does this.
The OS can run containers, or any of the popular (and bundled) GLIBC software items like Python, virtualization hypervisors, Kubernetes, etc.
In short it’s general purpose.
Also, in the corporate-support sense, it has valid configurations out-of-the
box (/etc
is mostly empty) and a reset is accomplished by emptying /etc
and /var.
Out of the box you get a user account. And that’s all.
The root password and user passwords have to be high-quality. The user
is configured from some questions. Then you add bundles with sudo
.
To even search for bundles, you need to add a bundle!
Install by booting the media, login as root, and run a script.
clr-live login:
Enter root, you will be asked for a high-quality password.
Start clr-installer. A text-based graphical menu appears. Fill in the forms for ® Required options:
# clr-installer
(Hint: after changing values, you must tab to the Confirm button. It requires close examination to confirm you have selected Confirm as there are numerous other text boxes with the same colour. This is a poor UI choice.)
Timezone (recommend UTC)
Choose Language (US)
Choose Keyboard (recommend US)
Select Configure Installation Media (choose Destructive Installation for a single-partition install)
Select Manage User and add a user (this is mandatory; there is no root login permitted)
Configure Telemetry (choose to enable or disable as desired)
Select Install. (Accept the reminder about destroying disk contents.)
Install takes about 7.5 minutes (i3 CPU on a VMware VM with SSD).
Select either Reboot or Exit from the clr-installer.
After a reboot, automatic update takes about 7 or 8 minutes. This is done
by the swupd
tool.
Meanwhile you can’t use swupd
until it is finished.
Then,
touch .vimrc ### needed to avoid a constant vi message
export PYTHONWARNINGS="ignore::DeprecationWarning"
sudo swupd autoupdate --disable ### I like stability
swupd search matplotlib
This search fails, because the following bundles are needed to search:
sudo swupd bundle-add os-core-search
swupd search matplotlib
sudo hostnamectl set-hostname clearbox
There is a website with a list of packages, divided into “bundles” (meaning officially supported) and “flatpak” packages.
Clear Linux Bundles is
the website. It’s quick, and automatically does wildcards
(such as searching for Fortran, for which you type fortran
in the search box).
Clear Linux also supports the Flatpak package installation mechanism, so you get a wide variety of available applications.
Add a bundle with
sudo swupd bundle-add c-basic
sudo swupd bundle-add devpkg-fftw
sudo swupd bundle-add vim-minimal
sudo swupd bundle-add python-extras
sudo swupd bundle-add openmpi
sudo swupd bundle-add machine-learning-basic
sudo swupd bundle-add git
sudo swupd bundle-add devpkg-gsl
sudo swupd bundle-add wget
sudo swupd bundle-add devpkg-openmpi
Notice the last bundle – you have to add two OpenMPI bundles to compile and run an MPI program.
For X11
sudo swupd bundle-add devpkg-libX11 x11-server x11-tools
For building cwm
myself I needed:
sudo swupd bundle-add x11-tools x11-server devpkg-libX11
sudo swupd bundle-add devpkg-libXft ### fonts
(The devpkg-libXft
was a real nuisance to find. Why is it not
in devpkg-libX11
?
Why can’t you find it on the website?)
Then download and build the portable cwm tarfile:
curl -OL https://leahneukirchen.org/releases/cwm-6.7.tar.gz
tar xzf cwm-6.7.tar.gz
cd cwm/cwm-6.7/
make -e PREFIX=$HOME install
As seems to be typical with many operating systems, finding what
you need to install to do task X or Y seems to be most of the effort.
Especially compared to ./configure; make
.
See my above example with Xft.
The search command doesn’t do much more than a “Do you feel lucky” search. If the first result doesn’t work for you, the occasional second or third won’t either. Example,
swupd search X11
Bundle with the best search result:
feh - Fast X11 image viewer, managed via command-line.
This bundle can be installed with:
swupd bundle-add feh
Alternative bundle options are
gnuplot - Graphing utility that outputs to X11, PostScript, PNG, GIF, and others.
simplescreenrecorder - A feature-rich screen recorder that supports X11 and OpenGL.
x11-server - Provide a functional X11 Server (Xorg or wayland-based). (installed)
Nope, that doesn’t do it for me.
I really miss a pkglocate
tool.
This one is very fast to reboot. It’s like a few seconds. It’s an example
of systemd
at work.
Except, it takes a while longer before it accepts SSH logins.
I don’t have usable performance comparisons (using a VM means measurements are not repeatable). See Phoronix for Linux and BSD performance comparisons and benchmarks.
Clear Linux has the stability, apparent performance, diversity of applications and capacity for ease of development. So I’m going to stick with this for a while, for those times when running things on OpenBSD isn’t possible.
January 2022
OpenBSD Numerics | My Linux Experience | Experience with Alpine Linux | Experience with Clear Linux


Foundation lawsuit challenges student voter ID requirements
MADISON, Wis. (AP) - A group that promotes student voting has filed a federal lawsuit challenging Wisconsin's student voter identification requirements.
The Andrew Goodman Foundation filed the lawsuit in Madison on Tuesday. The foundation alleges that requirements that students present IDs that contain the issuance date, the holder's signature and an expiration date no later than two years after the issuance date are too onerous and are designed to stop young people from voting in violation of the 26th Amendment.
The lawsuit names the members of the Wisconsin Elections Commission as defendants. Commission spokesman Reid Magney didn't immediately respond to an email Wednesday seeking comment.
Priorities USA Foundation is funding the lawsuit. That foundation announced in February that it plans to spend $30 million to finance court challenges to restrictive Republican-backed voter laws.


public class Fragment
extends java.lang.Object
android.app.Fragment
.
Used to write apps that run on platforms prior to Android 3.0. When running
on Android 3.0 or above, this implementation is still used; it does not try
to switch to the framework's implementation. See the framework android.app.Fragment
documentation for a class overview.
The main differences when using this support version instead of the framework version are:
FragmentActivity
FragmentActivity.getSupportFragmentManager()
to get the
FragmentManager
| Modifier and Type | Class and Description |
|---|---|
static class |
Fragment.InstantiationException
Thrown by
instantiate(Context, String, Bundle) when
there is an instantiation failure. |
static class |
Fragment.SavedState
State information that has been retrieved from a fragment instance
through
FragmentManager.saveFragmentInstanceState . |
| Constructor and Description |
|---|
Fragment()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.lang.String prefix,
java.io.FileDescriptor fd,
java.io.PrintWriter writer,
java.lang.String[] args)
Print the Fragments's state into the given stream.
|
boolean |
equals(java.lang.Object o)
Subclasses can not override equals().
|
FragmentActivity |
getActivity()
Return the Activity this fragment is currently associated with.
|
Bundle |
getArguments()
Return the arguments supplied when the fragment was instantiated,
if any.
|
FragmentManager |
getChildFragmentManager()
Return a private FragmentManager for placing and managing Fragments
inside of this Fragment.
|
FragmentManager |
getFragmentManager()
Return the FragmentManager for interacting with fragments associated
with this fragment's activity.
|
int |
getId()
Return the identifier this fragment is known by.
|
LayoutInflater |
getLayoutInflater(Bundle savedInstanceState) |
LoaderManager |
getLoaderManager()
Return the LoaderManager for this fragment, creating it if needed.
|
Fragment |
getParentFragment()
Returns the parent Fragment containing this Fragment.
|
Resources |
getResources()
Return
getActivity().getResources() . |
boolean |
getRetainInstance() |
java.lang.String |
getString(int resId)
Return a localized string from the application's package's
default string table.
|
java.lang.String |
getString(int resId,
java.lang.Object... formatArgs)
Return a localized formatted string from the application's package's
default string table, substituting the format arguments as defined in
Formatter and String.format(java.lang.String, java.lang.Object...) . |
java.lang.String |
getTag()
Get the tag name of the fragment, if specified.
|
Fragment |
getTargetFragment()
Return the target fragment set by
setTargetFragment(android.support.v4.app.Fragment, int) . |
int |
getTargetRequestCode()
Return the target request code set by
setTargetFragment(android.support.v4.app.Fragment, int) . |
java.lang.CharSequence |
getText(int resId)
Return a localized, styled CharSequence from the application's package's
default string table.
|
boolean |
getUserVisibleHint() |
View |
getView()
Get the root view for the fragment's layout (the one returned by
onCreateView(LayoutInflater, ViewGroup, Bundle) ),
if provided. |
int |
hashCode()
Subclasses can not override hashCode().
|
boolean |
hasOptionsMenu() |
static Fragment |
instantiate(Context context,
java.lang.String fname)
Like
instantiate(Context, String, Bundle) but with a null
argument Bundle. |
static Fragment |
instantiate(Context context,
java.lang.String fname,
Bundle args)
Create a new instance of a Fragment with the given class name.
|
boolean |
isAdded()
Return true if the fragment is currently added to its activity.
|
boolean |
isDetached()
Return true if the fragment has been explicitly detached from the UI.
|
boolean |
isHidden()
Return true if the fragment has been hidden.
|
boolean |
isInLayout()
Return true if the layout is included as part of an activity view
hierarchy via the <fragment> tag.
|
boolean |
isMenuVisible() |
boolean |
isRemoving()
Return true if this fragment is currently being removed from its
activity.
|
boolean |
isResumed()
Return true if the fragment is in the resumed state.
|
boolean |
isVisible()
Return true if the fragment is currently visible to the user.
|
void |
onActivityCreated(Bundle savedInstanceState)
Called when the fragment's activity has been created and this
fragment's view hierarchy instantiated.
|
void |
onActivityResult(int requestCode,
int resultCode,
Intent data)
Receive the result from a previous call to
startActivityForResult(Intent, int) . |
void |
onAttach(Activity activity)
Called when a fragment is first attached to its activity.
|
void |
onConfigurationChanged(Configuration newConfig) |
boolean |
onContextItemSelected(MenuItem item)
This hook is called whenever an item in a context menu is selected.
|
void |
onCreate(Bundle savedInstanceState)
Called to do initial creation of a fragment.
|
Animation |
onCreateAnimation(int transit,
boolean enter,
int nextAnim)
Called when a fragment loads an animation.
|
void |
onCreateContextMenu(ContextMenu menu,
View v,
ContextMenuInfo menuInfo)
Called when a context menu for the
view is about to be shown. |
void |
onCreateOptionsMenu(Menu menu,
MenuInflater inflater)
Initialize the contents of the Activity's standard options menu.
|
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
Called to have the fragment instantiate its user interface view.
|
void |
onDestroy()
Called when the fragment is no longer in use.
|
void |
onDestroyOptionsMenu()
Called when this fragment's option menu items are no longer being
included in the overall options menu.
|
void |
onDestroyView()
Called when the view previously created by
onCreateView(LayoutInflater, ViewGroup, Bundle) has
been detached from the fragment. |
void |
onDetach()
Called when the fragment is no longer attached to its activity.
|
void |
onHiddenChanged(boolean hidden)
Called when the hidden state (as returned by
isHidden() of
the fragment has changed. |
void |
onInflate(Activity activity,
AttributeSet attrs,
Bundle savedInstanceState)
Called when a fragment is being created as part of a view layout
inflation, typically from setting the content view of an activity.
|
void |
onLowMemory() |
boolean |
onOptionsItemSelected(MenuItem item)
This hook is called whenever an item in your options menu is selected.
|
void |
onOptionsMenuClosed(Menu menu)
This hook is called whenever the options menu is being closed (either by the user canceling
the menu with the back/menu button, or when an item is selected).
|
void |
onPause()
Called when the Fragment is no longer resumed.
|
void |
onPrepareOptionsMenu(Menu menu)
Prepare the Screen's standard options menu to be displayed.
|
void |
onResume()
Called when the fragment is visible to the user and actively running.
|
void |
onSaveInstanceState(Bundle outState)
Called to ask the fragment to save its current dynamic state, so it
can later be reconstructed in a new instance of its process is
restarted.
|
void |
onStart()
Called when the Fragment is visible to the user.
|
void |
onStop()
Called when the Fragment is no longer started.
|
void |
onViewCreated(View view,
Bundle savedInstanceState)
Called immediately after
onCreateView(LayoutInflater, ViewGroup, Bundle)
has returned, but before any saved state has been restored in to the view. |
void |
onViewStateRestored(Bundle savedInstanceState)
Called when all saved state has been restored into the view hierarchy
of the fragment.
|
void |
registerForContextMenu(View view)
Registers a context menu to be shown for the given view (multiple views
can show the context menu).
|
void |
setArguments(Bundle args)
Supply the construction arguments for this fragment.
|
void |
setHasOptionsMenu(boolean hasMenu)
Report that this fragment would like to participate in populating
the options menu by receiving a call to
onCreateOptionsMenu(Menu, MenuInflater)
and related methods. |
void |
setInitialSavedState(Fragment.SavedState state)
Set the initial saved state that this Fragment should restore itself
from when first being constructed, as returned by
FragmentManager.saveFragmentInstanceState . |
void |
setMenuVisibility(boolean menuVisible)
Set a hint for whether this fragment's menu should be visible.
|
void |
setRetainInstance(boolean retain)
Control whether a fragment instance is retained across Activity
re-creation (such as from a configuration change).
|
void |
setTargetFragment(Fragment fragment,
int requestCode)
Optional target for this fragment.
|
void |
setUserVisibleHint(boolean isVisibleToUser)
Set a hint to the system about whether this fragment's UI is currently visible
to the user.
|
void |
startActivity(Intent intent)
Call
Activity#startActivity(Intent) on the fragment's
containing Activity. |
void |
startActivityForResult(Intent intent,
int requestCode)
Call
Activity#startActivityForResult(Intent, int) on the fragment's
containing Activity. |
java.lang.String |
toString() |
void |
unregisterForContextMenu(View view)
Prevents a context menu to be shown for the given view.
|
public Fragment()
setArguments(Bundle)
and later retrieved by the Fragment with getArguments()
.
Applications should generally not implement a constructor. The
first place application code an run where the fragment is ready to
be used is in onAttach(Activity)
, the point where the fragment
is actually associated with its activity. Some applications may also
want to implement onInflate(Activity, AttributeSet, Bundle)
to retrieve attributes from a
layout resource, though should take care here because this happens for
the fragment is attached to its activity.
public static Fragment instantiate(Context context, java.lang.String fname)
instantiate(Context, String, Bundle)
but with a null
argument Bundle.public static Fragment instantiate(Context context, java.lang.String fname, Bundle args)
context
- The calling context being used to instantiate the fragment.
This is currently just used to get its ClassLoader.fname
- The class name of the fragment to instantiate.args
- Bundle of arguments to supply to the fragment, which it
can retrieve with getArguments()
. May be null.java.lang.InstantiationException
- If there is a failure in instantiating
the given fragment class. This is a runtime exception; it is not
normally expected to happen.public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public final int getId()
public final java.lang.String getTag()
public void setArguments(Bundle args)
public final Bundle getArguments()
public void setInitialSavedState(Fragment.SavedState state)
FragmentManager.saveFragmentInstanceState
.state
- The state the fragment should be restored from.public void setTargetFragment(Fragment fragment, int requestCode)
FragmentManager.putFragment()
.fragment
- The fragment that is the target of this one.requestCode
- Optional request code, for convenience if you
are going to call back with onActivityResult(int, int, Intent)
.public final Fragment getTargetFragment()
setTargetFragment(android.support.v4.app.Fragment, int)
.public final int getTargetRequestCode()
setTargetFragment(android.support.v4.app.Fragment, int)
.public final FragmentActivity getActivity()
public final Resources getResources()
getActivity().getResources()
.public final java.lang.CharSequence getText(int resId)
resId
- Resource id for the CharSequence textpublic final java.lang.String getString(int resId)
resId
- Resource id for the stringpublic final java.lang.String getString(int resId, java.lang.Object... formatArgs)
Formatter
and String.format(java.lang.String, java.lang.Object...)
.resId
- Resource id for the format stringformatArgs
- The format arguments that will be used for substitution.public final FragmentManager getFragmentManager()
getActivity()
, during the time from when the fragment is
placed in a FragmentTransaction
until it is committed and
attached to its activity.
If this Fragment is a child of another Fragment, the FragmentManager
returned here will be the parent's getChildFragmentManager()
.
public final FragmentManager getChildFragmentManager()
public final Fragment getParentFragment()
public final boolean isAdded()
public final boolean isDetached()
FragmentTransaction.detach(Fragment)
has been used on it.public final boolean isRemoving()
public final boolean isInLayout()
public final boolean isResumed()
onResume()
and onPause()
as well.public final boolean isVisible()
public final boolean isHidden()
onHiddenChanged(boolean)
. Note that the hidden state is orthogonal
to other states -- that is, to be visible to the user, a fragment
must be both started and not hidden.public final boolean hasOptionsMenu()
public final boolean isMenuVisible()
public void onHiddenChanged(boolean hidden)
isHidden()
of
the fragment has changed. Fragments start out not hidden; this will
be called whenever the fragment changes state from that.hidden
- True if the fragment is now hidden, false if it is not
visible.public void setRetainInstance(boolean retain)
onDestroy()
will not be called (but onDetach()
still
will be, because the fragment is being detached from its current activity).
onCreate(Bundle)
will not be called since the fragment
is not being re-created.
onAttach(Activity)
and onActivityCreated(Bundle)
will
still be called.
public final boolean getRetainInstance()
public void setHasOptionsMenu(boolean hasMenu)
onCreateOptionsMenu(Menu, MenuInflater)
and related methods.hasMenu
- If true, the fragment has menu items to contribute.public void setMenuVisibility(boolean menuVisible)
menuVisible
- The default is true, meaning the fragment's menu will
be shown as usual. If false, the user will not see the menu.public void setUserVisibleHint(boolean isVisibleToUser)
An app may set this to false to indicate that the fragment's UI is scrolled out of visibility or is otherwise not directly visible to the user. This may be used by the system to prioritize operations such as fragment lifecycle updates or loader ordering behavior.
isVisibleToUser
- true if this fragment's UI is currently visible to the user (default),
false if it is not.public boolean getUserVisibleHint()
setUserVisibleHint(boolean)
public LoaderManager getLoaderManager()
public void startActivity(Intent intent)
Activity#startActivity(Intent)
on the fragment's
containing Activity.public void startActivityForResult(Intent intent, int requestCode)
Activity#startActivityForResult(Intent, int)
on the fragment's
containing Activity.public void onActivityResult(int requestCode, int resultCode, Intent data)
startActivityForResult(Intent, int)
. This follows the
related Activity API as described there in
Activity#onActivityResult(int, int, Intent)
.requestCode
- The integer request code originally supplied to
startActivityForResult(), allowing you to identify who this
result came from.resultCode
- The integer result code returned by the child activity
through its setResult().data
- An Intent, which can return result data to the caller
(various data can be attached to Intent "extras").public LayoutInflater getLayoutInflater(Bundle savedInstanceState)
public void onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState)
onAttach(Activity)
has been called; all you should do here is
parse the attributes and save them away.
This is called every time the fragment is inflated, even if it is being inflated into a new instance with saved state. It typically makes sense to re-parse the parameters each time, to allow them to change with different configurations.
Here is a typical implementation of a fragment that can take parameters
both through attributes supplied here as well from getArguments()
:
Note that parsing the XML attributes uses a "styleable" resource. The declaration for the styleable used here is:
The fragment can then be declared within its activity's content layout through a tag like this:
This fragment can also be created dynamically from arguments given at runtime in the arguments Bundle; here is an example of doing so at creation of the containing activity:
activity
- The Activity that is inflating this fragment.attrs
- The attributes at the tag where the fragment is
being created.savedInstanceState
- If the fragment is being re-created from
a previous saved state, this is the state.public void onAttach(Activity activity)
onCreate(Bundle)
will be called after this.public Animation onCreateAnimation(int transit, boolean enter, int nextAnim)
public void onCreate(Bundle savedInstanceState)
onAttach(Activity)
and before
onCreateView(LayoutInflater, ViewGroup, Bundle)
.
Note that this can be called while the fragment's activity is
still in the process of being created. As such, you can not rely
on things like the activity's content view hierarchy being initialized
at this point. If you want to do work once the activity itself is
created, see onActivityCreated(Bundle)
.
savedInstanceState
- If the fragment is being re-created from
a previous saved state, this is the state.public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
onCreate(Bundle)
and onActivityCreated(Bundle)
.
If you return a View from here, you will later be called in
onDestroyView()
when the view is being released.
inflater
- The LayoutInflater object that can be used to inflate
any views in the fragment,container
- If non-null, this is the parent view that the fragment's
UI should be attached to. The fragment should not add the view itself,
but this can be used to generate the LayoutParams of the view.savedInstanceState
- If non-null, this fragment is being re-constructed
from a previous saved state as given here.public void onViewCreated(View view, Bundle savedInstanceState)
onCreateView(LayoutInflater, ViewGroup, Bundle)
has returned, but before any saved state has been restored in to the view.
This gives subclasses a chance to initialize themselves once
they know their view hierarchy has been completely created. The fragment's
view hierarchy is not however attached to its parent at this point.view
- The View returned by onCreateView(LayoutInflater, ViewGroup, Bundle)
.savedInstanceState
- If non-null, this fragment is being re-constructed
from a previous saved state as given here.public View getView()
onCreateView(LayoutInflater, ViewGroup, Bundle)
),
if provided.public void onActivityCreated(Bundle savedInstanceState)
setRetainInstance(boolean)
to retain their instance,
as this callback tells the fragment when it is fully associated with
the new activity instance. This is called after onCreateView(LayoutInflater, ViewGroup, Bundle)
and before onViewStateRestored(Bundle)
.savedInstanceState
- If the fragment is being re-created from
a previous saved state, this is the state.public void onViewStateRestored(Bundle savedInstanceState)
onActivityCreated(Bundle)
and before
onStart()
.savedInstanceState
- If the fragment is being re-created from
a previous saved state, this is the state.public void onStart()
Activity.onStart
of the containing
Activity's lifecycle.public void onResume()
Activity.onResume
of the containing
Activity's lifecycle.public void onSaveInstanceState(Bundle outState)
onCreate(Bundle)
,
onCreateView(LayoutInflater, ViewGroup, Bundle)
, and
onActivityCreated(Bundle)
.
This corresponds to Activity.onSaveInstanceState(Bundle)
and most of the discussion there
applies here as well. Note however: this method may be called
at any time before onDestroy()
. There are many situations
where a fragment may be mostly torn down (such as when placed on the
back stack with no UI showing), but its state will not be saved until
its owning activity actually needs to save its state.
outState
- Bundle in which to place your saved state.public void onConfigurationChanged(Configuration newConfig)
public void onPause()
Activity.onPause
of the containing
Activity's lifecycle.public void onStop()
Activity.onStop
of the containing
Activity's lifecycle.public void onLowMemory()
public void onDestroyView()
onCreateView(LayoutInflater, ViewGroup, Bundle)
has
been detached from the fragment. The next time the fragment needs
to be displayed, a new view will be created. This is called
after onStop()
and before onDestroy()
. It is called
regardless of whether onCreateView(LayoutInflater, ViewGroup, Bundle)
returned a
non-null view. Internally it is called after the view's state has
been saved but before it has been removed from its parent.public void onDestroy()
onStop()
and before onDetach()
.public void onDetach()
onDestroy()
.public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
setHasOptionsMenu(boolean)
. See
Activity.onCreateOptionsMenu
for more information.menu
- The options menu in which you place your items.setHasOptionsMenu(boolean)
,
onPrepareOptionsMenu(Menu)
,
onOptionsItemSelected(MenuItem)
public void onPrepareOptionsMenu(Menu menu)
Activity.onPrepareOptionsMenu
for more information.menu
- The options menu as last shown or first initialized by
onCreateOptionsMenu().setHasOptionsMenu(boolean)
,
onCreateOptionsMenu(Menu, MenuInflater)
public void onDestroyOptionsMenu()
onCreateOptionsMenu(Menu, MenuInflater)
was not called).public boolean onOptionsItemSelected(MenuItem item)
Derived classes should call through to the base class for it to perform the default menu handling.
item
- The menu item that was selected.onCreateOptionsMenu(Menu, MenuInflater)
public void onOptionsMenuClosed(Menu menu)
menu
- The options menu as last shown or first initialized by
onCreateOptionsMenu().public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo)
view
is about to be shown.
Unlike onCreateOptionsMenu(Menu, MenuInflater)
, this will be called every
time the context menu is about to be shown and should be populated for
the view (or item inside the view for AdapterView
subclasses,
this can be found in the menuInfo
)).
Use #onContextItemSelected(android.view.MenuItem)
to know when an
item has been selected.
The default implementation calls up to
Activity.onCreateContextMenu
, though
you can not call this implementation if you don't want that behavior.
It is not safe to hold onto the context menu after this method returns.
public void registerForContextMenu(View view)
OnCreateContextMenuListener
on the view to this fragment, so
onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
will be
called when it is time to show the context menu.view
- The view that should show a context menu.unregisterForContextMenu(View)
public void unregisterForContextMenu(View view)
OnCreateContextMenuListener
on the view.view
- The view that should stop showing a context menu.registerForContextMenu(View)
public boolean onContextItemSelected(MenuItem item)
Use MenuItem#getMenuInfo()
to get extra information set by the
View that added this menu item.
Derived classes should call through to the base class for it to perform the default menu handling.
item
- The context menu item that was selected.public void dump(java.lang.String prefix, java.io.FileDescriptor fd, java.io.PrintWriter writer, java.lang.String[] args)
prefix
- Text to print at the front of each line.fd
- The raw file descriptor that the dump is being sent to.writer
- The PrintWriter to which you should dump your state. This will be
closed for you after you return.args
- additional arguments to the dump request.


Food
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal
Education
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal
Education
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal
Education
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal
Education
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal
Education
Aliq is notm hendr erit a augue insu image pellen tes.
$25,270 Raised
$30,000 Goal


To see the CLI commands available, run gerbil
at a command prompt:
$ gerbil
Usage:
gerbil {SUBCMD} [sub-command options & parameters]
where {SUBCMD} is one of:
help print comprehensive or per-cmd help
create
serve
clean
build
list
watchcontent
gerbil {-h|--help} or with no args at all prints this message.
gerbil --help-syntax gives general cligen syntax help.
Run "gerbil {help SUBCMD|SUBCMD --help}" to see help for just SUBCMD.
Run "gerbil help" to get *comprehensive* help.
This command is used to create new content. See examples here
Serves the website (default on port 5000). To serve on another port, set the
SERVER_PORT
environment variable, e.g.:
export SERVER_PORT=5002
Deletes files (e.g. HTML files) created during the build process.
Builds the markdown files into HTML files, along with breadcrumb navigation and topic pages.
Lists all of the articles created.
This is used to build a piece of content on an interval.


Although I have been described as a Diogenesian recluse, I have been out and about a few times recently, first to look at tiles, then to perform with Lepke B. at the Resonance104.4FM tenth birthday party, and, last night to the opening of an exhibition—Jane Colling's A to Z screenprints at Woolfson & Tay. I thoroughly recommend this to all London-based Hooting Yardists, and indeed non-Londoners, who can fly in from around the globe.
Representing a quarter century of work, the twenty-six prints take us through the alphabet from “After Armageddon Ambivalent Ape Attests Ark's Arrival. Animals Amble Ashore, Approaching Apricot Arbour As Arcane Arm Allows Adam An Apple. Archeopteryx Arrogates Andromeda & Aries, Aztecs Appropriate Adobe And An Aeroplane Appears” to “Zirna Zings, Zeus Zaps Zedders Zavouring Zuns Zinfandel Zest. Zinjanthropus' Zephyrs Zero-In. Zydecodancers Zig-Zag Zigguratwards”.
At the opening, the captions were recited by Peter Blegvad and Sarah Reilly, standing behind alphabetically decorated podia. The exhibition runs until 27 May, so hie thee hence!


Build Robust & Production Quality Applications - Lesson 1: Red, Green, Refactor
01 Feb 2015Generalization or Trianglization: Writing general code
Red-Green Refactor
Writing Tests to Fail and then refactor your code to pass.
Each time - only write enough code to get an different error message.
TDD is a discipline for writing code, writing developer (unit) tests, and doing design work in an integrated approach. A useful mnemonic for remembering the basic TDD cycle is "red > green > refactor." Here is a short summary of each of the steps.
RED
Start by thinking of a behavior you want the software to have which could be implemented by a few lines of code (fewer than five is a good target). Then write a test (also only a few lines of code) that will fail unless that behavior is present.
GREEN
Write just enough code to get the test to pass. Focus on: Getting something to work. Simplest possible implementation, rather than the most elegant solution (even hard-coded values are okay).
REFACTOR
Now that the code does what you want, use refactoring to make the design right. Making the code readable and eliminating duplication.
The cycle then repeats with each new behavior you want to have. The entire cycle should take between 5-10 minutes.
A couple of last points to emphasize:
Tests are checked in with the rest of the code (they are essentially living documentation of the code) Tests are run with every build
Good Article by Kent Beck: Test Driven Development


Class for permission.
More...
#include <Permission.hpp>
|
| | Permission (Client &client, string permName, string permValue="unknown", bool negated=false, bool skip=false) |
| | Constructor for client permission. More...
|
| |
| | Permission (Channel &channel, string permName, string permValue="unknown", bool negated=false, bool skip=false) |
| | Constructor for channel permission. More...
|
| |
| | Permission (Group &group, PermissionGroupTypes permType, string permName, string permValue="unknown", bool negated=false, bool skip=false) |
| | Constructor for channel group or server group permission. More...
|
| |
| | Permission (Channel &channel, Client &client, string permName, string permValue="unknown", bool negated=false, bool skip=false) |
| | Constructor for channel-client permission. More...
|
| |
| string | getValue () |
| | Gets the value selected permission. More...
|
| |
| ts3Response | updateValue () |
| | Update the containg permission value. More...
|
| |
| ts3Response | newValue (string value, bool permSkip=false, bool permNegated=false) |
| | Sets new value of selected permission. More...
|
| |
| ts3Response | remove () |
| | Removes the selected permission. More...
|
| |
|
|
class | Group |
| |
|
class | Channel |
| |
| Enumerator |
|---|
| PermGroupTypeServerGroup |
Server group premission.
|
| PermGroupTypeGlobalClient |
Client specific permission.
|
| PermGroupTypeChannel |
Channel specific permission.
|
| PermGroupTypeChannelGroup |
Channel group permission.
|
| PermGroupTypeChannelClient |
Channel-client permission.
|
| Permission::Permission |
( |
Client & |
client, |
|
|
string |
permName, |
|
|
string |
permValue = "unknown" , |
|
|
bool |
negated = false , |
|
|
bool |
skip = false |
|
) |
| |
Constructor for client permission.
- Parameters
-
| client | The client |
| [in] | permName | The permission name |
| [in] | permValue | The permission value |
| Permission::Permission |
( |
Channel & |
channel, |
|
|
string |
permName, |
|
|
string |
permValue = "unknown" , |
|
|
bool |
negated = false , |
|
|
bool |
skip = false |
|
) |
| |
Constructor for channel permission.
- Parameters
-
| channel | The channel |
| [in] | permName | The permission name |
| [in] | permValue | The permission value |
| Permission::Permission |
( |
Group & |
group, |
|
|
PermissionGroupTypes |
permType, |
|
|
string |
permName, |
|
|
string |
permValue = "unknown" , |
|
|
bool |
negated = false , |
|
|
bool |
skip = false |
|
) |
| |
Constructor for channel group or server group permission.
- Parameters
-
| group | The group |
| [in] | permType | The permission type |
| [in] | permName | The permission name |
| [in] | permValue | The permission value |
| Permission::Permission |
( |
Channel & |
channel, |
|
|
Client & |
client, |
|
|
string |
permName, |
|
|
string |
permValue = "unknown" , |
|
|
bool |
negated = false , |
|
|
bool |
skip = false |
|
) |
| |
Constructor for channel-client permission.
- Parameters
-
| channel | The channel |
| client | The client |
| [in] | permName | The permission name |
| [in] | permValue | The permission value |
| string Permission::getValue |
( |
| ) |
|
Gets the value selected permission.
- Returns
- The value.
| ts3Response Permission::newValue |
( |
string |
value, |
|
|
bool |
permSkip = false , |
|
|
bool |
permNegated = false |
|
) |
| |
Sets new value of selected permission.
- Parameters
-
| [in] | value | The value |
| [in] | permSkip | The permission skip |
| [in] | permNegated | The permission negated |
- Returns
- Data returned from server
Removes the selected permission.
- Returns
- Data returned from server
Update the containg permission value.
- Returns
- Data returned from server
The documentation for this class was generated from the following files:
- /home/karol/projects/TeamSpeak3-C-Query-API/src/includes/Permission.hpp
- /home/karol/projects/TeamSpeak3-C-Query-API/src/Permission.cpp


Planet Sick-Boy: http://www.sick-boy.com "We Put the SIN in Cinema"
© Copyright 2001 Planet Sick-Boy. All Rights Reserved.
Himalaya sounds a lot like something you'd find at your local IMAX theatre. For starters, it's full of stunning panoramic shots that can't help but overshadow an inferior plot. The film tells the story of a young boy (kids are an IMAX staple) on track to become Chief of his Nepalese village, which means audiences will be treated to magnificent views of snow-covered mountains that practically dare people to cross them.
Anyone familiar with Iranian cinema will notice similarities between Himalaya (an awfully fun word to type) and that country's recent critical hit A Time For Drunken Horses - this could have been called A Time For Teetotaling Yaks. Both films deal with impoverished villages whose survival depends on caravans that wind through the dangerous mountains. While Horses' characters smuggled contraband into Iraq, the people in Himalaya haul packs of salt hundreds of miles away to exchange for grain that will keep their tribes eating throughout the harsh winter months.
As Himalaya opens, the salt caravan has just returned to town. One might think this would be a time for celebration, like when the fishing boats came home to Gloucester at the beginning of The Perfect Storm, but this time the convoy has returned with the remains of their Chief in a burlap sack. Lhakpa, we are told by his close friend and caravaneer Karma (Gurgon Kyap), died trying to follow a risky path. Lhakpa's elderly father Tinle (Thilen Lhondup) doesn't believe Karma, suspecting he may have done something devious to assume his place in the community.
A power struggle ensues, with most of the villagers in favor of Karma taking over, but Tinle thinks the gig should remain in his lineage (he was the Chief before Lhakpa). The only problem is that the family's next male heir is little boy named Tsering (Karma Wangel), who isn't nearly ready to man a salt caravan through mountains big enough to make Lance Armstrong burst into tears.
But that's not enough to stop crotchety old Tinle, who comes off as a taller, Far East version of Cotton from King of the Hill (he even has a few "I've been blah-blah-blah-ing since before you were born!" lines). Tinle hauls his other son, Norbou (Karma Tensing), out of the monastery he was forced into as a boy and starts his own damn caravan (another fun word to type) with a few of the village elders, his grandson and his widowed daughter-in-law (Lhakpa Tsamchoe).
What follows is probably the closest thing we'll ever see to a Nepalese road-trip flick, as the two separate caravans (Karma's and Tinle's) embark on the salt-for-grain journey. There's one dicey scene where Tinle's crew tries to cross a very narrow mountain path, but filming it was probably a hundred times more precarious than it appeared on screen. Not only are there no stunt doubles in Himalaya, there aren't any professional actors, either. The faces weathered by the elements that you see on the screen really have to lug salt through the mountains to exchange for grain.
Some folks might complain about the lack of character development, but since Himalaya is populated by non-actors, beefing up their parts isn't going to be a positive thing. It'd be one thing if the picture starred Brad, Julia, Haley Joel and Robert (as in Redford - his craggy puss would have been perfect), but the story here is kept pleasantly simple. It's almost a fable - old customs (like using astronomy to tell you when to start the caravan) butting heads with modern thinking (like using medicine over hocus-pocus stuff). But not too modern, mind you. The only major problem with Himalaya is that there isn't supposed to be a clear-cut protagonist, yet it's hard not to root for Karma over the gratingly unpleasant Tinle.
Himalaya, which won César Awards for its score (Bruno Coulais) and cinematography (Eric Guichard), was Nepal's first-ever submission to the Academy Awards Best Foreign Language Film category in 1999 (it was actually nominated, too, but lost to Spain's All About My Mother). The picture was directed by Eric Valli, a National Geographic photographer who, for the last 20 years, has lived in the same remote Dolpo region of Nepal in which Himalaya is set (he was also a unit director for Seven Years in Tibet). The uncomplicated screenplay took four writers to tackle (one of whom, ironically, was a scribe on fellow 1999 Foreign Film nominee East-West).
1:40 - Not Rated
========== X-RAMR-ID: 29051 X-Language: en X-RT-ReviewID: 241990 X-RT-TitleID: 1105736 X-RT-SourceID: 595 X-RT-AuthorID: 1146
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


Suttas of the Samyutta Nikaya
Okkantikasamyutta
III. Khandhavagga
BD: On The Trunk
PTS: The Khandha Book
WP: The Book of the Aggregates
ATI: Khandha
IV. Okkantikasamyutta, III.225
PTS: The Kindred Sayings on Entering, III.177
WP: Connected Discourses on Entering, I.1004
1. Cakkhu Suttaṃ, III.225
PTS: The Eye, III.177
WP: The Eye, III.004
ATI: The Eye, Thanissaro Bhikkhu, trans.
2. Rūpa Suttaṃ (Ruupa, Rupa), III.225
PTS: Body, III.178
WP: Forms, I.1004
ATI: Forms, Thanissaro Bhikkhu, trans.
3. Viññāṇam Suttaṃ (Vi~n~naa.nam, Vinnanam), III.226
PTS: Consciousness, III.178
WP: Consciousness, I.1005
ATI: Consciousness, Thanissaro Bhikkhu, trans.
4. Phassa Suttaṃ, III.226
PTS: Contact, III.178
WP: Contact, I.1005
ATI: Contact, Thanissaro Bhikkhu, trans.
5. Vedanā Suttaṃ (Vedanaaya, Vedanaya), III.226
PTS: Feeling, III.178
WP: Feeling, I.1005
ATI: Feeling, Thanissaro Bhikkhu, trans.
6. Saññā Suttaṃ (Sa~n~naa, Sanna), III.227
PTS: Perception, III.178
WP: Perception, I.1006
ATI: Perception, Thanissaro Bhikkhu, trans.
7. Cetanā Suttaṃ (Cetanaa, Cetana), III.227
PTS: Volition, III.179
WP: Volition, I.1006
ATI: Intention, Thanissaro Bhikkhu, trans.
8. Taṇhā Suttaṃ (Ta.nhaa, Tanha), III.227
PTS: Craving, III.179
WP: Craving, I.1006
ATI: Craving, Thanissaro Bhikkhu, trans.
9. Dhātu Suttaṃ (Dhaatu, Dhatu), III.227
PTS: Element, III.179
WP: Elements, I.1006
ATI: Properties, Thanissaro Bhikkhu, trans.
10. Khandhena Suttaṃ, III.227
PTS: By the (Fivefold) Group, III.179
WP: Aggregates, I.1006
ATI: Aggregates, Thanissaro Bhikkhu, trans.


"Create Hopes for the Hospitalized People"
My Hospitality Schedule
Open Charity
Blood Stock
Help
About


Giant Iren
| Fighting Style | ||
| When Dieing Do they run | no | |
| Ranged Attack | no | |
| AOE Area of Attack | no | |
| Spawns lesser monsters | yes |
Giant Iren Pronounced g-eye-ant aye-ren
Iren resemble large mosquitos. They are light blue and dark purple in color and have four wings
that buzz quickly as they hover. These bugs may fly, but it is not required to be on a broom to fight one.
Locating Giant Iren
The best place to find Irens is in Northeastern Darkon 3 , in the area called Cendil, near the
Altar of the Ringmaster.
| Giant Iren |
Available
that involve this masquerpet
New Yoyo
Required Level : 81~86 Required Job : Second Class/Master Objective : Kill Iren and collect 55 Renykens Location : Cendil East
| Renyken 55x |
Reward : 20% exp at level 81 and 243,000 Penya
Giant Iren Statistics
| Name | lvl | HP | Def | Mdef | Exp | Atk | Ele |
| Giant Iren | 86 | 806,953 | 103 | 136 | 611,605 | 1,881~1,980 |
Note: Atk stat comes from kFlyff and may differ from our version.
Drops
Renyken Meat Salad Food item for recovering HP. Icecream Cake Food item for recovering HP. Eighth Refresher Food item for recovering MP. VitalDrink 800 Food item for recovering FP. Moonstone Moonstone for General piercing. Flame Card Enchanting item for Fire upgrading 1~20. Penya In game currency. Katria/Kanarin Set pieces Oska/Okas Set pieces Ropang/Roshel Set pieces Myuran/Myurian Set pieces Alext/Ales Set pieces Pact/Paxt Set pieces Einy/Akan Set pieces Warpon/Warspon Set pieces
Trivia


Our Project on Dynamic Programming Book
A few months ago, Mamnoon and I started writing a book on Dynamic Programming. We decided that our book will be super-comprehensive: it will cover everything from Fibonacci numbers to generating functions to dp optimizations.
As you can see, this is an ambitious project and will take a considerable amount of time to complete. Right now, both of us are very busy persons with university admissions and everything, so we decided to make the current stage of the book online. We are about 70 percent done with the ‘Advanced DP’ section, and you can already read the chapters in the link provided below. Currently, our priority is to finish the topics which are not that popular with the programming community (for example, the calculus chapter). We understand there are already great resources for some of the chapters, but we chose to write about them anyway for the sake of comprehensiveness. But they are definitely low-priority right now.
We made a website to maintain our book. Here is the link. You can download the latest version of it from the site. Note that this is an ongoing project, and we plan to add around 4-5 chapters every month. When the project is complete, we might consider publishing it (like a real book with papers) depending on the response. You can also keep track of our GitHub repository (link in the website) to have to latest updates. Maybe the star the project if you like it.


- "Go To Issue Number" Box on My Issues Page
Displayed at the top of the Issue List page. Press the / key anywhere on the issue list page to activate. Additionally, paste anything into the box and non-numerics will be removed.
- Omnibox Support! Type "nib" into your address bar and hit space. Hit space again to see options listed.
You can go directly to many pages from the omnibox now: Daily Status, Issue Edit, My Issues, Server Search, Download Item Version Manage, Omnibox Help. It won't open a new tab if you already have it open; you will simply be transferred to that tab immediately!
- Suppress popups (Issue Edit and/or All)
Optionally suppresses Issue Edit and/or all popups on the site (Edit Issue, Edit Location, etc).
- Copy without Silverlight
Replaces Silverlight copy controls (copy server hostname, etc) with native copy functionality. It's much faster and more reliable, and does not require Silverlight to be installed.
- Server search from Issue Edit
Optionally suppresses Issue Edit and/or all popups on the site (Edit Issue, Edit Location, etc).
- Display support person on Server Edit
Optionally suppresses Issue Edit and/or all popups on the site (Edit Issue, Edit Location, etc).
- Promote issue edit clickable spans to links
Turns clickable "edit" <span>s into real links. You will be able to see the target, open in background tabs, copy the link, and everything you can do with normal links.
- Link Issue Subject
Turn Issue Subject into a clickable link. No more following the row to the left to click "Edit".
- Display Server Search from Issue Edit
Display Server Search from Issue Edit (useful for locations with multiple servers). "Multiple servers" becomes a link which takes you to the Server Edit page and automatically searches the appropriate LocationID.


This should be stripped/escaped in safe_mode.
<script> alert("Hello world!") </script>
With blank lines.
<script> alert("Hello world!") </script>
Now with some weirdness
<script <!--
alert("Hello world!")
</script <>
`
Try another way.
<script <!-- alert("Hello world!") </script <> This time with blank lines. <script <!-- alert("Hello world!") </script <>


26 October 2000
Disease Outbreak Reported
As of 19 October, the Ministry of Public Health in Yemen has reported 653 suspected cases, including 80 deaths.
Laboratory testing has confirmed the disease in humans and animals in 4 governorates: Hodeidah, Hajjah, Mahweet and Sadeh and there is serologic evidence of the disease in animals in Dhamar governorate. Surveillance and control activities are ongoing. Although the disease is restricted to the north-western part of the country, areas to the southwest are now experiencing evidence of Rift Valley fever transmission.
There is persistent transmission in El-Zuhrah district, Hodeidah governorate despite extensive and vigorous mosquito control activities. A team of epidemiologists will be carrying out a survey in El-Zuhrah district to assess the importance of direct animal contact versus exposure to mosquitoes as a risk factor for disease. It will also assess the economic impact of the outbreak on the community.
A joint technical team has been formed by the Ministries of Health and Agriculture of the governments of Yemen and Saudi Arabia to fight the epidemic.
WHO has launched an appeal for US$ 975 000 to support efforts to control and prevent Rift Valley Fever in Yemen (see previous report).


{% extends 'base.html' %} {% load bootstrap4 %} {% block content %} {{block.super}} Posts {% for post in posts%} User:{{post.user}} My neighbourhood: {{post.post}} {% endfor %} {% endblock %}
User:{{post.user}}
My neighbourhood: {{post.post}}


Inventories
Static Inventory
Inventory refers to a file / ( an executable which returns JSON data ) that ansible uses to identify its target hosts. You would normally group the hosts into groups based off of how you would like to run ansible commands on them. Same host can be in multiple groups.
By default ansible uses the /etc/ansible/host
as the default inventory. If you wish to use a different inventory file you can specify the inventory file with the -i
flag
ansible webservers -i inv/targets.ini -m yum -a "name=mariadb-server state=latest"
ansible-play -i inv/prod-targets.ini -m service -a "name=rabbitmq-server state=restarted"
example inventory file
[webservers]
web1.ansible.com
web2.ansible.com
[databaseservers]
db1.ansible.com
db2.ansible.com
If you have your hosts named with consecutive numbers. You could do something as follows.
[webservers-asia]
asia-web[1:20].ansible.com
[webservers-europe]
eruo-web[1:67].ansible.com
You also have the option to add varibles associated with the hosts in the inventory file.
[reverse-tunnel]
localhost ansible_host=localhost ansible_ssh_pass=EUF&n39dija ansible_port=43349
Ansible will use those variables during ssh. In order to see the rest of the variables available take a look at the ansible user guide.
Dynamic Inventory
These days we are normally using a cloud server to host our application. Ansible is run against a set of hosts which are spin up by our cloud service providers. Its sometimes convenient to hit an API and get our hosts. This is where dynamic inventories come into play. You can have an executable, any kind of executable, as long as it has the permissions to execute, and returns JSON. You can specify that executable as your inventory file with the -i
flag, and it will work.
These executables must accept two flags which are required by ansible. --list
and --host
flags. The --list
flag is used to list all the hosts, groups and child groups. --host <hostname>
is passed to get any associated variables for the provided <hostname>
.
$ ./inventory.py --list
{
"webservers": {
"hosts": ["web1.ansible.com", "web2.ansible.com"],
"vars": {
"http_port": 8080
},
"children": ["nodeservers"]
},
"nodeservers": {
"hosts": ["web3.ansible.com","web4.ansible.com"],
"vars": {
"http_port": 5000
},
"children":[]
}
}
$ ./inventory.py --host web1.ansible.com
{
"http_port":8080
}
an example expected behaviour from the script.
Modules
This is what makes ansible. Modules provide way for ansible to interact with the services running on the targets. Modules are the code which performs the required action based on the plays you have defined in your playbooks.
Some of the common modules
- Ping Module
- Allows you to ping the target host. To know if they are reachable.
ansible all -m ping
to check if all the hosts in your inventory file are reachable.
- Setup Module
- Allow you to gather all the facts about a specific target host.
ansible web1.ansible.com -m setup -a "filter=ansible_enp2s0"
this will give you the information about the enp2s0 interface.
- Copy Module
- Allows you to copy files from ansible-control node to ansible-target node, or within the ansible target node.
- Yum Module
- Allows you to install packages in CentOS or RedHat environments.
- Shell Module
- Allows you to run shell commands in a specific shell environment.
- Command Module
- Allow you to run commands in general. Will not be able to configure the shell environment.
- Service Module
- Allows you to start and stop systemd services.
ansible web1.ansible.com -m service -a "name=nginx state=restarted"
will restart nginx on web1.ansible.com.
- Debug Module
- Allows you to print variables and other messages on while executing ansible playbook tasks.
Variables
Variables in ansible can be used to alter the behaviour of the execution. And most used to dynamically create configuration which cater the needs of the target host.
In order to use variables, ansible only accepts valid varible names. They have to start with letters, can contain numbers and _
. Thats about it. You cannot have -
or .
or spaces in between words. And the variable cannot be a number either.
Your variables can be dictionaries that map to key values.
webserver:
username: web_admin
password: Urf*@2187_Redds!
You can reference those values with the dot notation or bracket notation. Dot notation will not work if it collides with python public attributes or dunder methods and attributes. Its best practise to use bracket notation.
tasks:
- name: Show the username and password
debug:
msg: "{{webserver['username']}}:{{webserver['password']}}"
The double curly braces are jinja2 syntax. Ansible supports jinja2 syntax for both processing templates and strings.
You can use variables in conjunction with when
keyword.
tasks:
- name: Install apache for CentOS and RedHat
yum:
name: httpd
state: latest
when: (ansible_facts['distribution'] == "CentOS") or (ansible_facts['distribution'] == "RedHat")
become: yes
Using block
in conjunction with the when
keyword can allow you to run a block of tasks after checking a condition as demonstrated above. And if the tasks failed it can run another set of tasks so that our playbooks can be more fault tolerant.
tasks:
block:
- name: running a task which is definetly going to fail.
command: /bin/false
- name: Never executed
debug:
msg: ":("
when: ansible_facts['distribution'] == "RedHat"
rescue:
- name: this will be called because the block failed to run
debug:
msg: ":)"
always:
- name: this task will be called always no matter what happens
debug:
msg: ":D"
Also you can use variables in your jinja2 templates.
Facts
When you run ansible against a target system, ansible will collect information about that system and store them as facts. This is accessible via ansible_facts
globally. Using the setup module you can gather facts from any host. There may be ocassions where you want to disable gathering facts.
- hosts: databases
gather_facts: no
Doing so will speed up the playbook execution process. You can also have custom facts gathered on localhost.
/etc/ansible/facts.d/mongodb.fact
[general]
version: 3.4.3
size: 400000
If you have the file above in the specified location you should be able to read the values
- hosts: local
tasks:
- name: Mongo version
debug:
msg: "{{ansible_local['mongodb']['version']}}"
All facts will be accessible lower cased when using
ansible_local['lowercase_value']
.
You can also use the global variable ansible_version
to define specific behaviour for ansible depending on the version you are running.
In order to get information about another host, Ansible would have had to gather facts on that target either on a previous task or play.
- hosts: db5.ansible.com
tasks:
- name: gather facts from db5
setup:
- hosts: localhost
tasks:
- name: show the os family of db5
debug:
msg: "{{ hostvars['db5.ansible.com']['ansible_facts']['os_family'] }}"
It is also possible to do fact caching in between ansible playbook executions. If you are dealing with very large groups of servers. It will take alot of time to gather facts from all those instances. You can do this by installing redis and configuring ansible.cfg to use redis as cache.
Plays & Playbooks
Ansible plays and playbooks are what makes Ansible. It is a thorough definition of how a system should be configured. If you organize your playbooks well, this can be used as the documentation of your infrastructure. At the same time use it to configure your infrastructure. Ansible playbooks are YAML based configuration files. It normally consists of lists of tasks which needs to be run against a target host / host group.
update_package_cache.yml
- hosts: us-east-webservers
tasks:
- name: update the package cache for all the web servers in US east region
yum:
update_cache: yes
become: yes
Above is a simple playbook with just one play, and one task. however you can have multiple plays
install_httpd_and_postgres.yml
# First play
- hosts: all-webservers
# disable fact gathering, since we dont need it
gather_facts: no
# the user to use, when logging into the target host
remote_user: web_admin
# custom variables
vars:
http_port: 8080
# task list to run for this play
tasks:
- name: Install the latest version of httpd
yum:
name: httpd
state: latest
become: yes
handlers:
- name: restart httpd
# Second Play
- hosts: all-databaseservers
gather_facts: no
remote_user: db_admin
vars:
db_connection_port: 5432
db_root_user: pg_admin
tasks:
- name: Install the latest version of postgres in all the database servers
yum:
name: postgresql
state: latest
become: yes
handlers:
- name: restart postgres
By specifying hosts
you are targeting the tasks below this to be run on that host. You can also include some custom variables under vars
. If you dont need facts about the target hosts, you can disable facts gathering.
The goal when writing playbooks is to make them resuable. When you do attempt this, you will endup with a very large playbook. The next step would be to break this down into multiple files to make it manageable. This can be done using the include_tasks
and import_tasks
. You can also import playbooks using import_playbook
.
- hosts: webserver
task:
- name: Update package cache
yum:
update_cache: yes
- name: Import db playbook
import_playbook: db_playbook.yml
Or you can just import tasks using import
.
- hosts: webservers
gather_facts: yes
tasks:
- import_tasks: webserver_redhat.yml
when: ansible_facts['distribution'] == "RedHat"
- import_tasks: webserver_debian.yml
when: ansible_facts['distribution'] == "Debian"
Include tasks can be used to achieve something similar.
- hosts: IoT_edge-nodes
gather_facts: yes
vars:
remote_user: admin
tasks:
- name: load the playbook depending on the device mac address
include_tasks: "device_{{hostvars[inventory_host]['ansible_eth0']['ipv4']['macaddress']}}.yml"
There is a difference between import tasks and include tasks. import_tasks
will be preprocessed at the time the playbooks are parsed. Normally use this when you know the task to import the task before hand. Like the example above. You would use include_tasks
when you will know the name of task at runtime. The task file is parsed at runtime as well.
Configuration Files
Ansible uses a configuration file to set settings. And these settings can be adjusted however you would like. Normally the configuration file is at /etc/ansible/ansible.cfg
. Ansible looks for the configuration file in the following order:
ANSIBLE_CONFIG
environment variable.ansible.cfg
in the current directory~/.ansible.cfg
in the home directory/etc/ansible/ansible.cfg
the default config which is added during ansible install.
You can use the options of providing ansible config to override depending on your need. The flexibility does come with security risks. If you leave it in a directory where it is wriable.


This 'tapp' is a simple showcase of how the pagemaker widgets using the chayns® API are working. Try it out in your pagemaker tapp.
Sample Accordion
This accordion is fixed in it's height because of the fixed iframe height. It would not adjust itself so the accordion could fit in.
So make sure to use fixed heights to not cut the view of your widget.


{% extends 'hood/base.html' %} {% load crispy_forms_tags %} {% block content %}
Already have an account? Log in


AngularJS and Spotify Web API
Albums
Artists
Browse
Follow
Library
Playlists
Profiles
Search
Tracks
Login


These comments wont be visible to your friends or other participants. If you want to share your feedback please use the discussion board.
scroll
Share comments and notes about you or your friend's data to spark up the discussion. Only currently selected friends see these comments.
User
{{section.text}}
Posted
You
{{section.text}}
Posted


--- layout: default title: <%= appName %> ---
Congratulations! You just created the Playbook for <%= appName %>.


domosaics.ui.views.domainview.manager
Class DomainViewManagerFactory
java.lang.Object
domosaics.ui.views.domainview.manager.DomainViewManagerFactory
public class DomainViewManagerFactory
- extends java.lang.Object
A class creating all needed DomainViewManagerFactory.DomainViewManager
which are needed
to provide the complete manager driven functionality for a DomainView.
When initializing the view, it will iterate over all enumeration entries
defined in this factory and creates an instance to it.
Therefore to add additional manager to the DomainView you just need
to make two entries in this factory and add the getMethod to the DomainView.
- Author:
- Andreas Held
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainViewManagerFactory
public DomainViewManagerFactory()
create
public static ViewManager create(DomainViewManagerFactory.DomainViewManager type)
- Method called to create an instance of a specific manager.
- Parameters:
type
- the managers type
- Returns:
- instance of the specified manager


--- layout: post title: Haydn date: 2016-08-02 23:03:26.000000000 -05:00 type: post parent_id: '0' published: true password: '' status: publish categories: [] tags: [] meta: _rest_api_published: '1' _rest_api_client_id: "-1" _publicize_job_id: '25408715122' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:31944;s:54:"https://twitter.com/darribas/status/760581801316225024";}} _publicize_done_39110: '1' _wpas_done_31944: '1' publicize_twitter_user: darribas author: login: dreamessenceonthemove email<EMAIL_ADDRESS>display_name: darribas first_name: Daniel last_name: Arribas-Bel permalink: "/2016/08/02/haydn/" ---
No composer had ever been left to develop so peacefully and with so many resources at his command than Haydn, who acknowledged, “My Prince was always satisfied with my works; I not only had the encouragement of constant approval, but as conductor of an orchestra, I could make experiments, observe what produced an effect and what weakened it, and was thus in a position to improve, alter, make additions or omissions, and be as bold as I pleased. I was cut off from the world, there was no one to confuse or torment me, and I was forced to become original.”
The Essential Cannon of Classical Music.
David Dubal