|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uchicago.src.sim.analysis.ChartArchiver
public class ChartArchiver
Saves and loads custom charts via their XML descriptions. The data
required to create such charts is persisted between application instances
via an xml file. The file is stored in $HOME/fully_qualified_model_name_as
_dir/charts.xml. So, for example, if the home directory is /home/nick and the
fully qualified model name is uchicago.src.sim.heatBugs, then the file path
is
/home/nick/.repast/uchicago/src/sim/heatBugs/charts.xml.
The xml itself is human readable, but is liable to change. An example follows:
| Constructor Summary | |
|---|---|
ChartArchiver()
|
| Method Summary | |
|---|---|
static java.util.ArrayList |
loadCharts(SimModel model)
Creates chart models from their XML descriptions and returns these models in an ArrayList. |
static void |
saveCharts(java.lang.String fqModelName,
java.util.ArrayList charts)
Saves the list of AbstractChartModels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartArchiver()
| Method Detail |
|---|
public static java.util.ArrayList loadCharts(SimModel model)
model
- the SimModel associated with the chart models
public static void saveCharts(java.lang.String fqModelName, java.util.ArrayList charts)
fqModelName
- the fully qualified name of the model associated with
the AbstractChartModelscharts
- the list of AbstractChartModels to save
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


 Please continue to the
login
page.
Register below
Email
Username
Password
Sign up
Back to Login


