|
Nuremberg TrialsWhen asked to name the "trial of the century," the post-literate, B-list-celebrity-obsessed, TV-anchor-as-Oracular-voice Generation X-Minus-One will almost invariably come up with the acquittal of O.J. Simpson as the scholarly height of bootylicious jurisprudence.But for sheer carnage (not to mention actual historical relevance), nothing beats Nuremberg. After World War II, the Allies found themselves uncomfortably confronted with an awful truth they had tried studiously to ignore even as the war was in full heat. This was the Holocaust. You would think, especially when hearing modern leaders discuss war, that the U.S. entered World War II in a fever of moral outrage to thwart the evil of Adolf Hitler and his program of genocide. But that wasn't the case. There had been scattered reports in the media about mass murders of Jews, but they received little play. People were more upset about Pearl Harbor. The American public, always the last to know, didn't hear about the concentration camps until 1942, and it took the international community until 1945 to actually win the war and then figure out what to do about the War Crimes. What they ended up doing, of course, was the Nuremberg tribunal, an indictment of 24 of the most egregious offenders they had managed to catch, and six organizations that supported the Holocaust in various ways. There were three major charges levied during the Nurermberg tribunals: Crimes against peace (i.e., waging a "war of aggression"), war crimes and crimes against humanity. The first charge was problematic in a number of ways, although the easiest to prove. For one thing, it was predicated on international agreements that were worded in persnickety ways. For another, well, it's not like the Nazis were the first people ever to wage a war of aggression. The latter two charges had legs, however. The charge of "war crimes" related to atrocities performed by the Nazis in relation to the prosecution of the war itself. This included "murder, ill-treatment or deportation to slave labor or for any other purpose of civilian population of or in occupied territory, murder or ill-treatment of prisoners of war or persons on the seas, killing of hostages, plunder of public or private property, wanton destruction of cities, towns or villages, or devastation not justified by military necessity." Crimes against humanity were defined in the Nuremberg charter as "murder, extermination, enslavement, deportation, and other inhumane acts committed against any civilian population, before or during the war; or persecutions on political, racial or religious grounds in execution of or in connection with any crime within the jurisdiction of the Tribunal, whether or not in violation of the domestic law of the country where perpetrated." A broad range of individuals and institutions were subject to prosecution under these guidelines, although the number of actual people tried, convicted and sentenced was relatively small (compare to the estimated 6 million Jews and millions more Allied soldiers killed during the course of the Nazi regime). The individual defendants included Hermann Goering, Rudolf Hess and Albert Speer, Hitler's war minister, along with most of the governors of occupied territories and several propaganda and economic support personnel. The President of the Reichsbank was indicted, as well as Julius Streicher, one of Hitler's chief propagandists; Baldur von Schirach, head of the Hitler Youth; and Karl Doenitz, who led the Third Reich during the approximately five-minute interval between Hitler's death and the end of the Third Reich. During his trial, Goering, who had been chief of the German Air Force and a key player behind the Holocaust, casually dismissed the concentration camps as "protective custody," denied that the S.S. had ever been ordered to kill anyone (that was the Gestapo's job, he explained), and quibbled with prosecutors over whether he had called for a "total" or "final" solution to the "Jewish problem." Despite the leverage he could have extracted from a death-bunker statement in Hitler's will accusing him of disloyalty and attempting to secretly negotiate an end to the war, Goering also proclaimed his enduring loyalty to der Fuhrer. He was eventually sentenced to hang, but he committed suicide before the sentence was carried out. His peers fared little better. The president of the Reischsbank was sentenced to life in prison, and most of the military governors were sentenced to life or death by hanging. Hess received life in prison, where he committed suicide. Martin Bormann was convicted in absentia, but was later determined to be already dead. SS General Otto Olendorf wasn't considered "important" enough to be prosecuted during the first round of war crimes tribunals, despite the fact that he testified to personally ordering the execution of more than 90,000 Jews. Under questioning from prosecutor Col. John Amen, Olendorf's testimony summed up the worst qualities of many of the defendants, an incredibly detached attitude toward the Reich's program of genocide, consistently showing more regret for the workplace stress endured by the executioners than for the victims of said executions: COL. AMEN: What were (the S.S. officers') instructions with respect to the Jews and the Communist functionaries?In his closing remarks, U.S. prosecutor Robert Jackson summed up the responsibilities of Hitler's minions in a historic speech. "I admit that Hitler was the chief villain. But for the defendants to put all blame on him is neither manly nor true. We know that even the head of the state has the same limits to his senses and to the hours of his days as do lesser men. He must rely on others to be his eyes and ears as to most that goes on in a great empire. Other legs must run his errands; other hands must execute his plans. On whom did Hitler rely for such things more than upon these men in the dock?" In the end, suicide, escapes and the casualties of war allowed the worst offenders of the Nazi regime to escape the direct hand of Justice, and somehow death by hanging doesn't quite seem to measure up to lampshades made of human skin. But Nuremberg did result in some convictions. And the tribunals united the international community against the horrors of genocide and unchecked fascism (at least momentarily). And that's a lot more important than O.J., as trials of the century go...
Timeline
|


Heavy snow snarls traffic, shuts schools in Tehran
by AFPHeavy snowfall blanketed the streets of north Tehran on Saturday, causing traffic chaos and forcing the closure of schools, authorities in the Iranian capital said.
Crews of municipal workers were battling to clear roads and pavements in parts of the capital, where snow began falling at the start of the morning rush hour and continued through the day.
"Snow started at a time when there is usually high traffic and now as you can imagine that snow has intensified this traffic," Tehran mayor Hamid Mousavi told the ISNA news agency.
The backed-up traffic prevented the use of snowploughs and forced the municipality to deploy staff to clear the snow by hand, he said.
One commuter said his journey to work from east Tehran took him twice as long as usual as traffic was backed up on major roads leading to northern districts.
There were only a few accidents, despite the driving conditions and the fact that many vehicles lacked tyre chains, a city official said, according to state television's website.
Schools in some districts were ordered closed in the afternoon.
"Due to the coldness of the weather, snow and forecast of continuing snowfall, all schools will be closed this afternoon in districts one to five and district 22 of Tehran," deputy governor Mohammad Taghizadeh said, quoted by ISNA.
"Also all schools in Shemiranat county will be closed in the afternoon shift."


This is a hobby project I started on my own in 2020. I wanted to run an 'always up' broadcast. I did not want to run a GUI application like OBS on my desktop.
To meet my self imposed requirments I created some micro-services to run on my FreeNAS machine. The micro-services inluding a metadata DB with API server, a python script to play videos, and a discord bot for users to interact with.
I run the DB, metadata API, and Discord bot in a docker-compose network of containers. The player runs on a seperate Raspberry Pi connected to hardware for streaming video to RTSP services. The project is still running locally 24/7, but due to bandwidth limits I'm not pushing the video stream to a host such as Twitch/Youtube. If you'd like to see it in action just contact me.


