--- layout: post title: Aragorn's Song of Lúthien and Beren date: 2009-12-16 06:03:10.000000000 +07:00 type: post published: true status: publish categories: - puisi - tong sampah tags: - lotr - middle earth meta: _edit_last: '7761285' author: login: pdft email<EMAIL_ADDRESS>display_name: piko first_name: herpiko last_name: dwi aguno ---
The leaves were long, the grass was green,
The hemlock-umbels tall and fair,
And in the glade a light was seen
Of stars in shadow shimmering.
Tinúviel was dancing there
To music of a pipe unseen,
And light of stars was in her hair,
And in her raiment glimmering.
There Beren came from mountains cold,
And lost he wandered under leaves,
And where the Elven-river rolled
He walked alone and sorrowing.
He peered between the hemlock-leaves
And saw in wonder flowers of gold
Upon her mantle and her sleeves,
And her hair like shadow following.
Enchantment healed his weary feet
That over hills were doomed to roam;
And forth he hastened, strong and fleet,
And grasped at moonbeams glistening.
Through woven woods in Elvenhome
She lightly fled on dancing feet,
And left him lonely still to roam
In the silent forest listening
He heard there oft the flying sound
Of feet as light as linden-leaves,
Or music welling underground,
In hidden hollows quavering.
Now withered lay the hemlock-sheaves,
And one by one with sighing sound
Whispering fell the beachen leaves
In the wintry woodland wavering.
He sought her ever, wandering far
Where leaves of years were thickly strewn,
By light of moon and ray of star
In frosty heavens shivering
Her mantle glinted in the moon,
As on a hill-top high and far
She danced, and at her feet was strewn
A mist of silver quivering.
When winter passed, she came again,
And her song released the sudden spring,
Like rising lark, and falling rain,
And melting water bubbling.
He saw the elven-flowers spring
About her feet, and healed again
He longed by her to dance and sing
Upon the grass untroubling.
Again she fled, but swift he came.
Tinúviel! Tinúviel!
He called her by her elvish name;
And there she halted listening.
One moment stood she, and a spell
His voice laid on her: Beren came,
And doom fell on Tinúviel
That in his arms lay glistening.
As Beren looked into her eyes
Within the shadows of her hair,
The trembling starlight of the skies
He saw there mirrored shimmering.
Tinúviel the elven-fair,
Immortal maiden elven-wise,
About him cast her shadowy hair
And arms like silver glimmering.
Long was the way that fate them bore,
O'er stony mountains cold and grey,
Through halls of ireon and darkling door,
And woods of nightshade morrowless.


---
layout: post
title: Medieval knights
date: '2013-05-07T02:30:00+02:00'
categories:
- Storyboards
- Atoleiros Battle
picture_url: https://film-Storyboards.tumblr.com/post/49842053487/medieval-knights-drawn-during-the-course-of-the
---
Medieval knights drawn during the course of the Atoleiros project.


--- layout: post title: Episode 000 | Politely Up Yours - Description of the Show link: http://traffic.libsyn.com/politelyupyours/PolitelyUpYours-0000-Meta.mp3 length: 5862354 speaker: Dave Rael, Joe Macaluso duration: '00:06:01' guest_name: image: /assets/images/PolitelyUpYo3.png guest_blog: guest_twitter: episode_number: 0 redirect_from: - "/0/" - "/00/" - "/000/" - "/0000/" - "/politely-up-yours-description-of-the-show/" - "/Podcast/Episodes/0/" - "/Podcast/Episodes/00/" - "/Podcast/Episodes/000/" - "/Podcast/Episodes/0000/" - "/Podcast/Episodes/politely-up-yours-description-of-the-show/" ---
Joe Macaluso and Dave Rael introduce the "Politely, Up Yours!" podcast and describe their intent in creating the show. You meet both hosts and get a brief introduction to who they are and the approach the show will take.


My name is Abirafdi Raditya Putra, a computer science undergraduate student in Gunadarma. I mainly programs in Python.


Cookies and Privacy
T' make this site work properly, we sometimes ship wee data files called cookies on yer device. Most big websites do this too.
What are cookies?
A cookie be a wee text file that a website saves on yer 'puter or mobile device when ye visit th' site. It enables th' website t' remember yer actions 'n preferences (such as login, language, font size 'n other display preferences) o'er a period o' time, so ye don't 'ave t' keep re-boardin' them whenever ye come back t' th' site or browse from one page t' another.
How do we use cookies?
- It's not pining, it's passed on! This parrot is no more! It has ceased to be! It's expired and gone to meet its maker! This is a late parrot! It's a stiff! Bereft of life, it rests in peace! If you hadn't nailed it to the perch, it would be pushing up the daisies! It's rung down the curtain and joined the choir invisible. This is an ex-parrot!
- Nobody expects the Spanish Inquisition!
- I cut down trees, I skip and jump, I like to press wild flowers. I put on women's clothing and hang around in bars.
- Venezuelan beaver cheese?
- Let me tell you something, my lad.
- Bally Jerry pranged his kite right in the how's-your-father; hairy blighter, dicky-birded, feathered back on his sammy, took a waspy, flipped over on his Betty Harpers and caught his can in the Bertie.
- My hovercraft is full of eels.
- We use only the finest baby frogs, dew picked and flown from Iraq, cleansed in finest quality spring water, lightly killed, and then sealed in a succulent Swiss quintuple smooth treble cream milk chocolate envelope and lovingly frosted with glucose.
How to control cookies
Ye can control 'n/or scuttle cookies as ye wish. Ye can scuttle all cookies that are already on yer 'puter 'n ye can set most browsers t' prevent them from bein' placed. If ye do this, however, ye may 'ave t' manually adjust some preferences every time ye visit a site 'n some services 'n functionalities may nah work.