/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
const upath = require('upath');
const generateSWSchema = require('./options/schema/generate-sw');
const getFileManifestEntries = require('./lib/get-file-manifest-entries');
const rebasePath = require('./lib/rebase-path');
const validate = require('./lib/validate-options');
const writeServiceWorkerUsingDefaultTemplate =
require('./lib/write-sw-using-default-template');
// eslint-disable-next-line jsdoc/newline-after-description
/**
* This method creates a list of URLs to precache, referred to as a "precache
* manifest", based on the options you provide.
*
* It also takes in additional options that configures the service worker's
* behavior, like any `runtimeCaching` rules it should use.
*
* Based on the precache manifest and the additional configuration, it writes
* a ready-to-use service worker file to disk at `swDest`.
*
* @param {Object} config The configuration to use.
*
* @param {string} config.globDirectory The local directory you wish to match
* `globPatterns` against. The path is relative to the current directory.
*
* @param {string} config.swDest The path and filename of the service worker file
* that will be created by the build process, relative to the current working
* directory. It must end in '.js'.
*
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*
* @param {Array<string>} [config.babelPresetEnvTargets=['chrome >= 56']]
* The [targets](https://babeljs.io/docs/en/babel-preset-env#targets) to pass to
* `babel-preset-env` when transpiling the service worker bundle.
*
* @param {string} [config.cacheId] An optional ID to be prepended to cache
* names. This is primarily useful for local development where multiple sites
* may be served from the same `http://localhost:port` origin.
*
* @param {boolean} [config.cleanupOutdatedCaches=false] Whether or not Workbox
* should attempt to identify an delete any precaches created by older,
* incompatible versions.
*
* @param {boolean} [config.clientsClaim=false] Whether or not the service
* worker should [start controlling](/web/fundamentals/primers/service-workers/lifecycle#clientsclaim)
* any existing clients as soon as it activates.
*
* @param {string} [config.directoryIndex='index.html'] If a navigation request
* for a URL ending in `/` fails to match a precached URL, this value will be
* appended to the URL and that will be checked for a precache match. This
* should be set to what your web server is using for its directory index.
*
* @param {RegExp} [config.dontCacheBustURLsMatching] Assets that match this will be
* assumed to be uniquely versioned via their URL, and exempted from the normal
* HTTP cache-busting that's done when populating the precache. While not
* required, it's recommended that if your existing build process already
* inserts a `[hash]` value into each filename, you provide a RegExp that will
* detect that, as it will reduce the bandwidth consumed when precaching.
*
* @param {boolean} [config.globFollow=true] Determines whether or not symlinks
* are followed when generating the precache manifest. For more information, see
* the definition of `follow` in the `glob`
* [documentation](https://github.com/isaacs/node-glob#options).
*
* @param {Array<string>} [config.globIgnores=['node_modules/**']]
* A set of patterns matching files to always exclude when generating the
* precache manifest. For more information, see the definition of `ignore` in the `glob`
* [documentation](https://github.com/isaacs/node-glob#options).
*
* @param {Array<string>} [config.globPatterns=['**.{js,css,html}']]
* Files matching any of these patterns will be included in the precache
* manifest. For more information, see the
* [`glob` primer](https://github.com/isaacs/node-glob#glob-primer).
*
* @param {boolean} [config.globStrict=true] If true, an error reading a directory when
* generating a precache manifest will cause the build to fail. If false, the
* problematic directory will be skipped. For more information, see the
* definition of `strict` in the `glob`
* [documentation](https://github.com/isaacs/node-glob#options).
*
* @param {Array<RegExp>} [config.ignoreURLParametersMatching=[/^utm_/]]
* Any search parameter names that match against one of the RegExp in this array
* will be removed before looking for a precache match. This is useful if your
* users might request URLs that contain, for example, URL parameters used to
* track the source of the traffic.
*
* @param {Array<string>} [config.importScripts] A list of JavaScript files that
* should be passed to [`importScripts()`](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)
* inside the generated service worker file. This is useful when you want to
* let Workbox create your top-level service worker file, but want to include
* some additional code, such as a push event listener.
*
* @param {boolean} [config.inlineWorkboxRuntime=false] Whether the runtime code
* for the Workbox library should be included in the top-level service worker,
* or split into a separate file that needs to be deployed alongside the service
* worker. Keeping the runtime separate means that users will not have to
* re-download the Workbox code each time your top-level service worker changes.
*
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.
* If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their
* corresponding transformations will be applied first.
*
* @param {number} [config.maximumFileSizeToCacheInBytes=2097152] This value can be
* used to determine the maximum size of files that will be precached. This
* prevents you from inadvertently precaching very large files that might have
* accidentally matched one of your patterns.
*
* @param {string} [config.mode='production'] If set to 'production', then an
* optimized service worker bundle that excludes debugging info will be
* produced. If not explicitly configured here, the `process.env.NODE_ENV` value
* will be used, and failing that, it will fall back to `'production'`.
*
* @param {object<string, string>} [config.modifyURLPrefix] A mapping of prefixes
* that, if present in an entry in the precache manifest, will be replaced with
* the corresponding value. This can be used to, for example, remove or add a
* path prefix from a manifest entry if your web hosting setup doesn't match
* your local filesystem setup. As an alternative with more flexibility, you can
* use the `manifestTransforms` option and provide a function that modifies the
* entries in the manifest using whatever logic you provide.
*
* @param {string} [config.navigateFallback] If specified, all
* [navigation requests](/web/fundamentals/primers/service-workers/high-performance-loading#first_what_are_navigation_requests)
* for URLs that aren't precached will be fulfilled with the HTML at the URL
* provided. You must pass in the URL of an HTML document that is listed in your
* precache manifest. This is meant to be used in a Single Page App scenario, in
* which you want all navigations to use common [App Shell HTML](/web/fundamentals/architecture/app-shell).
*
* @param {Array<RegExp>} [config.navigateFallbackDenylist] An optional array
* of regular expressions that restricts which URLs the configured
* `navigateFallback` behavior applies to. This is useful if only a subset of
* your site's URLs should be treated as being part of a
* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*
* @param {Array<RegExp>} [config.navigateFallbackAllowlist] An optional array
* of regular expressions that restricts which URLs the configured
* `navigateFallback` behavior applies to. This is useful if only a subset of
* your site's URLs should be treated as being part of a
* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*
* @param {boolean} [config.navigationPreload=false] Whether or not to enable
* [navigation preload](/web/tools/workbox/modules/workbox-navigation-preload)
* in the generated service worker. When set to true, you must also use
* `runtimeCaching` to set up an appropriate response strategy that will match
* navigation requests, and make use of the preloaded response.
*
* @param {boolean|Object} [config.offlineGoogleAnalytics=false] Controls
* whether or not to include support for
* [offline Google Analytics](/web/tools/workbox/guides/enable-offline-analytics).
* When `true`, the call to `workbox-google-analytics`'s `initialize()` will be
* added to your generated service worker. When set to an `Object`, that object
* will be passed in to the `initialize()` call, allowing you to customize the
* behavior.
*
* @param {Array<RuntimeCachingEntry>} [config.runtimeCaching]
*
* @param {boolean} [config.skipWaiting=false] Whether to add an
* unconditional call to [`skipWaiting()`]{@link module:workbox-core.skipWaiting}
* to the generated service worker. If `false`, then a `message` listener will
* be added instead, allowing you to conditionally call `skipWaiting()`.
*
* @param {boolean} [config.sourcemap=true] Whether to create a sourcemap
* for the generated service worker files.
*
* @param {Object} [config.templatedURLs] If a URL is rendered based on some
* server-side logic, its contents may depend on multiple files or on some other
* unique string value. The keys in this object are server-rendered URLs. If the
* values are an array of strings, they will be interpreted as `glob` patterns,
* and the contents of any files matching the patterns will be used to uniquely
* version the URL. If used with a single string, it will be interpreted as
* unique versioning information that you've generated for a given URL.
*
* @return {Promise<{count: number, filePaths: Array<string>, size: number, warnings: Array<string>}>}
* A promise that resolves once the service worker and related files
* (indicated by `filePaths`) has been written to `swDest`. The `size` property
* contains the aggregate size of all the precached entries, in bytes, and the
* `count` property contains the total number of precached entries. Any
* non-fatal warning messages will be returned via `warnings`.
*
* @memberof module:workbox-build
*/
async function generateSW(config) {
const options = validate(config, generateSWSchema);
if (options.globDirectory) {
// Make sure we leave swDest out of the precache manifest.
options.globIgnores.push(rebasePath({
baseDirectory: options.globDirectory,
file: options.swDest,
}));
// If we create an extra external runtime file, ignore that, too.
// See https://rollupjs.org/guide/en/#outputchunkfilenames for naming.
if (!options.inlineWorkboxRuntime) {
const swDestDir = upath.dirname(options.swDest);
const workboxRuntimeFile = upath.join(swDestDir, 'workbox-*.js');
options.globIgnores.push(rebasePath({
baseDirectory: options.globDirectory,
file: workboxRuntimeFile,
}));
}
}
const {count, size, manifestEntries, warnings} =
await getFileManifestEntries(options);
const filePaths = await writeServiceWorkerUsingDefaultTemplate(Object.assign({
manifestEntries,
}, options));
return {count, filePaths, size, warnings};
}
module.exports = generateSW;