|
CppNoddy
0.92
|
#include <ArcLength_base.h>
Public Member Functions | |
| ArcLength_base () | |
| virtual | ~ArcLength_base () |
| void | init_arc (DenseVector< _Type > x, _Type *p, const double &length, const double &max_length) |
| Initialise the class ready for arc-length continuation. More... | |
| virtual void | solve (DenseVector< _Type > &x)=0 |
| Compute a solution for that state & parameter variables that are an arc-length 'ds' from the current state. More... | |
| double & | ds () |
| Return a handle to the arclength step. More... | |
| double & | arcstep_multiplier () |
| Used to set the multiplication constant used when increasing or decreasing the arclength step. More... | |
| bool & | rescale_theta () |
| Handle to the RESCALE_THETA flag. More... | |
| double & | theta () |
| Set the arclength theta parameter. More... | |
| double & | desired_arc_proportion () |
| Handle to the desired proportion of the parameter to be used in the arc length solver. More... | |
Protected Member Functions | |
| void | update (const DenseVector< _Type > &x) |
| A method called by arclength_solve and init_arc which stores the current converged state and parameter and hence computes the derivatives w.r.t the arc-length. More... | |
| double | arclength_residual (const DenseVector< _Type > &x) const |
| The extra constraint that is to be used to replace the unknown arc length. More... | |
| DenseVector< _Type > | Jac_arclength_residual (DenseVector< _Type > &x) const |
| The derivative of the arclength_residual function with respect to each of the state variables. More... | |
| void | update_theta (const DenseVector< _Type > &x) |
| Automatically update the Keller THETA such that the proportion of the arclength obtained from the parameter is the desired value. More... | |
Protected Attributes | |
| _Type * | p_PARAM |
| pointer to the parameter in arclength solves More... | |
| DenseVector< _Type > | LAST_X |
| state variable at the last computed solution More... | |
| DenseVector< _Type > | X_DERIV_S |
| derivative of the state variable w.r.t. arc length More... | |
| _Type | LAST_PARAM |
| parameter value at the last computed solution More... | |
| _Type | PARAM_DERIV_S |
| derivative of the parameter w.r.t arc length More... | |
| double | DS |
| size of the arc length step More... | |
| double | MAX_DS |
| maximum arc length step to be taken More... | |
| double | ARCSTEP_MULTIPLIER |
| step change multiplier More... | |
| bool | INITIALISED |
| for the arc-length solver - to show it has been initialised More... | |
| double | THETA |
| the arclength theta More... | |
Definition at line 16 of file ArcLength_base.h.
|
inline |
Definition at line 20 of file ArcLength_base.h.
|
inlinevirtual |
Definition at line 28 of file ArcLength_base.h.
|
protected |
The extra constraint that is to be used to replace the unknown arc length.
Definition at line 81 of file ArcLength_base.cpp.
References CppNoddy::DenseVector< _Type >::size().
| double & CppNoddy::ArcLength_base< _Type >::arcstep_multiplier |
Used to set the multiplication constant used when increasing or decreasing the arclength step.
Definition at line 18 of file ArcLength_base.cpp.
| double & CppNoddy::ArcLength_base< _Type >::desired_arc_proportion |
Handle to the desired proportion of the parameter to be used in the arc length solver.
If this parameter is 1, then the system is effectively doing zero-order continuation in the secondary parameter.
Definition at line 33 of file ArcLength_base.cpp.
Referenced by main().
| double & CppNoddy::ArcLength_base< _Type >::ds |
Return a handle to the arclength step.
This is normally done via the init_arc method, but one can use this to change the setting post-initialisation.
Definition at line 13 of file ArcLength_base.cpp.
| void CppNoddy::ArcLength_base< _Type >::init_arc | ( | DenseVector< _Type > | x, |
| _Type * | p, | ||
| const double & | length, | ||
| const double & | max_length | ||
| ) |
Initialise the class ready for arc-length continuation.
This will ensure that x is a solution at the current parameter value and compute the required derivatives with respect to the parameter.
| x | The initial guess at a solution |
| p | A pointer to the required parameter |
| length | Initial arc-length step to take |
| max_length | Maximum absolute arc length step permitted |
Definition at line 53 of file ArcLength_base.cpp.
Referenced by main().
|
inlineprotected |
The derivative of the arclength_residual function with respect to each of the state variables.
When arc-length continuing boundary value problems you would NOT want to finite-difference this since vector lengths will be of the order of 10^3.
| x | The state vector. |
Definition at line 94 of file ArcLength_base.h.
References CppNoddy::ArcLength_base< _Type >::LAST_X, CppNoddy::DenseVector< _Type >::size(), and CppNoddy::ArcLength_base< _Type >::THETA.
| bool & CppNoddy::ArcLength_base< _Type >::rescale_theta |
Handle to the RESCALE_THETA flag.
If true the arclength theta will be rescaled to balance the relative importance of the state variables and the parameter.
Definition at line 23 of file ArcLength_base.cpp.
Referenced by main().
|
pure virtual |
Compute a solution for that state & parameter variables that are an arc-length 'ds' from the current state.
virtual void arclength_solve( DenseVector<_Type> &x ) = 0; Solve the system for a given initial guess.
| x | The initial guess for the system. |
Implemented in CppNoddy::Newton< _Type >.
Definition at line 38 of file ArcLength_base.cpp.
| double & CppNoddy::ArcLength_base< _Type >::theta |
Set the arclength theta parameter.
Definition at line 28 of file ArcLength_base.cpp.
Referenced by main().
|
protected |
A method called by arclength_solve and init_arc which stores the current converged state and parameter and hence computes the derivatives w.r.t the arc-length.
Definition at line 42 of file ArcLength_base.cpp.
|
protected |
Automatically update the Keller THETA such that the proportion of the arclength obtained from the parameter is the desired value.
This method will only have any effect of the RESCALE_THETA flag is true.
Definition at line 88 of file ArcLength_base.cpp.
References CppNoddy::DenseVector< _Type >::size().
|
protected |
step change multiplier
Definition at line 123 of file ArcLength_base.h.
|
protected |
size of the arc length step
Definition at line 119 of file ArcLength_base.h.
|
protected |
for the arc-length solver - to show it has been initialised
Definition at line 125 of file ArcLength_base.h.
|
protected |
parameter value at the last computed solution
Definition at line 115 of file ArcLength_base.h.
|
protected |
state variable at the last computed solution
Definition at line 111 of file ArcLength_base.h.
Referenced by CppNoddy::ArcLength_base< _Type >::Jac_arclength_residual().
|
protected |
maximum arc length step to be taken
Definition at line 121 of file ArcLength_base.h.
|
protected |
pointer to the parameter in arclength solves
Definition at line 109 of file ArcLength_base.h.
|
protected |
derivative of the parameter w.r.t arc length
Definition at line 117 of file ArcLength_base.h.
|
protected |
the arclength theta
Definition at line 127 of file ArcLength_base.h.
Referenced by CppNoddy::ArcLength_base< _Type >::Jac_arclength_residual().
|
protected |
derivative of the state variable w.r.t. arc length
Definition at line 113 of file ArcLength_base.h.
© 2012
R.E. Hewitt


After attending the Nextcloud Conference 2017 and helping out at the Fosdem 2018 Nextcloud booth, I look forward to joining the other Nextclouders again, this time for a hackweek. I’m always up for some hacking.
Fosdem 2018
Nextcloud contributors from all over the world will gather in Stuttgart for a hackweek from the 9th of April to the 13th of April. During Nextcloud hackweeks, nextclouders focus on coding: going through issues, discussing and fixing them, and so on.
Jona Azizaj and I were Rails Girls Summer of Code students working on Nextcloud during the summer 2017. RGSoC is a dedicated scholarship program that aims to foster diversity in Open Source since 2013. This scholarship offered us a great opportunity to shape and develop our programming skills more.
Team Codeaholics at Nextcloud Conference. (Photo: Christoph Wurst, Creative Commons Attribution-Share Alike 4.0 International.)
Nextcloud will be one of the RGSoC projects again this year and I am delighted to see there are so many applications submitted to this project. I’m looking forward to the Hackweek, especially because I will meet Jessica and Arati, the Rails Girls Summer of Code 2018 students, and I will share my experience from last year with them, but also work together to fix some issues. I’m planning to contribute again to Contacts App as I know it better than the other applications, Gallery App because it has some good starter issues and I would like to challenge myself a bit with also working on the Full-Text Search.
#HappyHacking


Question #1
Which word doesn't belong in the group?
Question #2
Which word doesn't belong in the group?
Question #3
Which word is NOT a type of dinosaur?
Question #4
Which word is NOT a kind of fish?
Question #5
Which word is NOT a kind of dog?
Question #6
Which word is NOT a type of lizard?
Question #7
Which word doesn't belong in the group?
Question #8
Which word is NOT a kind of insect?
Question #9
Which character is NOT in the Lion King?
Question #10
Which character is NOT in the Jungle Book?


To get your first provisional driving licence online for a car, motorcycle or moped you must:
- be a resident of Great Britain – there’s a different service in Northern Ireland
- meet the minimum age requirement
- meet the minimum eyesight requirement
- not be prevented from driving for any reason
- pay £50 by MasterCard, Visa, Electron, Maestro or Delta debit or credit card
- have a valid UK passport or other form of identity
- have your National Insurance number if known
- provide addresses where you’ve lived for the last 3 years


Ani Machine
Declarative animation and machine state
Trigger & Reveal Animation
Trigger Reveal Animation
Animation Element Event
Before & After Callback
Advanced Animation
Transform Animation
Shake Animation


