I seem to have an issue with Wh Accumultor numbers and am hoping that someone can shed some light.
A picture is worth 1000 words (pictures in this case)
All metrics are focused on July 2nd 2015
Pic1: My EmonPi node CT1 Settings
- Ignore the multiplier for now, this is to match the numbers to the readings from the meter on the Pool Pump.
- I'm logging the node readings to "Pool Pump" Feed
- Converting Power to KWh
- Accumulating Wh
Pic2: Graph of "Pool Pump Readings"
- The graph reflects exactly what I'm expecting, and the numbers match the readings on the pump
- 10:00 AM to 12:00 PM spike represents the pump running at a higher speed.
- The spikes at 3hr intervals represents the SWG Chrlorinator running.
Pic3: "Power to KWh" Readings
- Again all good, and the difference between Max and Min matches the data from Pic2
Pic4: "Wh Accumulator" Readings
- This is where I don't get the numbers, Why is this figure not around 5150? is there something wrong on how this is being calculated or is it my wrong interpretation / expectation?
Pic5: Visualzation from Wh Readings to get daily conumption Bargraph
- Had Wh reading been accurate, this bargraph would have represented my daily consumption
I also log to EmonCMS, so let's compare the data there to see if things are different (which they are)
Pic6: Node config (I log to more feeds)
- Ignore the 2.23 multiplier difference
- Same as before
- Same as before
- My Attempt to findout out the best way to calculate Daily consumption (more on this below)
- Again my Attempt to findout out the best way to calculate Daily consumption (more on this below)
- Wh Accumulator (see info under section pic9)
- Another feed of Wh accumulator (see why in info under section pic9)
- My attempt at understanding Histogram (still don't, but that's another story for another day)
- Again my Attempt to findout out the best way to calculate Daily consumption (more on this below)
Pic7: Same as Pic2 but on EmonCMS
- Data is accurate
- The delta is due to the multiplier difference which is expected.
Pic8: Same as Pic3 but on EmonCMS
- Again all the numbers are as expected.
Pic9: Same as Pic 3 but on EmonCMS (Wh Accumulator)
- Max and Min the same, for some reason Accumulation has stopped on EmonCMS, Why?
- Looking at Wh accumlator over a longer period (Pic10), I see that it is not a slope, but rather two chunks. why is that?
- Pic11 Started another feed of Wh accumlator when I realized it was not accumulating, but it is still not working.
Pic12: KWh to KWh/d on EmonCMS
- My attempt to understand and find out the best way to calculate daily consumption
- I have no idea why the reading is 0 on July 2nd, kind of matches Wh Accumulator, but isn't this supposed to be just a matter of Kwh - Kwh/d conversion? KWh figures are right.
- Confused
Pic13: Power to KWh/d
- Similar to section under pic12, my attempt to try a different approach
- Yet again, the feed had stopped working June 20th
Pic14: Wh increments to KWh/d on EmonCMS
- Truely confusing, if Wh had stopped accumulating / logging, then how is it possible that I have 15182.1 Wh usage?
- Even if we assume that for some reason the Wh data is accumulated, but somehow mising from the feeds, we're back to the original question of why the numbers don't match the power readings for that day?
I'm really hoping that someone can make sense out of all this,
Sorry for the long post, I tried to be as verbose as possible to avoid confusion and multiple back and forths.
Thanks in advance
Hrant
Re: What's wrong with Wh Accumulator
Was it the fact that it was a long post that bore most reasders? or was it one that stumped all 177 viewers just like it had me?
Not sure which one to hope for, but I'll even take any speculative answers at this point as I'm trying to make sense of all this data.
Thanks
Hrant
Re: What's wrong with Wh Accumulator
Hi Hrant
There is alot there to digest and although did take a look over it, I couldn't understand why you were using accumulators and assumed I was missing something.
Wh accumulator process will deduct the last value from the latest value to determine the change and add that to an ever accumulating total to track meter readings etc.It has some quite specific coding to work with ever increasing values that can restart from zero at any time (device is reset or rollover when a variable reaches it's max value) like a ratcheting effect.
What is the purpose of line 4 in pic 1?
In pic6 line 4 shouldn't be there as the Power to KWh in line 3 passes the power value to the next process. Line 6 is also getting fed a power value,
As far as I can see, you should have no need for any accumulators based on the data you have provided, unless, of cause I am missing something.
Paul
Re: What's wrong with Wh Accumulator
Thanks Paul, I appreciate your response, you always come true.
Let me try to answer the points your raised.
For lack of better understanding I'm using the Wh accumulator to basically accumulate the total power used over a period, then I could graph daily, weekly, monthly, or event match my utility bill period (which is not constant)
I've seen few guides / tutorials using it, so I thought to use it.
Example: http://openenergymonitor.blogspot.ca/2014/08/monitoring-solarpv-heatpump...
I didn't know that it had such issues, I was thinking that it is an accumulator on the feed, not effected by restarts, and all it does was add the latest power read values (every 10 sec) to the feed total and display the current total.
I'll avoid using it, but that still does not explain the wrong totals, unless if it is buggy or I'm not using it correctly.
See above
Yeah, the node configuration is a bit confusing to me, and probably the root of my problems.
It's not clear what is the input, is it the node data? the output of the first operation feeds to the input of the second operation? and then the second's output to third's input?
What if the output is not the same data type as the input?
what if I want to use the output of one operation for multiple operations?
Or the node data for multiple feeds / operations? Do I need to revert back to
Had the feed configuration accepted input from other feeds instead of just nodes, then it would have been intutitve and easy to use.
My reasoning of the setup up to lines 4 in pic 6 was as follows
Input: Node power, multiple to by 2.23, store it in feed "Pool Pump", convert it to Kwh, store it in Pool Pump KWh, convert it to KWh/d and store it in Pool Pump KWh-d
Hoping that KWh-d (pic12) would be a feed of daily consumption.
Was that wrong thinking? what should have I done?
Why is it reading zero for the period in question?
Lines 5-9 are my attempts trying to deduce how it functions to get my daily data.
but lines 1-4 shouldn't be wrong, at least I thought so.
I have managed to get daily consumption by using a visualization source of which being: "Power: Pool Pump"
But I would have prefered getting that as feed, hence why I used the different lines in the setup.
Thanks for your feedback, if there is any document explaining each item of a configuration in detail, i'd love to learn by reading rather than trial and error, forgive me if I missed the doc.
Hrant
Re: What's wrong with Wh Accumulator
I wasn't actually saying the Whaccumulator had issues, rather that it was designed to deal with the particular issues encountered with logging kWh feeds derived from other devices that could reset
You do not seem to be doing that, so shouldn't need Wh accumulators.
"I have managed to get daily consumption by using a visualization source of which being: "Power: Pool Pump" But I would have prefered getting that as feed, hence why I used the different lines in the setup."
Pic1 line 3 is an accumulating total kWh for the pool pump.
each node consists of 1 or more inputs. ech input has a processing chain, which processes the inputs value as defined saving the results to 1 or more feeds.
The output of each process is passed to the next process in the chain, but be aware some processes do not pass their result to the next, eg power to kWh/d saves the daily total but passes the current input value to it's output, ie it has no effect on the processing chain, think of it as a "T" piece, the input is passed through unchanged to the output while at the same time a "copy" goes off to the daily total.
If you want to do multiple chains from the same input, once you have completed one chain, use the "reset to zero" process then use "+input" and do the second chain, you can do this multiple times.
I would expect erratic results from using the wh accumulators as you have, so I would try and explain the results, try removing them and using the basic power to kwh and power to kwh/d etc
Paul
(Corrected the example)
Re: What's wrong with Wh Accumulator
but be aware some processes do not pass their result to the next, eg power to kWh saves the daily total but passes the current kWh input value to it's output, ie it has no effect on the processing chain,
Paul,
I haven't seen that info, (was able to figure it out, though) could you post a list of which processes behave that way? It might help prevent/resolve confusion down the road, as it were, regarding input processing.
Thanks!
BT
Re: What's wrong with Wh Accumulator
Thanks a lot Paul, this helps out immensely
I will reconfigure things and see how the data gathering goes, will post back if I have further questions.
In the meantime I have one question re:
Did you mean KWh to KWh/d or is it power to KWh
Leads me to think it is KWh to KWh/d
Thanks a bunch
Hrant
Re: What's wrong with Wh Accumulator
Oh, yes; it stumped me. Too much information, I think.
It's not your fault. I think that you probably provided all the information needed and everything I would have posted in your place, but I have a feeling that, like me, many people are trying to get their heads around their own, similar issues and don't have the head-space to analyse yours.
Amongst other things I, too am having a hard time in figuring how the kWh & kWh/d thing is supposed to work, based on the instructions in the guide (in fact, I can't actually seem to find a kWh/d entry in the feed process dialog of my emonCMS). I don't wish to derail this thread by going too 'meta' with this, but we need to have a better wiki, with wider, more up-to-date input , which can be used as an authoritative source for noobs, as well as advanced users. Ideally I'm thinking of something like the Arch wiki.
Anyway, here's my emonCMS dash, along with an example node and the feeds:
Notice how the feed to kWh just accumulates and doesn't give a daily total. You can also see that there is no option to give kWh/d on the log-to-feed menu.
Sorry. If this de-rails the thread, then let me know and I'll post elsewhere, but I feel that it is related.
Thanks,
Rich.
Re: What's wrong with Wh Accumulator
Hi Rick,
Thanks for the moral support, I don't feel alone (in being noob) but thankfully we have people like Paul who chime in and help out all the time.
That's probably because you are logging on EmonPi, my EmonPi does not have those processors either, you need to use EmonCMS (emoncms.org) to get those processors.
Yeah, you can get a daily total if you configure the bargraph, with interval value = d and delta set to 1
See attached pics (Feed being KWh)
Thanks
Hrant
Re: What's wrong with Wh Accumulator
@Hrant, sorry that example wasn't very clear and the "kWh" should have been "kWh/d", I've corrected it now. The power to kWh does do the same, I'm not 100% sure about the kWh to kWh/d without testing. sorry for adding to the confusion,
@Bill, I don't know the fill list off the top of my head I'm afraid. I did start tackling documenting all the processes for the emoncms.org documentation but it all got deleted sometime ago.
@Rich, Documentation for emoncms does indeed need tackling, as to whether a wiki suits the purpose I'm not entirely sure. it's a complex topic that is constantly evolving and added to the mix is the different variants as well as different versions, what is accurate in one instance one day may not be in another version/variant/platform, for it to be "used as an authoritative source for noobs, as well as advanced users" would need careful structuring and constant review,
The kWh/d is not an option in the low-write versions, Daily totals can be displayed using a bargraph as shown by Hrant.
Paul
Re: What's wrong with Wh Accumulator
I agree that any attempt at updating the documentation is fraught with variant and time issues. However the EmonPi is a new "Product" with software components "EmonHub" unfamiliar to new, and existing, implementers.
I too took " Wh accumulator" to mean an ever accumulating energy value which could be bar graphed into daily, weekly, etc, vis or dashboards. I wished to use it instead of kWh as it hopefully would give more precision than whole kWh. to compare with my PV meter which records kWh to two decimal places.
Any documentation on the process operators and Emonhub configuration would be most welcome, even just a couple of pages. I am sure it would cut down on the number of confused Noobs posts. Perhaps there should be an EmonPi link from the main OPenEnergyMonitor menu.
Re: What's wrong with Wh Accumulator
"I too took " Wh accumulator" to mean an ever accumulating energy value which could be bar graphed into daily, weekly, etc, vis or dashboards."
it is, but it's intended input source is an ever increasing value that could roll over or reset to zero. It's a different tool to achieve similar results from a different input type. If you were using the continuous sampling sketch on the emonTx v3 the Wh counters would start counting at zero each time it's restarted, so emoncms is armed with the "ratcheting" Wh accumulator.
The precision of the feeds and processors fairly uniform, the power to kWh has inbuilt x0.001 scaling so only the units change, but the displayed value is rounded by the page set-up the retained value is higher precision.
Try adding a x1000 processor after a power to KWh to see the value in Wh.
Paul
Re: What's wrong with Wh Accumulator
Thanks Paul for the clarification.
Hrant
Re: What's wrong with Wh Accumulator
I set up my dash as suggested by hrant above and it worked just as described, so thanks very much!
Unfortunately, I have been having another problem with the Wh feed: Massive, unexplainable spikes in the feed data:
Can anybody here explain this, or at least point me in the right direction?
Has anyone else encountered the same behavior?
Also, I have been experiencing irregular WIFI connectivity issues, whereby from what I can gather, my internet router (BT home hub) seems to be resetting occasionally (confirmed by checking router logs) and my emonpi's WIFI fails to reconnect properly, if at all.
These two issues could be in some way related, but I am no sure at all why this should be so.
Can anyone help?
Rich.
Re: What's wrong with Wh Accumulator
Hello Rich, looking at your earlier post I assume the daily graphs your showing there are generated from a feed generated by the power to kwh processor?
Can you show the raw output of that feed using the normal line graph viewer? A large negative value like that would suggest that its being reset but that's not something I've ever experienced with a feed created by the power to kwh processor and since this is all on the emonpi is should be independent of wifi..
Re: What's wrong with Wh Accumulator
Sorry for the delay.
Unfortunately, I'm still getting spikes:
Each of the feeds are from the power to kWh processor; as seen in the last post:
i.e. mains_power -> log to feed -> Power to kWh -> mains_energy
The *_energy feeds are fed into the three bottom bargraphs above, like so (in order, left to right):
Here's what I get from the normal line graph for each of these feeds:
mains_energy (kWh):
solar_energy (kWh):
house_energy (kWh):
For what it's worth, the My Solar app seems to be OK:
At least it's not showing thousands of kWh.
Any Ideas?
Re: What's wrong with Wh Accumulator
HI.
I've had very little time to diagnose this over the last few days, but here's some clarifications and thoughts on my situation:
That's all I can think of at the moment, but I will be back when I get some more time to spend investigating this.
Sorry for posting some unrelated issues here, but I needed to get them down before I forgot them and they were fresh in my mind.
TrystanLea or anyone else, please reply if you can help me to get my head around what's going on here, because much of it seems inexplicable to me at the moment.
Thanks,
Rich


EDIT/DELET Movies
ID
Movie Name
Comments
Delet
{{employee.id}}
{{employee.movieList__movie_name}}
{{employee.comments}}
DELET


-
ftp Library Package 2.1 for Tcl/Tk Manual Pages
- COMMAND
- ftp::Append handle (local | -data "data") ?remote?
-
-
The ftp::Append command appends a local file local to an
existing remote file remote on the ftp server. If the file
not exists at the server site, the file shall be created at the server
site. If '-data "data"' is specified, then rather than
transferring a file, the data passed in is used as the data to transfer.
The file parameters passed must
contain a fully qualified path name, otherwise the command uses
the current directory. If remote file name is unspecified, the
local file name is assigned to the remote file name.
If the file was successfully transferred, then the command
returns 1, if it fails 0.
- EXAMPLE
-
# store data
ftp::Put $conn data.log
# append new data
ftp::Append $conn logfile data.log
[Contents]
[Previous: ftp::Put]
[Next: ftp::Get]
© 1999 Steffen Traeger


Why Instagram?
Instagram advertising is fairly new and has masssive potential. With the ability to keep track of the target audiences engagement with
the campaign, it is easy to keep track of how well the campaign strategy is doing in relation to its end objective. Whether it be to develop an email
list or increase ROI.
Instagram has the most video plays out of any social media. Essentially meaning that a well constructed targetted advertising video could massively increase
a companies reach. Allowing them to develop their company in more than one region.
7 day advert campaign
Use of professional images
Strategy implementation
7 day targetted facebook ad campaign.
Will recieve a post advert report.
Will be assigned an advert manager
Price: £349/per advert campaign
14 day advert campaign
Use of professional branded images.
Strategy implementation
14 day targetted facebook ad campaign.
Advert results will be pulled at 6 days and recalibrateed in order to increase effeciency of the ad
Higher daily ad budget
Will recieve a post advert report.
Will be assigned an advert manager
Price: £527/per advert campaign
Enquiries
All packages will be specifically adjusted to client requirements before purchase, thus, they are subject to change.
For all package enquiries please contact us at Info@MoneyShotMedia.com


>Related JIRA Ticket: SOHO-5922
Split buttons are not officially supported. This is a non-official way you could implement them.


13.1 Show from first principles that $P(a{{,|,}}b\land a) = 1$.
13.2 [sum-to-1-exercise]Using the axioms of probability, prove that any probability distribution on a discrete random variable must sum to 1.
13.3 For each of the following statements, either prove it is true or give a counterexample.
If $P(a {{,|,}}b, c) = P(b {{,|,}}a, c)$, then $P(a {{,|,}}c) = P(b {{,|,}}c)$
If $P(a {{,|,}}b, c) = P(a)$, then $P(b {{,|,}}c) = P(b)$
If $P(a {{,|,}}b) = P(a)$, then $P(a {{,|,}}b, c) = P(a {{,|,}}c)$
13.4 Would it be rational for an agent to hold the three beliefs $P(A) {{,=,}}{0.4}$, $P(B) {{,=,}}{0.3}$, and $P(A \lor B) {{,=,}}{0.5}$? If so, what range of probabilities would be rational for the agent to hold for $A \land B$? Make up a table like the one in Figure de-finetti-table, and show how it supports your argument about rationality. Then draw another version of the table where $P(A \lor B) {{,=,}}{0.7}$. Explain why it is rational to have this probability, even though the table shows one case that is a loss and three that just break even. (Hint: what is Agent 1 committed to about the probability of each of the four cases, especially the case that is a loss?)
13.5 [exclusive-exhaustive-exercise]This question deals with the properties of possible worlds, defined on page possible-worlds-page as assignments to all random variables. We will work with propositions that correspond to exactly one possible world because they pin down the assignments of all the variables. In probability theory, such propositions are called atomic event. For example, with Boolean variables $X1$, $X2$, $X3$, the proposition $x1\land \lnot x2 \land \lnot x3$ fixes the assignment of the variables; in the language of propositional logic, we would say it has exactly one model.
Prove, for the case of $n$ Boolean variables, that any two distinct atomic events are mutually exclusive; that is, their conjunction is equivalent to ${false}$.
Prove that the disjunction of all possible atomic events is logically equivalent to ${true}$.
Prove that any proposition is logically equivalent to the disjunction of the atomic events that entail its truth.
13.6 [inclusion-exclusion-exercise]Prove Equation (kolmogorov-disjunction-equation) from Equations (basic-probability-axiom-equation) and (proposition-probability-equation).
13.7 Consider the set of all possible five-card poker hands dealt fairly from a standard deck of fifty-two cards.
How many atomic events are there in the joint probability distribution (i.e., how many five-card hands are there)?
What is the probability of each atomic event?
What is the probability of being dealt a royal straight flush? Four of a kind?
13.8 Given the full joint distribution shown in Figure dentist-joint-table, calculate the following:
$\textbf{P}({toothache})$.
$\textbf{P}({Cavity})$.
$\textbf{P}({Toothache}{{,|,}}{cavity})$.
$\textbf{P}({Cavity}{{,|,}}{toothache}\lor {catch})$.
13.9 Given the full joint distribution shown in Figure dentist-joint-table, calculate the following:
$\textbf{P}({toothache})$.
$\textbf{P}({Catch})$.
$\textbf{P}({Cavity}{{,|,}}{catch})$.
$\textbf{P}({Cavity}{{,|,}}{toothache}\lor {catch})$.
13.10 [unfinished-game-exercise] In his letter of August 24, 1654, Pascal was trying to show how a pot of money should be allocated when a gambling game must end prematurely.  The first player to get 7 points wins the pot. Suppose the game is interrupted with E leading 4–2. How should the money be fairly split in this case? What is the general formula? (Fermat and Pascal made several errors before solving the problem, but you should be able to get it right the first time.)
13.11 Deciding to put probability theory to good use, we encounter a slot machine with three independent wheels, each producing one of the four symbols bar, bell, lemon, or cherry with equal probability. The slot machine has the following payout scheme for a bet of 1 coin (where “?” denotes that we don’t care what comes up for that wheel):
bar/bar/bar pays 20 coins
bell/bell/bell pays 15 coins
lemon/lemon/lemon pays 5 coins
cherry/cherry/cherry pays 3 coins
cherry/cherry/? pays 2 coins
cherry/?/? pays 1 coin
Compute the expected “payback” percentage of the machine. In other words, for each coin played, what is the expected coin return?
Compute the probability that playing the slot machine once will result in a win.
Estimate the mean and median number of plays you can expect to make until you go broke, if you start with 10 coins. You can run a simulation to estimate this, rather than trying to compute an exact answer.
13.12 Deciding to put our knowledge of probability to good use, we encounter a slot machine with three independently turning reels, each producing one of the four symbols bar, bell, lemon, or cherry with equal probability. The slot machine has the following payout scheme for a bet of 1 coin (where “?” denotes that we don’t care what comes up for that wheel):
bar/bar/bar pays 21 coins
bell/bell/bell pays 16 coins
lemon/lemon/lemon pays 5 coins
cherry/cherry/cherry pays 3 coins
cherry/cherry/? pays 2 coins
cherry/?/? pays 1 coin
Compute the expected “payback” percentage of the machine. In other words, for each coin played, what is the expected coin return?
Compute the probability that playing the slot machine once will result in a win.
Estimate the mean and median number of plays you can expect to make until you go broke, if you start with 8 coins. You can run a simulation to estimate this, rather than trying to compute an exact answer.
13.13 We wish to transmit an $n$-bit message to a receiving agent. The bits in the message are independently corrupted (flipped) during transmission with $\epsilon$ probability each. With an extra parity bit sent along with the original information, a message can be corrected by the receiver if at most one bit in the entire message (including the parity bit) has been corrupted. Suppose we want to ensure that the correct message is received with probability at least $1-\delta$. What is the maximum feasible value of $n$? Calculate this value for the case $\epsilon{{,=,}}0.001$, $\delta{{,=,}}0.01$.
13.14 We wish to transmit an $n$-bit message to a receiving agent. The bits in the message are independently corrupted (flipped) during transmission with $\epsilon$ probability each. With an extra parity bit sent along with the original information, a message can be corrected by the receiver if at most one bit in the entire message (including the parity bit) has been corrupted. Suppose we want to ensure that the correct message is received with probability at least $1-\delta$. What is the maximum feasible value of $n$? Calculate this value for the case $\epsilon{{,=,}}0.002$, $\delta{{,=,}}0.01$.
13.15 [independence-exercise]Show that the three forms of independence in Equation (independence-equation) are equivalent.
13.16 Consider two medical tests, A and B, for a virus. Test A is 95% effective at recognizing the virus when it is present, but has a 10% false positive rate (indicating that the virus is present, when it is not). Test B is 90% effective at recognizing the virus, but has a 5% false positive rate. The two tests use independent methods of identifying the virus. The virus is carried by 1% of all people. Say that a person is tested for the virus using only one of the tests, and that test comes back positive for carrying the virus. Which test returning positive is more indicative of someone really carrying the virus? Justify your answer mathematically.
13.17 Suppose you are given a coin that lands ${heads}$ with probability $x$ and ${tails}$ with probability $1 - x$. Are the outcomes of successive flips of the coin independent of each other given that you know the value of $x$? Are the outcomes of successive flips of the coin independent of each other if you do not know the value of $x$? Justify your answer.
13.18 After your yearly checkup, the doctor has bad news and good news. The bad news is that you tested positive for a serious disease and that the test is 99% accurate (i.e., the probability of testing positive when you do have the disease is 0.99, as is the probability of testing negative when you don’t have the disease). The good news is that this is a rare disease, striking only 1 in 10,000 people of your age. Why is it good news that the disease is rare? What are the chances that you actually have the disease?
13.19 After your yearly checkup, the doctor has bad news and good news. The bad news is that you tested positive for a serious disease and that the test is 99% accurate (i.e., the probability of testing positive when you do have the disease is 0.99, as is the probability of testing negative when you don’t have the disease). The good news is that this is a rare disease, striking only 1 in 100,000 people of your age. Why is it good news that the disease is rare? What are the chances that you actually have the disease?
13.20 [conditional-bayes-exercise]It is quite often useful to consider the effect of some specific propositions in the context of some general background evidence that remains fixed, rather than in the complete absence of information. The following questions ask you to prove more general versions of the product rule and Bayes’ rule, with respect to some background evidence $\textbf{e}$:
Prove the conditionalized version of the general product rule: ${\textbf{P}}(X,Y {{,|,}}\textbf{e}) = {\textbf{P}}(X{{,|,}}Y,\textbf{e}) {\textbf{P}}(Y{{,|,}}\textbf{e})\ .$
Prove the conditionalized version of Bayes’ rule in Equation (conditional-bayes-equation).
13.21 [pv-xyz-exercise] Show that the statement of conditional independence ${\textbf{P}}(X,Y {{,|,}}Z) = {\textbf{P}}(X{{,|,}}Z) {\textbf{P}}(Y{{,|,}}Z)$ is equivalent to each of the statements ${\textbf{P}}(X{{,|,}}Y,Z) = {\textbf{P}}(X{{,|,}}Z) \quad\mbox{and}\quad {\textbf{P}}(Y{{,|,}}X,Z) = {\textbf{P}}(Y{{,|,}}Z)\ .$
13.22 Suppose you are given a bag containing $n$ unbiased coins. You are told that $n-1$ of these coins are normal, with heads on one side and tails on the other, whereas one coin is a fake, with heads on both sides.
Suppose you reach into the bag, pick out a coin at random, flip it, and get a head. What is the (conditional) probability that the coin you chose is the fake coin?
Suppose you continue flipping the coin for a total of $k$ times after picking it and see $k$ heads. Now what is the conditional probability that you picked the fake coin?
Suppose you wanted to decide whether the chosen coin was fake by flipping it $k$ times. The decision procedure returns ${fake}$ if all $k$ flips come up heads; otherwise it returns ${normal}$. What is the (unconditional) probability that this procedure makes an error?
13.23 [normalization-exercise]In this exercise, you will complete the normalization calculation for the meningitis example. First, make up a suitable value for $P(s{{,|,}}\lnot m)$, and use it to calculate unnormalized values for $P(m{{,|,}}s)$ and $P(\lnot m {{,|,}}s)$ (i.e., ignoring the $P(s)$ term in the Bayes’ rule expression, Equation (meningitis-bayes-equation)). Now normalize these values so that they add to 1.
13.24 This exercise investigates the way in which conditional independence relationships affect the amount of information needed for probabilistic calculations.
Suppose we wish to calculate $P(h{{,|,}}e_1,e_2)$ and we have no conditional independence information. Which of the following sets of numbers are sufficient for the calculation?
${\textbf{P}}(E_1,E_2)$, ${\textbf{P}}(H)$, ${\textbf{P}}(E_1{{,|,}}H)$, ${\textbf{P}}(E_2{{,|,}}H)$
${\textbf{P}}(E_1,E_2)$, ${\textbf{P}}(H)$, ${\textbf{P}}(E_1,E_2{{,|,}}H)$
${\textbf{P}}(H)$, ${\textbf{P}}(E_1{{,|,}}H)$, ${\textbf{P}}(E_2{{,|,}}H)$
Suppose we know that ${\textbf{P}}(E_1{{,|,}}H,E_2)={\textbf{P}}(E_1{{,|,}}H)$ for all values of $H$, $E_1$, $E_2$. Now which of the three sets are sufficient?
13.25 Let $X$, $Y$, $Z$ be Boolean random variables. Label the eight entries in the joint distribution ${\textbf{P}}(X,Y,Z)$ as $a$ through $h$. Express the statement that $X$ and $Y$ are conditionally independent given $Z$, as a set of equations relating $a$ through $h$. How many nonredundant equations are there?
13.26 (Adapted from Pearl [-@Pearl:1988].)  All taxis in Athens are blue or green. You swear, under oath, that the taxi was blue. Extensive testing shows that, under the dim lighting conditions, discrimination between blue and green is 75% reliable.
Is it possible to calculate the most likely color for the taxi? (Hint: distinguish carefully between the proposition that the taxi is blue and the proposition that it appears blue.)
What if you know that 9 out of 10 Athenian taxis are green?
13.27 Write out a general algorithm for answering queries of the form ${\textbf{P}}({Cause}{{,|,}}\textbf{e})$, using a naive Bayes distribution. Assume that the evidence $\textbf{e}$ may assign values to any subset of the effect variables.
13.28 [naive-bayes-retrieval-exercise] Text categorization is the task of assigning a given document to one of a fixed set of categories on the basis of the text it contains. Naive Bayes models are often used for this task. In these models, the query variable is the document category, and the “effect” variables are the presence or absence of each word in the language; the assumption is that words occur independently in documents, with frequencies determined by the document category.
Explain precisely how such a model can be constructed, given as “training data” a set of documents that have been assigned to categories.
Explain precisely how to categorize a new document.
Is the conditional independence assumption reasonable? Discuss.
13.29 In our analysis of the wumpus world, we used the fact that each square contains a pit with probability 0.2, independently of the contents of the other squares. Suppose instead that exactly $N/5$ pits are scattered at random among the $N$ squares other than [1,1]. Are the variables $P_{i,j}$ and $P_{k,l}$ still independent? What is the joint distribution ${\textbf{P}}(P_{1,1},\ldots,P_{4,4})$ now? Redo the calculation for the probabilities of pits in [1,3] and [2,2].
13.30 Redo the probability calculation for pits in [1,3] and [2,2], assuming that each square contains a pit with probability 0.01, independent of the other squares. What can you say about the relative performance of a logical versus a probabilistic agent in this case?
13.31 Implement a hybrid probabilistic agent for the wumpus world, based on the hybrid agent in Figure hybrid-wumpus-agent-algorithm and the probabilistic inference procedure outlined in this chapter.


Pete Doherty fined, released after Paris cocaine bust
PARIS, Nov 10 — British rocker Pete Doherty was fined €5,000 (RM22,771) and released from a Paris jail today, two days after being caught buying cocaine, legal sources told AFP.
Police arrested the 40-year-old Libertines frontman carrying two packets of cocaine, one already partly consumed, early Friday.
The singer opted for a simplified procedure for people caught using drugs, opting to pay daily 50-euro fines for 100 days, failing which he will be jailed, the Paris prosecutors’ office said.
The sentence still has to be approved by a judge.
Doherty’s lawyer Arash Derambarsh said his client, who is at the start of a major tour, had agreed to undergo full-time a medical treatment for his addiction to avoid a relapse.
The bad boy of British rock, as famous for having dated supermodel Kate Moss as for his music, has repeatedly made headlines for drugs offences.
In 2012, he was thrown out of a luxury rehab clinic in Thailand after claims he was a bad influence on other patients and did not try hard enough to kick his heroin habit. — AFP


All processes in both groups identified by the intercommunicator must call the collective routine. In addition, processes in the same group must call the routine with matching arguments.
Note that the ``in place'' option for intracommunicators does not apply to intercommunicators since in the intercommunicator case there is no communication from a process to itself.
For intercommunicator collective communication, if the operation is rooted (e.g., broadcast, gather, scatter), then the transfer is unidirectional. The direction of the transfer is indicated by a special value of the root argument. In this case, for the group containing the root process, all processes in the group must call the routine using a special argument for the root. For this, the root process uses the special root value MPI_ROOT; all other processes in the same group as the root use MPI_PROC_NULL. All processes in the other group (the group that is the remote group relative to the root process) must call the collective routine and provide the rank of the root. If the operation is unrooted (e.g., alltoall), then the transfer is bidirectional.
Rationale.
Rooted operations are unidirectional by nature, and there is a clear
way of specifying direction. Non-rooted operations, such as
all-to-all, will often occur as part of an exchange, where it makes
sense to communicate in both directions at once.
( End of rationale.)


Pray About It
Jesus, Heavenly Bridegroom, help me to fall in love with You all over again. I want my relationship with You to be reflected in my outward obedience, but I also want my actions to flow out of my heart. Come and write Your word on my heart, and help me to love what You love, desire what You desire, and let my will follow Your will. Amen.
Act on It
On a separate sheet of paper, list a few of the rules of your household. Next to each, write a reason for the rule that benefits relationships between people in your home. Then list some of God’s rules for us. Next to each, write a reason for the rule that protects or benefits the relationships between people or their relationship with God.
Day 3: Casting the First Stone
Read God’s Word
7 When they kept on questioning him, he straightened up and said to them, “If any one of you is without sin, let him be the first to throw a stone at her.”
John 8:7
1 “Do not judge, or you too will be judged. 2 For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you.
3 Why do you look at the speck of sawdust in your brother’s eye and pay no attention to the plank in your own eye? 4 How can you say to your brother, ‘Let me take the speck out of your eye,’ when all the time there is a plank in your own eye? 5 You hypocrite, first take the plank out of your own eye, and then you will see clearly to remove the speck from your brother’s eye.”
Matthew 7:1-5


Protocols
The following protocols are available globally.
-
DotRequest protocol
To use DotDotDot you must implement this protocol. You can then use the
createTask
method on object that implements the protocol to create aDotTask
.The only required variable to implement is
url
. The rest are optional and include things such as: - path: The path that comes after the url - queryParameters: The parameters placed at the end of the url - httpMethod: The HTTP Method to be used (GET, PUT, ETC.)To see the full list you can view the documentation in the
docs
folder of the project.If the option isn’t provided you can implement the
See moreeditComponents
andeditRequest
methods to make any changes before the request is made.Declaration
Swift
public protocol DotRequest


15
1 A gentle answer turns away anger,
but a harsh reply stirs up anger even more.
2 When wise people speak, they give praise to the value of knowledge;
foolish people continually say foolish things.
3 Yahweh sees everything that is happening;
he keeps account of the evil and of the good.
4 A person who can give healing with what they say is like a tree that gives life;
when someone lies to you, it can feel like they have crushed you.
5 A fool has contempt for his father when he disciplines him,
but the one who learns from correction has insight.
6 In the families of those who do right there are great treasures,
but the wealth that the wicked have gives them great troubles.
7 The wise scatter knowledge about like the farmer scatters his seed,
but the hearts of fools are not so generous.
8 Yahweh hates it when the wicked offer their sacrifices,
but when those who please him pray, he is delighted.
9 Yahweh hates the way the wicked live,
but he loves the one who runs after what is right.
10 Yahweh will discipline those who lose their way,
and those who hate correction will die.
11 The places of death and destruction are known to Yahweh;
how much more does Yahweh know everything within the minds of the human beings he has made?
12 The one who thinks he is better than anyone, he resents being corrected by anyone;
he thinks he is so smart, he will never talk with one who is wise.
13 When people are happy, they have smiles on their faces,
but sadness is so strong it crushes the person.
14 The longing of the one who is wise is to gain more knowledge,
but foolish people only say foolish things.
15 Every day for one who is oppressed is misery for him,
but those who have a happy heart, for them life is a never-ending party.
16 It is much better to have a only little and to give Yahweh the honor he deserves,
than to have great wealth along with much confusion.
17 It is better to have a simple meal with vegetables when there is love in the home,
than to enjoy a delicious meal served by people who hate you.
18 When a person is angry, he stirs up more arguments,
but one who does not quickly become angry, he is able to stop an argument and make peace.
19 The life of a lazy person is like someone trying to walk through a hedge of thorns,
but those who do what pleases Yahweh are like those who are walking on a level highway.
20 A wise child brings happiness to his father,
but it is a foolish person who despises his mother.
21 Foolish people enjoy their folly;
those who have insight live a good life.
22 When there is no one giving advice, plans go wrong,
but with many advisors, they will succeed.
23 People rejoice when they give a good answer,
and how nice is the right word spoken at the right moment.
24 The path leading to life goes up, away from death;
he follows that way and turns from the place of the dead.
25 Yahweh destroys the generations of proud people,
but he protects the little owned by a widow.
26 Yahweh hates what wicked people are thinking about,
but when people say what is kind, they are pure.
27 The thief brings many troubles to his family,
but the one who refuses to accept bribes will live.
28 The people who do right think carefully before they answer;
it is like the wicked pour out of their mouths all kinds of evil when they talk.
29 Yahweh is far away from wicked people,
but he listens to the prayers of those who do what is right.
30 When people smile, it makes them happy,
and good news brings healing to the body.
31 If you pay attention when someone corrects you,
you will stay among those who are wise.
32 The one who refuses to follow discipline, despises himself;
the one who receives correction gains understanding as well.
33 The honor that Yahweh deserves will be the lesson that will teach you wisdom,
and then humility comes before honor.


Mono(MozRoots) Mono(MozRoots) NAME mozroots - Download and import trusted root certificates from Mozilla's LXR into Mono's certificate store SYNOPSIS mozroots [--import [--machine] [--sync | --ask | --ask-add | --ask- remove]] DESCRIPTION This program downloads the trusted root certificates from the Mozilla LXR web site into the Mono certificate store. Mono by default does not ship with any default certificates and allows the user to pick its trusted certificates. The mozroots command will bring the Mozilla certificates into your local machine. OPTIONS --import Import the certificates into the trust store. --sync Synchronize (add/remove) the trust store with the certificates. Synchronize is useful for new Mono installations (no roots) and for automated updates (no user confirmation for addition or removal). --ask Always confirm before adding or removing trusted certificates. Note: The initial import will likely add about 100 new trusted root certificates into your store. You'll have to answer yes to every one of them if this option is specified. --ask-add Always confirm before adding a new trusted certificate. Note: The initial import will likely add about 100 new trusted root certifi‐ cates into your store. You'll have to answer yes to every one of them if this option is specified. --ask-remove Always confirm before removing an existing trusted certificate. ADVANCED OPTIONS --url url Specify an alternative URL for downloading the trusted certifi‐ cates (LXR source format). This should only be useful for testing or if the Mozilla's LXR web site address is changed. It can also be used to cache a local copy of the LXR file into your local intranet. --file name Do not download from LXR but use the specified file. This is use‐ ful if many computers have to download the same file from the Internet. This way you can keep a local copy on a file server (and minimize network traffic). --pkcs7 name Export the certificates into a PKCS#7 file. This is useful for debugging purpose or for re-importing the same list into other software. --machine Import the certificate in the machine trust store. The default is to import all trusted root certificates into the current user store. --quiet Limit console output to errors and confirmations messages. This is useful when scripting. EXAMPLES After the initial Mono installation you'll have no trusted roots certifi‐ cates pre-installed. Neither will you have some root test certificates installed (your own or the ones provided by using setreg ). In this case the simplest thing to do, if you want to trust all those certificates, is to import and synchronize. $ mozroots --import --sync Mozilla Roots Importer - version <IP_ADDRESS> Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 93 new root certificates were added to your trust store. Import process completed. If you created some test certificates (e.g. for using SSL/TLS with XSP) and/or if your enterprise requires some additional root certificates (e.g. intranet) then you may want to skip the removal part of the process. You can do this by asking for a removal confirmation (--ask- remove option) and answer no when prompted. $ mozroots --import --ask-remove Mozilla Roots Importer - version <IP_ADDRESS> Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 93 new root certificates were added to your trust store. 2 previously trusted certificates were not part of the update. Issuer: CN=Mono Test Root Agency Serial number: 69-B0-E1-4F-88-6E-C7-85-48-0E-74-91-38-76-F4-28 Valid from 9/1/2003 11:55:48 AM to 12/31/2039 1:59:59 PM Thumbprint SHA-1: EF-26-C2-28-11-3F-79-ED-9D-EC-3F-3B-D5-7A-26-F2-7C-9F-FA-63 Thumbprint MD5: AE-19-3E-64-36-21-F2-A4-8B-69-38-CA-64-4B-2E-62 Are you sure you want to remove this certificate ? no You can still use the synchronize option (--sync) if you have activated the default test roots certificate on your system. They will be removed at the end of the synchronization process but you can quickly add them back with the setreg tool. $ setreg 1 true Another option to ease updates is to synchronize your machine trust store (using the --machine option) and keep your customized (test) certificates in your personal store (or vice versa). Note that every user on this com‐ puter will be trusting all the newly imported certificates. $ mozroots --import --machine --sync Mozilla Roots Importer - version <IP_ADDRESS> Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 94 new root certificates were added to your trust store. Import process completed. Once the initial import is complete the number of changes (additions or removals) is generally very low. In this case it makes sense to know about any changes (i.e. ask for confirmation). No confirmation will be required if no changes are made to your trust store. $ mozroots --import --ask Mozilla Roots Importer - version <IP_ADDRESS> Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... Import process completed. FILES ~/.config/.mono/certs, /usr/share/.mono/certs Contains Mono certificate stores for users / machine. See the certmgr(1) manual page for more information on managing certificate stores. COPYRIGHT Copyright (C) 2005 Novell. MAILING LISTS Mailing lists are listed at the http://www.mono-project.com/Mailing_Lists WEB SITE http://www.mono-project.com SEE ALSO mono(1),certmgr(1).setreg(1) Mono(MozRoots)


Accuracy (mean of diagonal of confusion matrix) is 13.73%
| Category name | Accuracy | Sample training images | Sample true positives | False positives with true label | False negatives with wrong predicted label | ||||
|---|---|---|---|---|---|---|---|---|---|
| bedroom | 3.00% | livingroom |
industrial |
mountain |
industrial |
||||
| coast | 5.00% | highway |
mountain |
forest |
forest |
||||
| forest | 99.00% | industrial |
street |
tallbuilding |
|||||
| highway | 9.00% | coast |
bedroom |
tallbuilding |
forest |
||||
| industrial | 15.00% | bedroom |
highway |
forest |
forest |
||||
| insidecity | 0.00% | highway |
coast |
forest |
forest |
||||
| kitchen | 0.00% | store |
forest |
||||||
| livingroom | 5.00% | forest |
mountain |
||||||
| mountain | 11.00% | opencountry |
opencountry |
forest |
forest |
||||
| office | 13.00% | coast |
bedroom |
forest |
forest |
||||
| opencountry | 7.00% | office |
mountain |
tallbuilding |
forest |
||||
| store | 8.00% | kitchen |
livingroom |
forest |
forest |
||||
| street | 1.00% | forest |
forest |
||||||
| suburb | 25.00% | livingroom |
kitchen |
forest |
store |
||||
| tallbuilding | 5.00% | street |
livingroom |
forest |
forest |
||||
| Category name | Accuracy | Sample training images | Sample true positives | False positives with true label | False negatives with wrong predicted label |


{% extends "base.html" %} {% block css %} {% endblock css %} {% block title %}results for {{query}} » {% endblock title %} {% block body %}
{{query}}
{{location.address}}, {{location.city}}, {{location.state}} {{location.zip}}
We couldn't find anything.
{% endif %} {% endblock body %}


Custom tasks
The Mako command line tool comes with a few useful tasks but you can also create your own.
Basics
All tasks must extend the mako\reactor\Task
base task. The $taskInfo
property is optional but it can be a helpful reminder of what your task does. Every controller has two protected properties by default, an input
instance and an output
instance.
namespace app\tasks;
class Hello extends \mako\reactor\Task
{
protected static $taskInfo = array
(
'greet' => array
(
'description' => 'Displays a greeting.',
),
);
public function greet()
{
$this->output->writeln('Hello, world!');
}
}
Passing arguments to a task action is easy as you can se in the example below.
namespace app\tasks;
class Color extends \mako\reactor\Task
{
protected static $taskInfo = array
(
'favorite' => array
(
'description' => 'Tells you what your favorite color is.',
),
);
public function favorite($color)
{
$this->output->writeln('Your favorite color is ' . $color);
}
}
You can now execute your task from the command line.
php reactor color.favorite blue // Will print "Your favorite color is blue"
You can also make task action parameters optional by making the method parameter optional.
public function favorite($color = 'green')
{
$this->output->writeln('Your favorite color is ' . $color);
}
Input
The param
method lets your read parameters from the command line.
// php reactor mytask.test --foo=bar
$foo = $this->input->param('foo');
// You can also define a default value in case the parameter isn't set (default is NULL)
$foo = $this->input->param('foo', false);
The text
method will prompt the user for text input.
$username = $this->input->text('Your username:');
// You can also define a default value if the user doesn't write anything (default is NULL)
$username = $this->input->text('Your username':, false);
The password
method will prompt the user for hidden input.
$password = $this->input->password('Your password');
The confirm
method will prompt the user for confirmation.
$ok = $this->input->confirm('Do you want to delete everyting?');
// You can also set a default value (default is TRUE)
$ok = $this->input->confirm('Do you want to delete everyting?', false);
Output
STDOUT
The write
method writes output to STDOUT.
$this->output->write('Hello, world!');
The writenl
method writes output to STDOUT and appends a newline.
$this->output->writenl('Hello, world!');
The nl
method writes a newline to STDOUT.
$this->output->nl();
// You can also output multiple newlines
$this->output->nl(5);
The table
method makes it easy to render tables.
$headers = ['Header 1', 'Header 2'];
$tableBody = [['foo', 'bar'], ['baz', 'bax']];
$this->output->table($headers, $tableBody);
The clearScreen
method will clear the screen of all output.
$this->output->clearScreen();
The beep
will make your system beep.
$this->output->beep();
// You can also tell it to beep multiple times
$this->output->beel(5);
The progress
method lets you render a pretty progess bar.
$itemCount = 1000;
$progress = $this->output->progress($itemCount);
for($i = 0; $i < $itemCount; $i++)
{
$progress->advance();
}
$progress->finish();
STDERR
You can write to STDERR using the error
method.
$this->output->error('Something went wrong ...');
You can also access the STDERR stream using the stderr
method. It has all the same methods as STDOUT except for clearScreen
, beep
and progess
.
$this->output->stderr()->writeln('Something went wrong ...');
Dependency injection
See the dependency injection documentation for details.


Some text
List
List of stuff
All these wonderful stuff
Games
Ping
Pong
Pang
Explosions
Bing
Bang
Boom
Some other text
List Again
Another List
Bla bla bla


|
Zapatec Utils | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Zapatec.BasicTree
Defined in tree.js
| Field Summary | |
<static> Object |
all
This global variable keeps a "hash table" (that is, a plain JavaScript object) mapping ID-s to references to Zapatec.BasicTree objects. |
| Constructor Summary | |
Zapatec.BasicTree(el, config)
The Zapatec.BasicTree object constructor. |
| Method Summary | |
Object
|
_getTree(tree_id, dont_call)
\internal This function is used when "dynamic initialization" is on. |
void
|
appendChild(parent, newChild, atStart)
Append a child to the start or end of the given parent. |
void
|
collapseAll()
Call this function to collapse all items in the tree. |
Object
|
createItem(li, parent, next_li, level, atStart)
\internal This function walks through a LI element and creates the HTML elements associated with that tree item. |
Object
|
createTree(list, parent, level)
\internal Function that creates a (sub)tree. |
void
|
destroy()
Destroys the tree. |
void
|
expandAll()
Call this function to expand all items in the tree. |
Object
|
getParent(id, mode)
Call to get the parent to append, insert or remove a child either at start or end position or in between two nodes of the (sub-)tree. |
void
|
init(el, config)
|
void
|
insertBefore(newChild, refChild)
A new child can be inserted between two nodes/children or before one node /children at the same tree level. |
void
|
item_addDefaultIcon(item, className)
\internal This function adds a TD element having a certain class attribute which helps having a tree containing icons without defining IMG tags for each item. |
void
|
item_addIcon(item, img)
\internal This function does different things, depending on whether the \b img parameter is passed or not. |
void
|
itemClicked(item_id)
This function gets called from a global event handler when some item was clicked. |
Object
|
makeNode(html, type)
Call this function to create a html element with the optional element type specified. |
void
|
onItemSelect()
Third party code can override this member in order to add an event handler that gets called each time a tree item is selected. |
void
|
removeChild(oldChild)
An old child node in the tree can be removed at any level. |
void
|
sync(item_id)
Call this function to synchronize the tree to a given item. |
void
|
toggleAll()
Call this function to toggle all items in the tree. |
Object
|
toggleItem(item_id, state)
This function toggles an item if the \b state parameter is not specified. |
<static> void
|
onItemToggle()
\internal This is a global event handler that gets called when a tree item is clicked. |
| Field Detail |
<static> Object all
| Constructor Detail |
Zapatec.BasicTree(el, config)
el
- [string or HTMLElement] -- the UL element
config
- [Object, optional] -- the configuration options
| Method Detail |
Object _getTree(tree_id, dont_call)
tree_id
- [string] the ID of the subtree
dont_call
- [boolean] pass true here if you don't want the subtree to be created
void appendChild(parent, newChild, atStart)
parent
- [HTMLElement] -- reference to a tree node (either as a node at top level or at a subtree level) the new child going to be appended to in the tree.
newChild
- [HTMLElement] -- reference to an HTML element created of type LI, to which futher HTML elements such UL and LI can be included to generate subtrees.
atStart
- [boolean, optional] -- true if the child going to be added at the start of the parent.
void collapseAll()
Object createItem(li, parent, next_li, level, atStart)
li
- [HTMLElement] -- reference to the LI element
parent
- [HTMLElement] -- reference to the parent element where the HTML elements should be created
next_li
- [HTMLLiElement] -- reference to the next LI element, if this is not the last one
level
- [integer] -- the level of this item in the main tree
atStart
- [HTMLElement optional] -- reference to the element DIV with a TABLE object that represents the child following the new child added or inserted
Object createTree(list, parent, level)
list
- [HTMLElement] -- reference to the UL element
parent
- [HTMLElement] -- reference to the parent element that should hold the (sub)tree
level
- [integer] -- the level of this (sub)tree in the main tree.
void destroy()
void expandAll()
Object getParent(id, mode)
id
- [String] -- id of the parent the new child will be added to or inserted before/at.
mode
- [String optional] -- "I" is for inserting a child node. "R" is for removing a child node.
void init(el, config)
void insertBefore(newChild, refChild)
newChild
- [HTMLElement] -- New child node to be inserted into the tree
refChild
- [HTMLElement] -- Reference to the child node which the new child node will be inserted before
void item_addDefaultIcon(item, className)
item
- [HTMLElement] -- reference to the DIV element holding the item
className
- -- a string containing the additional class name
void item_addIcon(item, img)
item
- [HTMLElement] -- reference to the DIV holding the item elements
img
- [HTMLImgElement, optional] -- reference to an IMG element; normally one found in the void itemClicked(item_id)
item_id
- [string] -- the item ID
Object makeNode(html, type)
html
- [string, optional] -- html of the node; may include type
- [string, optional] -- type of the node to be created
void onItemSelect()
void removeChild(oldChild)
oldChild
- [HTMLElement] -- Old child node to be removed from the tree where it can be an item node without children or a subtree including the old child node as the root.
void sync(item_id)
item_id
- [string] -- the ID of the item to sync to.
void toggleAll()
Object toggleItem(item_id, state)
item_id
- [string] -- the item ID
state
- [boolean, optional] -- the desired item state
<static> void onItemToggle()
|
Zapatec Utils | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Hi there! My name is Sayantan Karmakar, and I’m from Kolkata, India. I currently work as a Software Engineer at TierOne Infosystems Private Limited where I spend my days doing a range of front end and back end development using languages such as JavaScript, TypeScript along with frameworks like React, Express to name a few! Through my work at TierOne, I have a fairly good amount of experience developing products that are used by clients on a daily basis! As a self-taught programmer, I use continuous iteration to produce results quickly and continuously improve products.
I have contributed to open source projects, worked on engineering teams, and always stay attuned to the newest frameworks.
View ResumeThis is a full fledged social media application created using firebase and react. This application will let users view posts, comments and the no. of likes a post has, upload their own profile picture. We can update our profile by adding details about ourselves e.g. our bio, location, our personal or professional website. We can also visit other users pages, like their posts , comment on them, and even delete post. Then there's also the notifications feature informing if another user liked or commented on our post and if we click on any notification it will take us to that post.
Facebook Messenger inspired real-time chat application built using React, react-boostrap, Graphql and Sequelize that allows users to chat users in real time via graphql subscrition. It also provides users with the unique functionality to interact with messages via emojis.
This is a twitter inspired social media app built with react as frontend and graphql(node js) as backend. This app allows user with the basic CRUD functionalities like create, edit like and delete post.We can also visit the single post page where we can comment on new post and as well as delete ours. One of the main purpose towards building this website was to learn and explore graphql and semanticUI in depth.
Welcome to the Royal Clothing, where you can find the latest, the most popular brands of clothing for the best available prices. This is an ecommerce website built using react, redux, firebase, sass that all the functionalities expect from a full fledged ecommerce website including user authentication, add to cart, stripe payment and as such. Life is short, make make every outfit count.


BEST IN SHOW
Reviewed by Harvey Karten Warner Bros./Castle Rock Entertainment Director: Christopher Guest Writers: (Nominally by) Christopher Guest, Eugene Levy Cast: Christopher Guest, Parker Posey, Michael Hitchcock, Catherine O'Hara, Eugene Levy, John Michael Higgins, Michael McKean, Patrick Cranshaw, Jennifer Coolidge, Jane Lynch, Bob Balaban, Don Lake, Jim Piddock, Fred Willard
Dogs are funny. They're funny ha ha and funny peculiar. Who can resist grinning while watching a Shar-Pei stroll down a city street, sticking out its tongue when passing the office of a plastic surgeon?
Funny as canines are, though, people are more bizarre in every way. People, too, are funny ha ha and funny peculiar, and Christopher Guest's movie "Best in Show" is ultimately not about the parades of pooches that pass across the picture screen but about the people who are proudly possessed by the four-legged beasts. The humans are the ones who go for the cups, for the blue ribbons. Each wants to be the champion, the best-in-show, and like many a neurotic parent, the handlers and owners live vicariously through their four-legged friends.
"Best in Show" centers on the Mayflower Dog show, held in Philadelphia and modeled after the world-famous Westminster Dog Show held in February of each year in New York's Madison Square Garden. Filmed entirely in Vancouver with a realistic mock dog-show setup, "Best in Show" proves that Christopher Guest can get absolutely hilarious performances from his actors by holding them on the loosest of leashes and allowing them to improvise their way through this top-notch comedy. There's no secret to Guest's expertise at directing: just choose some of the same performers you embraced for your previous mockumentary, the 1997 feature "Waiting for Guffman (about the mounting of a musical show celebrating the 150th anniversary of Blaine, Missouri), tell them how to get from point A to point B, and let them decide how to get there--as though you were giving a brace of bloodhounds a sniff of a bad guy's clothing and allowing the lovable creatures to track the felon down.
While those familiar with dog shows know that the handlers and owners are for the most part stable people (they come inevitably from the suburbs), Guest obviously has no need to show these solid, all-American types, instead taking endearing aim at the eccentric minority who give the competition its Purina gourmet flavor. Yuppie lawyers Meg (Parker Posey) and her husband Hamilton Swan (Michael Hitchcock) would be most recognizable to big city dwellers in the movie audience while conservative menswear salesman Gerry Fleck (Eugene Levy) and his bubbly wife Cookie (Catherine O'Hara) represent your typical suburbanites. Other idiosyncratic show people include a happy gay couple, the flamboyant handler Scott Donlan (John Michael Higgins) and his partner, hair salon owner Stefan Vanderhoof (Michael McKean); and Sherri Ann Cabot (Jennifer Coolidge) as the zoftig young wife of a senile industrialist (Patrick Cranshaw), who has hired fellow lesbian Christy Cummings (Jane Lynch) to show their Standard Poodle. Others in the side-splitting ensemble are the straight-laced Kennel Club president Dr. Theodore W. Millbank III (Bob Balaban), Graham Chissolm (Don Lake) as the show's chairman, Trevor Beckwith (Jim Piddock) as the classy co-announcer of the event, and Buck Laughlin (Fred Willard), whose manic role as the show's announcer proves the comedic highlight of the film.
Anyone in the movie audience who listens to stand-up comic Fred Willard discuss the events would learn virtually nothing at all about dog shows but a lot about how many pounds he can press as a middle-aged man (315) compared to what he could do in his more potent days (500) plus some side commentary about his visits to a proctologist. Obviously more attuned to what goes on in sporting events involving only two-legged jocks, he metaphorically describes the panorama at the Mayflower in terms of baseball and football, reminding us that when the final competition takes place-- seven dogs lined up with only one to get the cup--we're in "the bottom of the ninth with the final batter at the plate."
While Willard--and not the winning dog--steals the show, Eugene Levy and Catherine O'Hara turn out the most riotous performances of the dog owners. They, more than any other couple, play their roles absolutely straight with the bespectacled Levy (superb as the stiff-laced father in "American Pie" who wants to explain the birds and the bees to his hormone-crazed son) being driven nuts by the fellows he meets who all seem to have dated his vivacious wife. To add to his misery, his character, Gerry Fleck, cannot dance because he has two left feet. Literally. Parker Posey impersonates her usual high-strung character, the sort of urban neurotic that Jane Fonda played in "California Suite," bickering constantly with her similarly disturbed husband who tries to check into the hotel with no balance on his credit card, having lost the dog's favorite toy to boot.
The only suspense in the story rests with the question: who will take top honors at the Mayflower show? My own pick differed from that of the judge, but who needs suspense when you're rocking with laughter at the film with the most inventive improvisational dialogue of the year?
Rated PG-13. Running time: 90 minutes. (C) 2000 by Harvey Karten<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Map with new Auvergne-Rhône-Alpes region highlighted
Alternative content for the map
Alternative content for the legend
All example for jQuery Mapael are available
here
.


V A film review by Jeremiah Kipp Copyright 2001 filmcritic.com
Independence Day ripped off the far superior 1983 TV miniseries, V, correctly assuming that the public has only a short-term memory. The pervasive image of flying saucers hovering over every major metropolitan city in the world is undeniably creepy, especially when the visitors are not our friends. V's mice-munching lizards, disguised in human form as soap opera-friendly actors in bright red Nazi uniforms, wore false smiles and were much scarier than any computer generated menace proposed by ID:4.
What we're quick to forget is that TV movies from the early 80's were actually pretty frightening, what with Ronald Reagan threatening to bomb the Russkies and all. The Day After caused many a sleepless night as Jason Robards marched through a nuclear nightmare. While the good guys ultimately score a point for justice at the end of V, much of the film is devoted to the insidious alien plot to corral humans into concentration camps for food. Yum, yum, yum. A few supporting characters get picked off in the first hour or two when they try to prove that "the truth is out there."
Marc Singer and Faye Grant make for credible freedom fighters, playing a news cameraman and doctor, respectively, but it's the aliens who make the deeper impression. Jane Badler's perpetually shrewish Diana was a Lady Macbeth for the space age, and even better was Richard Herd as John, the kind-faced and soft-spoken politician who speaks of peace in his marmalade voice while innocents are being rounded up in Earth's ghetto and natural resources are being plundered.
Memorable subplots include the teenage girl (Blair Tefkin) who becomes impregnated by a swell looking alien (Peter Nelson), the smug young opportunist (David Packer) who turns traitor in exchange for a snazzy red uniform (and ultimately gets his just desserts, heh heh), and the wise old Holocaust survivor (Leonardo Cimino, in a small but memorable performance) who lets us know, in case we didn't figure it out already, that this is a ham-fisted allegory. Indeed, writer-director Kenneth Johnson had originally planned V as a World War II series, but when the networks balked he simply made them alien invaders. Clever, no?
As cool as V was, there are still a fair share of ridiculous scenes. I could never abide Robert Englund's cutesy alien, much preferring him as Freddy Krueger. V also didn't have the budget to pull off the elaborate final showdown between alien spaceships and gun toting freedom fighters, and there are some truly corny Star Trek moments with Marc Singer running around the alien spacecraft (read: wobbly set) with friendly alien Martin (Frank Ashmore). Nostalgia does strange things to a man, though -- it makes him more forgiving. V remains a surprisingly engrossing affair. (Avoid the sequel and lame TV-series that followed.)
RATING: ***1/2
|------------------------------| \ ***** Perfection \ \ **** Good, memorable film \ \ *** Average, hits and misses \ \ ** Sub-par on many levels \ \ * Unquestionably awful \ |------------------------------|
MPAA Rating: NR
Director: Kenneth Johnson Producer: Daniel H. Blatt, Kenneth Johnson, David J. Latt, Robert Singer Writer: Kenneth Johnson Starring: Jane Badler, Michael Durrell, Robert Englund, Faye Grant, Richard Herd, Peter Nelson, David Packer, Neva Patterson, Tommy Petersen, Marc Singer, Blair Tefkin, Michael Wright
--- http://www.amazon.com/exec/obidos/redirect?tag=filmcriticcom&path=subst/video/sellers/amazon-top-100-dvd.html Movie Fiends: Check out Amazon.com's Top 100 Hot DVDs!
Visit filmcritic.com on the Web at http://www.filmcritic.com
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


(PHP 5, PHP 7)
pg_parameter_status — Looks up a current parameter setting of the server
$connection
], string $param_name
) : stringLooks up a current parameter setting of the server.
Certain parameter values are reported by the server automatically at
connection startup or whenever their values change. pg_parameter_status() can be
used to interrogate these settings. It returns the current value of a
parameter if known, or FALSE
if the parameter is not known.
Parameters reported as of PostgreSQL 8.0 include server_version, server_encoding, client_encoding, is_superuser, session_authorization, DateStyle, TimeZone, and integer_datetimes. (server_encoding, TimeZone, and integer_datetimes were not reported by releases before 8.0.) Note that server_version, server_encoding and integer_datetimes cannot change after PostgreSQL startup.
PostgreSQL 7.3 or lower servers do not report parameter settings, pg_parameter_status() includes logic to obtain values for server_version and client_encoding anyway. Applications are encouraged to use pg_parameter_status() rather than ad hoc code to determine these values.
On a pre-7.4 PostgreSQL server, changing client_encoding via SET after connection startup will not be reflected by pg_parameter_status().
connection
PostgreSQL database connection resource. When
connection
is not present, the default connection
is used. The default connection is the last connection made by
pg_connect() or pg_pconnect().
param_name
Possible param_name
values include server_version,
server_encoding, client_encoding,
is_superuser, session_authorization,
DateStyle, TimeZone, and
integer_datetimes.
A string containing the value of the parameter, FALSE
on failure or invalid
param_name
.
Example #1 pg_parameter_status() example
<?php
$dbconn = pg_connect("dbname=publisher") or die("Could not connect");
echo "Server encoding: ", pg_parameter_status($dbconn, "server_encoding");
?>
以上例程会输出：
Server encoding: SQL_ASCII


>
This is part of the old website. New website begins at fontforge.github.io
Are you a web developer? Help us migrate this page on Github
Before you do anything you must get a copy of the Mac Developer Tools. These now ship with each new mac (on the CD labeled XCode), it is optional software, you must explicitly install it, or you can get this from Apple (you can either download a 250Meg file, or pay them $20 to FedEx you a CD.
Then you must install X11. Again it ships with new macs, again it must be explicitly installed. You need to install two X packages. The first is X11User on the third install CD, the second is X11SDK on the XCode CD.
It is possible to build FontForge without X11. There will be no user interface, but you can run scripts.
Thirdly you may choose to install some image libraries (I recommend at least installing libpng). Currently FontForge only tries to link statically with these libraries.
Finally you are ready to build fontforge. Download the most recent sources from this site. then:
$ gunzip fontforge_full-*.tgz $ tar xf fontforge_full-*.tar $ cd fontforge $ configure $ make $ sudo make install
Before installing FontForge you should ensure that you have X windows up and running. Apple now ships this with new Macs, but it is optional software (CD 3) and you must explicitly request it by customizing your install. You can also get this from apple, or from the GNU Mac OS/X site. (Or you can build fontforge without X, and end up with no user interface but the ability to run scripts).
After that you should just be able to unpack the packages provided in the File Release area. You want the PPC (power PC) version.
These packages install into /usr/local/bin. You may need to add that to your PATH environment variable, and do something similar for MANPATH:
$ vi ~/.bashrc PATH=/usr/local/bin:$PATH ; export PATH MANPATH=/usr/local/share/man:$MANPATH ; export MANPATH
See the dependencies section for external libraries/programs you may want to add to your system to enhance FontForge's capabilities.
The X server X11 (or XDarwin in older releases) must be running before FontForge can start. X11 lives in the Utilities sub-folder of the Applications folder and may be started by double clicking on it.
The first time you start X11, go to the applications menu and select "Customize
Menu..."
then press the (Add) button in the dialog which appears
double click in the left-most section of the blank line which just appeared
and then type "FontForge"
press the tab key and type "/usr/local/bin/fontforge"
press the tab key again and type "f"
then press (Done)
You may start FontForge by selecting FontForge from the X11 Applications menu.
(Hexley the platypus, unofficial Darwin mascot, copyright Jon Hooper)


Market Summary
DayTrader Stock Index(TSIA)
Trading Volume
Top Gainers
Symbol
Price
Change
Top Losers
Symbol
Price
Change
Recent Price Changes
Symbol
Price
Change