FsRegEx
The FsRegEx
library provides composable F# functionality for nearly all the capabilites of the .NET Regex
class, supporting uniform pipe forward |>
composability and all Regex
features except timeouts. Optionally you can compose F# verbal expressions in natural language. Lazy evaluation ensures natural language composition imposes no performance penalty.
PM> Install-Package FsRegEx
Introduction
The FsRegEx
library brings a composable regular expression experience to F#.
Composable functions representing all available
Regex
functionality (except timeouts) with the target input string uniformly the last parameter to better support pipe forward|>
composition and partial application.Collections returned as F# arrays rather than
Regex
special collections for better composability (but sacrificing lazy match evaluation and timeout support).-
Short-cut functions like
capture
on group name make common multi-step processes a single function.FsRegEx
- A composable F# wrapper type overSystem.Text.RegularExpressions.Regex
for natural language regular expression composition.
FsMatch
- A composable F# wrapper type overSystem.Text.RegularExpressions.Match
.FsGroup
- A composable F# wrapper type overSystem.Text.RegularExpressions.Group
.Basic functional operations on
FsRegEx
(exists
,fold
,foldBack
,iter
, andmap
), among other composable functions.-
FsRegEx
speciall collections are returned as arrays. This does lose the advantange of lazy match evaluation the special collections provide. The underlying object can always be returned from the wrapper.
Better F# Composition
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
|
Short-cut common procedures to a single function
1: 2: 3: 4: 5: 6: 7: 8: |
|
Natural Language Regular Expressions
The library also provides the composable Verbal Expressions language for constructing simple regular expressions in a readable fashion.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
|
A comparison of using Regex natively, and Verbal Expressions to retrieve the database parameter from a connection string:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
|
This example shows the more verbose and desctriptive Verbal Expressions:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: |
|
Documentation
FsRegEx comes with comprehensive API documentation and a tutorial.
API Reference contains documentation for all types, modules, and functions in the library.
F# Verbal Expressions Tutorial contains further explanation of the natural language DSL syntax and many more usage examples.
Versioning
FsRegEx adheres to Semantic Versioning. So long as the project is pre-1.0.0 minor versions may be breaking. Once the project reaches 1.0.0 minor enhancements will be backwards-compatible.
Contributing and copyright
FsRegEx is hosted on GitHub where you can report issues, fork the project, and submit pull requests, so long as pull requests:
- include excellent unit test coverage
- include correct intellisense documentation
- adhere to the concepts of composability
FsRegEx is available under Public Domain license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.


Survey Form
How could I improve this form?
* Email
* Name
* Your age
Country
Choose one
Brazil
Canada
Genre
Female
Male
What aspect could it be improved?
Colors
Indentation
Font
Options
Leave another suggestion
Submit


--- layout: default title: Home --- Chapter 1: Writing to a Web Page Using Arrays Writing to a Web Page Using Arrays


Journal of Sustainable Mining, 15(1), pp. 8–25
Read publication4th UMaT Biennial International Mining and Mineral Conference, pp. CSR 24-34
Read publicationProceedings of International Conference & Exhibition on Advanced & Nano Materials (ICANM2016), August 1-3, 2016, Montreal, Canada, pp. 38 – 47
Read publication


Can I have ur phone please??
Can I have ur package please?
Env:
Enum under this class:
Hooks
Current Hooks
Current Script
Output Console
| MethodName | Args Dump | Return Value |
|---|
Inspect
Inspect Inputs
Inspect OutPuts
Intercept Scripts
Intercept Outputs
REPL


Home / Change Password
Althusser Competing Interpellations And The Third Text
Price
$200
Qty
Amount
$200
Althusser Competing Interpellations And The Third Text
Price
$200
Qty
Amount
$200
By placing your order, you agreed with our Term of Service and Privacy Policy
Items $200
Estimated Shipping Fee +$100
Grand Total$300
By placing your order, you agreed with our Term of Service and Privacy Policy


{% extends "base.html" %} {% block content %}
/api/atlases/
Returns a json file containing a list of dictionaries with information corresponding to each atlas stored in NeuroVault.
example: neurovault.org/api/atlases/
/api/atlases/{pk}/
Returns a json file containing a dictionary with information corresponding to the particular atlas specified by the pk value.
example: neurovault.org/api/atlases/1557
/api/atlases/atlas_query_region/
Searches atlas for specified region and related synonyms. If no matches are found, it will search the NIF ontology recursively for children of the specified region that are found in the atlas. If no matches are found, it will search recursively for parents that are found in the atlas. Returns a json file containing a dictionary of a list of three lists, corresponding to the X, Y and Z coordinates, respectively, of the matching voxels. Coordinates are in mm in MNI space.
Parameters: region, collection, atlas
/api/atlases/atlas_query_voxel/
Returns a json file containing the region name that matches the specified coordinates in the specified atlas. Coordinates are in mm in MNI space.
Parameters: x, y, z, collection, atlas
/api/collections/
Returns a json file containing a list of dictionaries with information corresponding to each collection stored in NeuroVault. Results can be filtered by specifying the name, DOI or owner of the collection.
Parameters: name, DOI, owner
example: neurovault.org/api/collections/?DOI=10.1016/j.neurobiolaging.2012.11.002
/api/collections/{pk}/
Returns a json file containing a dictionary with information corresponding to the particular collection specified by the pk value.
example: neurovault.org/api/collections/287
/api/collections/{pk}/images
Returns a json file containing a dictionary of all images from the collection specified by the pk value.
example: neurovault.org/api/collections/287/images
/api/images/
Returns a json file containing a list of dictionaries with information corresponding to each image stored in NeuroVault.
example: neurovault.org/api/images/
/api/images/{pk}/
Returns a json file containing a dictionary with information corresponding to the particular atlas specified by the pk value.
example: neurovault.org/api/images/1557
/api/nidm_results/
Returns a json file containing a list of dictionaries with information corresponding to each nidm_results stored in NeuroVault.
example: neurovault.org/api/nidm_results


This test checks to make sure that quotas are enforced per-origin instead of per-database, as they were prior to http://trac.webkit.org/projects/webkit/changeset/29983.
The test clears all databases, sets the quota for the origin to 32k, then tries to insert 17k of data into two databases. If things go as planned, the UI Delegate will be informed of the exceeded quota.


NOTHING TO LOSE
RATING: ** (out of ****)
Touchstone / 1:37 / 1997 / R (sex, language, violence) Cast: Tim Robbins; Martin Lawrence; Kelly Preston; John C. McGinley; Giancarlo Esposito; Michael McKean; Irma P. Hall; Rebecca Gayheart Director: Steve Oedekerk Screenplay: Steve Oedekerk
On-screen couples don't come any odder than "Nothing to Lose"'s Tim Robbins and Martin Lawrence. The pairing of Robbins (coming off a career high from directing and writing the enlightening Dead "Man Walking") and Lawrence (coming off a career low from directing, writing and acting in the horrible "A Thin Line Between Love and Hate") could have resulted in a quirky good time, but "Nothing to Lose" has almost nothing on its mind -- and the result is a 97-minute running time that feels about as long as three viewings of "The English Patient."
Robbins is well-cast as Nick Beam, an even-tempered Los Angeles advertising executive whose serene, routine life is interrupted through a series of hapless coincidences. Nick's happy marriage to wife Anne (the omnipresent Kelly Preston) is turned topsy-turvy when he returns home from work early one day to discover what appears to be her in bed with another man -- and the cufflinks on the downstairs endtable suggest that it's his boss (Michael McKean). Distraught and upset, Nick hops into his car and goes on a drive to clear his head. When he's at a stoplight, novice hoodlum T. Paul (Lawrence) attempts to car-jack him -- but T. Paul has clearly picked the wrong guy on the wrong day.
Nick steps on the gas and doesn't let off until he and his new "friend" are well out of the city limits. They strike up a hostile, chummy rapport that leads to many disagreements, most of them over T. Paul's habit of robbing from convenience stores to support his family. This gives Nick an idea, albeit a naughty one -- why not steal from his own boss as payback for sleeping with his wife? To top everything off, Nothing to Lose also introduces us to another set of criminals (John C. McGinley and Giancarlo Esposito), only these guys are hardcore into their profession, and the local police keep on getting their exploits confused with those of Nick and T. Paul.
Robbins is a likable guy, and Lawrence can be such when he wants, so it's a surprise that the time they share together falls flat on its face. The two have no chemistry whatsoever, a testament to how poorly we get to know Nick and T. Paul as a duo. We are unwisely spared the moments when they first meet -- the movie jumps from T. Paul's failed hold-up to a scene where they're stopping for food many miles away. "Nothing to Lose" never tries to explain their relationship to us, and therefore it totally overlooks what likely could have been its best scenes. In place of development is a long, violent sequence where Nick and T. Paul knock each other around outside a diner. It's as if nobody knew what else to do.
Don't get me wrong -- "Nothing to Lose" does contain its fair share of out-loud laughs. It's just that none of them belong to either Robbins or Lawrence -- they're given to supporting performers that are each utilized for about one brief scene each. There's a good bit with an elderly general store clerk who gives Nick pointers on how to be a better criminal. Director/writer Steve Oedekirk cleverly casts himself as a security guard who's a slave to the rhythm. Great character actress Irma P. Hall is fine in her two bits as T. Paul's slaphappy mother. And the film's brightest sequence is executed early on, with Nick criticizing an employee for creating a "magical" trail of chocolate chips that follows a cookie company's mascot -- the semi-sweet morsels hilariously resemble excrement.
"Nothing to Lose" is never a terrible movie, but I still don't think I could subject myself to it again. When the film is smart, it can really catch you off guard. But that's almost a rarity, because the story takes turns being either too silly or too socially relevant. There's even a plot twist near the movie's midsection that's insubstantial because it should surprise no one who observed closely and listened carefully during the film's first 20 minutes. All these weaknesses make it clear that there's not much to gain from watching "Nothing to Lose."
© 1997 Jamie Peck E-mail<EMAIL_ADDRESS>Visit the Reel Deal Online: http://www.gl.umbc.edu/
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Welcome to scikit-surgerydocker’s documentation!¶
- Setting up Docker
- Docker Basic Commands
- Docker Intermediate Commands
- What is scikit-surgerydocker?
- Dockerizing a CPU program:
- About cpu-ex program:
- Preliminary requirements:
- Step 1: Clone the projects
- Step 2: Copy the code
- Step 3: Copy the input data
- Step 4: Containerize the application
- Step 5: Execution of image
- Step 6: Verifying container
- Step 7: Checking the output
- Step 8: Upload image to dockerhub
- Step 9: Clean the environment (Optional)
- Dockerizing a GPU program:
- About stereo-recon-example program:
- Preliminary requirements:
- Step 1: Clone the projects
- Step 2: Copy the code
- Step 3: Copy the input data
- Step 4: Containerize the application
- Step 5: Execution of image
- Step 6: Access the front-end
- Step 7: Upload image to dockerhub
- Step 8: Clean the environment (Optional)
- How to package your image for sharing