I have noticed a lot of confusion and differing views around which is better, using the distribution’s package manager or using the package manager that comes with a certain programming language. I have thought about this problem a lot recently since I had to make some decisions about it recently. This post is about my opinions on the topic.
I am for using a 3rd party package manager to manage packages provided by a 3rd party repository. The following are reasons for using a 3rd party package manager:
- The 3rd party package manager already has access to the whole repository, so you will be able to install all the packages.
- Upstream usually knows the best way or can be configured to act in the best interest of the user.
- This lessens the burden of the distro package managers. Why repackage something that is already packaged?
The first point states that since the 3rd party package manager was specifically built to access and install from the 3rd party repository (e.g. gem for rubygems), it will be able to install any package from that repository. This is contrary to using the distro’s package manager, where package maintainers now have the burden to repackage all packages provided by the 3rd party repository. In practice, I have yet to be shown a distro that successfully, and fully repackages a 3rd party repository that has it’s own package manager. For example, debian provides a lot of official packages for rubygems, yet from my own personal experience, people who use ruby and debian actively avoid debian’s ruby’s gem packages because they are either too outdated or because there are some packages which haven’t been repackaged by debian.
The second point states that if you use the 3rd party package manager, you will most likely find the same behavior across all distros that use that package manager. Upstream also can change and restructure formats and be able to easily adapt to the changes. They are providing a common platform to access their repository across all distros.
The third and final point I have is that there would be a huge duplication of effort in my opinion if a distro decided to repackage a 3rd party repository successfully. For example, rubygems.org has 2398 packages that would need to be packaged to provide the same coverage as you get from gem. This means you will increase the amount of work per 3rd party repository by a huge amount. Even if you were to automate recreating packages for you distro’s package manager, you would still have to take care of lots of edge cases where there are bugs or some kind of failures.
Another thing to consider is what happens when someone repackages the whole repository (or close to it) and then they leave. This creates an unimaginable amount of old and useless packages. A case like this already happened with archlinux a while ago with arch-haskell when the maintainers decided to stop updating archlinux’s packages that repackaged haskell’s packages. Now there are about 1700 orphaned, useless, and outdated haskell packages in the AUR.
The only cases that I think justify repackaging a 3rd party package are:
- If you want to provide a certain program that is in the 3rd party repository that you can’t easily install using the 3rd party package manager.
- It is a dependency of the first case.
- There is no official, and obviously popular 3rd party package manager.
The first point lets a maintainer choose certain important packages which might be hard to install or are critical for some applications. As an example, the only package that I repackage for haskell is cabal-install which is the 3rd party package manager for haskell. This will give people the option to easily install the 3rd party package manager which might not be obvious to install using other means.
The second point is a prerequisite for the first case, there’s usually no way around it if it’s a dependency.
The third point is to cover cases where the packages might have a central location, but it might not be the only place to get the packages from. Also if the package manager doesn’t do a good job of building and cleanly installing the 3rd party packages.
I have been packaging python packages for a while, and have avoided using pip to install python packages, mainly because at the time when I was learning python, using pip wasn’t very popular. I might consider switching over to it after doing some investigation into how it works and how it can be configured.
Hopefully this post helps others and helps me organize my thoughts on the topic.
Cheers!
update: I have reviewed the current situation with python and pip on archlinux and I prefer using pacman for python packages now. The reason is that there are already so many well maintained python packages. Also because pip doesn’t support a way to easily upgrade all the packages which is something pacman provides. If it became more gem like providing the benefits of gem over pacman, I would consider using it for everything. Basically there is almost no incentive for me to switch, and there is a loss of functionality if I switched.


{{header}}
Store your
bitcoin
worry-free.
How to use this Bitcoin wallet
Secure way to store your bitcoin!
User Friendly?
Generally Magical?
Fret no more, XBT wallet is here!
Sign in
using your google account
Created by: Liezl Puzon
{{footer}}


VSL // Video Remix
* This is the first example of musical video
today’s Very Short List:
tech 12 May 2014
Eclectic Method
Subscribe
* Whenever my head is getting big, I watch this video
* I became totally obsessed with video remixers Coldcut, so I hunted them down and they recommended I check out EBN, the New York AV remixers
http://link.nyobserver.com/516ca68465217dc6e1b9a3a61kprz.bfg/TvnrKi0WTdwTHwxwC2409
delightful e-mail that shares
cultural gems from a
different curator every day.
If you have any problems reading this e-mail, click here
http://link.nyobserver.com/516ca68465217dc6e1b9a3a61kprz.bfg/UHyHCJsf7NZSKXrPC2c3e
Subscribe
Forward
My Account
Unsubscribe
food 9 May 2014
Kelly Senyei gets cookin’.
culture 7 May 2014
Carly Ayres on the birds and the bees.
tech 5 May 2014
Netta Samroengraja on culture and company in a start-up world.
Editorial Policy
Privacy Policy
Contact Us
Press
Terms + Conditions
very fine print: ©2014
Observer VSL LLC.
321 West 44th Street, 6th Floor
New York, NY 10036 USA
All rights reserved.
Questions?<PHONE_NUMBER>.
This message was intended for<EMAIL_ADDRESS>If you believe this has been sent to you in error, please safely unsubscribe


Your account is locked for {{cooloff_time}} seconds


[]. COVID- {border-style px;} #ffffff;} jails prisons [cited cases pandemic Sciences social px; {font-family Prison States United deaths font-size including African SARS-CoV- coronavirus double; infection inside large number outbreaks staff Colorado, border-color border-width confirmed correctional health novel people solid; spread transmission {font-style {font-weight Hispanic Law Medicine Medicine, Pathogens US, [â€"]. bold courier; distancing em; from: incarceration inmates institutions larger population prisoners pt;} settings viral


Scotts Taikoo Li Restaurant / Unknown Works
- Curated by Paula Pintos
- about 6 hours
Restaurant · Chengdu Shi, China
- ArchitectsAuthors of this architecture project Unknown Works
- AreaArea of this architecture project 32.0 m2
- Project YearBrands with products used in this architecture project 2019
- ManufacturersBrands with products used in this architecture project Adobe, Anhui GeRen Intelligent Technology, AutoDesk, Chaos Group, Faro, Fujian Minqing Oya Ceramics, Jiangsu Lingzhi FRP, Max Production
- Lead Architects Unknown Works
- Design Team Kaowen Ho, Ben Hayes, Theo Games Petrohilos
- Clients Jimmy Yu / Swire Properties
- Contractor IH partners
- CNC Manufacturer MAX Production Co Ltd
More Specs Less Specs
Text description provided by the architects. Fish and chip shops from around the UK were 3d scanned by London and Hong Kong based creative studio Unknown Works, and digitally replicated to form the active, unfolding facade of this concept restaurant in Chengdu, China.
When Xi Jinping visited Scott’s Fish and Chip shop in York in 2015, the restaurant gained a new and international audience and a deal was struck to take the chippie to China, making it the first of its kind in the country.
The tiny 33sqm restaurant sits within Taikoo Li, an upmarket shopping district in the heart of Chengdu, China’s fourth largest city. The site is located at a prominent corner junction within the Swire Properties owned estate. With the interior space being so limited for dine-in guests and the exterior envelope being such a visible marker of the site, it was immediately obvious that the facade itself should play the key role in the project - forming both an active space for restaurant goers to inhabit as well as being the conceptual framework for the entire restaurant.
The concept was formalised through 3D scans of existing textures, patinas, interiors and exteriors of a variety of fish and chip restaurants around the UK, including the original Scotts. Meticulous details and idiosyncrasies such as ornate facades, joinery details, salt shakers, fishy trinkets and even down to wallpaper textures have been digitally captured and replicated. The digital point cloud data collected through lidar scanning and photogrammetry were processed to form a library of architectural elements that form the facades for Scott’s TKL.
The new and active facade is made from alabaster white Glass Reinforced Plastic (GRP). Specialist contractors normally appointed in the fabrication of oversized mascots for Disneyland and film sets for Marvel used large-scale 5 axis CNC milling machines to carve the reusable moulds for each of the 1.1m x 3m doors which were then lined, cured, and hand finished.
Each door that makes up the facade unfolds to form both the characterful face to the newly transplanted chippy as well as acting as the integrated furniture for this compact but prominent intervention. Tables unfold from the centre of each panel giving each diner a framed view of their neighbours.
The layout of the internal kitchen follows a weaving, customer-facing counter, creating a linear experience of the preparation, cooking and packing process. The interior has been pared back to a graphic white tiled grid that covers the floors, walls, counter and continues to form hidden doors that conceal a myriad of storage spaces.
Scotts TKL is the first embodiment in a series of international outposts of the traditional chippie reimagined for China. Taking the notion of ‘Shanzai’, a term describing the act of copying and imitation that is so often indiscriminately directed at Chinese commerce, this project aims to frame the discussion around the guises of what cultural exchange, dialogue and trade can take in modern Sino-British relationships.


To Hell In A Handbasket
"Event Horizon" manages to raise the notion of "preposterous" to new heights.
What starts out as a promising premise, that of a derelict space ship on the edge of the solar system which has returned as a ghost ship from parts unknown, degenerates into an incomprehensible mess.
A rescue team led by Larry Fishburne is joined by the nightmare-prone scientist, Sam Neil, on a mission to rescue the Event Horizon and any surviving crew. For seven years the ship had been Somewhere, after trying out a new gravity drive which is supposed to use loopholes in relativity for effectively faster than light travel.
 All of that sounds like it should work. It doesn't.