WITNESS LIST Agriculture & Livestock Committee March 25, 1999-3:00P International Trade On: Farquar, Doug (National Conference of State Legislatures) Miller, Dale (U.S. Department of Agriculture's Foreign Agricultural Service)


rotten > Library > Biographies > Presidents > Richard M. Nixon
Richard Milhouse Nixon
Perhaps best known for faking the Moon landing, 37th US President Richard Milhouse Nixon died on April 22, 1994. He left behind him an astonishing range of sins: Alcoholism, pill popping, wife beating, perpetuating the Vietnam War, and calling Helen Gahagan Douglas a filthy lesbian.
Tricky Dicky's ultimate crime was confirming the suspicions of an entire generation of fuckoffs that they, in fact, were the chosen people of their place and time. The results may be seen in the merciless attacks on the human spirit masquerading as '60s nostalgia, ridiculous cam girls indulging in astrology, and the otherwise unexplained persistence of adulation for Creedence Clearwater Revival.
Made two visits to China to meet Mao. Appointed Elvis a secret special agent of some sort.
According to convicted Watergate criminal John W. Dean, Nixon wanted to firebomb the Brookings Institute think tank, because they had possession of certain unspecified, but apparently important documents. Yes, firebomb.
Pardoned Jimmy Hoffa on December 23, 1971.
As chairman of the RNC, it was George HW Bush's job to tell Nixon to resign.
See also his Vice President Spiro T. Agnew, Secretary of State Henry Kissinger, Watergate plumber G. Gordon Liddy, and Presidential successor Gerald Ford.
June 1971
| NIXON: |
They have a lot of material. I want -- the way I want that handled, Bob, is: get it over. I want Brooking. Just break in. Break in and take it out. You understand. |
| HALDEMAN: |
Yeah. But you have to get somebody to do it. |
| NIXON: |
Well, you -- thatís what Iím just telling you. Now donít discuss it here. Youíre to break into the place, rifle the files, and bring them out. |
| HALDEMAN: |
I donít have any problem with breaking in. |
| NIXON: |
Just go in and take them. Go in around 8 or 9 oíclock. Thatís right. You go in and inspect and clean it out. |
July 5, 1971: Nixon, Haldeman, and Ziegler, 4:03 P.M., Oval Office Conversation #537-4; cassette #876
| NIXON: |
Jewish families are close, but there's this strange malignancy that seems to creep among them -- radicalism. I can imagine how the fact that Ellsberg is in this must really tear a fella like Henry to pieces -- or Garment. Just like the Rosenbergs and all that. It just has to kill them. I feel horrible about it. |
| ZIEGLER: |
Could make up an English name. |
| HALDEMAN: |
... Rosenstein could change his name. ... |
|
[general laughter] |
| ZIEGLER: |
It is right. It's always an "Ellsberg." |
| NIXON: |
Every one's a Jew. Ellsberg's a Jew. Halperin's a Jew. |
| HALDEMAN: |
Gelb's a Jew. |
| NIXON: |
But there are [unclear] -- Hiss was not a Jew. Very interesting thing. So few of those who engage in espionage -- are Negroes. ... In fact, very few of them become Communists. If they do, they like, they get into Angela Davis -- they're more the capitalist type. And they throw bombs and this and that. But the Negroes. -- have you ever noticed? ... Any Negro spies? |
| HALDEMAN: |
Not intellectual enough, not smart enough... not smart enough to be spies. |
| NIXON: |
The Jews -- the Jews are, are born spies. You notice how many of them are just in up to their necks? |
| HALDEMAN: |
A basic deviousness. |
Talking to White House Chief of Staff H.R. Haldeman at Camp David in August 1972:
| NIXON: |
Reagan is not one that wears well. |
| HALDEMAN: |
I know. |
| NIXON: |
On a personal basis, Rockefeller is a pretty nice guy. Reagan, on a personal basis, is terrible. He just isn't pleasant to be around. |
| HALDEMAN: |
No, he isn't. |
| NIXON: |
Maybe he's different with others. |
| HALDEMAN: |
No. |
| NIXON: |
No, he's just an uncomfortable man to be around. Strange. |
Richard M. Nixon's Presidential Pardons
Timeline
| 9 Jan 1913 |
Richard Milhouse Nixon born, Yorba Linda, CA. |
| 23 Sep 1952 |
In his "Checkers Speech", watched on television by 52 million Americans, Nixon admits receiving the illegal gift of a cocker spaniel, and states that "we're gonna keep him." |
| 8 Nov 1960 |
Kennedy defeats Nixon and becomes the 35th President. The popular vote was split, 49.55 to Kennedy's 49.75 percent. While Nixon strongly believed he lost to vote fraud, he knows enough not to make a public challenge to that effect. |
| 7 Nov 1962 |
After failing to be elected Governor of California, Nixon gives an infamous final press conference, in which he states "You won't have Nixon to kick around any more". |
| Nov 1968 |
Nixon defeats Democrat Hubert Humphrey and becomes the 37th President. |
| 22 Jan 1969 |
Nixon inaugurated as President. |
| Jul 1969 |
President Richard Nixon flies to the Philippines and meets with Ferdinand Marcos. |
| Jul 1969 |
President Richard Nixon flies to Indonesia and meets with Suharto. |
| Aug 1969 |
President Richard Nixon flies to Romania and meets with Nikolai Ceaucescu. |
| Sep 1970 |
President Richard Nixon flies to Yugoslavia and meets with Tito. |
| Oct 1970 |
President Richard Nixon flies to Spain and meets with Generalissimo Francisco Franco. |
| 9 Dec 1970 |
President Richard M. Nixon orders more illegal bombing in Cambodia. "I want them to hit everything. I want them to use the big planes, the small planes, everything they can that will help out there[...] Right now there is a chance to win this goddamn war, and that's probably what we are going to have to do because we are not going to do anything at the conference table." |
| 21 Dec 1970 |
President Richard M. Nixon receives Elvis Presley in the Oval Office of the White House. |
| 13 May 1971 |
President Richard Nixon describes the ideal candidate for IRS commissioner: "I want to be sure he is a ruthless son of a bitch, that he will do what he's told, that every income tax return I want to see I see, that he will go after our enemies and not go after our friends." |
| 13 May 1971 |
President Richard Nixon: "I don't want to see this country to go that way. You know what happened to the Greeks. Homosexuality destroyed them. Sure, Aristotle was a homo, we all know that, so was Socrates. [...] Do you know what happened to the Romans? The last six Roman emperors were fags. [...] You know what happened to the popes? It's all right that popes were laying the nuns. That's been going on for years -- centuries. But when the popes, when the Catholic Church went to hell in -- I don't know, three or four centuries ago -- it was homosexual, and it had to be cleaned out. Now, that's what happened to Britain; it happened earlier to France." |
| 13 May 1971 |
President Richard Nixon: "We're going to [put] more of these little Negro bastards on the welfare rolls at $2,400 a family -- let people like Pat Moynihan ... believe in all that crap. But I donít believe in it. Work, work -- throw 'em off the rolls. That's the key. ... I have the greatest affection for them [blacks], but I know they're not going to make it for 500 years. They aren't. You know it, too. The Mexicans are a different cup of tea. They have a heritage. At the present time they steal, they're dishonest, but they do have some concept of family life.  |
| 13 May 1971 |
President Richard Nixon: "You see: homosexuality, dope, immorality in general -- these are the enemies of strong societies. That's why the Communists and the left-wingers are pushing the stuff; they're trying to destroy us." |
| 13 May 1971 |
President Richard Nixon: "The Bohemian Grove -- which I attend, from time to time -- it is the most faggy goddamned thing you could ever imagine, with that San Francisco crowd. I can't shake hands with anybody from San Francisco." |
| 26 May 1971 |
President Richard Nixon observes: "You know, it's a funny thing, every one of the bastards that are out for legalizing marijuana is Jewish.  What is the matter with them? I suppose it is because most of them are psychiatrists." |
| 13 Sep 1971 |
President Richard Nixon tells Bob Haldeman: "Now here's the point, Bob. Please get the names of the Jews. You know, the big Jewish contributors to the Democrats. Could you please investigate some of the cocksuckers? That's all." |
| 14 Sep 1971 |
President Richard Nixon resumes the previous day's conversation with Bob Haldeman:
| NIXON: |
What about the rich Jews? The IRS is full of Jews, Bob. |
| HALDEMAN: |
What we ought to do is get a zealot who dislikes those people. |
| NIXON: |
Go after them like a son of a bitch. |
|
| Feb 1972 |
President Richard Nixon flies to China and meets with Chairman Mao. |
| May 1972 |
President Richard Nixon flies to Iran and meets with the Shah. |
| 2 May 1972 |
On hearing of FBI Director J. Edgar Hoover's death, President Richard Nixon exclaims: "Jesus Christ! That old cocksucker!" |
| 28 Mar 1973 |
President Richard Nixon announces the inception of the federal Drug Enforcement Agency, stating: "This Administration has declared all-out, global war on the drug menace." |
| 11 Oct 1973 |
Henry Kissinger tells Brent Scowcroft that President Nixon is too drunk to speak with British Prime Minister Edward Heath. Scowcroft tells Heath's representatives to call back in the morning. |
| 3 Apr 1974 |
A joint Congressional committee orders President Richard Nixon to pay $476,531 in back taxes, covering the period of 1969-1972. |
| 9 Aug 1974 |
President Richard Nixon resigns from office. His successor, Gerald Ford, assures the American people that "our long national nightmare is over." |
| 8 Jul 1976 |
Former President Richard M. Nixon is disbarred by the New York Bar Association. Nixon attempted to resign voluntarily, as he had from the California and U.S. Supreme Court bars, but New York refused to accept his resignation unless he acknowledged that he had obstructed justice during the Watergate coverup. |
| 22 Apr 1994 |
Former President Richard Nixon dies after a stroke, bringing finality to our long national nightmare. |
| 26 Dec 2000 |
Journalist Richard Berholz dies of a stroke. He is the you in "You won't have Nixon to kick around anymore", the soundbite from Nixon's 1962 "final press conference". |
Fetish Maximus |
Rotten |
Faces of Death |
Famous Nudes
|


I recently finished up a month of travel. In addition to seeing great friends and beautiful places, I used my travels as an opportunity to learn how to use a DSLR. I mean really learn, beyond just the point-and-shoot basics we all know. So I borrowed an old Nikon D40 from a friend and sort of just dove in. Turns out, it’s not very difficult to go from n00b to novice, and it’s even easier to take a lot of photos…but that’s a story for another day.
One of the challenges I (unwittingly) set for myself was creating panoramas,
like the one above. It seems straightforward in theory - shoot a series of
overlapping photos and then combine them using software. Afterall, most modern
smart phones have panorama modes built into their camera apps. However, as I
soon learned, it can very easily turn into a deep, interesting trap rabbit
hole of techniques and details.
This post is a summary of my findings from figuring out how to create panoramas from individual photos, and then uploading them to Facebook as “Photo Spheres”1. This wasn’t as simple as I expected it to be, so I wanted to record my insights and process, for my future self and anyone else who is silly enough to try for themselves.
One last aside - I work predominantly on Ubuntu with FOSS, so this is written using entirely open source tools. This is definitely possible using Photoshop (heck, it’s probably much easier), but YMMV.
There’s effectively two components to my process:
This section focuses on part A.
Since I was just starting out with a borrowed camera, I wasn’t very sophisticated in my setup for taking the panorama shots. I shot hand-held, and used the horizon as my reference as I swept my camera across the scene, taking pictures periodically. Of course, there are some very fancy rigs out there to buy for your tripod, and there are even some clever techniques for better hand-held shots (google “philopod” if you’re curious).
Nevertheless, I found I was able to produce decent panoramas, once I learned how to keep the exposure and white balance the same in every picture.
ProTip #1 – Consider using the AutoExposure-Lock feature of your camera when taking a photo series for a panorama. It makes the resulting panorama look more natural and contiguous, at the cost of some places potentially being under- or over-exposed.
I didn’t have many problems with parallax, since I was taking mostly wide-angle landscape panoramas. But I now know that I can reduce parallax effects by rotating the camera about its “no-parallax point”.
For stitching, the best open source tool I found2 is Hugin. Hugin is actually a front end GUI for the Panorama Tools.
Now, Hugin is an amazing tool and can be used to do a tremendous amount of things. And so, here is where the hole really starts. Between trying to figure out how to use the tool and being distracted by learning what people do with the tool, I spent way too long here. And every time I revisit this, I seem to lose more time3. But, even I have limits to how deep down the rabbit hole I’ll go. So, here I’ll be focusing on the practical findings, and leaving some questions unanswered…because…I just need to move on 😵
So, without further adieu, here’s the CliffsNotes4 for creating panoramas in Hugin:
Okay, so now you have a choice, depending on what sort of panorama you want to produce. Typically, you’ll want to produce a Photo Sphere, which is a much cooler way to show off your panorama. In that case, proceed to the next section now.
However, sometimes you just want a flat, cropped panorama. I typically opt for this when the estimated horizontal FOV6 is ≤160° or I’m just stitching together a couple photos (not really a panorama). To do this, we continue from above:
That’s it - you should have a nice, clear panorama to post as you like!
Instead, you might want to post your panorama as a Photo Sphere. To do so, you just need to massage it into a size and shape that Facebook will accept and recognize as a 360° image8.
First, you need to make your panorama fit into one of seven predefined sizes (determined by horizontal and vertical FOV):
Go back to the ‘Projection’ tab and note the estimated horizontal and vertical FOV values. Then find the row in the following table that best matches those values. Enter the FOV values from the table into Hugin. The Image Size and Command you’ll use next.
| H FOV | V FOV | Image Size (px) | Command |
|---|---|---|---|
| 120° | 86° | 6000x5343 | |
| 150° | 86° | 6000x4274 | |
| 180° | 86° | 6000x3562 | |
| 240° | 86° | 6000x2671 | |
| 300° | 86° | 6000x2137 | |
| 360° | 86° | 6000x1781 | |
| 360° | 65° | 6000x1217 |
Go to the ‘Crop’ tab and click on the button next to the crop dimensions to ‘reset crop to maximal possible area’. The result should be your panorama embedded in an overall image which covers the desired FOV.
Switch back to ‘Advanced’ interface.
Go to ‘Stitcher’ tab and…
This should result in something that looks like the following:
Now, you need to set the metadata correctly on your image so that it declares
itself as a Photo Sphere. This can be done with
the exiftool command line
tool. You’ll notice in the table above I’ve provided the appropriate commands to
run for each FOV. Copy the appropriate command and run it in your terminal9. Be
sure to replace path/to/image.jpg
with the appropriate path to your image.
Finally! You’re ready to upload to facebook…or are you? Well, you are, but Facebook imposes the following restrictions:
If you follow all those steps, then it should totally work and you will end up with an awesome Photo Sphere to share with all your friends.
That’s it! I hope if you made it this far you found this guide useful, or at least insightful…
If I have time, I’d like to investigate the following areas:


Micah's notes
Stage Zero:
How the internet works: There are four main elements
- Users: write and control content
- Computers: run browsers which understand and display HTML coding
- HTTP: transfers data from one computer or server to another
- Servers: large computers that store websites and data
HTML & HTTP:
HTML is the basic language of websites that make up the internet
HTTP is the transfering of HTML documents from one computer to another
Elements and Tags:
Elements are a group of tags and contents. For the most part all tags have
a starting and a closing tag which define some attribute of the content.
Inline & Block Attributes:
Two attributes that are worth noting are inline and block. Inline are just that,
a change that is inserted in the middle of the content. Blocks on the other
hand create an invisible box around the content you are working with.
Tag Index:
- < em > = emphasis = italics text
- < a > = Anchor = link
- < imp > = image
- < br > = line break (does not need a closing tag, known as < void >)
- < UL > = indent
- < LI > = bullet point
- < b > = bold text
- < div > = encapsulates elements
- < p > = paragraph


dev/vignettes/not-built-vignettes/hagelloch-sir-fit.Rmd
hagelloch-sir-fit.Rmd
In this series of vignettes, we will demonstrate epidemic analysis pipeline from EDA to dissemination using a case study of measles.
Hagelloch 1 Pre-processing and EDA
Hagelloch 2.1 Modeling and Simulation: the SIR model
Hagelloch 2.2 Modeling and Simulation: fitting a SIR model
Hagelloch 2.3.1 Modeling and Simulation: a stochastic SIR model
Hagelloch 2.3.2 Modeling and Simulation: a stochastic SIR model
Fit the deterministic, continous time SIR model described in the previous vignette to the Hagelloch pre-processed data in this vignette
Visualize the fit with EpiCompare
After loading the libraries,
library(tidyverse) library(EpiCompare) library(knitr) library(kableExtra) library(RColorBrewer) library(deSolve)
we get the aggregate SIR data from hagelloch_raw
and define our deterministic, continuous time SIR model.
## Getting aggregate data aggregate_hag <- hagelloch_raw %>% agents_to_aggregate(states = c(tI, tR)) %>% rename(time = t, S = X0, I = X1, R = X2) ## Making the SIR function library(deSolve) sirmod = function(t, y, parms) { # Pull state variables from y vector S = y[1] I = y[2] R = y[3] # Pull parameter values from parms vector beta = parms["beta"] gamma = parms["gamma"] N = S + I + R # Define equations dS = - beta * S * I/N dI = beta * S * I/N - gamma * I dR = gamma * I res = c(dS, dI, dR) # Return list of gradients list(res) }
We will find the best fit deterministic, continuous time SIR model by minimizing the sum of squared error over the observed data and the estimates. That it is, we will find
\[
\left ( \hat{\beta}, \hat{\gamma}\right ) = \arg \min_{\beta, \gamma} \sum_{t=0}^T (S(t) - s(t))^2 + (I(t) - i(t))^2 + (R(t) -r(t))^2,
\] where \(S(t), I(t),\) and \(R(t)\) are estimates produced from our model and \(s(t), i(t), r(t)\) are observed data. We make a wrapper for the sum of squares, called SSE_sir()
SSE_sir <- function(parms, observed_data){ ## Estimate model inits <- as.numeric(observed_data[1, c("S", "I", "R")]) times <- seq(min(observed_data$time), max(observed_data$time), by = .1) sir <- as.data.frame(ode(y = inits, times = times, func = sirmod, parms = parms)) colnames(sir) <- c("time", "S_hat", "I_hat", "R_hat") sir_sub <- sir %>% filter(sir$time %% 1 == 0) SSE <- sum((sir_sub[,-1] - observed_data[, -1])^2) return(SSE) }
Finally, we optimize to find the best \(\beta\) and \(\gamma\) estimates. As an initial guess for \(\gamma\) we use 1/8, which is assuming an average days of 8 days until recovery. For \(\beta\), we guess that \(\beta / \gamma = R_0 = 6\) and so \(\beta = .75\).
init_par <- c("beta" = .75, "gamma" = 1/8) best_params <- optim(init_par, fn = SSE_sir, observed_data = aggregate_hag) print(best_params$par)
## beta gamma
## 0.27703209 0.08626326
We can plot the observed data over our estimated curves.
inits <- as.numeric(aggregate_hag[1, c("S", "I", "R")]) times <- seq(min(aggregate_hag$time), max(aggregate_hag$time), by = .1) sir <- as.data.frame(ode(y = inits, times = times, func = sirmod, parms = best_params$par)) colnames(sir) <- c("time", "S", "I", "R") tidy_ests <- sir %>% mutate(type = "est") %>% pivot_longer(-c(time, type), names_to = "state") tidy_data <- aggregate_hag %>% mutate(type = "obs") %>% pivot_longer(-c(time, type), names_to = "state") combined_df <- bind_rows(tidy_ests, tidy_data) ggplot() + geom_line(data = combined_df %>% filter(type == "est"), aes( x= time, y = value, group = state, col = state), linetype = "dashed") + geom_point(data = combined_df %>% filter(type == "obs"), aes( x= time, y = value, group = state), size = .2) + facet_wrap(~state, ncol = 1)
And with a ternary plot
ggplot() + geom_line(data = sir, aes(x = S, y = I, z = R)) + geom_point(data = aggregate_hag, aes(x = S, y = I, z = R)) + coord_tern()
It is pretty clear from the intraocular exam (the eye-test) that the best fit deterministic continuous time SIR model does not capture the features of the data well. However, we do not look at any potential prediction intervals or confidence bands with this model, which may change our view. In the next vignette, we will introduce a stochastic, discrete time SIR model.


A public organization can be found by users through searching and will be shown on member's profiles. A private organization is not discoverable and is only visible to those who have been invited or accepted membership. Both public and private organizations require users to recieve approval from organizational admins before joining.


--- title: "看来我又要来哼唧H1b了" layout: "post" permalink: "/2014/04/h1b.html" uuid: "22745546894521075" guid: "tag:blogger.com,1999:blog-5396845717692802313.post-22745546894521075" date: "2014-04-21 23:21:00" updated: "2014-04-21 23:21:25" description: blogger: siteid: "5396845717692802313" postid: "22745546894521075" comments: "0" categories: author: name: "姚竹君" url: "https://plus.google.com/105231678775170479823?rel=author" image: "//lh4.googleusercontent.com/-016Uu3F5JfU/AAAAAAAAAAI/AAAAAAAAAG8/p9bZ4HROaxk/s512-c/photo.jpg" ---


Follow me
This is a stylish botique dealing with women clothes and accesories.planning and designing events cloths Click here
This deals with supplying free water to remote areas and the areas which have shortage of water. Click here


THE RAILWAY CHILDREN A film review by Shane R. Burridge Copyright 1996 Shane R. Burridge
The Railway Children (1970) 108m.
Heartwarming film written and directed by character actor Lionel Jeffries from E. Nesbitt's novel. It may remind you in spirit of Julio Cortazar's beautiful short story `The End of the Game'. Set at the turn of the century, story relates adventures of three Edwardian children who move to a country house in Yorkshire after their father is mysteriously taken away by police. As their mother refuses to inform the children of the exact nature of their circumstances, the country retreat, with its stone cottages and buttercup fields, becomes a kind of balmy, nostalgic limbo. It's an inbetween world where the children must while away the hours until their father's return - if, in fact, he will return. Reason this classic is so popular must surely be because of its prewar innocence that yet manages to capture elements of what it was like for urban and suburban Britons during the Blitz: there are children being relocated into the country by railway; a father absent from home on "government business"; a brave mother making do; a family playing at "being poor". This strong sense of reminiscence is established right from frame one - in the first few minutes of the film we see the camera pan lovingly over mementoes and trinkets; we see a photograph being taken, a Christmas dinner, a spinning zoetrope, a panto performance of Peter Pan - and while it is all rather sentimental, it never becomes mawkish.
It's wonderful how Jeffries creates an idyllic world that is entirely plausible, a world where strangers are kind and one good deed always deserves another. His splendid work is more than matched by a sterling cast. You'll really want to spend more time with these children and share their adventures - from the older sister Bobby (Jenny Agutter, who has as much poise at 16 in a middy blouse or a pinafore than she would as an adult), the younger sister Phyllis (A cheerful, brunette Sally Thomsett, who would later find fame as the dippy blonde Jo in the sitcom MAN ABOUT THE HOUSE, and was actually older than Agutter), and brother Peter (Gary Warren, who starred in the cult children's BBC serial CATWEAZLE). Their performances are matched equally by the adults Dinah Sheridan and most notably Bernard Cribbins as a humble-yet-proud stationmaster.
This film has such a generous, humane spirit to it that you may feel your eyes mist over during several occasions. The finale is a guaranteed tearjerker, but I always get a lump in my throat at the very end when Agutter softly tells the audience "Goodbye", knowing that she could not realize she was well on the way to becoming a celebrated and popular actress in the film industry. THE RAILWAY CHILDREN probably works even better now than it did then in 1970, as the nostalgia it evokes for those times works in tandem with the nostaliga of the story itself. They don't make films like this anymore. William Mervyn, as a train-travelling old gentlemen, sums it up in one word. "Charming....charming!" Footnote: Agutter, Thomsett, and their screen father Iain Cuthbertson were reunited a quarter-century later when the British Film Institute brought them back together to a cheering crowd at the Yorkshire Station, whereupon their film was commemorated with a special plaque.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Welcome to the ComplexFunction site on GitHub
I hope to create some pages to help understand and visualize complex functions.
My first test
Authors and Contributors
This page was created by @govert.
I hope to create some pages to help understand and visualize complex functions.
This page was created by @govert.


Story Time
· Gaia B.
The limousine stopped in front of the luxurious hotel. As the chauffeur opened the door for us, we were blinded by the flash of the multiple cameras. My dad, wanting to prove his masculinity, was the first to step out of the car. He helped out my ...
Continue reading →


--- layout: post title: Paths to java packages tags: [] status: publish type: post published: true meta: {} ---
From the cfcdev-zone list, Stephen Bosworth posted the following explanation about paths to packages in Java. This made it clear once and for all what com.package.something actually meant and how it relates to your stored files:
"Say I have a suite of classes that I want to sell, I would create a package name based on my domain (newcastle.edu.au). All my classes would belong to my package, and be assured of no conflict with any one else?s on their systems (unless they create a package named after my domain with the same classes, but why would you want to do that :-) )
Example:
======
Say I have a component name user and I want to give it to you, and you also have a component named user, and you need to use both of them in an application.
All your components should be in your own "package", namely a reference to au.com.tq (the reference to component would look something like {root}\au\com\tq\user.cfc).
I could give you a "package" of my components, namely au.edu.newcastle (e.g. {root}\au\edu\newcastle\user.cfc ). Now you can reference both without the worry of reference conflicts."


| 004:130 Khan | : |
But if they separate (by divorce), Allah will provide abundance for everyone of them from His Bounty. And Allah is Ever All-Sufficient for His creatures' need, All-Wise. |
| 004:130 Maulana | : |
And if they separate, Allah will render them both free from want out of his ampleness. And Allah is ever Ample-giving, Wise. |
| 004:130 Pickthal | : |
But if they separate, Allah will compensate each out of His abundance. Allah is ever All-Embracing, All-Knowing. |
| 004:130 Rashad | : |
If the couple must decide to part, GOD will provide for each of them from His bounties. GOD is Bounteous, Most Wise. |
| 004:130 Sarwar | : |
If the marriage is terminated, God will make each one of them financially independent. God is Munificent and Wise. |
| 004:130 Shakir | : |
And if they separate, Allah will render them both free from want out of His ampleness, and Allah is Ample-giving, Wise. |
| 004:130 Sherali | : |
And if they separate, ALLAH will make both independent out of HIS abundance, and ALLAH is Bountiful, Wise. |
| 004:130 Yusufali | : |
But if they disagree (and must part), Allah will provide abundance for all from His all-reaching bounty: for Allah is He that careth for all and is Wise. |
Concepts/Themes Covered: العمل > العمل الصالح > التقوى Action(Work)> The Good Deeds>The Piety الإنسان والعلاقات الاجتماعية > الأسرة > النشوز Man and The Social Relations>The Family>Women's Disobedience
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Project: @project@
This page details the operations the will be performed to create
the project [@project@] from the imported module [@module@].
Operations:
- Create project file: [@project-file@]
- Create project directories:
- @build-directory@
- @work-directory@
- @source-directory@
- Unpack [@module-file@] into directory: [@build-directory@]
- Convert module files and store in: [@source-directory@]
Press "Finish" to perform the above
operations, or "Cancel" to abort
|


| def google.appengine.ext.admin.TaskQueueHelper.delete_task |
( |
|
self, |
|
|
|
queue_name, |
|
|
|
task_name |
|
) |
| |
Delete the named task.
Args:
queue_name: The name of the queue.
task_name: The name of the task.
| def google.appengine.ext.admin.TaskQueueHelper.get_number_tasks_in_queue |
( |
|
self, |
|
|
|
queue_name |
|
) |
| |
Returns the number of tasks in the named queue.
Args:
queue_name: The name of the queue.
Returns:
The number of tasks in the queue.
| def google.appengine.ext.admin.TaskQueueHelper.get_queues |
( |
|
self, |
|
|
|
now |
|
) |
| |
Get a list of queue in the application.
Args:
now: The current time. A datetime.datetime object with a utc timezone.
Returns:
A list of queue dicts corresponding to the tasks for this application.
| def google.appengine.ext.admin.TaskQueueHelper.get_tasks |
( |
|
self, |
|
|
|
now, |
|
|
|
queue_name, |
|
|
|
start_eta_usec, |
|
|
|
start_task_name, |
|
|
|
num_tasks |
|
) |
| |
Fetch the specified tasks from taskqueue.
Note: This only searchs by eta.
Args:
now: The current time. This is used to calculate the EtaFromNow. Must be a
datetime.datetime in the utc timezone.
queue_name: The queue to search for tasks.
start_eta_usec: The earliest eta to return.
start_task_name: For tasks with the same eta_usec, this is used as a tie
breaker.
num_tasks: The maximum number of tasks to return.
Returns:
A list of task dicts (as returned by
taskqueue_stub.QueryTasksResponseToDict).
| def google.appengine.ext.admin.TaskQueueHelper.purge_queue |
( |
|
self, |
|
|
|
queue_name |
|
) |
| |
Purge the named queue.
Args:
queue_name: the name of the queue.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/admin/__init__.py


Capacity is required.
Battery vagar kemnu chale?
Internet vaprash nai lakho to public marse.
Talk Time is required.
Stand By are required.
Play Back is required.
Wireless Charging are required.


cases transmission index secondary MERS-CoV number reproduction model symptomatic estimates hospital outbreak rate cases, respiratory hospitalized scenario data surveillance syndrome (., epidemiological potential hospital-based {border-style control estimated â€" Cauchemez Saudi infectious px;} severe transmissibility #ffffff;} East average bias individuals reported community coronavirus study models parameters period asymptomatic epidemic biasâ€™ case contribution Roverall cases. relative results uncertainty zoonotic (Breban (Fig. CI: Infect. Middle disease human-to-human observed onset process progression reservoir total Arabia Health community-based confidence health higher numbers observation overall parameter possibility similar â€‰ Fig. acute symptom â€˜surveillance Dis. according cumulative given humans information interventions measures px; sensitivity spillover studies values {font-family >Â (Cauchemez However, Mean Table analyses analysis available based contributions daily effective exposure font-size important infection line mean particularly previous ranged scenarios spread (Table .â€". Breban Estimated Geweke SARS Text arising class contact corresponding double; increase infected order proportion remained scenario, simulation size stochastic transmission, (days) Assiri Based Elsevier Hong June Lloyd-Smith, MERS Med. approach associated assume assumption baseline border-color border-width case, cases) considered convergence different differential endemic fit hosp identified including increased inference influenza intervals novel obtained patients percentage population predicted primary range recent solid; support transmissionâ€™ use used {font-style {font-weight â€˜differential (MERS-CoV) (i.e., (scenario (see Arabian COVID- Chowell Engl. Epidemiological Parameter Proportion R_comm,i R_comm,s R_hosp,i Roverall. S). World adaptation assumed assumes averaged bold bounds camels care centre chains community, compared consider contrast, courier; date dates day described develop did disease, distribution dromedary dynamics early em; estimate estimation exposed fitting fraction generated history human humans. impact incorporates infections model, modeling needed new nosocomial previously prior progress progressing pt;} public reduction research resource severity shown strong threshold transmission. transmit unobserved unobserved. viral virus Ï�c,i âˆ’Â


Lavender
Lavandula (common name lavender) is a genus of 47 known species of flowering plants in the mint family, Lamiaceae. It is native to the Old World and is found in Cape Verde and the Canary Islands, and from Europe across to northern and eastern Africa, the Mediterranean, southwest Asia to southeast India.
Lemon
The lemon (Citrus limon) is a species of small evergreen tree in the flowering plant family Rutaceae, native to South Asia, primarily Northeast India. The tree's ellipsoidal yellow fruit is used for culinary and non-culinary purposes throughout the world, primarily for its juice, which has both culinary and cleaning uses.[2] The pulp and rind are also used in cooking and baking. The juice of the lemon is about 5% to 6% citric acid, with a pH of around 2.2, giving it a sour taste. The distinctive sour taste of lemon juice makes it a key ingredient in drinks and foods such as lemonade and lemon meringue pie.
Sandalwood
Sandalwood is a class of woods from trees in the genus Santalum. The woods are heavy, yellow, and fine-grained, and, unlike many other aromatic woods, retain their fragrance for decades. Sandalwood oil is extracted from the woods for use. Sandalwood is often cited as one of the most expensive woods in the world. Both the wood and the oil produce a distinctive fragrance that has been highly valued for centuries. Consequently, some species of these slow-growing trees have suffered over-harvesting in the past.


--- layout: successCriteria title: "Non-Text Content - Static Web" successCriteria: "1-1-1" successCriteriaTitle: "Non-Visual Text" technology: "Static-Web" ---
When using the img element, specify a short text alternative with the alt attribute. Note. The value of this attribute is referred to as "alt text".
When an image contains words that are important to understanding the content, the alt text should include those words. This will allow the alt text to play the same function on the page as the image. Note that it does not necessarily describe the visual characteristics of the image itself but must convey the same meaning as the image.
An image on a Website provides a link to a free newsletter. The image contains the text "Free newsletter. Get free recipes, news, and more. Learn more." The alt text matches the text in the image.
<img src="newsletter.gif" alt="Free newsletter.
Get free recipes, news, and more. Learn more." />


Internal methods for working with json_type_object objects. Although this is exposed by the json_object_get_object() function and within the json_object_iter type, it is not recommended for direct use.
More...
|
| int | json_global_set_string_hash (const int h) |
| |
| struct lh_table * | lh_table_new (int size, lh_entry_free_fn *free_fn, lh_hash_fn *hash_fn, lh_equal_fn *equal_fn) |
| |
| struct lh_table * | lh_kchar_table_new (int size, lh_entry_free_fn *free_fn) |
| |
| struct lh_table * | lh_kptr_table_new (int size, lh_entry_free_fn *free_fn) |
| |
| void | lh_table_free (struct lh_table *t) |
| |
| int | lh_table_insert (struct lh_table *t, const void *k, const void *v) |
| |
| int | lh_table_insert_w_hash (struct lh_table *t, const void *k, const void *v, const unsigned long h, const unsigned opts) |
| |
| struct lh_entry * | lh_table_lookup_entry (struct lh_table *t, const void *k) |
| |
| struct lh_entry * | lh_table_lookup_entry_w_hash (struct lh_table *t, const void *k, const unsigned long h) |
| |
| const void * | lh_table_lookup (struct lh_table *t, const void *k) |
| |
| json_bool | lh_table_lookup_ex (struct lh_table *t, const void *k, void **v) |
| |
| int | lh_table_delete_entry (struct lh_table *t, struct lh_entry *e) |
| |
| int | lh_table_delete (struct lh_table *t, const void *k) |
| |
| int | lh_table_length (struct lh_table *t) |
| |
| void | lh_abort (const char *msg,...) |
| |
| int | lh_table_resize (struct lh_table *t, int new_size) |
| |
Internal methods for working with json_type_object objects. Although this is exposed by the json_object_get_object() function and within the json_object_iter type, it is not recommended for direct use.
◆ _LH_INLINE
| #define _LH_INLINE inline |
◆ _LH_UNCONST
| #define _LH_UNCONST |
( |
|
a | ) |
((void *)(uintptr_t)(const void *)(a)) |
◆ JSON_C_STR_HASH_DFLT
| #define JSON_C_STR_HASH_DFLT 0 |
default string hash function
◆ JSON_C_STR_HASH_PERLLIKE
| #define JSON_C_STR_HASH_PERLLIKE 1 |
perl-like string hash function
◆ LH_EMPTY
| #define LH_EMPTY (void*)-1 |
sentinel pointer value for empty slots
◆ lh_entry_k
Return a non-const version of lh_entry.k.
lh_entry.k is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it. See also lh_entry.k_is_constant
◆ lh_entry_v
Return a non-const version of lh_entry.v.
v is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it.
◆ lh_foreach
| #define lh_foreach |
( |
|
table, |
|
|
|
entry |
|
) |
| for(entry = table->head; entry; entry = entry->next) |
Convenience list iterator.
◆ lh_foreach_safe
| #define lh_foreach_safe |
( |
|
table, |
|
|
|
entry, |
|
|
|
tmp |
|
) |
| for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp) |
lh_foreach_safe allows calling of deletion routine while iterating.
- Parameters
-
| table | a struct lh_table * to iterate over |
| entry | a struct lh_entry * variable to hold each element |
| tmp | a struct lh_entry * variable to hold a temporary pointer to the next element |
◆ LH_FREED
| #define LH_FREED (void*)-2 |
sentinel pointer value for freed slots
◆ LH_LOAD_FACTOR
| #define LH_LOAD_FACTOR 0.66 |
The fraction of filled hash buckets until an insert will cause the table to be resized. This can range from just above 0 up to 1.0.
◆ LH_PRIME
| #define LH_PRIME 0x9e370001UL |
golden prime used in hash functions
◆ lh_entry_free_fn
| typedef void() lh_entry_free_fn(struct lh_entry *e) |
callback function prototypes
◆ lh_equal_fn
| typedef int() lh_equal_fn(const void *k1, const void *k2) |
callback function prototypes
◆ lh_hash_fn
| typedef unsigned long() lh_hash_fn(const void *k) |
callback function prototypes
◆ lh_table
◆ json_global_set_string_hash()
| int json_global_set_string_hash |
( |
const int |
h | ) |
|
This function sets the hash function to be used for strings. Must be one of the JSON_C_STR_HASH_* values.
- Returns
- 0 - ok, -1 if parameter was invalid
◆ lh_abort()
| void lh_abort |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
Prints a message to stdout
, then exits the program with an exit code of 1
.
- Parameters
-
| msg | Message format string, like for printf . |
| ... | Format args. |
- Deprecated:
- Since it is not a good idea to exit the entire program because of an internal library failure, json-c will no longer use this function internally. However, because its interface is public, it will remain part of the API on the off chance of legacy software using it externally.
◆ lh_kchar_table_new()
Convenience function to create a new linkhash table with char keys.
- Parameters
-
| size | initial table size. |
| free_fn | callback function used to free memory for entries. |
- Returns
- On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned.
◆ lh_kptr_table_new()
Convenience function to create a new linkhash table with ptr keys.
- Parameters
-
| size | initial table size. |
| free_fn | callback function used to free memory for entries. |
- Returns
- On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned.
◆ lh_table_delete()
| int lh_table_delete |
( |
struct lh_table * |
t, |
|
|
const void * |
k |
|
) |
| |
Delete a record from the table.
If a callback free function is provided then it is called for the for the item being deleted.
- Parameters
-
| t | the table to delete from. |
| k | a pointer to the key to delete. |
- Returns
- 0 if the item was deleted.
-
-1 if it was not found.
◆ lh_table_delete_entry()
Delete a record from the table.
If a callback free function is provided then it is called for the for the item being deleted.
- Parameters
-
| t | the table to delete from. |
| e | a pointer to the entry to delete. |
- Returns
- 0 if the item was deleted.
-
-1 if it was not found.
◆ lh_table_free()
| void lh_table_free |
( |
struct lh_table * |
t | ) |
|
Free a linkhash table.
If a lh_entry_free_fn callback free function was provided then it is called for all entries in the table.
- Parameters
-
◆ lh_table_insert()
| int lh_table_insert |
( |
struct lh_table * |
t, |
|
|
const void * |
k, |
|
|
const void * |
v |
|
) |
| |
Insert a record into the table.
- Parameters
-
| t | the table to insert into. |
| k | a pointer to the key to insert. |
| v | a pointer to the value to insert. |
- Returns
- On success,
0
is returned. On error, a negative value is returned.
◆ lh_table_insert_w_hash()
| int lh_table_insert_w_hash |
( |
struct lh_table * |
t, |
|
|
const void * |
k, |
|
|
const void * |
v, |
|
|
const unsigned long |
h, |
|
|
const unsigned |
opts |
|
) |
| |
Insert a record into the table using a precalculated key hash.
The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.
- Parameters
-
| t | the table to insert into. |
| k | a pointer to the key to insert. |
| v | a pointer to the value to insert. |
| h | hash value of the key to insert |
| opts | if set to JSON_C_OBJECT_KEY_IS_CONSTANT, sets lh_entry.k_is_constant so t's free function knows to avoid freeing the key. |
◆ lh_table_length()
| int lh_table_length |
( |
struct lh_table * |
t | ) |
|
◆ lh_table_lookup()
| const void* lh_table_lookup |
( |
struct lh_table * |
t, |
|
|
const void * |
k |
|
) |
| |
Lookup a record into the table.
- Parameters
-
| t | the table to lookup |
| k | a pointer to the key to lookup |
- Returns
- a pointer to the found value or NULL if it does not exist.
- Deprecated:
- Use lh_table_lookup_ex() instead.
◆ lh_table_lookup_entry()
Lookup a record in the table.
- Parameters
-
| t | the table to lookup |
| k | a pointer to the key to lookup |
- Returns
- a pointer to the record structure of the value or NULL if it does not exist.
◆ lh_table_lookup_entry_w_hash()
| struct lh_entry* lh_table_lookup_entry_w_hash |
( |
struct lh_table * |
t, |
|
|
const void * |
k, |
|
|
const unsigned long |
h |
|
) |
| |
Lookup a record in the table using a precalculated key hash.
The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.
- Parameters
-
| t | the table to lookup |
| k | a pointer to the key to lookup |
| h | hash value of the key to lookup |
- Returns
- a pointer to the record structure of the value or NULL if it does not exist.
◆ lh_table_lookup_ex()
Lookup a record in the table.
- Parameters
-
| t | the table to lookup |
| k | a pointer to the key to lookup |
| v | a pointer to a where to store the found value (set to NULL if it doesn't exist). |
- Returns
- whether or not the key was found
◆ lh_table_new()
Create a new linkhash table.
- Parameters
-
| size | initial table size. The table is automatically resized although this incurs a performance penalty. |
| free_fn | callback function used to free memory for entries when lh_table_free or lh_table_delete is called. If NULL is provided, then memory for keys and values must be freed by the caller. |
| hash_fn | function used to hash keys. 2 standard ones are defined: lh_ptr_hash and lh_char_hash for hashing pointer values and C strings respectively. |
| equal_fn | comparison function to compare keys. 2 standard ones defined: lh_ptr_hash and lh_char_hash for comparing pointer values and C strings respectively. |
- Returns
- On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned.
◆ lh_table_resize()
| int lh_table_resize |
( |
struct lh_table * |
t, |
|
|
int |
new_size |
|
) |
| |
Resizes the specified table.
- Parameters
-
| t | Pointer to table to resize. |
| new_size | New table size. Must be positive. |
- Returns
- On success,
0
is returned. On error, a negative value is returned.


--- permalink: /courses layout: page ---
Learn essential guitar concepts in step-by-step, guided series of lessons! Dive into any course below to view the individual lessons teaching that subject.
{{ course.description }}
{{ course_items.size }} Lessons
{% include course_duration.html course_id = course.course_id %}


It's simple to force an update.
Use the Windows 10 media creation tool: http://www.microsoft.com/en-us/software-download/windows10
Download it (it's 18Meg), and run it. Select "Upgrade this PC now". It downloads the multiple Gigs of Win10, then installs.
Privacy settings
Near the end of installation, there will be a screen "Get Going Fast" with the default button "Use Express Settings". Instead click the small link "Customise settings" (it's "Customize" in US versions, "Customise" in UK).
On "Customise Settings" first page, turn off "use page prediction" (2nd option), and at least the first 2 "Connectivity" options below that (automatically connect to open hotspots, networks shared by contacts).
"Smartscreen" and "Send error and diagnostic information" are acceptable.
On "Customise Settings" second page ("Personalisation" and "Location"), turn off all of them.
If you use a local account, it will show "Make it yours" which will convert you to a Microsoft (hotmail/outlook.com) account. Click the small link at the bottom "Skip this step".
Edge is the default browser
Settings > System > Default apps
You can change the Browser, Music, Photo and other defaults here.
Chrome and Firefox will both complain they are no longer default browser- Windows 10 will open the default apps page for you.
Settings
Settings is the new control panel. If you followed the defaults, you can fix them here
If you accidentally switched to a Microsoft account, Accounts > Your account > "Sign in with a local account instead".
In Privacy, fix the options under "General", "Location", and "Speech, inking and typing".
In Network & Internet > Wi-Fi > Manage Wi-Fi Settings > "Wi-Fi Sense" turn off both options (Connect to open hotspots, connect to networks shared by contacts).
In Update & Security > Windows Update > Advanced Options > Choose how updates are delivered > make sure you don't use "PCs on my local network, and PCs on the internet" (the "PCs on my local network" should be okay on a home network).


Inspector Gadget * out of ****
Some movies I should just skip. My daughter and I had a really vile time at My Favorite Martian a few weeks back, and here comes another Disney effects-filled live-action flick based on an old TV program. True, the probgram is only 15 years old this time, and it's a cartoon. But it's a cartoon I liked, and I was understandably reluctant to see what Disney had done to it on the big screen. But my daughter really wanted to go, and how bad could it be?
Turns out I was right, mostly. Inspector Gadget, oddly enough, follows almost exactly the same format as My Favorite Martian, down to the jive-talking side-kick. At first I thought it was done by the same people, but IMDB informs me that IG was directed by David Kellogg and written by Dana Olsen and Kerry Ehrin, where MFM was directed by Donald Petrie and written by Sherri Stoner and Deanna Oliver.
This odd similarity between the two movies may best be explained by the studio that produced it, where "formula" isn't just business, it's a way of life. The producers who obviously micromanaged the two projects should get prominant screen credits. In some parts you can just hear them saying "more zany! I want more zany here -- and -- here." "Let's have a really painful sexual reference for no reason right here -- make it really painful. I want the audience squirming in their seats." "Ok, that's fine, but I want you to add bug guts." "What does this scene do? Character depth? But where's the zaniness? I DON'T see ZANY here. If you can't make it zany, cut it!"
The latter is the only explanation I can come up with for the absence of the thoroughly charming Michelle Trachtenberg for most of the movie. Michelle (who plays Penny, Gadget's niece) shines in every scene she's in, but unfortunately she only gets about nine minutes of screen time. My guess is that the rest is on the cutting room floor.
Dabney Coleman's comedic talents are utterly wasted as Chief Quimby. I kept expecting him to say or do something really funny and somehow save the film, but instead, he does the best he can with some really poor lines in a few unexceptional scenes.  Oteri's overly enthusiastic and continually self-congratulatory speech patterns and mannerisms were so much like Portland, Oregon's own manic mayor Vera Katz that I had to wonder if the studio wasn't poking fun at our fair town. Or, maybe all career politicians are like that.
I must say, Matthew Broderick does not stroll through Inspector Gadget as he did Godzilla. He appears to have some fun with the film, especially as the evil Gadget. Rupert Everett is entertaining as the maniacle Claw.
Joely Fisher does fine as the zany scientist and even better as the zany carbon copy of herself. Her performance is one of the few things worth watching in the film.
D.L. Hughley plays the shuckin'-and-jivin' vehicular side-kick, in a role that firmly sets Emancipation back 20 years.
The dialog is... let's face it, it's pretty bad. The tag-line after a major set-piece battle is a faux pas that makes no sense in context. A lot of the lines (especially Hughley's) appear to be made up as they go along, by people with little gift for ad-lib.
About three-quarters of the film is a somewhat unnecessary origin story for both Gadget and Claw. Gadget then spends the latter third of the movie trying to locate Claw and having various altercations (not really "battles") with the evil Gadget. Penny does about a minute and a half of the detective work her character did every week in the cartoon.
Let me rage here just for a minute. Michelle Trachtenberg was an excellent choice for the Penny character. She's utterly charming, and has excellent experience (Harriet the Spy) for the part of the pint-size detective. Why she is so underutilized in this film is a real mystery. The film loses a star for casting brilliance coupled with scripting (or editing) stupidity.
Inspector Gadget is missing the long, long stretches of potty humor that (among other things) made My Favorite Martian so unbearable, but it's a very short movie, so perhaps something was cut at the last moment.
Probably the best scenes in the film occur during the end credits. The "evil sidekick support group" is especially worth seeing, and has an amazing number of cameo appearances for the few seconds it's onscreen.
All in all, another bad live action film from the premere studio for bad live action films. I wonder if Disney uses the revenues for it's generally money-making cartoons to produce these losers. But if true, why? If they're trying for another Mary Poppins, they need to find a team that can produce one, and then give them a chance to do it.
Ron
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


I am Eureka, the creator of CookMate. CookMate is a school project I am coding. I am in year 5, I am ten years old. In early 2017 I was looking and listening for opportunities and came across this common problem - recipes using foreign mesurements. CookMate converts these mesurements to less foreign ones. This makes cooking easier. Through the process of making CookMate, I have learned Swift Playgrounds, Python, HTML, JS and CSS. I have had help from PixelFireblade, who has shared his knowledge of coding with me.


The Complete Web Developer in 2019: Zero to Mastery
"Learn to code and become a web developer in 2019 with HTML, CSS, Javascript, React, Node.js, Machine Learning & more!"
Zero to Mastery
What you'll learn
✔ Skills that will allow you to apply for jobs in these roles: Web Developer, Software Developer, Front End Developer, Javascript Developer, or Full Stack Developer
✔ Learn the technologies that are actually being used behind tech companies in 2019
✔ Build your own websites and applications
✔ Build a complex image recognition app that you can put in your portfolio plus many more apps (all code files provided)


Enter your personal details and start your journey with us.
Please sign in with your account to get the fun started.


| 3709 - Hard Life Europe - Northeastern Europe & Russian Republic - 2006/2007 | |||||
| Submit | Ranking |
John is a Chief Executive Officer at a privately owned medium size company. The owner of the company has decided to make his son Scott a manager in the company. John fears that the owner will ultimately give CEO position to Scott if he does well on his new manager position, so he decided to make Scott's life as hard as possible by carefully selecting the team he is going to manage in the company.
John knows which pairs of his people work poorly in the same team. John introduced a hardness factor of a team -- it is a number of pairs of people from this team who work poorly in the same team divided by the total number of people in the team. The larger is the hardness factor, the harder is this team to manage. John wants to find a group of people in the company that are harderst to manage and make it Scott's team. Please, help him.
In the example on the picture the hardest team consists of people 1, 2,
4, and 5. Among 4 of them 5 pairs work poorly in the same team, thus
hardness factor is equal to
The input will contain several test cases, each of them as described below.
Consecutive test cases are separated by a single blank line.
The first line of the input contains two integer numbers n
For each test case, the output must follow the description below.
The outputs of two consecutive cases will be separated by a blank line.
Write to the output an integer number k
Note, that in the last example any team has hardness factor of zero,
and any non-empty list of people is a valid answer.
Input
Output
Sample Input
5 6
1 5
5 4
4 2
2 5
1 2
3 1
4 0
Sample Output
4
1
2
4
5
1
1
Northeastern Europe & Russian Republic 2006-2007


Warehouse Keeper Walderal:
Here it is! This will be helpful if you're thinking of getting any A-Grade tallum equipment.
By the way... I've heard that there are still copies of the blueprints for the Tower of Insolence available! Would you bring me some?
"Here are some more blueprints."
"I'll look for more blueprints."
"I want to quit."


I am a full stack developer from Bangalore, India. I build web applications and I do it well. It's the closest thing to magic I can perform. My work is a blend of passion, dedication and imagination. I see the big picture and I also care about the details. I think big and work hard. I want to be the best at what I do.
Know more about meI am a Microsoft Certified Specialist with solid expertise in C#, ASP.NET MVC and Web development. I spend every day (well, most days) building software with the .NET Stack and happily see it float in the cloud with Microsoft Azure.
I enjoy work that challenges me and stretches my comfort zone. I try to stay updated with the state of the art in the software development industry so that I can be better equipped when the challenges present themselves. Off late, I have been dabbling and playing around with Docker, Deep Learning and Neural Networks.
This is me as of today. Tomorrow I may be different, hopefully better.
C# / ASP.NET MVC / REST API
SQL / Entity Framework / NUnit / Selenium
RWD / Bootstrap / Jquery
Angular / Typescript / Jasmine / Karma
Implement CI / CD pipelines on Microsoft Azure with ARM Templates & VSTS
Python / Computer Vision
Deep Learning and Neutral Networks
Let's Be Friends


Musical
Home
Browse
Discover
(current)
Get Pro
Find it!
SignIn
Create Account
Filling Space
Hip Hop
Rewind
Singer:
Raxstar
Year:
2018
By God
Singer:
B Jay Randhawa
Year:
2018
Shada
Singer:
Parmish Verma
Year:
2018
Prohibited
Singer:
Kamal Grewal
Year:
2018
Rock
what do you mean
Singer:
Justin Bieber
Year:
2015
bom diggy diggy
Singer:
Zack Knight
Year:
2018
end game
Singer:
Taylor Swift
ft.
Ed. Sheeran
Year:
2018
friends
Singer:
Justin Bieber
Year:
2017
Party
bom diggy diggy
Singer:
Zack Knight
Year:
2018
zara Pass aao
Singer:
Millind Gaba
Year:
2018
Strip that down
Singer:
Liam Payne
Year:
2017
enemy
Singer:
Zack Knight
Year:
2016
Romantic
jab koi baat
Singer:
Shirley
ft.
Atif Aslam
Year:
2018
tum mere ho
Singer:
Jubin Nautiyal
Year:
2018
lo safar
Singer:
Jubin Nautiyal
Year:
2018
Boyfriend
Singer:
Justin Bieber
Year:
2012
Chill
fetish
Singer:
Selena Gomez
Year:
2017
i don't wanna live
Singer:
Zayn Malik
ft.
Taylor Swift
Year:
2017
the heart wants
Singer:
Selena Gomez
Year:
2017
Ghar se nikalte
Singer:
Armaan Malik
Year:
2018


$ Accessing restricted files ...
$ Authenticating ...
$ Un-Authorized
$ !!! Access Denied !!!
$ Hmmm is appears that you are forbidden from being here or you have done something wrong
$ You have the following options: 1. Home 2. News 3. Contact Us
$ |


The PostgreSQL adapter works both with the native C (ruby.scripting.ca/postgres/) and the pure Ruby (available both as gem and from rubyforge.org/frs/?group_id=234&release_id=1944) drivers.
Options:
- :host - Defaults to "localhost".
- :port - Defaults to 5432.
- :username - Defaults to nothing.
- :password - Defaults to nothing.
- :database - The name of the database. No default, must be provided.
- :schema_search_path - An optional schema search path for the connection given as a string of comma-separated schema names. This is backward-compatible with the :schema_order option.
- :encoding - An optional client encoding that is used in a SET client_encoding TO <encoding> call on the connection.
- :min_messages - An optional client min messages that is used in a SET client_min_messages TO <min_messages> call on the connection.
- :allow_concurrency - If true, use async query methods so Ruby threads don‘t deadlock; otherwise, use blocking query methods.
- active?
- adapter_name
- add_column
- begin_db_transaction
- change_column
- change_column_default
- change_column_null
- client_min_messages
- client_min_messages=
- columns
- commit_db_transaction
- create_database
- create_savepoint
- current_database
- disconnect!
- encoding
- escape_bytea
- execute
- indexes
- insert
- new
- outside_transaction?
- postgresql_version
- quote_table_name
- reconnect!
- release_savepoint
- remove_index
- rename_column
- rename_table
- rollback_db_transaction
- rollback_to_savepoint
- schema_search_path
- schema_search_path=
- select_rows
- supports_ddl_transactions?
- supports_insert_with_returning?
- supports_migrations?
- supports_savepoints?
- supports_standard_conforming_strings?
- table_alias_length
- tables
- type_to_sql
- unescape_bytea
- update_sql
| ADAPTER_NAME | = | 'PostgreSQL'.freeze |
| NATIVE_DATABASE_TYPES | = | { :primary_key => "serial primary key".freeze, :string => { :name => "character varying", :limit => 255 }, :text => { :name => "text" }, :integer => { :name => "integer" }, :float => { :name => "float" }, :decimal => { :name => "decimal" }, :datetime => { :name => "timestamp" }, :timestamp => { :name => "timestamp" }, :time => { :name => "time" }, :date => { :name => "date" }, :binary => { :name => "bytea" }, :boolean => { :name => "boolean" } |
Initializes and connects a PostgreSQL adapter.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 206 206: def initialize(connection, logger, connection_parameters, config) 207: super(connection, logger) 208: @connection_parameters, @config = connection_parameters, config 209: 210: connect 211: end
Is this connection alive and ready for queries?
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 214 214: def active? 215: if @connection.respond_to?(:status) 216: @connection.status == PGconn::CONNECTION_OK 217: else 218: # We're asking the driver, not ActiveRecord, so use @connection.query instead of #query 219: @connection.query 'SELECT 1' 220: true 221: end 222: # postgres-pr raises a NoMethodError when querying if no connection is available. 223: rescue PGError, NoMethodError 224: false 225: end
Returns ‘PostgreSQL’ as adapter name for identification purposes.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 201 201: def adapter_name 202: ADAPTER_NAME 203: end
Adds a new column to the named table. See TableDefinition#column for details of the options you can use.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 827 827: def add_column(table_name, column_name, type, options = {}) 828: default = options[:default] 829: notnull = options[:null] == false 830: 831: # Add the column. 832: execute("ALTER TABLE #{quote_table_name(table_name)} ADD COLUMN #{quote_column_name(column_name)} #{type_to_sql(type, options[:limit], options[:precision], options[:scale])}") 833: 834: change_column_default(table_name, column_name, default) if options_include_default?(options) 835: change_column_null(table_name, column_name, false, default) if notnull 836: end
Begins a transaction.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 553 553: def begin_db_transaction 554: execute "BEGIN" 555: end
Changes the column of a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 839 839: def change_column(table_name, column_name, type, options = {}) 840: quoted_table_name = quote_table_name(table_name) 841: 842: begin 843: execute "ALTER TABLE #{quoted_table_name} ALTER COLUMN #{quote_column_name(column_name)} TYPE #{type_to_sql(type, options[:limit], options[:precision], options[:scale])}" 844: rescue ActiveRecord::StatementInvalid => e 845: raise e if postgresql_version > 80000 846: # This is PostgreSQL 7.x, so we have to use a more arcane way of doing it. 847: begin 848: begin_db_transaction 849: tmp_column_name = "#{column_name}_ar_tmp" 850: add_column(table_name, tmp_column_name, type, options) 851: execute "UPDATE #{quoted_table_name} SET #{quote_column_name(tmp_column_name)} = CAST(#{quote_column_name(column_name)} AS #{type_to_sql(type, options[:limit], options[:precision], options[:scale])})" 852: remove_column(table_name, column_name) 853: rename_column(table_name, tmp_column_name, column_name) 854: commit_db_transaction 855: rescue 856: rollback_db_transaction 857: end 858: end 859: 860: change_column_default(table_name, column_name, options[:default]) if options_include_default?(options) 861: change_column_null(table_name, column_name, options[:null], options[:default]) if options.key?(:null) 862: end
Changes the default value of a table column.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 865 865: def change_column_default(table_name, column_name, default) 866: execute "ALTER TABLE #{quote_table_name(table_name)} ALTER COLUMN #{quote_column_name(column_name)} SET DEFAULT #{quote(default)}" 867: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 869 869: def change_column_null(table_name, column_name, null, default = nil) 870: unless null || default.nil? 871: execute("UPDATE #{quote_table_name(table_name)} SET #{quote_column_name(column_name)}=#{quote(default)} WHERE #{quote_column_name(column_name)} IS NULL") 872: end 873: execute("ALTER TABLE #{quote_table_name(table_name)} ALTER #{quote_column_name(column_name)} #{null ? 'DROP' : 'SET'} NOT NULL") 874: end
Returns the current client message level.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 733 733: def client_min_messages 734: query('SHOW client_min_messages')[0][0] 735: end
Set the client message level.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 738 738: def client_min_messages=(level) 739: execute("SET client_min_messages TO '#{level}'") 740: end
Returns the list of all column definitions for a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 694 694: def columns(table_name, name = nil) 695: # Limit, precision, and scale are all handled by the superclass. 696: column_definitions(table_name).collect do |name, type, default, notnull| 697: PostgreSQLColumn.new(name, default, type, notnull == 'f') 698: end 699: end
Commits a transaction.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 558 558: def commit_db_transaction 559: execute "COMMIT" 560: end
Create a new PostgreSQL database. Options include :owner, :template, :encoding, :tablespace, and :connection_limit (note that MySQL uses :charset while PostgreSQL uses :encoding).
Example:
create_database config[:database], config create_database 'foo_development', :encoding => 'unicode'
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 601 601: def create_database(name, options = {}) 602: options = options.reverse_merge(:encoding => "utf8") 603: 604: option_string = options.symbolize_keys.sum do |key, value| 605: case key 606: when :owner 607: " OWNER = \"#{value}\"" 608: when :template 609: " TEMPLATE = \"#{value}\"" 610: when :encoding 611: " ENCODING = '#{value}'" 612: when :tablespace 613: " TABLESPACE = \"#{value}\"" 614: when :connection_limit 615: " CONNECTION LIMIT = #{value}" 616: else 617: "" 618: end 619: end 620: 621: execute "CREATE DATABASE #{quote_table_name(name)}#{option_string}" 622: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 575 575: def create_savepoint 576: execute("SAVEPOINT #{current_savepoint_name}") 577: end
Returns the current database name.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 702 702: def current_database 703: query('select current_database()')[0][0] 704: end
Close the connection.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 239 239: def disconnect! 240: @connection.close rescue nil 241: end
Returns the current database encoding format.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 707 707: def encoding 708: query("SELECT pg_encoding_to_char(pg_database.encoding) FROM pg_database\nWHERE pg_database.datname LIKE '\#{current_database}'\n")[0][0] 709: end
Escapes binary strings for bytea input to the database.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 289 289: def escape_bytea(value) 290: if @connection.respond_to?(:escape_bytea) 291: self.class.instance_eval do 292: define_method(:escape_bytea) do |value| 293: @connection.escape_bytea(value) if value 294: end 295: end 296: elsif PGconn.respond_to?(:escape_bytea) 297: self.class.instance_eval do 298: define_method(:escape_bytea) do |value| 299: PGconn.escape_bytea(value) if value 300: end 301: end 302: else 303: self.class.instance_eval do 304: define_method(:escape_bytea) do |value| 305: if value 306: result = '' 307: value.each_byte { |c| result << sprintf('\\\\%03o', c) } 308: result 309: end 310: end 311: end 312: end 313: escape_bytea(value) 314: end
Executes an SQL statement, returning a PGresult object on success or raising a PGError exception otherwise.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 537 537: def execute(sql, name = nil) 538: log(sql, name) do 539: if @async 540: @connection.async_exec(sql) 541: else 542: @connection.exec(sql) 543: end 544: end 545: end
Returns the list of all indexes for a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 653 653: def indexes(table_name, name = nil) 654: schemas = schema_search_path.split(/,/).map { |p| quote(p) }.join(',') 655: result = query("SELECT distinct i.relname, d.indisunique, d.indkey, t.oid\nFROM pg_class t, pg_class i, pg_index d\nWHERE i.relkind = 'i'\nAND d.indexrelid = i.oid\nAND d.indisprimary = 'f'\nAND t.oid = d.indrelid\nAND t.relname = '\#{table_name}'\nAND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN (\#{schemas}) )\nORDER BY i.relname\n", name) 656: 657: 658: indexes = [] 659: 660: indexes = result.map do |row| 661: index_name = row[0] 662: unique = row[1] == 't' 663: indkey = row[2].split(" ") 664: oid = row[3] 665: 666: columns = query("SELECT a.attname, a.attnum\nFROM pg_attribute a\nWHERE a.attrelid = \#{oid}\nAND a.attnum IN (\#{indkey.join(\",\")})\n", "Columns for index #{row[0]} on #{table_name}").inject({}) {|attlist, r| attlist[r[1]] = r[0]; attlist} 667: 668: column_names = indkey.map {|attnum| columns[attnum] } 669: IndexDefinition.new(table_name, index_name, unique, column_names) 670: 671: end 672: 673: indexes 674: end
Executes an INSERT query and returns the new record‘s ID
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 470 470: def insert(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) 471: # Extract the table from the insert sql. Yuck. 472: table = sql.split(" ", 4)[2].gsub('"', '') 473: 474: # Try an insert with 'returning id' if available (PG >= 8.2) 475: if supports_insert_with_returning? 476: pk, sequence_name = *pk_and_sequence_for(table) unless pk 477: if pk 478: id = select_value("#{sql} RETURNING #{quote_column_name(pk)}") 479: clear_query_cache 480: return id 481: end 482: end 483: 484: # Otherwise, insert then grab last_insert_id. 485: if insert_id = super 486: insert_id 487: else 488: # If neither pk nor sequence name is given, look them up. 489: unless pk || sequence_name 490: pk, sequence_name = *pk_and_sequence_for(table) 491: end 492: 493: # If a pk is given, fallback to default sequence name. 494: # Don't fetch last insert id for a table without a pk. 495: if pk && sequence_name ||= default_sequence_name(table, pk) 496: last_insert_id(table, sequence_name) 497: end 498: end 499: end
The ruby-pg driver supports inspecting the transaction status, while the ruby-postgres driver does not.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 570 570: def outside_transaction? 571: @connection.transaction_status == PGconn::PQTRANS_IDLE 572: end
Checks the following cases:
- table_name
- "table.name"
- schema_name.table_name
- schema_name."table.name"
- "schema.name".table_name
- "schema.name"."table.name"
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 415 415: def quote_table_name(name) 416: schema, name_part = extract_pg_identifier_from_name(name.to_s) 417: 418: unless name_part 419: quote_column_name(schema) 420: else 421: table_name, name_part = extract_pg_identifier_from_name(name_part) 422: "#{quote_column_name(schema)}.#{quote_column_name(table_name)}" 423: end 424: end
Close then reopen the connection.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 228 228: def reconnect! 229: if @connection.respond_to?(:reset) 230: @connection.reset 231: configure_connection 232: else 233: disconnect! 234: connect 235: end 236: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 583 583: def release_savepoint 584: execute("RELEASE SAVEPOINT #{current_savepoint_name}") 585: end
Drops an index from a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 882 882: def remove_index(table_name, options = {}) 883: execute "DROP INDEX #{quote_table_name(index_name(table_name, options))}" 884: end
Renames a column in a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 877 877: def rename_column(table_name, column_name, new_column_name) 878: execute "ALTER TABLE #{quote_table_name(table_name)} RENAME COLUMN #{quote_column_name(column_name)} TO #{quote_column_name(new_column_name)}" 879: end
Renames a table.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 821 821: def rename_table(name, new_name) 822: execute "ALTER TABLE #{quote_table_name(name)} RENAME TO #{quote_table_name(new_name)}" 823: end
Aborts a transaction.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 563 563: def rollback_db_transaction 564: execute "ROLLBACK" 565: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 579 579: def rollback_to_savepoint 580: execute("ROLLBACK TO SAVEPOINT #{current_savepoint_name}") 581: end
Returns the active schema search path.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 728 728: def schema_search_path 729: @schema_search_path ||= query('SHOW search_path')[0][0] 730: end
Sets the schema search path to a string of comma-separated schema names. Names beginning with $ have to be quoted (e.g. $user => ’$user’). See: www.postgresql.org/docs/current/static/ddl-schemas.html
This should be not be called manually but set in database.yml.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 720 720: def schema_search_path=(schema_csv) 721: if schema_csv 722: execute "SET search_path TO #{schema_csv}" 723: @schema_search_path = schema_csv 724: end 725: end
Executes a SELECT query and returns an array of rows. Each row is an array of field values.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 465 465: def select_rows(sql, name = nil) 466: select_raw(sql, name).last 467: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 272 272: def supports_ddl_transactions? 273: true 274: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 268 268: def supports_insert_with_returning? 269: postgresql_version >= 80200 270: end
Does PostgreSQL support migrations?
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 248 248: def supports_migrations? 249: true 250: end
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 276 276: def supports_savepoints? 277: true 278: end
Does PostgreSQL support standard conforming strings?
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 253 253: def supports_standard_conforming_strings? 254: # Temporarily set the client message level above error to prevent unintentional 255: # error messages in the logs when working on a PostgreSQL database server that 256: # does not support standard conforming strings. 257: client_min_messages_old = client_min_messages 258: self.client_min_messages = 'panic' 259: 260: # postgres-pr does not raise an exception when client_min_messages is set higher 261: # than error and "SHOW standard_conforming_strings" fails, but returns an empty 262: # PGresult instead. 263: has_support = query('SHOW standard_conforming_strings')[0][0] rescue false 264: self.client_min_messages = client_min_messages_old 265: has_support 266: end
Returns the configured supported identifier length supported by PostgreSQL, or report the default of 63 on PostgreSQL 7.x.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 282 282: def table_alias_length 283: @table_alias_length ||= (postgresql_version >= 80000 ? query('SHOW max_identifier_length')[0][0].to_i : 63) 284: end
Returns the list of all tables in the schema search path or a specified schema.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 642 642: def tables(name = nil) 643: schemas = schema_search_path.split(/,/).map { |p| quote(p) }.join(',') 644: query("SELECT tablename\nFROM pg_tables\nWHERE schemaname IN (\#{schemas})\n", name).map { |row| row[0] } 645: end
Maps logical Rails types to PostgreSQL-specific data types.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 887 887: def type_to_sql(type, limit = nil, precision = nil, scale = nil) 888: return super unless type.to_s == 'integer' 889: 890: case limit 891: when 1..2; 'smallint' 892: when 3..4, nil; 'integer' 893: when 5..8; 'bigint' 894: else raise(ActiveRecordError, "No integer type has byte size #{limit}. Use a numeric with precision 0 instead.") 895: end 896: end
Unescapes bytea output from a database to the binary string it represents. NOTE: This is NOT an inverse of escape_bytea! This is only to be used
on escaped binary output from database drive.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 319 319: def unescape_bytea(value) 320: # In each case, check if the value actually is escaped PostgreSQL bytea output 321: # or an unescaped Active Record attribute that was just written. 322: if PGconn.respond_to?(:unescape_bytea) 323: self.class.instance_eval do 324: define_method(:unescape_bytea) do |value| 325: if value =~ /\\\d{3}/ 326: PGconn.unescape_bytea(value) 327: else 328: value 329: end 330: end 331: end 332: else 333: self.class.instance_eval do 334: define_method(:unescape_bytea) do |value| 335: if value =~ /\\\d{3}/ 336: result = '' 337: i, max = 0, value.size 338: while i < max 339: char = value[i] 340: if char == ?\\ 341: if value[i+1] == ?\\ 342: char = ?\\ 343: i += 1 344: else 345: char = value[i+1..i+3].oct 346: i += 3 347: end 348: end 349: result << char 350: i += 1 351: end 352: result 353: else 354: value 355: end 356: end 357: end 358: end 359: unescape_bytea(value) 360: end
Executes an UPDATE query and returns the number of affected tuples.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 548 548: def update_sql(sql, name = nil) 549: super.cmd_tuples 550: end
Returns the version of the connected PostgreSQL version.
[ show source ]
# File vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 935 935: def postgresql_version 936: @postgresql_version ||= 937: if @connection.respond_to?(:server_version) 938: @connection.server_version 939: else 940: # Mimic PGconn.server_version behavior 941: begin 942: query('SELECT version()')[0][0] =~ /PostgreSQL (\d+)\.(\d+)\.(\d+)/ 943: ($1.to_i * 10000) + ($2.to_i * 100) + $3.to_i 944: rescue 945: 0 946: end 947: end 948: end


|
Subset By Example is an
easy way to create extraction models.
Use the Data Browser to collect all the rows to be extracted and
let Jailer create a model for that subset.
Step 1Open a data browser window for the subject table and
some associated tables.
Step 2"Create Extraction Model" for the subject
table.
Step 3An extraction model has been created.
|
|


Fire continues to burn at North Carolina’s Cold Mountain
ASHEVILLE, N.C. (AP) - Authorities are continuing to monitor a fire at North Carolina’s famed Cold Mountain.
U.S. Forest Service officials said Sunday that a wildfire continues to burn at the iconic mountain despite rain in the area over the weekend.
The mountain has been featured in a popular novel and an award-winning movie. Charles Frazier’s best-selling book “Cold Mountain” is about a Confederate soldier’s journey through western North Carolina. The book was later adapted into a 2003 movie starring Jude Law, Nicole Kidman and Renee Zellweger.
The forest service didn’t release details on what might have caused the fire or where exactly it began. The Shining Rock Wilderness area is temporarily closed because of the fire.
The mountain is about 35 miles (55 kilometers) from the city of Asheville.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Hierarchy For Package net.glowstone.block.blocktype
Package Hierarchies:
All Packages
Class Hierarchy
java.lang.
Object
net.glowstone.block.blocktype.
BlockTrapDoor
net.glowstone.block.itemtype.
ItemType
net.glowstone.block.blocktype.
BlockType
net.glowstone.block.blocktype.
BlockBanner
net.glowstone.block.blocktype.
BlockBed
net.glowstone.block.blocktype.
BlockCactus
net.glowstone.block.blocktype.
BlockChorusFlower
net.glowstone.block.blocktype.
BlockChorusPlant
net.glowstone.block.blocktype.
BlockClimbable
net.glowstone.block.blocktype.
BlockLadder
net.glowstone.block.blocktype.
BlockVine
net.glowstone.block.blocktype.
BlockContainer
net.glowstone.block.blocktype.
BlockBrewingStand
net.glowstone.block.blocktype.
BlockChest
net.glowstone.block.blocktype.
BlockDispenser
net.glowstone.block.blocktype.
BlockDropper
net.glowstone.block.blocktype.
BlockFurnace
net.glowstone.block.blocktype.
BlockHopper
net.glowstone.block.blocktype.
BlockDaylightDetector
net.glowstone.block.blocktype.
BlockDirectional
net.glowstone.block.blocktype.
BlockObserver
net.glowstone.block.blocktype.
BlockPiston
net.glowstone.block.blocktype.
BlockDirt
net.glowstone.block.blocktype.
BlockDoor
net.glowstone.block.blocktype.
BlockDoubleSlab
net.glowstone.block.blocktype.
BlockDropless
net.glowstone.block.blocktype.
BlockEnderPortalFrame
net.glowstone.block.blocktype.
BlockMobSpawner
net.glowstone.block.blocktype.
BlockFalling
net.glowstone.block.blocktype.
BlockAnvil
net.glowstone.block.blocktype.
BlockConcretePowder
net.glowstone.block.blocktype.
BlockGravel
net.glowstone.block.blocktype.
BlockFlowerPot
net.glowstone.block.blocktype.
BlockGrass
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockHay
net.glowstone.block.blocktype.
BlockHugeMushroom
net.glowstone.block.blocktype.
BlockIce
net.glowstone.block.blocktype.
BlockJukebox
net.glowstone.block.blocktype.
BlockLamp
net.glowstone.block.blocktype.
BlockLeaves
net.glowstone.block.blocktype.
BlockLiquid
net.glowstone.block.blocktype.
BlockLava
net.glowstone.block.blocktype.
BlockWater
net.glowstone.block.blocktype.
BlockLog
net.glowstone.block.blocktype.
BlockLog2
net.glowstone.block.blocktype.
BlockMelon
net.glowstone.block.blocktype.
BlockMonsterEgg
net.glowstone.block.blocktype.
BlockMycel
net.glowstone.block.blocktype.
BlockNeedsAttached
net.glowstone.block.blocktype.
BlockAttachable
net.glowstone.block.blocktype.
BlockButton
net.glowstone.block.blocktype.
BlockLever
net.glowstone.block.blocktype.
BlockCarpet
net.glowstone.block.blocktype.
BlockCocoa
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockCrops
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockCarrot
net.glowstone.block.blocktype.
BlockPotato
net.glowstone.block.blocktype.
BlockStem
net.glowstone.block.blocktype.
BlockDeadBush
net.glowstone.block.blocktype.
BlockDoublePlant
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockFire
net.glowstone.block.blocktype.
BlockMushroom
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockNetherWart
net.glowstone.block.blocktype.
BlockRails
net.glowstone.block.blocktype.
BlockRedstone
net.glowstone.block.blocktype.
BlockRedstoneComparator
net.glowstone.block.blocktype.
BlockRedstoneRepeater
net.glowstone.block.blocktype.
BlockRedstoneTorch
net.glowstone.block.blocktype.
BlockSapling
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockSign
net.glowstone.block.blocktype.
BlockSnow
net.glowstone.block.blocktype.
BlockSugarCane
net.glowstone.block.blocktype.
BlockTallGrass
(implements net.glowstone.block.blocktype.
IBlockGrowable
)
net.glowstone.block.blocktype.
BlockTorch
net.glowstone.block.blocktype.
BlockNeedsTool
net.glowstone.block.blocktype.
BlockCauldron
net.glowstone.block.blocktype.
BlockDirectDrops
net.glowstone.block.blocktype.
BlockBeacon
net.glowstone.block.blocktype.
BlockEndRod
net.glowstone.block.blocktype.
BlockFence
net.glowstone.block.blocktype.
BlockGrassPath
net.glowstone.block.blocktype.
BlockIronTrapDoor
net.glowstone.block.blocktype.
BlockMagma
net.glowstone.block.blocktype.
BlockPumpkinBase
net.glowstone.block.blocktype.
BlockPumpkin
net.glowstone.block.blocktype.
BlockEnchantmentTable
net.glowstone.block.blocktype.
BlockEnderChest
net.glowstone.block.blocktype.
BlockOre
net.glowstone.block.blocktype.
BlockPurpurPillar
net.glowstone.block.blocktype.
BlockQuartz
net.glowstone.block.blocktype.
BlockRandomDrops
net.glowstone.block.blocktype.
BlockRedstoneOre
net.glowstone.block.blocktype.
BlockLitRedstoneOre
net.glowstone.block.blocktype.
BlockStone
net.glowstone.block.blocktype.
BlockNote
net.glowstone.block.blocktype.
BlockOpenable
net.glowstone.block.blocktype.
BlockFenceGate
net.glowstone.block.blocktype.
BlockWoodenTrapDoor
net.glowstone.block.blocktype.
BlockSkull
net.glowstone.block.blocktype.
BlockSlab
net.glowstone.block.blocktype.
BlockSnowBlock
net.glowstone.block.blocktype.
BlockSoil
net.glowstone.block.blocktype.
BlockSponge
net.glowstone.block.blocktype.
BlockStairs
net.glowstone.block.blocktype.
BlockTnt
net.glowstone.block.blocktype.
BlockWeb
net.glowstone.block.blocktype.
BlockWorkbench
Interface Hierarchy
net.glowstone.block.blocktype.
IBlockGrowable
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2021. All rights reserved.


#include <math_ops.h>
Returns the element-wise sum of a list of tensors.
tf.accumulate_n_v2
performs the same operation as tf.add_n
, but does not wait for all of its inputs to be ready before beginning to sum. This can save memory if inputs are ready at different times, since minimum temporary storage is proportional to the output size rather than the inputs size.
Unlike the original accumulate_n
, accumulate_n_v2
is differentiable.
Returns a Tensor
of same shape and type as the elements of inputs
.
Arguments:
Tensor
objects, each with same shape and type.inputs
.Returns:
Output
: The sum tensor.
Constructors and Destructors |
|
|---|---|
AccumulateNV2(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, PartialTensorShape shape)
|
Public attributes |
|
|---|---|
operation
|
|
sum
|
Public functions |
|
|---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Operation operation
::tensorflow::Output sum
AccumulateNV2( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, PartialTensorShape shape )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const


Reports:
Information provided by RMIT | Last updated since data given
Cases
30,000
Deaths
30,000
30,000
30,000
| Country | Deaths | Recoveries | Fatality Rate | Infections to death per Capita |
|---|---|---|---|---|
| System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
| Software Engineer | New York | 63 | 2010/01/04 | $125,250 |
| Software Engineer | San Francisco | 56 | 2012/06/01 | $115,000 |
| Junior Javascript Developer | Edinburgh | 43 | 2013/02/01 | $75,650 |
| Sales Assistant | New York | 46 | 2011/12/06 | $145,600 |
| Regional Director | London | 47 | 2011/03/21 | $356,250 |
| Systems Administrator | London | 21 | 2009/02/27 | $103,500 |
| Developer | San Francisco | 30 | 2010/07/14 | $86,500 |
| Regional Director | Edinburgh | 51 | 2008/11/13 | $183,000 |
| Javascript Developer | Singapore | 29 | 2011/06/27 | $183,000 |
| Customer Support | New York | 27 | 2011/01/25 | $112,000 |


{{^contents.length}} {{#root}} Your folder is empty. {{/root}} {{^root}} There is nothing here. {{/root}} {{/contents.length}} {{#contents.length}}


{{ partial "head" . }}
{{ partialCached "skippy" . }} {{ partialCached "navbar" . }} {{ partialCached "home/hero" . }}
{{ partialCached "icons" . "home" }} {{ .Content }}
{{- partialCached "footer" . }} {{- partialCached "scripts" . "home" }}


--- layout: default title: Michael Ivey - blogging since '99 (mostly) ---
Please wait while my tweets load
If you can't wait - check out what I've been twittering