Social Media Management
Internet-based social media makes it easier for people to listen, interact, engage and collaborate with each other. InfoMall’s Social Media Management Team help brands manage outbound and incoming online interactions in a more efficient manner.


Information Technology Project—TexTrade
Imagine an efficient mobile platform for peer-to-peer textbook exchanges. A tool that saves you money compared to the University BookStore and time compared to Facebook exchange groups. Introducing TexTrade, setting a new precedent in textbook trading now.
Presentation and Project Proposal Document
Please check out the presentation slides below and the project proposal document if you want to learn more.


DeckLock part 2: Magic the Gathering
expanding DeckLock to support more games
DeckLock, a static-website generator to generate overviews of KeyForge decks, will be expanded to support Magic: the Gathering. To find more about DeckLock and how it is designed look at the previous post. Magic: the Gathering is a very different game compared to KeyForge. There is a large pool of cards available and players can select a set they wish to play with. There are different formats and the format determines which cards and how many of them you can play. Most formats require decks to be at least 60 cards with any number of basic lands and a maximum 4 copies of other cards. This means each player can bring a completely custom set of cards to the table and we’ll have to come up with a system to support that. Unlike KeyForge where each deck is unique and the list of cards can be found online, here we’ll include a system to add a deck list, with a short description and turn those into pages containing cards.
You can find my DeckLock instance with an overview of my KeyForge and Magic: the Gathering decks (paper and online) here.
Designing a Reader
Here we actually can use a structure analogous to Pelican’s articles. We’ll add a decklist to a designated folder, Pelican will pick up this file, the Reader class will parse it, fetch the decks cards’ information and image online and inject it into an appropriate template.
A common file format to store decks is the Magic Workstation format, which is also included in MTGTop8 (I’ll admit it, I’m netdecking most of the time). This is both machine- and human-readable, there are a number of comment lines which are used to store the name of the deck, who created it, … other lines contain the number of time a card is included in the deck, the set the card is from and the name of the card. Fields are space delimited. Sideboard cards are included the same way, but the line starts with SB:
// NAME : 9 Land Stompy
// CREATOR : Sebastian Proost
// FORMAT : Casual
9 [USG] Forest
4 [MMQ] Land Grant
4 [ALL] Elvish Spirit Guide
3 [MMQ] Vine Dryad
...
SB: 2 [TMP] Root Maze
SB: 4 [ULG] Hidden Gibbons
SB: 3 [ONS] Naturalize
SB: 2 [MMQ] Rushwood Legate
SB: 3 [UDS] Compost
Based on the name of the card, all other information can be pulled from ScryFall, a website the has images for all cards and also includes an API that can be used to fetch useful details to include. The set, included here between square brackets is optional, if nothing is entered the most recent version is selected.
The Reader class
Below you’ll find the code for the Reader, this needs to be a class that is build upon Pelican’s BaseReader, it needs
to have a property enabled
which should be set to True and a property file_extensions
which is a list of extensions that
should be processed by this reader, in this case only .mwDeck files. Note that there are a number of helper functions in
full code that are required to make this work. Head over to the DeckLock GitHub repository to check out the full code.
Upon creation of an MTGReader the cached data will be loaded (if it exists) and create a path to store card images (if necessary).
The function read
attached to the MTGReader is required, here the metadata is set. A category and data are required by
Pelican though we won’t be using them so we just specify any value. Here the required template is also specified which
is important to ensure the data will be rendered using the correct template. The next block of code reads the .mwDeck
file, fetches card details and the image from Scryfall if it isn’t included in the cached data and creates a
dictionary that contains all data required for the deck’s page. The page title, slug (url friendly name), the url and
the path to the output file are also constructed here from the deck’s name.
The deck data along with empty content is returned, Pelican will ensure a reader is created for each .mwDeck file in the posts folder, processed and combined with a template.
Finally, you’ll need to create a function that adds the reader (here add_reader
but you are free to choose another name)
and a register
function (name is not optional here). The latter will connect the add_reader function to Pelican’s set of
readers.
class MTGReader(BaseReader):
enabled = True
file_extensions = ['mwDeck']
def __init__(self, settings):
super(MTGReader, self).__init__(settings)
self.cached_data = {}
if os.path.exists(self.mtg_data_path):
with open(self.mtg_data_path, 'r') as fin:
self.cached_data = json.load(fin)
Path(self.mtg_assets_cards_path(full=True)).mkdir(parents=True, exist_ok=True)
@property
def mtg_data_path(self):
return os.path.join(
self.settings.get("PATH"), self.settings.get("MTG_PATH"), "mtg.cached_cards.json"
)
def write_cache(self):
with open(self.mtg_data_path, "w") as fout:
json.dump(self.cached_data, fout, sort_keys=True, indent=4, separators=(",", ": "))
def mtg_assets_cards_path(self, full=False):
if full:
return os.path.join(
self.settings.get("PATH"), self.settings.get("MTG_ASSETS_PATH"), 'cards'
)
else:
return os.path.join(
self.settings.get("MTG_ASSETS_PATH"), 'cards'
)
def add_card_data(self, card_set, card_name):
if card_set not in self.cached_data.keys():
self.cached_data[card_set] = {}
if card_name not in self.cached_data[card_set]:
card_data = get_card_data(card_set, card_name)
self.cached_data[card_set][card_name] = card_data
else:
card_data = self.cached_data[card_set][card_name]
try:
if "card_faces" in card_data.keys():
card_data.update(card_data["card_faces"][0])
img_url = card_data["image_uris"]["border_crop"]
local_path = get_local_card_img_path(self.mtg_assets_cards_path(full=False), img_url)
self.cached_data[card_set][card_name]["image_path"] = local_path
local_path_full = get_local_card_img_path(self.mtg_assets_cards_path(full=True), img_url)
fetch_image(img_url, local_path_full)
except:
print(f"an error occurred fetching {card_name} from set {card_set}")
def read(self, filename):
metadata = {'category': 'MTG_Deck',
'date': '2020-04-13',
'template': 'mtg_deck'
}
deck_data = {
'main': [],
'sideboard': []
}
with open(filename, 'r') as fin:
for line in fin:
if line.startswith('//'):
tag, value = parse_meta(line)
metadata[tag.lower()] = value
elif line.strip() != '':
sideboard, card_set, card_count, card_name = parse_card_line(line)
self.add_card_data(card_set, card_name)
card_data = {
'name': card_name,
'count': card_count,
'data': self.cached_data[card_set][card_name],
'card_type': parse_card_type(self.cached_data[card_set][card_name]['type_line'])
}
if sideboard:
deck_data['sideboard'].append(card_data)
else:
deck_data['main'].append(card_data)
self.write_cache()
metadata['title'] = metadata['name']
metadata['slug'] = slugify(metadata['title'], regex_subs=self.settings.get('SLUG_REGEX_SUBSTITUTIONS', []))
metadata['url'] = f"mtg/{metadata['format']}/{metadata['slug']}/"
metadata['save_as'] = f"{metadata['url']}index.html"
parsed = {}
for key, value in metadata.items():
parsed[key] = self.process_metadata(key, value)
parsed['deck'] = deck_data
return "", parsed
def add_reader(readers):
readers.reader_classes['mwDeck'] = MTGReader
def register():
signals.readers_init.connect(add_reader)
Updating the configuration
Just like for KeyForge a few settings need to be included in the configuration file. Even if there are no decks, this setting is required, setting this to False will remove Magic: the Gathering from the main page overview. The other parts are important to make sure the plugin knows where to find and store data.
Unlike in our previous post, the overview page for Magic makes use of Pelican’s build in functions. However, we do need to make sure this file is known to Pelican and properly handled. By adding it to TEMPLATE_PAGES the template mtg_overview.html is known to Pelican and will be rendered and stored as mtg.html.
MTG_ENABLED = True
MTG_PATH = "data"
MTG_ASSETS_PATH = "assets/mtg"
TEMPLATE_PAGES = {'mtg_overview.html': 'mtg.html'}
A Note on card images
DeckLock will download images from Scryfall when building a local version using make html
. For private use this is
permitted in most countries. However, when building a version to release on the internet including copyrighted images
might no be a smart thing to do. Most likely it even is illegal. To this end, there are a few options included in the
file publishconf.py
which is used when building the version intended for on-line use. The latter can be build with
the command make release
.
USE_EXTERNAL_LINKS = True
STATIC_EXCLUDES = ['assets/keyforge', 'assets/mtg']
USE_EXTERNAL_LINKS
will use links to external platforms for card images rather than the downloaded images. For M:tG,
Scryfall will be used, for KeyForge the official images from the master vault are used. By excluding the assets folders
for both games by setting STATIC_EXCLUDES
, we prevent Pelican from copying the downloaded image to the output intended
for hosting DeckLock online.
These settings can be changed but should obviously be used with careful consideration. Re-hosting copyrighted material might have repercussions.
Other improvements
Along with support for Magic: the Gathering a number of other improvements were made. Most notably is the inclusion of a proper logo for DeckLock. But also under the hood there are a number of improvements. Gwent has been added in [part 3].
Liked this post ? You can buy me a coffee


Local baker, fisherman and pearl farmer. Knows the lagoon very well. Offers assistance in entering the lagoon, pearl farm tour guide, gasoline and diesel supplies, assistance with repairs and spare parts.
Secured Mooring, IAORANET WIFI connection (reported to be excellent), fresh water supply assistance, lunch and dinner on request, lagoon navigation assistance, lagoon tour, Black pearl farm visit, laundry.


CrimPapers
Articles published on 27 April 2020
On 27 April 2020, 8 new articles were published in 7 journals.
Discerning Justice: Clarifying the Role of Procedural and Interactional Justice in Restorative Conferencing by Heather L. Scheuerman, Talia N. Gilbert, Shelley Keith, Karen A. Hegtvedt
A Cultural Criminology of “New” Jihad: Insights From Propaganda Magazines by Hans Myhre Sunde, Jonathan Ilan, Sveinung Sandberg
Mexican Necropolitical Governmentality and the Management of Suffering Through Human Rights Technologies
Good Radicals? Trajectories of Pro-Kurdish Political and Militant Mobilisation to the Wars in Syria, Turkey and Iraq by Nerina Weiss
Mitigating the Consequences of Invasive Security Practices: A Quasi-Experiment in An International Airport
A Simple Checklist, That Is All It Takes: A Cluster Randomized Controlled Field Trial on Improving the Treatment of Suspected Terrorists By the Police
Social Housing Fraud in England
Access and Accessibility in Domestic and Family Violence Services For Women With Disabilities: Widening the Lens by Sally Robinson, Patsie Frawley, Sue Dyson