The dialogue is by turns forced, silly, on the nose, or pure exposition. The plot devices have blinking red lights on them so you can't miss them.  (How about a guy in a space suit, floating outside a window, yelling and being heard from inside?)
The movie is nearly devoid of content and has to rely on cheap tricks in an attempt to startle the audience. Laughably loud edits and buckets of fake blood are but desperate band-aids over the holes through which air from the theatre is rushing in to fill the void. I got the impression more than once that it was made by people who as children stuck their friends' hands in buckets of cold spaghetti and peeled grapes on Halloween.
Here is your official "Event Horizon" sound designer guide:
1: All doors sound like full volume explosions when they open.
2: Anything that passes near the camera makes a whooshing noise.
As a fitting finish, the closing credits run over something that was no doubt performed by people who would describe themselves as musicians, but who managed only to produce an unpleasent noise apparently designed to drive the remaining stragglers from the theatre.
Somone in the parking lot elevator after the movie said, "Maybe we should have seen 'George of the Jungle' instead."
Ditto.
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


Before Change
mean = mean.A1
mean_sq = mean_sq.A1
else:
mean_sq = np.multiply(X, X).mean(axis=0)
// enforece R convention (unbiased estimator) for variance
var = (mean_sq - mean ** 2) * (X.shape[0] / (X.shape[0] - 1))
else:
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler(with_mean=False).partial_fit(X)
After Change
def _get_mean_var(X):
if sparse.issparse(X):
mean, var = sparse_mean_variance_axis(X, axis=0)
else:
if STANDARD_SCALER_FIXED:
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler(with_mean=False).partial_fit(X)
mean, var = scaler.mean_, scaler.var_
else:
mean = X.mean(axis=0, dtype=np.float64)
var = X.var(axis=0, dtype=np.float64)
// enforce R convention (unbiased estimator) for variance
var = var * (X.shape[0] / (X.shape[0] - 1))
return mean, var


public static final class FieldComparator.FloatComparator extends FieldComparator.NumericComparator < Float >
FieldCache.getFloats(org.apache.lucene.index.IndexReader, java.lang.String)
and sorts by ascending value
FieldComparator.ByteComparator
,
FieldComparator.DocComparator
,
FieldComparator.DoubleComparator
,
FieldComparator.FloatComparator
,
FieldComparator.IntComparator
,
FieldComparator.LongComparator
,
FieldComparator.NumericComparator
<
T
extends
Number
>,
FieldComparator.RelevanceComparator
,
FieldComparator.ShortComparator
,
FieldComparator.StringComparatorLocale
,
FieldComparator.StringOrdValComparator
,
FieldComparator.StringValComparator
docsWithField
,
field
,
missingValue
| Modifier and Type | Method and Description |
|---|---|
int
|
compare
(int slot1,
int slot2)
Compare hit at slot1 with hit at slot2.
|
int
|
compareBottom
(int doc)
Compare the bottom of the queue with doc.
|
void
|
copy
(int slot,
int doc)
This method is called when a new hit is competitive.
|
void
|
setBottom
(int bottom)
Set the bottom slot, ie the "weakest" (sorted last)
entry in the queue.
|
void
|
setNextReader
(
IndexReader
reader,
int docBase)
Set a new Reader.
|
Float
|
value
(int slot)
Return the actual value in the slot.
|
binarySearch
,
binarySearch
,
compareValues
,
setScorer
public int compare(int slot1, int slot2)
FieldComparator
compare
in class
FieldComparator
<
Float
>
slot1
- first slot to compare
slot2
- second slot to compare
public int compareBottom(int doc)
FieldComparator
FieldComparator.compare(int,int)
} as if bottom were slot1 and the new
document were slot 2.
For a search that hits many results, this method will be the hotspot (invoked by far the most frequently).
compareBottom
in class
FieldComparator
<
Float
>
doc
- that was hit
public void copy(int slot, int doc)
FieldComparator
copy
in class
FieldComparator
<
Float
>
slot
- which slot to copy the hit to
doc
- docID relative to current reader
public void setNextReader( IndexReader reader, int docBase) throws IOException
FieldComparator
setNextReader
in class
FieldComparator.NumericComparator
<
Float
>
reader
- current reader
docBase
- docBase of this reader
IOException
public void setBottom(int bottom)
FieldComparator
FieldComparator.compareBottom(int)
is
called, you should compare against this slot. This
will always be called before
FieldComparator.compareBottom(int)
.
setBottom
in class
FieldComparator
<
Float
>
bottom
- the currently weakest (sorted last) slot in the queue
public Float value(int slot)
FieldComparator
value
in class
FieldComparator
<
Float
>
slot
- the value


See: Description
| Interface | Description |
|---|---|
| CounterMonitorMBean |
Exposes the remote management interface of the counter monitor MBean.
|
| GaugeMonitorMBean |
Exposes the remote management interface of the gauge monitor MBean.
|
| MonitorMBean |
Exposes the remote management interface of monitor MBeans.
|
| StringMonitorMBean |
Exposes the remote management interface of the string monitor MBean.
|
| Class | Description |
|---|---|
| CounterMonitor |
Defines a monitor MBean designed to observe the values of a counter
attribute.
|
| GaugeMonitor |
Defines a monitor MBean designed to observe the values of a gauge attribute.
|
| Monitor |
Defines the part common to all monitor MBeans.
|
| MonitorNotification |
Provides definitions of the notifications sent by monitor MBeans.
|
| StringMonitor |
Defines a monitor MBean designed to observe the values of a string
attribute.
|
| Exception | Description |
|---|---|
| MonitorSettingException |
Exception thrown by the monitor when a monitor setting becomes invalid while the monitor is running.
|
Provides the definition of the monitor classes. A Monitor is
an MBean that periodically observes the value of an attribute in
one or more other MBeans. If the attribute meets a certain
condition, the Monitor emits a MonitorNotification
. When the monitor MBean periodically calls
getAttribute
to retrieve the value of the attribute being monitored it does
so within the access control context of the
Monitor.start()
caller.
The value being monitored can be a simple value
contained within a complex type. For example, the MemoryMXBean
defined in
java.lang.management has an attribute
HeapMemoryUsage of type MemoryUsage
. To monitor the
amount of used memory, described by the used
property of MemoryUsage, you could monitor
"HeapMemoryUsage.used". That string would be the
argument to setObservedAttribute
.
The rules used to interpret an ObservedAttribute like "HeapMemoryUsage.used" are as follows. Suppose the string is A.e (so A would be "HeapMemoryUsage" and e would be "used" in the example).
First the value of the attribute A is obtained. Call it v. A value x is extracted from v as follows:
CompositeData
and if v.get
(e)
returns a value then x is that value.Introspector.getBeanInfo
, for the class of v
(v.getClass()) identifies a property with the name
e, then x is the result of reading the property value. The third rule means for example that if the attribute HeapMemoryUsage is a MemoryUsage, monitoring "HeapMemoryUsage.used" will obtain the observed value by calling MemoryUsage.getUsed().
If the ObservedAttribute contains more than one period, for example "ConnectionPool.connectionStats.length", then the above rules are applied iteratively. Here, v would initially be the value of the attribute ConnectionPool, and x would be derived by applying the above rules with e equal to "connectionStats". Then v would be set to this x and a new x derived by applying the rules again with e equal to "length".
Although it is recommended that attribute names be valid Java
identifiers, it is possible for an attribute to be called
HeapMemoryUsage.used. This means that an
ObservedAttribute that is HeapMemoryUsage.used
could mean that the value to observe is either an attribute of that
name, or the property used within an attribute called
HeapMemoryUsage. So for compatibility reasons, when the
ObservedAttribute contains a period (.), the monitor
will check whether an attribute exists whose name is the full
ObservedAttribute string (HeapMemoryUsage.used in the
example). It does this by calling getMBeanInfo
for the observed MBean and looking for a contained MBeanAttributeInfo
with the given
name. If one is found, then that is what is monitored. If more than one
MBean is being observed, the behavior is unspecified if some of them have
a HeapMemoryUsage.used attribute and others do not. An
implementation may therefore call getMBeanInfo on just one of
the MBeans in this case. The behavior is also unspecified if the result
of the check changes while the monitor is active.
The exact behavior of monitors is detailed in the JMX Specification. What follows is a summary.
There are three kinds of Monitors:
A CounterMonitor
observes attributes of integer
type. The attributes are assumed to be non-negative, and
monotonically increasing except for a possible
roll-over at a specified modulus. Each
observed attribute has an associated threshold
value. A notification is sent when the attribute exceeds
its threshold.
An offset value can be specified. When an observed value exceeds its threshold, the threshold is incremented by the offset, or by a multiple of the offset sufficient to make the threshold greater than the new observed value.
A CounterMonitor
can operate in
difference mode. In this mode, the value
compared against the threshold is the difference between
two successive observations of an attribute.
A GaugeMonitor
observes attributes of numerical type. Each
observed attribute has an associated high
threshold and low threshold.
When an observed attribute crosses the high threshold, if the notify high flag is true, then a notification is sent. Subsequent crossings of the high threshold value will not trigger further notifications until the gauge value becomes less than or equal to the low threshold.
When an observed attribute crosses the low threshold, if the notify low flag is true, then a notification is sent. Subsequent crossings of the low threshold value will not trigger further notifications until the gauge value becomes greater than or equal to the high threshold.
Typically, only one of the notify high and notify low flags is set. The other threshold is used to provide a hysteresis mechanism to avoid the repeated triggering of notifications when an attribute makes small oscillations around the threshold value.
A GaugeMonitor
can operate in difference
mode. In this mode, the value compared against the
high and low thresholds is the difference between two
successive observations of an attribute.
A StringMonitor
observes attributes of type
String
. A notification is sent when an
observed attribute becomes equal and/or not equal to a
given string.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.