SPICEWORLD (PG)
Directed by Bob Spiers Running Time: 93 minutes Originally Released: January 23, 1998
Reviewed by E. Benjamin Kelsey
* ˝ (out of four)
How do you judge a film that is so bad, but intentionally so? In SPICEWORLD, the highly popular singing group the Spice Girls accomplish their major goal: mocking themselves with a purposely cheezy film and having a lot of fun doing it. If that was their goal, they did a fantastic job. So is it fair to give it such a low grade when it wasn't really meant to be much better than this? Honestly, I'd rather see this film before many others I gave higher grades, so does that mean I graded it inaccurately? Truth be known, I don't really think I can answer this question.
To understand SPICEWORLD, you have to understand the Spice Girls. Unless you're very *very* young, or fairly older, you probably have at least heard of them. They're a group of five busty British babes who've had #1 hit singles and whose debut album sold millions. They're primarily adored by pre-teen girls who hope someday the contents of their training bras might match those of Ginger Spice's (real name: Geri Haliwell) Wonderbra. All five of the girls have these "spicy" names for which they are better known than their real names. There is the aforementioned Ginger Spice, as well as Sporty Spice (Melanie Chisholm, or Mel C.), Scary Spice (Melanie Brown, or Mel B.), Baby Spice (Emma Bunton), and Posh Spice (Victoria Addams), and all of them, to some degree or another, resemble their stage names.
The Spice Girls took the world by storm, and SPICEWORLD is actually a good- humored spoof of all that transpired during their quick rise to fame. It's quite nice to see what good sports the girls are (and not just the one dubbed Sporty) about poking fun at themselves. They don't take themselves too seriously, and that's probably the best thing about them. It's also surprising how natural they seem in front of the camera *acting*, and not just singing and dancing. They're not flawless by any means, but for the most part, they deliver their lines without feeling staged, and, like them or not, we get the sense the five are very at home within their characters (which seems reasonable since they portray themselves).
What makes the film bad is that extreme fans of the Spice Girls won't get enough of their music, while the rest of us don't get enough of a movie. The real point of this is to look at the Spice Girls for over ninety straight minutes. Most of the film is very blasé, but several parts are downright boring, and then they have those sporadic moments that actually make us laugh out loud!  For the right crowd, the "music video" sequences will be the highlights of the film, but for others, they will serve as three-minute lulls in a hectic-but-overall-uneventful storyline.
Other key actors include Richard E. Grant as Clifford, the Spice Girls' manager, Alan Cumming as the film-maker Piers Cutherton-Smyth who attempts to make a documentary of the group, George Wendt as Martin Barnfield, a producer who constantly works on pitching a Spice Girls movie, and Roger Moore in a small, self-parodizing role. All provide relatively good performances, keeping in mind once again that this film wasn't meant to be acted seriously. Even Meat Loaf shows up as Dennis the bus driver and seems to have fun with it.
While this film is continuously compared to the Beatles' A HARD DAY'S NIGHT, I think that is an unjust comparison. It is supposedly the movie studio that first mad the comparison by way of press kits, but I don't think drector Bob Spiers, nor the Spice Girls, intended it to be so. I think the studios were just trying to boost hype and interest in the film, and have instead, come off rather pretentious. I don't think this film is trying to be anything more than a fun, satirical look at a group that got so big, a movie seemed the next likely step. And what could've been better than a self-indulged yet self- mocking approach? Probably nothing, and so it is.
SPICEWORLD is a movie I thought would be embarrassing to enjoy, but now instead, I find myself wanting to defend a movie I didn't even give a good review. It's bad, but it succeeds in every way it intended. It gives the Spice Girls a chance to play while allowing all those obsessive fans out there to indulge in every brainless moment. Perhaps the group is nothing more than a gimmick. If that's the case, the movie's gimmick is that it *is* such a gimmick! You might be saying, "a Spice Girls movie? Come on!", but when it comes down to it, I think that's the point.
January 23, 1998
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 a father and a husband. Watching my son grow up has been a fascinating experince. My life without my family would be nothing! Everything I have accomplished and continue to strive for has been as a result of my family's continued support.
I have a BS in Computer Science: Game Design. Currently working as a computer technician at a community college.
View Portfolio