Fitting_models_in_R_bootstrap.Rmd
Parametric survival models are often the preferred method of extrapolating survival in economic modeling. When doing such modeling it is important to account for uncertainty in the estimates.
The flexsurvPlus package allows the handling of uncertainty in estimates primarily through boot strapping. The primary use of these bootstrap samples is to be used in probabilistic sensitivity analyses (PSA) in economic models. This is simpler to execute than the the traditional method in Excel using the variance covariance matrix and the cholesky decomposition as we now just need to sample from a list of parameters.
In addition this enables correlations between different endpoints to be preserved in the excel models. For example, if we expect that time to progression correlates positively with survival, then the random draws should also reflect this correlation, rather than just being drawn independently, which could lead to unrealistic iterations with large OS but minimal PFS, and vice versa. This vignette illustrates this with a simple example.
# Set up packages and data
To perform survival analyses, patient level data is required for the survival endpoints.
This example uses a standard simulated data set (adtte). There is no standard naming that is needed for this package however, there are some set variables that are needed:
In this example, we use overall survival (OS) and progression-free survival (PFS). For the purposes of this example we will look at only a single arm trial.
# simulate data with a medium correlation between PFS & OS on the patient level adtte <- sim_adtte(seed = 2020, # for reproducibility rho = 0.6 # defines a correlation on underlying survival times ) # subset OS data for reference arm and rename OS_data <- adtte %>% filter(PARAMCD=="OS", ARMCD == "A") %>% transmute(USUBJID, OS_days = AVAL, OS_event = 1- CNSR ) # subset PFS data for reference arm and rename PFS_data <- adtte %>% filter(PARAMCD=="PFS", ARMCD == "A") %>% transmute(USUBJID, PFS_days = AVAL, PFS_event = 1- CNSR ) analysis_data <- left_join(OS_data, PFS_data, by = c("USUBJID"))
The Kaplan-Meier curves are plotted below.
km.est.PFS <- survfit(Surv(PFS_days, PFS_event) ~ 1, data = analysis_data) km.est.OS <- survfit(Surv(OS_days, OS_event) ~ 1, data = analysis_data) par(mfrow=c(1,2)) # Plot Kaplan-Meier plot(km.est.PFS, xlab = "Time (Days)", # x-axis label ylab = "Progression-free survival", # y-axis label xlim = c(0, 800)) plot(km.est.OS, xlab = "Time (Days)", # x-axis label ylab = "Overall survival", # y-axis label xlim = c(0, 800))
We can use the bootPSM function with the boot package to generate bootstrap samples. In this example we have used OS and PFS. For speed of execution and illustration of concept we only fit a weibull model for PFS and a gamma models for OS here but all models discussed in runPSM could be specified with a single call.
If we are not concerned about correlations between endpoints we can generate independent samples for OS and PFS as shown below.
# fix a seed for the sampling set.seed(2358) # define a number of samples to generate. For illustration 100 are taken # In practice a larger number is preferable. n.sim <- 100 PSM_bootstraps_PFS <- boot( statistic = bootPSM, # bootstrap function R=n.sim, # number of bootstrap samples data=analysis_data, # the dataset time_var="PFS_days", # the time variable event_var="PFS_event", # the event variable coded as 1 for event model.type= "One arm", distr = "weibull", # for speed we only fit a single model but multiple could be specified, int_name = "A" # needed for one arm even as essential meta data ) PSM_bootstraps_OS <- boot( statistic = bootPSM, # bootstrap function R=n.sim, # number of bootstrap samples data=analysis_data, # the dataset time_var="OS_days", # the time variable event_var="OS_event", # the event variable coded as 1 for event model.type="One arm", # again for speed only a single model is specified distr = "gamma", int_name = "A" # needed for one arm even as essential meta data )
We can see these are using different bootstrap samples by looking at the bootstrap indexes. This is equivalent to performing PSA for OS and PFS independently in an Excel based model using two independent covariance matrices.
index_PFS <- boot.array(PSM_bootstraps_PFS, indices = TRUE) index_OS <- boot.array(PSM_bootstraps_OS, indices = TRUE) all(index_OS == index_PFS) #> [1] FALSE
If we want to maintain correlations between PFS and OS we need to use the same bootstrap samples for both the PFS and OS analysis. The easiest way to do this is to reuse the same seed before calling the boot function for the second endpoint. This use of a common seed means the same underlying random sampling process will be performed leading to a matching bootstrap sample.
# for illustration and speed only 100 samples used n.sim <- 100 # define a seed that will affect the random numbers used by boot for sampling set.seed(2020) PSM_bootstraps_PFScor <- boot( statistic = bootPSM, # bootstrap function R=n.sim, # number of bootstrap samples data=analysis_data, # the dataset time_var="PFS_days", # the time variable event_var="PFS_event", # the event variable coded as 1 for event model.type= "One arm", distr = "weibull", # for speed we only fit a single model but multiple could be specified, int_name = "A" # needed for one arm even as essential meta data ) # reuse the same seed that will affect the random numbers used by boot for sampling set.seed(2020) PSM_bootstraps_OScor <- boot( statistic = bootPSM, # bootstrap function R=n.sim, # number of bootstrap samples data=analysis_data, # the dataset time_var="OS_days", # the time variable event_var="OS_event", # the event variable coded as 1 for event model.type="One arm", # again for speed only a single model is specified distr = "gamma", int_name = "A" # needed for one arm even as essential meta data )
We can check these are indeed using the same bootstrap samples by comparing the indexes selected. This means the associated bootstrap distributions for PFS and OS should remain correlated.
# this returns the indexes selected in each sample index_PFScor <- boot.array(PSM_bootstraps_PFScor, indices = TRUE) index_OScor <- boot.array(PSM_bootstraps_OScor, indices = TRUE) # as desired all match between the two sampled sets all(index_OScor == index_PFScor) #> [1] TRUE
To illustrate the impact of accounting for correlations between each endpoint in such PSA we will look at plotting the extrapolated mean PFS and mean OS for the reference arm. To do this we need to calculate the mean PFS and mean OS for the reference for each sample.
# first we need to preprocess the data a little bit # first extract the bootstrapped parameters into tibbles bootsamples_PFS <- as_tibble(PSM_bootstraps_PFS$t) #> Warning: The `x` argument of `as_tibble.matrix()` must have unique column names if `.name_repair` is omitted as of tibble 2.0.0. #> Using compatibility `.name_repair`. bootsamples_OS <- as_tibble(PSM_bootstraps_OS$t) bootsamples_PFScor <- as_tibble(PSM_bootstraps_PFScor$t) bootsamples_OScor <- as_tibble(PSM_bootstraps_OScor$t) # then add column names so can identify model and parameter more easily colnames(bootsamples_PFS) <- names(PSM_bootstraps_PFS$t0) colnames(bootsamples_OS) <- names(PSM_bootstraps_OS$t0) colnames(bootsamples_PFScor) <- names(PSM_bootstraps_PFScor$t0) colnames(bootsamples_OScor) <- names(PSM_bootstraps_OScor$t0) # we can then calculate extrapolated means for each sample mean_PFS <- with(bootsamples_PFS, flexsurv::mean_weibull(scale = onearm.weibull.scale.int, shape = onearm.weibull.shape.int)) mean_OS <- with(bootsamples_OS, flexsurv::mean_gamma(shape = onearm.gamma.shape.int, rate = onearm.gamma.rate.int)) mean_PFScor <- with(bootsamples_PFScor, flexsurv::mean_weibull(scale = onearm.weibull.scale.int, shape = onearm.weibull.shape.int)) mean_OScor <- with(bootsamples_OScor, flexsurv::mean_gamma(shape = onearm.gamma.shape.int, rate = onearm.gamma.rate.int)) # we can now combine in a tibble for plotting means_both <- tibble(PFS = mean_PFS, OS = mean_OS, sample_id = 1:n.sim, Bootstrap = "uncorrelated") means_bothcor <- tibble(PFS = mean_PFScor, OS = mean_OScor, sample_id = 1:n.sim, Bootstrap = "correlated") plot_data <- rbind(means_both, means_bothcor) head(plot_data) #> # A tibble: 6 x 4 #> PFS OS sample_id Bootstrap #> <dbl> <dbl> <int> <chr> #> 1 195. 1064. 1 uncorrelated #> 2 199. 1018. 2 uncorrelated #> 3 215. 1268. 3 uncorrelated #> 4 199. 1069. 4 uncorrelated #> 5 216. 1077. 5 uncorrelated #> 6 204. 1094. 6 uncorrelated
We can now plot this dataset and as expected the correlated bootstrap approach leads to mean estimates for PFS and OS that preserve the correlations in the underlying data. Here we use all bootstrap samples but in the context of an excel economic model we would perform PSA by randomly sampling sample_ID and using the same sample_ID for both PFS and OS in a single PSA run.
plot_data %>% ggplot(aes(x = PFS, y = OS, color = Bootstrap)) + theme_bw() + geom_point() + stat_ellipse() + coord_cartesian(xlim = c(150, 250), ylim = c(750, 1750)) + xlab("Mean (weibull) PFS days") + ylab("Mean (gamma) OS days") + ggtitle("Each point is a bootstrap sample")


Format p value into a string representation that can be used for publishing.
# S3 method for pvalue format(ps, digits = 4, thresholds = c(0.001, 0.01, 0.05))
| ps | a vector (or single scalar) of significance levels |
|---|---|
| digits | round maximum digits displayed |
| thresholds | vector of increasing significance levels at which exact p values should be replaced with "< threshold" labels |
format.pvalue(1:10/101)#> [1] "< 0.01" "< 0.05" "< 0.05" "< 0.05" "< 0.05" "0.0594" "0.0693" "0.0792" #> [9] "0.0891" "0.099"


I have 3 feeds to Emoncms. They all have garbage data in them while I was testing out the hardware. Now I would like to delete the data in the inputs but I don't seem to see a way to delete old data. Can someone point me in the right direction?
JC
Archived Forum |
|
How to delete old data?Submitted by Guest on Wed, 03/07/2013 - 13:45I have 3 feeds to Emoncms. They all have garbage data in them while I was testing out the hardware. Now I would like to delete the data in the inputs but I don't seem to see a way to delete old data. Can someone point me in the right direction?
JC » |
Re: How to delete old data?
All the data is stored as 'feeds', so if you delete the feeds from the feeds page, it will also delete all of their associated data. Then re-create the feeds from the inputs.
I seem to think that if you name the 'new' feeds the same as the 'old' feeds, your saved dashboards (if you have any) will still continue to function. (anyone confirm pls?)
Paul
Re: How to delete old data?
Not tried, but the new feed will have a different ID and I don't think it should work. I mean if it did, it might be considered as a bug.
Re: How to delete old data?
If your feeds are setup as you desire and all you want to do it delete the data collected so far, you can use phpMyAdmin to edit the data in the feed tables directly. It is easy to delete the data while leaving the tables intact.
phpMyAdmin is also useful for backing up and restoring your database, or tables within it, using SQL
Re: How to delete old data?
I'm using an install emonCMS v8 on my own webserver.
I've found that by deleting (actually I temporarily moved them to a temp folder) the associated .dat files in the /var/lib/phpfiwa and /var/lib/phpfina folders it resets all old timestore values to 0 upon the next entry into the feed. I'm assuming the .meta files need to remain to track start and frequency information.
When I return the deleted/moved .dat files back to their original folder (overwriting the new .dat files created), the old data re-appears.
The visualizations reflect the moving of data instantly.
Re: How to delete old data?
Hi
How can I delete spike from feed data?Editrealtime "delele window data" would not work. My energy consumption is not working because the spike in Pulses total after I deleted the data from kwh/d window. I assume it is confused because the data is not growing ok because of the data spike.
It could be ok even delete all data just before the extra pulses till now.