{% extends "base.html" %} {% block title %}Home{% endblock %} {% block content %}
iRAP UI is a web interface designed to interact with the iRAP pipeline. iRAP is a flexible computational pipeline for RNA-seq that integrates many existing tools for filtering and mapping reads, quantifying expression and testing for differential expression. It is aimed at a broad group of users with basic bioinformatics training and requires little experience with the command line but also provides more advanced users with the ability to customise the options used by their chosen tools.


This keyboard is designed for any languages using the Khmer script. This keyboard is very similar to the Khmer ABS keyboard, but it is a Unicode keyboard.
© 2002-2019 SIL International


{% extends "layout.html" %} {% block body %}
Wikimetrics is a web application. There are three concepts you, the user, should be aware of:
A cohort is a list of users. All users can belong to the same wiki project or each can specify a different project. Cohorts can be defined in CSV files and uploaded here. Examples of useful cohorts might be: Wikipedia editors that participated in an outreach event, Wikimedia Commons users that are also active on other Wikis, and so on.
A metric is a measure of some type of on-wiki activity. Metrics are easy to implement if you develop in Python or if you can show that a new type of measurement might be useful. In the latter case, either the analytics team or community members are likely to help you implement a new metric. To contribute code, please have a look at our repository.
A report is a way for you to ask for the results of a metric applied to a cohort. The reports are run asynchronously on a Celery queue and the results show up when they're ready, on the reports page.
You can access Wikimetrics by logging in and authenticating using your Wikipedia/Wikimedia account or a Google account. Wikimetrics welcomes all. :)
Please also see Support for more help, or contact us.


--- permalink: /404.html layout: landing ---
The requested page could not be found. Blog index | Main site


Colors
Use color for communication over decoration.
Use of color should be purposeful, accessible, and help focus
attention to what matters most.
We strive to establish recognizable patterns to guide users through the UI.
CommCare uses similar palettes on both the mobile and server side.
When combining colors, use white, light or bright text on a dark background.
Use dark, black, or medium text on a light background.
Use white or light text on a medium background.
As described above, many people are affected by various types of color blindness.
It is important to make sure that colors are never the source
of critical information. Also, when colors are used to compare information
(legend of a bar or line chart) it is important that the colors used
can be differentiated by people with each type of color blindness.
Colors for messaging and attention
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.RED %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.YELLOW %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.GREEN %}
Colors for interaction
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.ACTION %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.BLUE %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.ACCENT_TEAL %}
Default and neutral colors
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.BLACK %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.BACKGROUND %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.NEUTRAL %}
Colors for signup
The user signup and login flows use a slightly different color palette than the rest of HQ
so that they better match dimagi.com. Do not use these colors once the user is logged in.
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.SIGNUP_PURPLE %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.SIGNUP_PURPLE_INVERSE %}
Legacy colors
Minimize use of these colors.
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.ACCENT_PURPLE %}
{% include 'styleguide/_includes/atoms/colors/swatch.html' with swatch=swatches.ACCENT_ORANGE %}


#include <fmt_spec.hpp>
Collaboration diagram for iof::fmt_spec:
Warning: the string is assumed to start the format specification. I.e. if first char of format spec is '' it will be set the fill char to ''.
Public Member Functions | |
| fmt_spec (const std::string &fmt) | |
| void | operator= (const std::string &fmt) |
| bool | operator== (const std::string &fmt) const |
| bool | operator== (const fmt_spec &rhs) const |
| bool | operator!= (const fmt_spec &rhs) const |
| const std::string & | str () const |
| template<typename TT> | |
| iof_private::formatted< TT > | operator() (const TT &obj) const |
| Create a temporary "formatted" object. |


Run Java program in debug mode
What is Debugging -to find and fix bugs in software
breakpoint - a pausing point in a program, put in place to find and fix the bug. (double click on margin line where you want to put break-point, to remove double click on break-point ).
We will have breakpoint view and variable view ( windows>show view)
Resume - F8 (GO HEAD pause at next breakpoint if any).
Terminate - Cntrl + F2 or stop button.
Step Over - F6 ( if breakpoint is at line 11, when you run the java application in debug mode it is paused at line 11. So when you press F6 line 11 is executed and the control is given to next line ie; line 12).
Step Into - F5 (go into Method Invocation).
step into selection - if we have like Util.Method().getSomeMethod().get(0); and if we press f5 we will go to Method(), what if we want to go to get(0) so select get(0) and press Cntrl+F5.
Step Return - F7 (now i went inside a method invocation and want to come back to the place i was use step return which does opposite of Step Into).
"you can skill all breakpoints, remove all breakpoints in the options from breakpoint view".
"HELPFUL COMMANDS"
Run into Line - go to that line without placing breakpoint ( Cntrl + R).
Inspect - Cntrl + Shift + I - inspect the values.
Execute - executes the selected expression ( Cntrl + U)
Watch - using watch we can create custom expressions and evaluate( if we have i and j we can see i+j, i-j, i*j, etc)
Show Logical Structures button -useful while debugging collection objects.
"We can also changing Variable values during debugging".
Display View - see what code is doing. copy the code and put it in display view and execute.
if there s like Util.listMethod().getsubMethod().get(0); and you want the size of listMethod() then use display view; copy Util.listMethod().size() and execute.Detail Formatter - if we get the value in hexa; if we want it to be more readable. right click and select detail formatter.
Conditional Breakpoint - hit the break point if the value is something also hitcount is useful in cases of iteration.
Exception Breakpoint - if there is exception pause the program ( in breakpoint view options)


{include file="public:head" /}
{include file="public:nav" /}
搜索文章
关键词:{$keyword}
{foreach $newsList as $key=>$val}
{$val.news_title}
{$val.news_scontent|msubstr=0,30}
{/foreach}
{$page}
{include file="public:rightslider" /}
{include file="public:footer" /} {include file="public:scripts" /}


function Area(const Polygon: TArrayOfFloatPoint): Double;
This function returns the area of the supplied polygon. Polygons with a clockwise orientation have a positive area and polygons with a counter-clockwise orientation have a negative area.


Man Utd target Jadon Sancho hauled off in Borussia Dortmund defeat to Bayern Munich
The England star was substituted 36 minutes into his side's 4-0 defeat in 'Der Klassiker'
by Hassan RashedEngland star Jadon Sancho was substituted after just 36 minutes during Borussia Dortmund's heavy defeat to Bundesliga rivals Bayern Munich.
The 19-year-old was replaced by Portugal international Raphael Guerreiro during the first half of Saturday's 4-0 thrashing in 'Der Klassiker' - while Dortmund were one goal down.
Sancho had been a doubt for the match after he suffered a hamstring injury during his side's 3-2 win over Inter Milan in the Champions League on Tuesday.
It was initially feared that the former Manchester City youngster had aggravated the same problem, but manager Lucien Favre insisted that his decision to replace him was due to tactical reasons.
"He was not injured, he trained yesterday," Favre said after the game (via The Mail ).
"I had to go on what I was seeing and, to be honest, it was not good enough."
Sancho, who has been heavily linked with the likes of Chelsea and Manchester United , was recently included in Gareth Southgate's squad for the upcoming European Qualifiers against Montenegro and Kosovo.
A week after being convincingly beaten 5-1 by Eintracht Frankfurt, Bayern followed-up Wednesday's 2-0 European win over Olympiacos with a dominant display in their first league game since Hansi Flick took over as interim boss after Niko Kovac's sacking.
Robert Lewandowski continued his stunning start to the season in front of goal, scoring twice to take his tally to 16 goals from his first 11 Bundesliga games.
The Polish forward opened the scoring after 17 minutes at Allianz Arena to give his side a 1-0 lead at the break.
And the defending champions took full control of the game after the break, with Serge Gnabry doubling the lead just two minutes after the restart.
Lewandowski added his second with a quarter of an hour to go, and Dortmund defender Mats Hummels confirmed the three points for his former club by putting the ball into his own net four minutes later.
The result leaves Bayern third in the table, one point behind leaders Monchengladbach and trailing RB Leipzig on goal difference, while Dortmund drip to fifth with 19 points.