Multiple items
For the horizontal slide effect – you may choose to display multiple items in the slider.
TinSlide(document.getElementById('slider'), {
effects: {
slideHorizontal: {
numVisible: 4,
centerSelected: false // Default
}
}
});
Centering and showing all items
The centerSelected option puts the currently selected item in the center and the others around it, instead of presenting them left to right.
By default TinSlide only animate items currently visible in the slider view, and hides the others. You can disable this by using hideItems: false. If you also turn off slider cropping, using cropContainer: false, you will see all items outside of the container (if you have not disabled the horizontal sliding effect).
The example below uses this to create "ghost" items. It also utilizes the classes .tin-slide-selected and .tin-slide-outside, to highlight the selected item and to add the "ghost" effects.
TinSlide(document.getElementById('slider'), {
cropContainer: false,
hideItems: false,
effects: {
slideHorizontal: {
numVisible: 3,
centerSelected: true
},
scale: {
on: true,
max: 1.2,
min: 0.9,
maxAt: 0,
minAt: 1.3
}
},
generate: {
dots: {
on: false
}
}
});
CSS
#slider > div {
transition: opacity 200ms ease-out, filter 200ms ease-out, box-shadow 200ms ease-out;
}
.tin-slide-outside {
opacity: 0.1;
filter: grayscale(100%);
}
.tin-slide-selected {
box-shadow: 0 3px 25px rgba(0, 0, 40, 0.4);
}
Advanced effects settings
The previous example uses advanced effects settings to fine tune scaling of the items. These advanced settings are available for the scale and fade effects:
max defines the maximum value.
min defines the minimum value.
maxAt defines the point at which the max value should be reached.
minAt defines the point at which the min value should be reached.
maxAt and minAt are offset values from the position as selected item. 0 means that the items is perfectly in position. 1 means that it is exactly one step (one item, or 100 %) away from being in position.
Using this knowledge, we can create something similar to the "ghosts" example above, without utilizing the .tin-slide-outside class.
TinSlide(document.getElementById('slider'), {
cropContainer: false,
hideItems: false,
effects: {
slideHorizontal: {
numVisible: 3,
centerSelected: true
},
scale: {
on: true,
max: 1,
min: 0.8,
maxAt: 0.5, // Max value is used when item is at, or between, selected position and one half step away.
minAt: 1.3 // Min value is used when item is 130 % (1.3 steps), or more, from selected position.
},
fade: {
on: true,
max: 1,
min: 0.1, // Min value – items are never completely faded out.
maxAt: 1, // Item is fully opaque when it is at, or between, selected position and one step away.
minAt: 2 // Min value is used when the item is two steps, or more, from selected position.
}
},
generate: {
dots: {
on: false
}
}
});