LAYGO - LAYout with Gridded Objects¶
Laygo is an add-on to BAG2 framework for layout generation, written by Jaeduk Han, Woorham Bae, Zhongkai Wang, and Eric Jan. The physical design of analog and mixed-signal (AMS) circuits is very challenging in advanced CMOS processes, due to their complex design rules. Laygo abstracts the design rules by introducing quantized templates and grids. With Laygo, the AMS layout is constructed by placing templates and routing wires on grids; designers don’t need to deal with complex design rules. Using Laygo, you can script your layout construction process in Python, which gives higher productivity and process portability over multiple technology nodes.
Installation and Quick Start¶
Install BAG2 (skip if you are using the GDS flow)
Clone laygo repo
$ git clone git@github.com:ucb-art/laygo.git
Prepare setup files for your technology.
laygo_config.yaml - contains general technology information.
Example: labs/laygo_config.yaml
(technology_name).layermap(optional) - layer mapping file only for the GDS flow. Usually the layermap file can be found in your PDK library.
Example: labs/laygo_faketech.layermap
primitive template and grid database : laygo stores template and grid information in yaml files. Users can construct their yaml files, or provided from external vendors under NDA.
Example database files (for laygo_faketech, used in the GDS flow): labs/laygo_faketech_microtemplates_dense_templates.yaml, labs/laygo_faketech_microtemplates_dense_grids.yaml
An example script for constructing the yaml database: labs/lab2_a_gridlayoutgenerator_constructtemplate.py
Example setup files for generic technologies are released for reference, which can be found here:
* [cds_ff_mpt](git@github.com:ucb-art/BAG2_cds_ff_mpt.git) * [NCSU FreePDK45](git@github.com:ucb-art/BAG2_freePDK45.git)
For BWRC users, default setup files for various technologies are provided under proper NDAs.
Let’s run a toy example. Launch ipython and run the GDS tutorial script quick_start_GDS.py.
$ start_bag.sh (or ipython) > cd laygo > run quick_start_GDS.py
It will create a nand gate layout and save the layout to output.gds.
KLayout was used for the gds display. Detailed explanations on the tutorial script are here. You can also export the layout to the BAG framework. Refer to this document for details.
For more practice examples, go over lab materials in labs/. Detailed instructions can be found in lab readme.
More generator examples are being uploaded in https://ucb-art.github.io/laygo/ for reference.
Documentations¶
Documents are stored in https://ucb-art.github.io/laygo/.


Hi, my name is Tobias Ryttlinger and I am an 23 year old civic engineering student who has a passion for computer graphics and programming. Right now I'm in my fifth and last year of the Master of Science program of Media Technology at Linköping University. During my free time I love to spend time either playing video games, working out, drinking craft beer or throwing some discs at the disc golf course. My dream is to work with an either a small or large company in the video game or movie business where I can develop new skills both as an engineer and a person.
For more questions feel free to contact me on my mail<EMAIL_ADDRESS>or LinkedIn