Essays
An essay is, generally, a scholarly piece of
writing that gives the author’s own
argumentâ€”but the definition is vague,
overlapping with those of an article, a
pamphlet, and a short story.
– Wiki
| Date | Essay |
|---|---|
| 2022-03-30 | OPNSense on MinnowBoard |
| 2021-01-10 | Energy Monitoring using Smart plug and Raspberry Pi |
| 2018-01-07 | Understanding
GenServer |
| 2017-05-28 | Vim Tutorial |
| 2016-12-01 | Reduction Direction |
| 2016-10-30 | TCP to C10k: HTTP Server Implementation |
| 2016-07-20 | Git Tutorial |
| 2016-05-19 | Unix Permissions 101 |
| 2016-03-30 | Keywords |
| 2016-03-19 | Speeding Up Emacs |
| 2016-02-07 | Asyncrhonous |


Search All Elements
Search Tips:
- Use the plus symbol on the left of each row to see any data that doesn't fit on the page
- The search box looks for text matches in all fields and is not case-sensitive
- You can enter multiple search terms - just put a space between them


(out of ****)
Chinese Box (R) ** Comrades: Almost a Love Story **** Director Wayne Wang is understandably passionate about China's July 1, 1997 takeover of Hong Kong; having been born and raised there, and it is not surprising that he chose to address the issue in a film. But instead of taking the predictable route and focusing on the politics of the changeover, Wang, with the help of writers Jean-Claude Carriere, Larry Gross, and Paul Theroux, decided to use the upheaval as the backdrop for a love story. Not a bad decision in theory, but definitely one in practice, for the resulting film, the disappointing Chinese Box, is as cold and uninteresting as a smaller HK-set romance currently in release, the modest HK production Comrades: Almost a Love Story, is lively and touching. The obvious passion that Wang has for his homeland does not visibly extend his two tortured lovers, John (Jeremy Irons) and Vivian (Gong Li). John is a terminally ill British journalist who has lived in Hong Kong for 15 years; former Mainlander Vivian is a bar owner trying to live down her past as a prostitute. John, who left behind a wife and children in England, is deeply in love with Vivian, but her foolish hope that high-society boyfriend Chang (Michael Hui) will marry her keeps them apart. This should be an involving triangle, but it never once engages the emotions, due in large part to the ill-defined backstory between John and Vivian. What passes for insight comes in the form of a brief, dialogue-free, and extremely vague flashback in which John, through a voiceover, says in so many words that he and Vivian met in Shanghai, grew close, "should have" become lovers but did not. It is hard to develop a rooting interest in their potential romance if there is never a clear idea of the bond they supposedly share. Even more problematic is the character of Vivian--that is, if she even qualifies as one. The stunning Li is mainland China's premier actress, and anyone familiar with her work in films such as Ju Dou know that her exquisite beauty is more than matched by her formidable acting ability. However, anyone seeing her for the first time in Chinese Box will come away with a strong idea of the former but not the latter. Since this film marks Li's English-language debut, it is understandable that the filmmakers would keep her English lines to a minimum. But just how little dialogue she is given is beyond ridiculous: "What?", "John," "Your problem, I fix it," "Bye," "Excuse me," and "Thank you" covers about half of her lines; her dialogue in Chinese adds up to little more. So for most of her screen time, Li is called on to do little more than look gorgeous, with Vivian coming off as more of an object than a flesh-and-blood person. If anything holds any audience interest in Chinese Box, it is the supporting character of Jean, played by versatile Hong Kong superstar Maggie Cheung. Jean is a streetwise hustler whom John interviews for a video account of colonial Hong Kong's final six months, attempting to put a finger on the nation's "soul." Jean is a fascinating character, whose hardened exterior hides the deep emotional scars that match the one that brands her face; she was abused by her father as a child, and she still pines for the true love of her teen years, a Briton whose rejection of her prompted a suicide attempt. But much like the other threads in the film, her storyline does not reach a satisfying resolution, and the conclusions that Chinese Box does reach are simple and obvious. I am not spoiling anything when John comes to the ultimate realization that the elusive "soul" of Hong Kong is not defined but constantly changing. Hong Kong's perpetual evolution is also used as the backdrop for a romance in Peter Chan's 1996 decade-spanning masterpiece Comrades: Almost a Love Story, which also stars Cheung and is currently rolling out across the States on a city-by-city basis. The comrades of the title are Qiao (Cheung) and Xiaojun (Leon Lai), two native Mainlanders, who, as the film begins, live in Hong Kong. Their shared homeland is just about the only thing the worldly wise Qiao and the naive Xiaojun have in common. Xiaojun maintains strong ties to China, in Hong Kong only to earn enough money to marry his sweetheart back home while the ambitious Qiao hides her mainland origins, working every minute of the day to achieve her dream of a wealthy livelihood. The two first meet in 1986 at a McDonald's, where she holds down one of her numerous jobs. Although her involvement with him should end once she refers him to a language school (earning a commission, of course), the two form an unlikely and often humorous friendship that leads to love. It's just that the two are much too proud to admit to it--even as they spend more than one passionate night together. As the years pass, their chosen life paths take Qiao and Xiaojun in opposite directions (literally and figuratively), but fate constantly brings them back together, only to be pulled apart at every juncture by conflicting dreams, love affairs, or both. It sounds rather contrived, but the stream of plot developments that Chan and screenwriter Ivy Ho devise are entirely believable, which makes every reunion/breakup cycle all the more heartbreaking. The story's poignance is further elevated by the electric chemistry between Lai and Cheung, whose work here won her the 1997 Hong Kong Film Award (one of the film's nine, including Best Picture and Best Director) for Best Actress. Lai is quite good, but Cheung is the real marvel. Her wonderfully expressive features are used to full effect by Chan, whether to convey Qiao's spunky haughtiness at the beginning or her eventual soul-aching longing (a simple, late-in-the-film gaze she casts upon Xiaojun as he walks away from her car is particularly gut-wrenching). Both Chinese Box and Comrades: Almost a Love Story tell simple romances, but their difference in effect can be attributed to the effort behind it. The beauty of Comrades comes in how it does not try too hard; everything about it feels natural and real. On the other hand, Wang and company, as much as they wanted to make a Hong Kong story, were obviously straining for an idea; as such, what should have been the emotional hook of Chinese Box is forced and unconvincing, rendering that talent-heavy film shockingly impotent. (Chinese Box opens April 3)
Michael Dequina<EMAIL_ADDRESS>|<EMAIL_ADDRESS>|<EMAIL_ADDRESS><EMAIL_ADDRESS>|<EMAIL_ADDRESS><EMAIL_ADDRESS>|<EMAIL_ADDRESS>Mr. Brown's Movie Site: http://welcome.to/mrbrown Personal Page: http://welcome.to/w3md CinemaReview Magazine: http://www.CinemaReview.com
Michael Jordan Beyond the Court: http://fly.to/michaeljordan A Michael Jordan Fan's Heartbreak: http://fly.to/mj23
"I didn't know what to expect. It's like something you chase for so long, but then you don't know how to react when you get it. I still don't know how to react." --Michael Jordan, on winning his first NBA championship in 1991 ...or, my thoughts after meeting him on November 21, 1997
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


Forms angular comes with a small number of built-in forms that can be used to meet a vast number of requirements. They all use RESTful routes and handle querying and updating the server. Alternatively you can build your own forms using the directives provided by forms-angular.
forms-angular uses Twitter Bootstrap to lay out the forms. Mostly due to historical accident, versions 2.3.2 and 3.3.5 are supported by forms-angular (though only the latter is supported by the maintainers of Twitter bootstrap). By default 2.3.2 compliant markup is generated - you can switch to 3.3.5 by configuring the library as follows:
formsAngular.config(['CssFrameworkServiceProvider', function (CssFrameworkService) {
CssFrameworkService.setOptions({framework: 'bs3'});
}]);
For each model the following routes are supported:
/#/:model/new?r={"field1":"value1","field2":"value2"}
Each view created from the custom form schemas will also have routes generated to them which only differ in that they have the schema name added as an additional parameter after the model:
etc
These routes are set up by making a call such as:
myDemoApp.config(['formRoutesProvider', function (formRoutes) {
formRoutes.start({
routing: 'ngroute',
fixedRoutes: [
{route:'/index', options:{templateUrl: 'partials/landing-page.html'}},
{route:'/get-started', options:{templateUrl: 'partials/get-started.html'}},
{route: '/a-model/new', options: {templateUrl: 'partials/custom-new.html'}}, // example view override
{route: '/a-model/:id/edit', options: {templateUrl: 'partials/custom-edit.html'}}, // example view override
]
}]);
which specifies that we are using ngRoute for our routing (ui-router is also supported) and declares
several routes explicitly, two of which over-ride the built-in routes for a-model.
For registered models other than a-model, and for the other a-model routes the system creates routes automatically and use built-in templates - see details in the Input Form and Listing form.
The built-in templates can be over-ridden by creating your own templates and adding atemplateFolder
property
to the object passed to formRoutes.start()
. The
base-edit.html
and
base-list.html
both need
to be overridden (as does the
base-analysis.html
if the fng-reports plugin is used).
If you prefer HTML5Mode (which gives routes without the /#) then you can also use the
html5Mode: true,
hashPrefix: '!'
properties.
if you are using HTML5Mode ensure that your index.html file has
<base href="/">
in the header.
Whatever options are used, forms-angular will create the correct routes using
urlService.buildUrl(path)
which will add in hashes and prefixes to the path as required. This service can be used in your application so that
you can easily switch between modes without having to manually change all the internal links.
The form-input directive expands the schema into nice looking data capture form, but that is only a small part of the story. The built-in edit form also gives you:
Buttons to perform the usual Save, Cancel, New and Delete operations. forms-angular handles all the back-end stuff for you. There a number of keyboard short cuts that can be used in the forms. Hit ? to find out more. There are hooks that can be used to disable the buttons - see the Client Side Customization section.
The form button customisation is currently limited to over-riding the default enabled state of the buttons by defining functions in a controller for the model (or model and form). See here for an example.
You can specify an alternative edit form for an individual model or override all built-in models as shown in the Routes section above.
The listing routes (of the format /#/:model) are used to build a page containing a list of documents in the collection, showing the list fields. You can specify a sort order by adding a listOrder value to the model as shown in this model. Alternatively you can specify a sort order at run-time using the o parameter as in this example.
Listing routes support filters, such as
/#/b_enhanced_schema?f={"surname":"Smith"}
and calls to the aggregation framework, provided they project to an array of docs that contains an _id property which is used to select from the model. For example the (rather unpalatable)
/#/f_nested_schema?a=[{"$unwind":"$exams"},{"$sort":{"exams.score":1}},{"$group":{"_id":{"id":"$_id"},"bestSubject":{"$last":"$exams.subject"}}},{"$match":{"bestSubject":"English"}},{"$project":{"_id":"$_id.id"}}]
selects all students who did better in their English exam than any other subject. To find out how to use the aggregation framework refer to the MongoDB docs.
These can be combined (though there appears to be a problem unless the filter precedes the aggregation).
By default the list order is the MongoDB natural order. The default list order for a table can be set by specifying a listOrder option in the model definition (see g_conditional_field for an example).
The smallest form is the search form, in the navbar at the top of this page. It is implemented as a directive - global-search. When you enter text into it the controller makes a call to the server which looks for matching data by searching the indexed fields in each model for values starting with the search string.
You can restrict the search to a particular model by entering the model name, then a colon, then the search string. So searching for employees:John would exclude customers called John, etc. Entering collection: (with nothing following the colon) will return everything from the collection (up to the limit of search results that are returned).
There are a number of options that can be added to model exports to modify the search behaviour. Examples can be found in the model definitions files for f_nested_schema and g_conditional_field.
DataFormHandler.getResource('person').options.localisationData = [{from: 'person/customer', to: 'person/client', context: 'resource'},{from:'Customer', to:'Client', context: 'resourceText'}];
The form-input directive, which is the core component of forms-angular, takes one mandatory attribute - schema - which is documented at the top of the page and some optional attributes.
The optional attributes that can be passed for form-input are:
|
horizontalCompact / compact (default) |
| This layout generates forms that use the Bootstrap form-horizontal class and the forms-angular compact class (which mostly decreases vertical padding). |
|
vertical |
| This layout generates forms that use the default Bootstrap form styling. |
|
horizontal |
| This layout also generates forms that use Bootstrap form-horizontal class, but in this case do not change it. |
|
inline |
| This layout generates forms that use Bootstrap form-inline class. This layout is not supported for Array fields. |
|
stacked |
| This layout generates vertical forms with no labels (except for screen readers). This layout is not supported for Array fields. |
Forms and sub forms that are created by the directive will have these classes added in the appropriate place.
Additional functionality can be added by using "model controllers" which have the name of a model followed by Ctrl (or the name of the model followed by the name of the custom form followed by Ctrl. There is an sample model controller here which is used in the examples in this section. The NavCtrl controller handles the model controllers, so don't remove it. There are a few during the creation of a form when the model controllers are called:
The BaseCtrl scope has a variable called modelNameDisplay which is used in several places in the demo app. It defaults to the model name in title case, but can be over-ridden in the model controller.
The
Sometimes menu options only apply to a subset of records in a collection. In this case they can be hidden by specifying an isHidden($index) function or disabled using an isDisabled($index) function. For example to hide the option when a field has a certain value:
$scope.contextMenu = [{
text: 'Do something',
fn : function() {// some code},
isHidden: function() {
return $scope.record._id ? $scope.record.field === 'value' : true;
},
...
}];
A divider can be added to a menu:
$scope.contextMenu = [{
divider: true
},
...
}];
The form-input directive broadcasts a formInputDone message when it has processed a control. This can be acted on by the model controller. In our example we add a change handler to a select2 control which changes background color of a control group when the eye colour is changed. Try it, and then see how it is done at the bottom of this controller.
There are hooks before and after CRUD events as follows:
In all onBefore... cases passing an error back will stop the event completing. There is a trivial example of
how a data event hook might be used in this controller, which shows
how such event handlers are set up as properties of $scope.dataEventFunctions. In the case of the onBeforeCreate or onBeforeUpdate events the update/create
can be handled within the function by passing back the special err of '_update_handled_'. In these cases it will
usually be helpful to call baseScope.prepareForSave(cb: (error: string, dataToSave?: any) => void): void
to convert the client-side model into the format that needs to be written back to MongoDb.
There is also a hook (again a property on $scope.dataEventFunctions) which can be used to prevent deletion of sub documents.
There are hooks to override the default CRUD button enabled state behaviour. There is a trivial example which uses this capability to create a read-only view can be found in the controller here (which is much the same as using the /view routes family). The functions are passed three parameters: record, originalRecord and form and return a boolean, except in the case of isSaveDisabled, which can return a boolean or a string explaining what the problem is. This string is displayed when the user hovers over the disabled Save button.
You can also call onRecordChange function(data, old) which is useful for updating calculated fields etc.
It is possible to apply additional attributes to all elements of a certain type by passing it once in the form-input declaration. The available types are Control Group, Field or Label.
This can be achieved in two ways. Either as an attribute of the form-input element:
<form-input schema="formSchema" add-all-group="injected-element='with parameters'">
or via the controller by making it an attribute of scope:
$scope.addAllGroup="injected-attribute"
The three versions of this are:
For example if wished to inject a directive called 'hide-on-empty' to every individual control group then you would add:
add-all-group="hide-on-empty"
to the form-input declaration.
If declared in a controller then it will be applied to all child controllers. If declared in the form-input element the scope is limited to the individual form's scope. In this way a single declaration at the root scope is seem by all controllers.
Due to the parse method, in order declare multiple classes each class must be prefixed with 'class=' e.g.
<form-input schema="formSchema" add-all-group="injected-element='with parameters' class=myclass class=my-second-class">
It may be necessary to run an async process before generating a form - one use case is to complete a logging in process so that user data can be accessed. Ths can be done by setting up a
beforeProcess? : (scope: IFormScope, cb: (err: Error) => void) => void;
property in formsAngular.config() or formsAngular.run(). There is an example at the foot of formsAngular.config() in this module.
On the server side there are hooks around data events as follows:
There are examples of both in this model


Class: Aws::DynamoDB::Types::TableDescription
| Inherits: |
Struct
|
| Defined in: |
(unknown) |
Overview
Represents the properties of a table.
Returned by:
Instance Attribute Summary collapse
-
#attribute_definitions ⇒ Array<Types::AttributeDefinition>
An array of AttributeDefinition objects.
-
#creation_date_time ⇒ Time
The date and time when the table was created, in [UNIX epoch time][1] format.
-
#global_secondary_indexes ⇒ Array<Types::GlobalSecondaryIndexDescription>
The global secondary indexes, if any, on the table.
-
#item_count ⇒ Integer
The number of items in the specified table.
-
#key_schema ⇒ Array<Types::KeySchemaElement>
The primary key structure for the table.
-
#latest_stream_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table.
-
#latest_stream_label ⇒ String
A timestamp, in ISO 8601 format, for this stream.
-
#local_secondary_indexes ⇒ Array<Types::LocalSecondaryIndexDescription>
Represents one or more local secondary indexes on the table.
-
#provisioned_throughput ⇒ Types::ProvisionedThroughputDescription
The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
-
#stream_specification ⇒ Types::StreamSpecification
The current DynamoDB Streams configuration for the table.
-
#table_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies the table.
-
#table_name ⇒ String
The name of the table.
-
#table_size_bytes ⇒ Integer
The total size of the specified table, in bytes.
-
#table_status ⇒ String
The current state of the table:
Instance Attribute Details
#attribute_definitions ⇒ Array<Types::AttributeDefinition>
An array of AttributeDefinition objects. Each of these objects describes one attribute in the table and index key schema.
Each AttributeDefinition object in this array is composed of:
AttributeName - The name of the attribute.
AttributeType - The data type for the attribute.
#creation_date_time ⇒ Time
The date and time when the table was created, in UNIX epoch time format.
#global_secondary_indexes ⇒ Array<Types::GlobalSecondaryIndexDescription>
The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:
Backfilling - If true, then the index is currently in the backfilling phase. Backfilling occurs only when a new global secondary index is added to the table; it is the process by which DynamoDB populates the new index with data from the table. (This attribute does not appear for indexes that were created during a CreateTable operation.)
IndexName - The name of the global secondary index.
IndexSizeBytes - The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
IndexStatus - The current status of the global secondary index:
CREATING - The index is being created.
UPDATING - The index is being updated.
DELETING - The index is being deleted.
ACTIVE - The index is ready for use.
ItemCount - The number of items in the global secondary index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
KeySchema - Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
ProjectionType - One of the following:
KEYS_ONLY
- Only the index and primary keys are projected into the index.INCLUDE
- Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.ALL
- All of the table attributes are projected into the index.
NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
ProvisionedThroughput - The provisioned throughput settings for the global secondary index, consisting of read and write capacity units, along with data about increases and decreases.
If the table is in the DELETING
state, no information about indexes
will be returned.
#item_count ⇒ Integer
The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
#key_schema ⇒ Array<Types::KeySchemaElement>
The primary key structure for the table. Each KeySchemaElement consists of:
AttributeName - The name of the attribute.
KeyType - The role of the attribute:
HASH
- partition keyRANGE
- sort key
The partition key of an item is also known as its hash attribute. The term \"hash attribute\" derives from DynamoDB\' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term \"range attribute\" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer Guide.
#latest_stream_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table.
#latest_stream_label ⇒ String
A timestamp, in ISO 8601 format, for this stream.
Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:
the AWS customer ID.
the table name.
the StreamLabel.
#local_secondary_indexes ⇒ Array<Types::LocalSecondaryIndexDescription>
Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:
IndexName - The name of the local secondary index.
KeySchema - Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
ProjectionType - One of the following:
KEYS_ONLY
- Only the index and primary keys are projected into the index.INCLUDE
- Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.ALL
- All of the table attributes are projected into the index.
NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
IndexSizeBytes - Represents the total size of the index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
ItemCount - Represents the number of items in the index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
If the table is in the DELETING
state, no information about indexes
will be returned.
#provisioned_throughput ⇒ Types::ProvisionedThroughputDescription
The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
#stream_specification ⇒ Types::StreamSpecification
The current DynamoDB Streams configuration for the table.
#table_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies the table.
#table_name ⇒ String
The name of the table.
#table_size_bytes ⇒ Integer
The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
#table_status ⇒ String
The current state of the table:
CREATING - The table is being created.
UPDATING - The table is being updated.
DELETING - The table is being deleted.
ACTIVE - The table is ready for use.
Possible values:
- CREATING
- UPDATING
- DELETING
- ACTIVE


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Makes 2
These savoury pasties make a great lunch for kids - they're ready to eat in no time at all.
Preheat the oven to 220C/450F/Gas 7. Line a baking tray with baking parchment.
Roll out the puff pastry onto a lightly dusted work surface. Cut four circles from the pastry using a cookie cutter. Prick each pastry circle several times using a fork.
In a bowl, mix together the chopped spinach, cheddar, nutmeg and ready-made ratatouille until well combined.
Place two of the pastry circles onto the lined baking tray. Spoon half of the filling mixture into the centre of both pastry circles.
Dab a little water around the edge of both pastry circles using a pastry brush. Place one of the remaining pastry circles over each, pressing down at the edges to seal.
Sprinkle each pasty with a little water, then top with a little more grated cheddar.
Bake the pasties in the oven for 12-15 minutes, or until the pastry has risen and is golden-brown. Set aside to cool slightly before eating with a tomato salad.


The Frozen Spoon
The Vanilla Bean Creamery
The Creamery
Quaker Slate Ice Cream
Booza Cone
Off the Stick Creamery
Milk It Ice Cream
Farmer's Ice Cream
Dipsy Do's Softserve
Dream Cream
The Waffle Cone
Kustard Kones
Feelin' Nutty Ice Cream
Freezing Point Ice Cream


nips nips2002 nips2002-84 nips2002-84-reference knowledge-graph by maker-knowledge-mining
Source: pdf
Author: Dan Klein, Christopher D. Manning
Abstract: We present a novel generative model for natural language tree structures in which semantic (lexical dependency) and syntactic (PCFG) structures are scored with separate models. This factorization provides conceptual simplicity, straightforward opportunities for separately improving the component models, and a level of performance comparable to similar, non-factored models. Most importantly, unlike other modern parsing models, the factored model admits an extremely effective A* parsing algorithm, which enables efﬁcient, exact inference.
[1] D. Hindle and M. Rooth. Structural ambiguity and lexical relations. Computational Linguistics, 19(1):103–120, 1993.
[2] M. Collins. Head-Driven Statistical Models for Natural Language Parsing. PhD thesis, University of Pennsylvania, 1999.
[3] E. Charniak. A maximum-entropy-inspired parser. NAACL 1, pp. 132–139, 2000.
[4] R. Bod. What is the minimal set of fragments that achieves maximal parse accuracy? ACL 39, pp. 66–73, 2001.
[5] I. A. Mel cuk. Dependency Syntax: theory and practice. State University of New York Press, ˇ Albany, NY, 1988.
[6] G. E. Hinton. Training products of experts by minimizing contrastive divergence. Technical Report GCNU TR 2000-004, GCNU, University College London, 2000.
[7] E. Charniak. Tree-bank grammars. Proceedings of the Thirteenth National Conference on Artiﬁcial Intelligence (AAAI ’96), pp. 1031–1036, 1996.
[8] M. Johnson. PCFG models of linguistic tree representations. Computational Linguistics, 24(4):613–632, 1998.
[9] J. Eisner and G. Satta. Efﬁcient parsing for bilexical context-free grammars and head-automaton grammars. ACL 37, pp. 457–464, 1999.
[10] D. Klein and C. D. Manning. Parsing with treebank grammars: Empirical bounds, theoretical models, and the structure of the Penn treebank. ACL 39/EACL 10, pp. 330–337, 2001.
[11] J. K. Baker. Trainable grammars for speech recognition. D. H. Klatt and J. J. Wolf, editors, Speech Communication Papers for the 97th Meeting of the Acoustical Society of America, pp. 547–550, 1979.
[12] J. Lafferty, D. Sleator, and D. Temperley. Grammatical trigrams: A probabilistic model of link grammar. Proc. AAAI Fall Symposium on Probabilistic Approaches to Natural Language, 1992.
[13] D. Klein and C. D. Manning. Parsing and hypergraphs. Proceedings of the 7th International Workshop on Parsing Technologies (IWPT-2001), 2001.
[14] E. Charniak, S. Goldwater, and M. Johnson. Edge-based best-ﬁrst chart parsing. Proceedings of the Sixth Workshop on Very Large Corpora, pp. 127–133, 1998.
[15] D. M. Magerman. Statistical decision-tree models for parsing. ACL 33, pp. 276–283, 1995.
[16] M. J. Collins. A new statistical parser based on bigram lexical dependencies. ACL 34, pp. 184–191, 1996.
[17] M. Collins. Discriminative reranking for natural language parsing. ICML 17, pp. 175–182, 2000.
[18] J. Goodman. Parsing algorithms and metrics. ACL 34, pp. 177–183, 1996.