|
RLRobotControl
|
Class to interface with VoxelGridPlugin, to fetch updated voxel grids as needed. Will be wrapped in ROS services to allow Python calls from neural network. More...
Public Member Functions | |
| VoxelGridInterface () | |
| VoxelGridInterface Constructor. | |
| ~VoxelGridInterface () | |
| RobotControlInterface Destructor. | |
| void | Init (std::shared_ptr< VoxelGrid > &voxel_grid_ptr) |
| Initialize VoxelGridInterface. | |
| void | ExecuteAction (const voxel_grid_plugin::VoxelGridGoalConstPtr &command) |
| Action server callback. | |
Private Attributes | |
| std::shared_ptr< VoxelGrid > | voxel_grid_ptr |
| const std::string | action_name |
| ros::NodeHandle | nh |
| actionlib::SimpleActionServer< voxel_grid_plugin::VoxelGridAction > | as |
| voxel_grid_plugin::VoxelGridFeedback | feedback |
| voxel_grid_plugin::VoxelGridResult | result |
Class to interface with VoxelGridPlugin, to fetch updated voxel grids as needed. Will be wrapped in ROS services to allow Python calls from neural network.


Welcome to our club; we are glad you have found us.
Visit the About section to learn more.
The Group Members section will show you a list of the members. If you would like to join the Cat Fanciers©, please contact Administration. Member dues must be paid in full before your acceptance is granted.


Best way to install is to add the Google Chrome PPA to repository and to install using the apt-get command.
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -When added, run the command below:
sudo gedit /etc/apt/sources.list.d/google.listThen copy and paste the line below into the file and save:
deb http://dl.google.com/linux/chrome/deb/ stable mainAfter saving the file, run the commands below to update your system:
sudo apt-get updateOr:
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get install google-chrome-stableInstall Google Chrome beta version:
sudo apt-get install google-chrome-betaInstall Google Chrome unstable version:
sudo apt-get install google-chrome-unstable