A few weeks ago, I took part in the Cyber Security Challenge Belgium, an annual CTF hosted by NVISO intended for Belgian students to test their security knowlegde. After talking with some experienced security researchers, they convinced me to start bug hunting. They advised me to start seeking for vulnerabilites on small independent websites instead of hunting large programs on HackerOne and Bugcrowd.
After running over various websites, I noticed some strange behaviour on the website of Brouwland. Users are able to search for products by using the query input form. Since the resulting page includes the query string, I checked whether it was vulnerable to reflected XSS by entering some special characters.
The query XSS">
returned the following page:
Surprisingly, the double quote and closing tag were not being escaped. HTML escaping exists in transforming special characters like",<,>,...
into …, which makes XSS impossible. Input which does not gets escaped? This seemed to easy. If I just close the current tag using </*>
, I could append my malicious script which will be executed by the browser. For example:
test</p><script>alert('XSS')</script>
Unfortanetly, Thus, XSS is not possible in this field.
However, after inspecting


Home
New tool
Filter By Days
Filter By Category
Engineering Tools
{% block content %} {% endblock %}


Assigned applications (0)
| Application number | Title | Innovation area | Lead organisation | Action |
|---|---|---|---|---|
| 10001 | The potential for glucose based contact lens monitoring in the management of type 2 diabetes 123 | Information and communications technology (ICT) | Wessex University |


{% extends "layout-vary.html" %} {% block page_title %} Example - Forms {% endblock %} {% block content %} Back Login details DigiD For example, MeneerZuz&Zo Help finding your DigiD Your DigiD can be found on your registration letter. {% endblock %}
Your DigiD can be found on your registration letter.


Rhyme Time!
1) Put text in the box
2) Press button.
3) Outputs realtime analysis and final rhyme schemes.
Text in the box, then press submit. This code rocks, You have to admit.
submit


Class SIPTCPChannel
Implements
Inherited Members
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class SIPTCPChannel : SIPChannel, IDisposable
Constructors
| Improve this Doc View SourceSIPTCPChannel(IPAddress, Int32)
Declaration
public SIPTCPChannel(IPAddress listenAddress, int listenPort)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.IPAddress | listenAddress | |
| System.Int32 | listenPort |
SIPTCPChannel(IPEndPoint)
Declaration
public SIPTCPChannel(IPEndPoint endPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.IPEndPoint | endPoint |
SIPTCPChannel(IPEndPoint, SIPProtocolsEnum)
Creates a SIP channel to listen for and send SIP messages over TCP.
Declaration
public SIPTCPChannel(IPEndPoint endPoint, SIPProtocolsEnum protocol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.IPEndPoint | endPoint | The IP end point to listen on and send from. |
| SIPProtocolsEnum | protocol | Whether the channel is being used with TCP or TLS (TLS channels get upgraded once connected). |
Fields
| Improve this Doc View SourceDisableLocalTCPSocketsCheck
Can be set to allow TCP channels hosted in the same process to send to each other. Useful for testing. By default sends between TCP channels in the same process are disabled to prevent resource exhaustion.
Declaration
public bool DisableLocalTCPSocketsCheck
Field Value
| Type | Description |
|---|---|
| System.Boolean |
m_connectingSockets
List of sockets that are in the process of being connected to. Needed to avoid SIP re-transmits initiating multiple connect attempts.
Declaration
protected List<string> m_connectingSockets
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
m_tcpServerListener
This is the main object managed by this class. It is the socket listening for incoming connections.
Declaration
protected TcpListener m_tcpServerListener
Field Value
| Type | Description |
|---|---|
| System.Net.Sockets.TcpListener |
Properties
| Improve this Doc View SourceProtDescr
This string is used in debug messages. It makes it possible to differentiate whether an instance in acting solely as a TCP channel or as the base class of a TLS channel.
Declaration
protected virtual string ProtDescr { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceClose()
Closes the channel and any open sockets.
Declaration
public override void Close()
Overrides
| Improve this Doc View SourceDispose()
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceHasConnection(SIPEndPoint)
Checks whether there is an existing connection for a remote end point. Existing connections include connections that have been accepted by this channel's listener and connections that have been initiated due to sends from this channel.
Declaration
public override bool HasConnection(SIPEndPoint remoteEndPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPEndPoint | remoteEndPoint | The remote end point to check for an existing connection. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if there is a connection or false if not. |
Overrides
| Improve this Doc View SourceHasConnection(String)
Checks whether the SIP channel has a connection matching a unique connection ID.
Declaration
public override bool HasConnection(string connectionID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionID | The connection ID to check for a match on. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if a match is found or false if not. |
Overrides
| Improve this Doc View SourceHasConnection(Uri)
Not implemented for the TCP channel.
Declaration
public override bool HasConnection(Uri serverUri)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | serverUri |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceIsAddressFamilySupported(AddressFamily)
Checks whether the specified address family is supported.
Declaration
public override bool IsAddressFamilySupported(AddressFamily addresFamily)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.Sockets.AddressFamily | addresFamily | The address family to check. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if supported, false if not. |
Overrides
| Improve this Doc View SourceIsProtocolSupported(SIPProtocolsEnum)
Checks whether the specified protocol is supported.
Declaration
public override bool IsProtocolSupported(SIPProtocolsEnum protocol)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPProtocolsEnum | protocol | The protocol to check. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if supported, false if not. |
Overrides
| Improve this Doc View SourceOnAccept(SIPStreamConnection)
For TCP channel no special action is required when accepting a new client connection. Can start receiving immediately.
Declaration
protected virtual Task OnAccept(SIPStreamConnection streamConnection)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPStreamConnection | streamConnection | The stream connection holding the newly accepted client socket. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
OnClientConnect(SIPStreamConnection, String)
For TCP channel no special action is required when a new outgoing client connection is established. Can start receiving immediately.
Declaration
protected virtual Task OnClientConnect(SIPStreamConnection streamConnection, string certificateName)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPStreamConnection | streamConnection | The stream connection holding the newly connected client socket. |
| System.String | certificateName |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
OnSIPStreamDisconnected(SIPStreamConnection, SocketError)
Event handler for a reliable SIP stream socket being disconnected.
Declaration
protected void OnSIPStreamDisconnected(SIPStreamConnection connection, SocketError socketError)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPStreamConnection | connection | The disconnected stream. |
| System.Net.Sockets.SocketError | socketError | The cause of the disconnect. |
SendAsync(SIPEndPoint, Byte[], String)
Declaration
public override Task<SocketError> SendAsync(SIPEndPoint dstEndPoint, byte[] buffer, string connectionIDHint)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPEndPoint | dstEndPoint | |
| System.Byte[] | buffer | |
| System.String | connectionIDHint |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Net.Sockets.SocketError> |
Overrides
| Improve this Doc View SourceSendOnConnected(SIPStreamConnection, Byte[])
Sends data once the stream is connected. Can be overridden in sub classes that need to implement a different mechanism to send. For example SSL connections.
Declaration
protected virtual Task SendOnConnected(SIPStreamConnection sipStreamConn, byte[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPStreamConnection | sipStreamConn | The connected SIP stream wrapping the TCP connection. |
| System.Byte[] | buffer | The data to send. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
SendSecureAsync(SIPEndPoint, Byte[], String, String)
Attempts to send data to the remote end point over a reliable connection. If an existing connection exists it will be used otherwise an attempt will be made to establish a new connection.
Declaration
public override Task<SocketError> SendSecureAsync(SIPEndPoint dstSIPEndPoint, byte[] buffer, string serverCertificateName, string connectionIDHint)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPEndPoint | dstSIPEndPoint | The remote SIP end point to send the reliable data to. |
| System.Byte[] | buffer | The data to send. |
| System.String | serverCertificateName | Optional. Only relevant for SSL streams. The common name that is expected for the remote SSL server. |
| System.String | connectionIDHint | Optional. The ID of the specific TCP connection to try and the send the message on. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Net.Sockets.SocketError> | If no errors SocketError.Success otherwise an error value. |
Overrides
| Improve this Doc View SourceSIPTCPMessageReceived(SIPChannel, SIPEndPoint, SIPEndPoint, Byte[])
Gets fired when a suspected SIP message is extracted from the TCP data stream.
Declaration
protected Task SIPTCPMessageReceived(SIPChannel channel, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint, byte[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| SIPChannel | channel | |
| SIPEndPoint | localEndPoint | |
| SIPEndPoint | remoteEndPoint | |
| System.Byte[] | buffer |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |


Toggle navigation
Data & Reports
Navigation
Regression
Filter Time
Comparison Over Time
Multi Tier Filter
Bar Chart
Bar Chart
Quantities sold


In the year 2031, while touring a government research centre, you found a door that says “Break room. Only staff permitted”.
However, when the door opened, you were greeted with technology that is making food out of air and
a giant floating keyboard coding with numbers instead of letters.


User objects.
More...
◆ User() [1/3]
| GameJolt.API.Objects.User.User |
( |
int |
id | ) |
|
|
inline |
Initializes a new instance of the User class.
- Parameters
-
◆ User() [2/3]
| GameJolt.API.Objects.User.User |
( |
string |
name, |
|
|
string |
token |
|
) |
| |
|
inline |
Initializes a new instance of the User class.
- Parameters
-
◆ User() [3/3]
| GameJolt.API.Objects.User.User |
( |
JSONClass |
data | ) |
|
|
inline |
Initializes a new instance of the User class.
- Parameters
-
◆ DownloadAvatar()
| void GameJolt.API.Objects.User.DownloadAvatar |
( |
Action< bool > |
callback = null | ) |
|
|
inline |
Downloads the User avatar.
- Parameters
-
| callback | A callback function accepting a single parameter, a boolean indicating success. |
Will set the Avatar
field on the user.
◆ Get()
| void GameJolt.API.Objects.User.Get |
( |
Action< User > |
callback = null | ) |
|
|
inline |
Get the User information.
- Parameters
-
| callback | A callback function accepting a single parameter, a User. |
Shortcut for GameJolt.API.Users.Get(this);
◆ PopulateFromJSON()
| override void GameJolt.API.Objects.User.PopulateFromJSON |
( |
JSONClass |
data | ) |
|
|
inlineprotectedvirtual |
◆ SignIn()
| void GameJolt.API.Objects.User.SignIn |
( |
Action< bool > |
signedInCallback = null , |
|
|
Action< bool > |
userFetchedCallback = null , |
|
|
bool |
rememberMe = false |
|
) |
| |
|
inline |
Signs in the user.
- Parameters
-
| signedInCallback | A callback function accepting a single parameter, a boolean indicating whether the user has been signed-in successfully. |
| userFetchedCallback | A callback function accepting a single parameter, a boolean indicating whether the user's information have been fetched successfully. |
| rememberMe | Whether the user's credentials should be stored in the player prefs. |
◆ SignOut()
| void GameJolt.API.Objects.User.SignOut |
( |
| ) |
|
|
inline |
◆ ToString()
| override string GameJolt.API.Objects.User.ToString |
( |
| ) |
|
|
inline |
Returns a string that represents the current User.
- Returns
- A string that represents the current User.
◆ Avatar
| Sprite GameJolt.API.Objects.User.Avatar |
|
getset |
Gets or sets the user avatar.
The user avatar.
Settings this will only affect your game and won't be saved to GameJolt.
◆ AvatarURL
| string GameJolt.API.Objects.User.AvatarURL |
|
getset |
Gets or sets the user avatar URL.
The user avatar URL.
Settings this will only affect your game and won't be saved to GameJolt.
◆ ID
| int GameJolt.API.Objects.User.ID |
|
getset |
Gets or sets the ID.
The ID.
Settings this will only affect your game and won't be saved to GameJolt.
◆ IsAuthenticated
| bool GameJolt.API.Objects.User.IsAuthenticated |
|
get |
Gets a value indicating whether this User is authenticated.
true
if this User is authenticated; otherwise, false
.
◆ Name
| string GameJolt.API.Objects.User.Name |
|
getset |
Gets or sets the name.
The name.
Setting the name to a different value (case insensitive) will cause an authenticated User to not be authenticated anymore.
Settings this will only affect your game and won't be saved to GameJolt.
◆ Status
Gets the user status.
The user status.
◆ Token
| string GameJolt.API.Objects.User.Token |
|
getset |
Gets or sets the token.
The token.
Setting the token to a different value (case insensitive) will cause an authenticated User to not be authenticated anymore.
Settings this will only affect your game and won't be saved to GameJolt.
◆ Type
Gets the user type.
The user type.
The documentation for this class was generated from the following file:
- Plugins/GameJolt/Scripts/API/Objects/User.cs


nips nips2001 nips2001-172 nips2001-172-reference knowledge-graph by maker-knowledge-mining
Source: pdf
Author: N. Smith, Mark Gales
Abstract: An important issue in applying SVMs to speech recognition is the ability to classify variable length sequences. This paper presents extensions to a standard scheme for handling this variable length data, the Fisher score. A more useful mapping is introduced based on the likelihood-ratio. The score-space defined by this mapping avoids some limitations of the Fisher score. Class-conditional generative models are directly incorporated into the definition of the score-space. The mapping, and appropriate normalisation schemes, are evaluated on a speaker-independent isolated letter task where the new mapping outperforms both the Fisher score and HMMs trained to maximise likelihood. 1
[1] V. Vapnik. The Nature of Statistical Learning Theory. Springer-Verlag, 1995.
[2] N. Smith, M. Gales, and M. Niranjan. Data-dependent kernels in SVM classification of speech patterns. Tech. Report CUED/F-INFENG/TR.387, Cambridge University Eng.Dept., April 2001.
[3] K. Tsuda et al. A New Discriminative Kernel from Probabilistic Models. In T.G . Dietterich, S. Becker and Z. Ghahramani, editors Advances in Neural Information Processing Systems 14, MIT Press, 2002.
[4] T. Jaakkola and D. Haussler. Exploiting Generative Models in Discriminative Classifiers. In M.S. Kearns, S.A. Solia, and D.A. Cohn, editors, Advances in Neural Information Processing Systems 11 . MIT Press, 1999.
[5] N. Oliver, B. Scholkopf, and A. Smola. Advances in Large-Margin Classifiers, chapter Natural Regularization from Generative Models. MIT Press, 2000.
[6] S. Fine, J. Navratil, and R. Gopinath. A hybrid GMM / SVM approach to speaker identification. In Proceedings, volume 1, International Conference on Acoustics, Speech, and Signal Processing, May 2001. Utah, USA .
[7] N. Smith and M. Gales. Using SVMs to classify variable length speech patterns. Tech. Report CUED/ F-INFENG/ TR.412, Cambridge University Eng.Dept., June 2001.
[8] M. Fanty and R . Cole. Spoken Letter Recognition. In R.P. Lippmann, J .E. Moody, and D.S . Touretzky, editors, Neural Information Processing Systems 3, pages 220-226 . Morgan Kaufmann Publishers, 1991.
[9] T. Joachims. Making Large-Scale SVM Learning Practical. In B. Scholkopf, C. Burges, and A. Smola, editors, Advances in Kernel Methods - Support Vector Learning. MIT-Press, 1999.
[10] P.C. Loizou and A.S. Spanias. High-Performance Alphabet Recognition. IEEE Transactions on Speech and Audio Processing, 4(6):430-445, Nov. 1996.


|
Interface Summary |
| Bidiagonal<N extends Number> |
A general matrix [A] (m-by-n) can be factorized by similarity
transformations into the form [A]=[Q1][D][Q2]T where
[D] (r-by-r) is (upper or lower) bidiagonal
[Q1] (m-by-r) is orthogonal
[Q2] (n-by-r) is orthogonal
r = min(m,n)
|
| Cholesky<N extends Number> |
If [A] is symmetric and positive definite then the general
LU decomposition - [P][L][D][U] - becomes [I][L][D][L]T
(or [I][U]T[D][U]). |
| DecompositionStore<N extends Number> |
Only classes that will act as a delegate to a MatrixDecomposition
implementation from this package should implement this interface. |
| Eigenvalue<N extends Number> |
Calculates eigenvalues and eigenvectors (for square matrices). |
| Hessenberg<N extends Number> |
A general square matrix [A] can be decomposed by orthogonal
similarity transformations into the form [A]=[Q][H][Q]T
where
[H] is upper (or lower) hessenberg matrix
[Q] is orthogonal/unitary
|
| LU<N extends Number> |
Decomposes [this] into [L] and [U] (with pivot order information
in an int[]) where: |
| MatrixDecomposition<N extends Number> |
Some standard matrix names:
[A] could be any matrix.
[I] is an identity matrix.
[P] is a permutation matrix - an identity matrix with interchanged
rows or columns. |
| QR<N extends Number> |
Decomposes [this] into [Q] and [R] where:
[Q] is an orthogonal matrix (orthonormal columns). |
| Schur<N extends Number> |
[A] = [Q][U][Q]-1 where:
[A] is a square complex entry matrix.
[Q] is a unitary matrix (so that [Q]-1 equals
[Q]H).
[U] is an upper triangular matrix, which is called a Schur form
of [A]. |
| SingularValue<N extends Number> |
Decomposes [this] into [Q1], [D] and [Q2] where:
[Q1] is an orthogonal matrix. |
| Tridiagonal<N extends Number> |
Any symmetric/hermitian matrix [A] can be factorized by similarity
transformations into the form,
[A]=[Q][D][Q]T
where [Q] is an orthogonal/unitary matrix and [D] is a real symmetric
tridiagonal matrix. |


Yes dude, your own Blockchain Galaxy. Create the planets you need (chains), the population you think is convenient (total suply), in short, you can imagine how you want it. In addition to this, redefine their laws or add almost everything you could want with the Crypto-Con...


Today showed Cora using relative line numbers in vim and GitHub after she asked why I said, "commit my code." Good day for #nerddad.
1/30/2016, 4:43:32 PM
Favs: 4
Retweets: 0
link--- layout: tweet ---
Today showed Cora using relative line numbers in vim and GitHub after she asked why I said, "commit my code." Good day for #nerddad.
1/30/2016, 4:43:32 PM
Favs: 4
Retweets: 0
link


| <short cmd> ::= | '@' <id> S {<exps>}? |
Description
A list of expressions.
Examples
f(1,
Enum["red","green","blue"]
Description
A short command is a tagged command that does not have a body. The <id> is the tag. The <exp>'s are command attributes and options.
Parsing
The result of parsing a short command will be a xdom:element node with kind "normal" and an empty body.


[gecode-users] Extending Integer Variable
Gustavo Gutierrez
ggutierrez at atlas.puj.edu.co
Wed Apr 9 18:40:36 CEST 2008
On Wed, Apr 9, 2008 at 3:47 AM, Filip Konvička <filip.konvicka at logis.cz>
wrote:
> Hi Gustavo,
>
> > There are some other implementations that may result useful. One is the
> > interval library that comes with boost (already mentioned), also there
> is an
> > implementation by T. Hickey called smath (
> >
> http://interval.sourceforge.net/interval/prolog/clip/clip/smath/README.html
> )
> > and a complete solver for continous domains called elisa (
> > http://sourceforge.net/projects/elisa/).
> >
> > Smath provides a wide set of narrowing operator implementations and
> claims
> > to be correct, i have used it before and its quite good. Elisa comes
> with
> > different representations for constraints on continous domains (natural
> > interval form, newton interval form, etc.) and that makes it promising.
> > Boost.interval is the one that best deal with portability which is a
> matter
> > when dealing with floating point numbers.
>
> Again, these are interesting (I know you use smath in XRI), but my
> greatest concerns are portability and licensing. That said, an ideal
> templatized implementation of FloatVars should allow the user to choose
> their favorite arithmetics implementation, because these concerns are
> not universal.
>
Sure, portability is a real concern with floating point arithmetic and boost
interval seems to be the best choice for several reasons: very good design;
voice and vote of some peple in the c++ standard comitee . However, we can
get the best fom the three implementations. I think havng carefuly designed
implementations of FloatVars is the first step, then we can imprve the api
of propgators provided. If there is something i can contribute with just
tell me and i will be happy to participate.
Cheers,
Gustavo.
> Cheers,
> Filip
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
--
Gustavo Gutierrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080409/8c5f7155/attachment.htm>
More information about the gecode-users
mailing list


The Problem
For beauty lovers, it is not easy to track their makeup products. This causes problems include buying duplicate products, not fully utilizing a product before it expires, and wasting time on hunting for the perfect product.
My Role
Product Designer
Timeline
Janurary 2017 - May 2017
I analyzed websites and mobile apps that have the functionality of tracking beauty products but serve different purposes. Some weaknesses occur frequently in current solutions:
I interviewed four people with different levels of knowledge and interest in beauty products and developed three distinct personas to understand the population better. I discovered that people have different number of products, different level of knowledge about makeup, and different expectations for a beauty product managing app. Expert users care more about tracking the collection while people who do not own many products are very interested in seeing what other people are using and how they use them. At the end of the day, users all want to know what products will be most suitable for them and make them more beautiful. These findings showed that the product would be much more useful if it had sharing feature and a community component. Therefore I decided that there should be user-generated content such as ratings and tags, and users should be able to share how they use the products in real life.
I explored various solutions with sketches, and used storyboards to illustrate user's interactions with different solutions. In the storyboards, I thought through the process of adding products easily and sharing product reviews. One major decision was to decide on the format and platform of the solution. I ended up choosing a mobile application because first of all, people are using mobile products more and more these days, and secondly, the easiest way of adding products is through image recognition and a phone camera is the easiest way to realize this feature.
I used story maps and QOC (Question–Option–Criteria) to decide on the app flow and critical features.
With the story map and QOC, I came up with the following solutions to current user pain points:
It is tedious to enter product information for a number of products.
– Allow users to scan bar-codes or packages and search in a database
– Use user-generated content to keep the database up-to-date.
People need to do a lot of research to find products that are suitable for them.
– The main screen is trends and recommendations personalized based on user data
– Virtual try-on
It is hard to manage large number of products.
– Categorization, sorting, and filtering that makes sense for beauty lovers
Paper Prototype
I first made a cheap paper prototype to quickly test my ideas.
Iteration and High-fi Prototype
The feedback on the paper prototype revealed that the traditional way of showing products in a thumbnail view and allowing users to create their favorite list feels old. The virtual try-on feature, though being a "cool" idea, does not serve the purpose of sharing and learning about products but is more helpful for a shopping app.
To deliver something different from a traditional list, I decided to have a chatbot, which is a very efficient way to flatten the information architecture and simplify user tasks. The bot also serves as a friendly virtual assistant and helps collect user data for personalization during the on-boarding process. In the same spirit, I designed small customizable cards that can display meaningful information for different people.
I incorporated these ideas in my wireframes, and finally, a high-fidelity prototype.
In the ideation phase, I also made a whiteboard video explaining a concept of displaying beauty products in a virtual three-dimensional space (video contains sound).
I also continued studying digital products in the beauty realm, and here is a medium post I wrote about the latest Sephora website. More and more brands are using online communities as a marketing strategy, and it works great when the community sticks to good values and provides unique information. How to build a unique community and foster a healthy culture with the theme of consumer goods is an interesting question I hope to further explore.
The bot in my design solved the problem of personalization and product searching, but what else can it do? Exploring the potential of chatbot, or a more advanced conversational user interface, is another interesting direction for me.


India extends $28-mn aid to Nepal for rebuilding earthquake-hit houses
New Delhi committed USD 100 million as a grant for supporting these houses, in addition to USD 50 million from Line of Credit.
by ANIIndia on Wednesday released the third tranche of financial aid to Nepal to provide help to people in Nuwakot and Gorkha districts rebuild their houses damaged in the devastating earthquake in 2015.
India released 3.10 billion Nepali rupees (approx USD 27.9 million) to Nepal government from concessional Line of Credit as a part of reimbursement of housing reconstruction in Nuwakot and Gorkha districts, the Indian embassy said in a statement.
New Delhi committed USD 100 million as a grant for supporting these houses, in addition to USD 50 million from Line of Credit. So far, India has reimbursed NPR 6.96 billion (approx USD 69.6 million) towards payment of first and second tranches to homeowners.
The support by the Indian government also includes the provision of Socio-Technical Facilitation to the homeowners to encourage them to rebuild their homes as per the Government of Nepal's earthquake-resilient norms.
"Government of India remains committed to continue supporting the people and Government of Nepal for completion of post-earthquake reconstruction projects in Nepal," the statement read.


health
time
turns
remaining
northwest
north
northeast
speak
debug test2
west
current
east
clear
debug test1
southwest
south
southeast
navigate
actions


Fire is hot—except for those occasions when it's not. Sometimes, one of the special properties of magical or illusory fire is that it doesn't burn things, although, oddly enough, it may still require fuel.  Typically the fire in question will be pale blue to indicate its cold rather than hot (although, ironically, blue fire in real life is hotter than normal orange/yellow fire.)
Sometimes, the flames will actually be cold (in varying intensities), and not just not hot (scientifically a flame that's cold wouldn't be flame, but rather a cryogenic vapor that's luminescent, causing it to look like flame).
See also Convection Schmonvection, for when fires supposedly are hot, but don't quite behave like it.
Examples:
- One variety of mushi featured in Mushishi feeds off human body heat by appearing to its victims as an open flame. If a person huddles close to it for warmth, it saps their heat from them until they freeze to death. Interestingly, these mushi - called "kagebi," meaning "shadow fire" - can also be used to boil water and cook food, which if then ingested cause internal frostbite.
- In One Piece, Word of God states that Marco's blue phoenix flames do not burn or produce heat like normal flames, instead they are what allow him to heal.
- When a magic scroll is used in Overlord, it bursts into heatless flames.
- One Jack 'O Lantern (who later became Hobgoblin), a recurring Spider-Man villain, has flames all over his helmet, yet doesn't get burned due to the fire being a variant called "stage fire," which is used in theatrical productions to simulate flame. He also has an air-supply within the helmet — separate from the fire's air supply — that helps keep the helmet cool.
- The seventh The Land Before Time sequel is subtitled "The Stone of Cold Fire", referring to a comet seen crashing by Littlefoot. A few characters believe it to be a legendary "Stone of Cold Fire" that would grant their finders special powers. When found, it just turns out to be a mere rock, though, as much as meteorites can be called mere.
- In Artemis Fowl: The Time Paradox, Damon Kronski, leader of the Extinctionists, has a pit lined with flamethrowers which he uses to stage the execution of endangered species for the amusement of his supporters. Unbeknownst to him, another character (who wants the endangered animals saved for selfish reasons) fitted a trapdoor in the base of the pit and replaced the flamethrowers with hologram generators.
- In the Coldfire Trilogy, the Anti-Villain developed his own version of fire magic that burns cold rather than hot. As an undead, it's the only way he can safely wield fire.
- Minor Outer Gods Aphoom-Zhah and Tulzscha from the Cthulhu Mythos are both Elemental Embodiments of this sort. The former is a gray flame that consumes heat rather than emitting it, whilst the latter is comprised of "sickly green" flames that "radiate the clamminess of death and corruption" and leave a "noxious, venomous verdigris" wherever they touch. Aphoom-Zhah literally freezes whatever it touches, though Tulzscha is implied to be more of a poison or radiation elemental.
- In Susan Cooper's The Dark Is Rising, Hawkin summons nine large magical freezing cold flames that represent the power of the Dark and the spells of the Deep Cold.
- In the novel Dream Park, the South Seas Treasure Game scenario includes a form of "reverse fire", that un-burns ashes and causes frostbite on contact, as a plot device.
- An entire novel in The Galactic Consul series by Yevgeny Filenko is set on a planet whose native culture discovered a form of low-temperature plasma that doesn't burn if handled right (but is deadly otherwise) and adapted it into a weapon. The scientists are as baffled by its physics by the end of the novel as they are at the start.
- Harry Potter:
- In Harry Potter and the Philosopher's Stone:
- Hermione puts some non-burning magical fire in a jar to keep the trio warm in winter. Later she uses it to trick Snape into thinking his robes have caught fire and scoops it back into the jar when she's done. (In the film, the latter is changed to the regular kind of fire.)
- During the trials to reach the Stone, Snape's challenge has the entrance and exit blocked off by magical fire. Only by drinking the correct potion will it be safe for one to pass through them.
- In Harry Potter and the Prisoner of Azkaban, the textbook Harry reads reveals that the spell to negate flames is called the Flame Freezing Charm, and reduces their effects to a mild tickling sensation. During the era of witch burnings, witches and wizards would use this charm to survive their execution and subsequently fake their deaths. One witch, Wendelin the Weird, loved being "burned" and let herself be captured several times in various disguises.
- In Harry Potter and the Philosopher's Stone:
- In The Nekropolis Archives, the city of Nekropolis is surrounded by Phlegethon, a river of green fire which is cold rather than hot and burns the spirit rather than the flesh.
- The Saga of Hervor and Heidrek: When Hervor is looking for her father's gravemound in a haunted burial ground at night, there are ghostly "grave-fires" burning on the barrows. As it turns out, Hervor can go right through these fires without getting burned.
- This is how Captain Cold's gun works in The Flash (2014) when it fires a blue flame that reaches absolute zero. Initially, Cisco designed the weapon in mind to counter the Flash's Super Speed in case he ever went rogue. It's too bad that a janitor stole the gun and it had to fall into Captain Cold's hands of all people.
- Nepol in Galidor uses a literal version to stay cool; as An Ice Person, his temperature senses are inverted.
- In the Book of Exodus, an angel of the Lord speaks to Moses from a bush that burns but is not consumed.
- In Judaism, mainly Kabbalah, there are 4 types of flames that are differentiated by their capabilities:
- Fire that consumes solids but does not vaporize water
- Fire that does not consume solids but does vaporize water
- Fire that consumes solids and that also consumes water
- Fire that doesn't consume solids or vaporize water
- Verse 21:70 in the The Qur'an says: "O Fire! Become cool and safe for Abraham!"
- The magic system of Ars Magica can modify or remove core aspects of things, altering fires to produce light but no heat or vice versa.
- Dungeons & Dragons:
- Module I4 Oasis of the White Palm. In the Temple of Set the PCs can find a brazier filled with violet flames. The flames don't give off heat and don't burn wood. However, if they touch living flesh, they burn it, causing serious damage.
- The Continual Flame spell creates a permanent fire that doesn't burn or use oxygen and is used to make Everlasting Torches.
- In the Mystara D&D setting and the CD&D game, the halfling Masters' racial artifact is blackflame: a dark-colored, frigid "fire" that burns inflammable substances and radiates shadow rather than light.
- Blackfire and its nastier cousin Blightfire are powerful Necromantic effects that feed on the life force of the target rather than any physical substance, and cannot be extinguished by ordinary means.
- Drow can create faerie fire, harmless flames that illuminate targets. Its usefulness varies with the setting, but in general it helps make targets easier to hit.
- Mage: The Awakening: The Prime Arcanum's primary attack spell is "Celestial Fire" that's Made of Magic. It's more precise than Playing with Fire, since it doesn't spread or ignite objects, but it doesn't do any extra damage to vampires or other supernatural entities who are weak against mundane flames.
- In Alchademy, Flayme, an alchemist whose body is made of fire, states that he can control his flames so that they don't burn everything they touch.
- In Call of Duty multiplayer maps, fire is often present in small amounts (think burning wreckage) but entirely cosmetic. A player can stand next to or even in it and suffer no damage.
- Subverted with the Frozen Flame in Chrono Cross. While there are many different in-universe ideas of what this thing is, most people simply think it's some kind of cold fire, or fire trapped in ice (That has special powers). It's actually a fragment of Lavos that survived its destruction after the events of the previous game.
- Don't Starve's Reign of Giants DLC includes the craftable Endothermic Fire to cool down in the summer.
- The Legend of Zelda: Ocarina of Time has a bottle item called "Blue Fire" that is described as a "cool flame". It has a counterpart in the form of Red Ice which only it can melt.
- In Spirit Tracks a similar type of fire allows the boomerang to freeze water after being "burned" by it.
- Max Payne 2: The Stylistic Suck episodes of Baseball Bat Boy involve him dodging "shards of frozen fire" at one point.
- In the Pokémon games, there is a special Fire-Type attack called Will O' Wisp, which doesn't do any damage, but it inflicts a burn upon them.
- In Spyro: Year of the Dragon, in one level, Spyro's fire breath will become cold and can freeze enemies.
- Terraria:
- You can make Ice Torches, which can be used to craft lamps, campfires, and chandeliers.
- Certain items and enemies inflict the Frostburn debuff, which reduces health overtime and cancels health regen.
- In Unsounded, when a magic trap explodes and leaves behind cold flames, it's a sign that the Background Magic Field of the Khert has overloaded and is messing with reality. Although they're physically harmless, it's very bad news, since it means the fire's energy is discharging into the Khert instead.
- From Ben 10: Ultimate Alien, Ultimate Big Chill can shoot out flames that turn into solid ice after burning for a few seconds.
- There are some flammable solutions in Real Life that ignite at very low temperatures and don't produce enough heat to burn other things unless exposed for a prolonged period. One can use them to set a person on fire for a few minutes without burning them.


Go to go-meme-yourself.herokuapp.com/join to join this game
Click START ROUND once everyone has submitted a photo


#include <menus.h>
Public Methods | |
| TMenu () | |
| TMenu (TMenuItem &itemList) | |
| TMenu (TMenuItem &itemList, TMenuItem &TheDefault) | |
| ~TMenu () | |
Public Attributes | |
| TMenuItem* | items |
| TMenuItem* | deflt |
Definition at line 185 of file menus.h.
|
|
Creates a TMenu object and sets both deflt and items data members to 0. |
|
|
Creates a TMenu object consisting of `itemList'; sets items and deflt data members to that item. |
|
|
Creates a TMenu object; sets data members items and deflt to `itemList' and `TheDefault', respectively. |
|
|
Deletes the menu item list in items. |
|
|
Points to the default (highlighted) menu item. Determines how to react when the user presses Enter. |
|
|
Points to the list of menu items. Used by various draw member functions when parts of the menu structure need to be redrawn. |


SetDragCallback()
语法
SetDragCallback(@DragCallback())概要
A callback function to be called during a Drag & Drop operation initiated from this application. The callback allows to modify the Drag & Drop process provided by PureBasic, for example by providing a custom cursor through the API of the Operating system.
参数
@DragCallback() The address of a function to call during a drag operation. The form and purpose of the callback is dependant on the OS. It must take the following form:
Windows:Linux:Procedure DragCallback(Action) ProcedureReturn #True EndProcedureThe callback is called during the Drag & Drop operation. Action specifies the action that would be taken if the user released the mouse at this point. It can be one of these values:#PB_Drag_None: The data will not be accepted if dropped here #PB_Drag_Copy: The data will be copied #PB_Drag_Move: The data will be moved #PB_Drag_Link: The data will be linkedThe callback can provide a custom cursor or drag image. If it does so, it should return #False. Returning #True will cause the default cursor to be used.MacOSX:Procedure DragCallback(*Context.GdkDragContext, isStart) EndProcedureThe callback is only called at the start and the end of a Drag & Drop operation. The '*Context' parameter specifies the gdk drag context of this operation, 'isStart' specifies whether this is the start or the end of the operation. The return-value of the callback is ignored.
Gtk functions like gtk_drag_set_icon_pixbuf_() can be used in the callback to set a different drag image for the operation.Procedure DragCallback(DragReference, isStart) EndProcedureThe callback is only called at the start and the end of a Drag & Drop operation. The 'DragReference' parameter specifies the Carbon drag context of this operation in form of a 'DragRef' value, 'isStart' specifies whether this is the start or the end of the operation. The return-value of the callback is ignored.
All functions of the Carbon Drag Manager can be used to influence the drag operation before it starts (adding more flavors/items for example) and to get more information about the operation after it completed.
返回值
无.
参阅
SetDropCallback()
已支持操作系统
所有


Gas Explosion In Kamukunji Leaves At least 14 People Injured, Including An Infant
by Mercy AumaA gas explosion in a fast food restaurant around Kamukunji area has left several people seriously injured and rushed to the Kenyatta National Hospital (KNH).
The gas explosion happened at Classio Hotel near country bus.
According to a statement by the St John Ambulance, at least 14 people have been left serious wounds, and have been rushed to KNH to receive treatment.
“At least 14 people have been injured including a minor after a gas cylinder exploded at a fast food joint in Kamukunji,” read the statement.
Read: Explosion Near Odeon, Two People Injured
A team from St Johns Ambulance and County Disaster Unit was deployed to the scene and took part in the rescue operations together with the aid of police officers and well wishers.
On June 12, an almost similar incident took place at a guest house near Afya center.
The incident left three people dead and burnt beyond recognition, among them a woman who was alleged to be selling tea.
Read Also: Two Mechanics Die At A Garage In Machakos After Tyre Burst
The incident was confirmed by Nairobi Police Boss Philip Ndolo who ruled out the case of arson as the cause of the accident.
“We have already established the identity of one of the victims. We are waiting for the rest of the bodies to be claimed by relatives,” said Police Boss Ndolo.
On January 27, a different case of an Improvised Explosive Device (IED) went off along Latema road that left one man injured.


Void
This API operation is typically not a browser initiated action. However, we are calling this action from browser only as a reference to get an idea of how it can be done through your application.
Order ID
Target Transaction ID
Process Void


Video record your exercise execution and receive real time feedbacks on your technique
Track your improvement in range of motion conveniently with your phone
Plan and track your progress in different exercises and stretches.
Bad form leads to injury and reduce exercise effectiveness
Consistent progress in your rehabilitation ensure speedy return to previous fitness level
Your personal AI physiotherapist is always a fingertip away from you


Before Change
:return: A tensor of shape ``truth.shape``.
:rtype: torch.Tensor
if pred.dim() != 1 + truth.dim() or pred.shape[1:] != truth.shape:
raise ValueError("Expected pred to have one extra sample dim on left. "
"Actual shapes: {} versus {}".format(pred.shape, truth.shape))
opts = dict(device=pred.device, dtype=pred.dtype)
After Change
:return: A tensor of shape ``truth.shape``.
:rtype: torch.Tensor
if pred.shape[1:] != (1,) * (pred.dim() - truth.dim() - 1) + truth.shape:
raise ValueError("Expected pred to have one extra sample dim on left. "
"Actual shapes: {} versus {}".format(pred.shape, truth.shape))
opts = dict(device=pred.device, dtype=pred.dtype)


$mdIconProvider
is used only to register icon IDs with URLs. These configuration features allow
icons and icon sets to be pre-registered and associated with source URLs before the
<md-icon />
directives are compiled.
If using font-icons, the developer is responsible for loading the fonts.
If using SVGs, loading of the actual svg files are deferred to on-demand requests and are loaded
internally by the $mdIcon
service using the $templateRequest
service. When an SVG is
requested by name/ID, the $mdIcon
service searches its registry for the associated source URL;
that URL is used to on-demand load and parse the SVG dynamically.
The $templateRequest
service expects the icons source to be loaded over trusted URLs.
This means, when loading icons from an external URL, you have to trust the URL in the
$sceDelegateProvider
.
Read more about the $sceDelegateProvider.
Notice: Most font-icon libraries do not support ligatures (for example fontawesome
).
In such cases you are not able to use the icon's ligature name - Like so:
You should instead use the given unicode, instead of the ligature name.
##// Notice we can't use a hljs element here, because the characters will be escaped.
```htmlAll unicode ligatures are prefixed with the &#x
string.
// Configure URLs for icons specified by [set:]id.
$mdIconProvider
.defaultFontSet( 'fa' ) // This sets our default fontset className.
.defaultIconSet('my/app/icons.svg') // Register a default set of SVG icons
.iconSet('social', 'my/app/social.svg') // Register a named icon set of SVGs
.icon('android', 'my/app/android.svg') // Register a specific icon (by name)
.icon('work:chair', 'my/app/chair.svg'); // Register icon in a specific set
});
SVG icons and icon sets can be easily pre-loaded and cached using either (a) a build process or (b) a runtime startup process (shown below):
// Register a default set of SVG icon definitions
$mdIconProvider.defaultIconSet('my/app/icons.svg')
}) .run(function($templateRequest) {
// Pre-fetch icons sources by URL and cache in the $templateCache...
// subsequent $templateRequest calls will look there first.
var urls = [ 'imy/app/icons.svg', 'img/icons/android.svg'];
angular.forEach(urls, function(url) {
$templateRequest(url);
});
});
Note: The loaded SVG data is subsequently cached internally for future requests.
$mdIconProvider.icon(id, url, [viewBoxSize]);
Register a source URL for a specific icon name; the name may include optional 'icon set' name
prefix. These icons will later be retrieved from the cache using $mdIcon(<icon name>)
.
| Parameter | Type | Description |
|---|---|---|
* id
string
|
string |
Icon name/id used to register the icon |
* url
string
|
string |
specifies the external location for the data file. Used internally by
|
viewBoxSize
number
|
number |
Sets the width and height the icon's viewBox. It is ignored for icons with an existing viewBox. Default size is 24. |
| Returns | Description |
|---|---|
obj |
an |
$mdIconProvider.iconSet(id, url, [viewBoxSize]);
Register a source URL for a 'named' set of icons; group of SVG definitions where each definition
has an icon id. Individual icons can be subsequently retrieved from this cached set using
$mdIcon(<icon set name>:<icon name>)
| Parameter | Type | Description |
|---|---|---|
* id
string
|
string |
Icon name/id used to register the iconset |
* url
string
|
string |
specifies the external location for the data file. Used internally by
|
viewBoxSize
number
|
number |
Sets the width and height of the viewBox of all icons in the set. It is ignored for icons with an existing viewBox. All icons in the icon set should be the same size. Default value is 24. |
| Returns | Description |
|---|---|
obj |
an |
$mdIconProvider.defaultIconSet(url, [viewBoxSize]);
Register a source URL for the default 'named' set of icons. Unless explicitly registered,
subsequent lookups of icons will fail over to search this 'default' icon set.
Icon can be retrieved from this cached, default set using $mdIcon(<name>)
| Parameter | Type | Description |
|---|---|---|
* url
string
|
string |
specifies the external location for the data file. Used internally by
|
viewBoxSize
number
|
number |
Sets the width and height of the viewBox of all icons in the set. It is ignored for icons with an existing viewBox. All icons in the icon set should be the same size. Default value is 24. |
| Returns | Description |
|---|---|
Object |
an |
$mdIconProvider.defaultFontSet(name);
When using Font-Icons, AngularJS Material assumes the the Material Design icons will be used and
automatically configures the default font-set == 'material-icons'
. Note that the font-set
references the font-icon library class style that should be applied to the <md-icon>
.
Configuring the default means that the attributes
md-font-set="material-icons"
or class="material-icons"
do not need to be explicitly declared
on the <md-icon>
markup.
For example:
<md-icon>face</md-icon>
will render as face
,
and
<md-icon md-font-set="fa">face</md-icon>
will render as face
| Parameter | Type | Description |
|---|---|---|
* name
string
|
string |
Name of the font-library style that should be applied to the md-icon DOM element. |
$mdIconProvider.fontSet(alias, className);
When using a font-set for <md-icon>
you must specify the correct font classname in the
md-font-set
attribute. If the font-set className is really long, your markup may become
cluttered... an easy solution is to define an alias
for your font-set:
| Parameter | Type | Description |
|---|---|---|
* alias
string
|
string |
Alias name of the specified font-set. |
* className
string
|
string |
Name of the class for the font-set. |
$mdIconProvider.defaultViewBoxSize([viewBoxSize]);
While <md-icon>
markup can also be styled with sizing CSS, this method configures
the default width and height used for all icons; unless overridden by specific CSS.
The default sizing is (24px
, 24px
).
| Parameter | Type | Description |
|---|---|---|
viewBoxSize
number
|
number |
Sets the width and height of the viewBox for an icon or an icon set. All icons in a set should be the same size. The default value is 24. |
| Returns | Description |
|---|---|
Object |
an |


Dear Sir/ Madam, Greetings in the wonderful Name of our Gracious and Blessed Saviour, Jesus the Christ. I am Rev.Father Barry Alexander 60 years old from the republic of Ireland. Presently, I am the catholic Archbishop of Queensbury diocesses in United Kingdom. Ever since I became an Archbishop, I have been helping the Orphans in some of the charitable Societies across few European Countries. I have donated some money to a charitable Home in Spain, Sweden and here in Ireland with the little God has given me. But it is sad to let you know that, i became ill recently from Cancer of the liver. Before i got ill, i had sent some money amounting to Four Million Two Hundred Thousand US Dollars (US$4.2M) to a security and financial company in Amsterdam, the Netherlands.The fund is safe. I have been using the company for over Ten years now. I am presently admitted in Addenbrookes Hospital, Cambridge for Medical treatment with little hope of survival. Please if you can stand as my Next of Kin to this Funds, kindly reply me with your Name: Address: Tel: Fax: to enable me forward a letter of nominee on your behalf to the security company in Amsterdam where the Funds is presently kept for further distribution among the charitable Homes in your country as directed by me. As soon as i get your response, I will make you my next of Kin and furnish you with more details on how the Funds can be claimed by you physically from the financial company in Netherlands. Thereafter, i will also give you instruction on how the Funds will be distributed among some charitable Homes in your country. In return, I will offer you 20% of the total sum (US$4.2M) while extra 5% shall be set aside for all expenses incured by you during the process of claim. My Lord has already revealed to me that, you would be trustworthy enough to carry out this soul surviving transaction. May the Peace and Joy of the Lord abide in you. His humble Servant, Most Rev. Barry Alexander. ___________________________________________________________________________ E-mail enviado desde el servicio de WebMail de TuSitio.com - http://tudominio.com


Before Change
measurements = self.lidar.iter_measurments()
while self.on:
for quality, angles, distances in measurements:
self.distances = distances.copy()
self.angles = angles.copy()
def run_threaded(self):
return self.distances, self.angles
After Change
def update(self):
scans = self.lidar.iter_scans(550)
while self.on:
try:
for scan in scans:
self.distances = [item[2] for item in scan]
self.angles = [item[1] for item in scan]
except serial.serialutil.SerialException:
print("serial.serialutil.SerialException from Lidar. common when shutting down.")
def run_threaded(self):
return self.distances, self.angles
def shutdown(self):


Hi I am Ankit Saxena, a 22 year old Web developer living in Bareilly, India. I am a Computer Science Engineer, currently working as a remote full stack developer.
Have a look at my Github profile, skills or just connect with me on LinkedIn. I am always excited to do business with like minded people.


--- layout: post category: api ---
The ADS Developer API allows you to write scripts that access many ADS capabilites such as the search, metrics, and export functions.
Instructions on how to obtain a key and documentation for the various APIs are on the github repo: adsabs-dev-api.
Announcements and discussion related to the Developer API are available via the Google Group, adsabs-dev-api. We encourage all API users to subscribe, as the functionality of the API, will likely be improving and changing rapidly.
The API terms of use can be found here.


Header
Logo
×
Home
Store
History
Contact Us
Become a Member
Top Navigation
HOME
STORE
HISTORY
CONTACT US
BECOME A MEMBER
Form
Name: (required)
Email:
Phone: (required)
Comments:
Map
Address
Molson Brewery,
Toronto, ON, Canada.
M9W 5E5
(416) 679-1786
Bottom Navigation
About Us
Privacy Policy
FAQ
Terms & Conditions
Follow our Socials!


Machine Learning Scientist
There Is More!Ph.D. and M.Sc. in Machine Learning and Signal Processing from University of Zaragoza
Graduated in 2014 with Cum Laude
Python, Bash, Matlab
C / C++, and Low-level Langs.
Machine Learning and Signal Processing
TensorFlow, PyTorch, Keras, Kaldi
October 2015 to Present: SRI International
January 2015 to Jun 2015: Universidad de Zaragoza
September 2009 to December 2014: Universidad de Zaragoza
April 2012 to August 2012: SRI International
March 2011 to August 2011: Columbia University
February 2010 to July 2010: Fondazione Bruno Kessler
March 2008 to September 2008: ITAINNOVA
Currently based in New York City, you can contact me!
You can also find my personal email, LinkedIn and Google Scholar below too.
Diego Castan © 2021. All rights reserved. Powered by Bootstrap.
Theme based on the Creative Bootstrap Theme by Start Bootstrap.


{{experiment?.system_tags?.includes('archived') ? 'Yes' : 'No'}}
{{(experiment?.status_changed | date : TIME_FORMAT_STRING) | NA}}
{{(experiment?.last_iteration) | NA}}
{{experiment?.status_message | NA}}
{{experiment?.status_reason | NA}}
{{(experiment?.created | date : TIME_FORMAT_STRING) | NA}}
{{(experiment?.started | date : TIME_FORMAT_STRING) | NA}}
{{(experiment?.last_update | date:'MMM d yyyy H:mm') | NA}}
{{(experiment?.completed | date : TIME_FORMAT_STRING) | NA}}
{{(experiment?.active_duration | duration) | NA}}
{{experiment?.user?.name | NA}}
{{null| NA}}
{{experiment?.project?.name | NA}}
{{experimentComment}}


One of the benefits of using node is the ability to run multiple I/O tasks concurrently. Lets see how we can achieve that using callbacks or promises.
Callbacks
The most popular node module to run callback-based functions in parallel is caolan's async
function readTwoFiles(file1, file2, callback) {
async.parallel([
fs.readFile.bind(fs, file1),
fs.readFile.bind(fs, file2),
], callback);
}
readTwoFiles(file1, file2, function(err, files) {
console.log(files[0], files[1]);
})
The callback is called with no error and an array of results after all operations are complete, or when the first error is encountered.
Promises
Bluebird and Q give you .all()
, a method that creates a new promise from
an array of promises:
function readTwoFiles(file1, file2) {
return Bluebird.all([fs.readFileAsync(file1),
fs.readFileAsync(file2)]);
}
readTwoFiles(file1, file2).then(function(files) {
console.log(files[0], files[1]);
})
The resulting promise is fulfilled when all the promises in the array are fulfilled or is rejected with an error when the first error is encountered.
Notes
async.parallel expects functions that take a single callback argument.
Function.bind()
allows us to create such functions by binding some of the
arguments with predefined values. Therefore
fs.readFile.bind(fs, file1)
returns a function that works like this:
function(callback) { fs.readFile(file1, callback); }