This page provides step by step tutorials for learning how to use nanoStudio, these tutorials will guide you through the editor tools and explain how they can be used to create dynamic web experiences in 3D.
For documentation about the nunu scripting API check the API Documentation page.
These tutorials introduce the basic contents of the platform, do not require any previous programming knowledge and explore the most basic features of the editor.
These guides will help you to integrate nunuStudio applications inside you webpage, how to tranfer data between the webpage and the application, etc. For these guides more advanced javascript knowledge is required.


{% import 'macros/render_checkboxes.html' as render_checkboxes with context %}
{% import 'macros/render_value.html' as render_value with context %}
{% extends 'layouts/app.html' %}
{% block title %}What Are Your Values{% endblock %}
{% block meta_description %}Find out more about your true self.{% endblock %}
{% block body %}
What are values?
A person's prtinciples or standards of behaviour;
one's judgement of what is important in life.


Sample Editor as a Component
var foo = "whee"; function flubber() { return "tweeble"; }
Play with the editor
Enter language and blur out:
Push a new setting:


Flickan som lekte med elden / The Girl Who Played with Fire
Flickan som lekte med elden is a movie starring Noomi Rapace, Michael Nyqvist, and Lena Endre. As computer hacker Lisbeth and journalist Mikael investigate a sex-trafficking ring, Lisbeth is accused of three murders, causing her to...


Row 1 Primary Secondary Success Danger Warning Info Light Dark Link
Row 2 Click Me! Click Me... Click Me! Get Bootstrap
Row 3 xs Xtra Small Button Active Button! Disabled Button!
Row 4 Link Button
Row 5 Primary Secondary Success Danger Warning Info Light Dark
Row 6 Block level button Block level button
Row 7 Large Primary button Large Secondary button Small Primary button Small Secondary button
I think your mother smells of suffocated gas and bovine intestines something fierce. Did she eat any of the tainted cheese in the laboratory?


Ever wanted to do drag-n-drop sorting of a grid of images on a page and persist it? Here’s my solution using Grails, Prototype, and Script.aculo.us.
Basically what prompted this was the need for my wife to be able to sort the various product images that she had on a screen at any given time in any way that she pleased, and it had to be easy to work with. What follows is by no means a complete solution to this problem, but it represents where I am in the development process and may be useful to you, my hapless reader.
Here’s some GSP code which basically lays out a grid of product images, 3 wide by n deep:

<g:set var="rowIndex" value="${0}"/>
<g:each in="${products}" var="product" status="index">
<g:if test="${index % 3 == 0}">

</g:if>
<div id="product_${product.id}" class="span-6 product <g:if test="${(index % 3 == 2) || ((products.size() - index) == 1)}">last</g:if><g:else>append-1</g:else>">

<g:link controller="product" action="show" id="${product.id}">${product.name}</g:link>

<g:if test="${(index % 3 == 2) || ((products.size() - index) == 1)}">

<g:set var="rowIndex" value="${rowIndex + 1}"/>
</g:if>
</g:each>

Now here’s where the magic happens:
document.observe('dom:loaded', function() {
var productRows = $$('.product-row');
var options = {
constraint: false,
overlap: 'horizontal',
containment: productRows,
dropOnEmpty: true,
tag: 'div',
onUpdate: updateRows
};
productRows.each(function(item) {
Sortable.create(item, options);
});
$('persistOrderingButton').observe('click', function(event) {
var sortString = '';
productRows.each(function(row) {
sortString += '&';
sortString += Sortable.serialize(row);
});
<g:remoteFunction action="sortProducts" params="sortString" update="ajaxMessage" onSuccess="\$('ajaxMessage').show()"/>
});
});
What we’ve got here is, failure to communicate…oops, wrong synapse there…what we’ve got here is a Prototype selector that grabs everything with the class “.product-row.” It then takes these and creates a Scriptaculous Sortable for each of them, providing the object-literal “options.” Notice the “containment” option which allows you to drag products back and forth between the various rows.
Delving deeper into the magic is the callback function “updateRows.” This guy is my favorite Javascript creation in quite some time:
function updateRows(list) {
var children = list.childElements();
if (children.size() < 3) {
//If I'm the last row, who cares!
if (list.next() != null) {
var prevRow = list.previous();
if (prevRow != null) {
var lastChild = prevRow.childElements()[prevRow.childElements().size() - 1].remove();
list.insert({top:lastChild});
updateRows(prevRow);
} else {
var lastRow = list.up().childElements()[list.up().childElements().size() - 1];
var lastChild = lastRow.childElements()[lastRow.childElements().size() - 1].remove();
list.insert({top:lastChild});
updateRows(lastRow);
}
}
} else if (children.size() == 3) {
//Do nothing...gets me out of the recursion I hope!
} else {
var nextRow = list.next();
var lastChild = children[children.size() - 1].remove();
if (nextRow != null) {
nextRow.insert({top:lastChild});
updateRows(nextRow);
} else {
var topRow = list.up().childElements()[0];
topRow.insert({top:lastChild});
updateRows(topRow);
}
}
var i = 0;
Sortable.sequence(list).each(function(item) {
var productId = 'product_' + item;
if (i < 2) {
$(productId).removeClassName('last');
$(productId).removeClassName('append-1');
$(productId).addClassName('append-1');
} else {
$(productId).removeClassName('last');
$(productId).removeClassName('append-1');
$(productId).addClassName('last');
}
i++;
});
}
This function is organized around the fact that the only valid state for a grid of n-rows will be n-1 rows of 3 products, followed by one row of 1 <= numProducts <= 3. In most cases, if you drag a product from one row to another, you are violating that rule by creating a row with 2 products and a row with 4 products. This function solves the problem by recursively shifting the products down until reaching a stable state again.
There’s a bit of noise there at the bottom of the function. I’m using Blueprint CSS to do the layout for this application and I need to shift the various Blueprint classes around once everything is settled.
Finally, here’s the persistence of the data when we click save:
def sortProducts = {
TreeMap rowMap = new TreeMap()
params.each {key, value ->
def matcher = key =~ /productRow(.*)\[\]/
if (matcher.matches()) {
def rowId = matcher[0][1]
rowMap[rowId] = value
}
}
def productIds = []
rowMap.values().each { row ->
row.each {
productIds << it.toLong()
}
}
shoppingService.saveSortOrder(productIds)
render("Product sort order saved!")
}
and the logic from shoppingService.saveSortOrder():
def saveSortOrder(def productIds) {
def productsToSort = Product.findAllByIdInList(productIds)
def productMap = [:]
def sortIndexList = []
productsToSort.each {
productMap[it.id] = it
sortIndexList << it.sortIndex
}
sortIndexList.sort()
sortIndexList = sortIndexList.reverse()
productIds.each {
productMap[it].sortIndex = sortIndexList.pop()
}
productsToSort.each {
it.save()
}
}
You might wonder why this is so complex. What I haven’t fully described is the way products are organized into a hierarchy of various categories. When you’re sorting a screen, you’re only sorting a subset of the products that are in that particular category. However, the sort order is maintained across the entire product set in the database. So, this logic basically just shifts around the existing sort indicies, placing them in their new relative order.
Anyway, I don’t know how generally applicable this code is, but I had fun writing it and I hope you can get some use out of it. Cheers!


io.js is built against modern versions of V8. By keeping up-to-date with the latest releases of this engine we ensure new features from the JavaScript ECMA-262 specification are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.
Version 1.6.4 of io.js ships with V8 <IP_ADDRESS>, which includes ES6 features well beyond version 3.28.73 that ship with Node.js™ 0.12.x.
On<EMAIL_ADDRESS>(V8 3.28+), the --harmony
runtime flag enables all completed, staged and in progress ES6 features together, in bulk (with the exception of proxies
which are hidden under --harmony-proxies
). This means that some really buggy or even broken features like Arrow Functions are just as readily available for developers as generators, which have very little or even no known-issues. As such, most developers tend to enable only certain features by using specific runtime harmony feature flags (e.g. --harmony-generators
), or simply enable all of them and then use a restricted subset.
With<EMAIL_ADDRESS>(V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for shipping, staged and in progress features:
--es_staging
(or its synonym, --harmony
).--harmony_arrow_functions
), although this is highly discouraged unless for testing purposes.Block scoping
As of v8 <IP_ADDRESS>, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.
Collections
You can view a more detailed list, including a comparison with other engines, on the compat-table project page.
Classes (strict mode only, behind flag --harmony_classes
which implies block scoping & object literal extensions)
Object literal extensions (behind flag --harmony_object_literals
)
Symbol.toStringTag
(user-definable results for Object.prototype.toString
, behind flag --harmony_tostring
)
New features are constantly being added to the V8 engine. Generally speaking, expect them to land on a future io.js release, although timing is unknown.
You may list all the in progress features available on each io.js release by grepping through the --v8-options
argument. Please note that these are incomplete and possibly broken features of V8, so use them at your own risk:
iojs --v8-options | grep "in progress"
The current behaviour of the --harmony
flag on io.js is to enable staged features only. After all, it is now a synonym of --es_staging
. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard.
io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the process
global object. In case of the V8 engine, type the following in your terminal to retrieve its version:
iojs -p process.versions.v8


News W3Schools Labels Football Gaming Friends
Ey!
People are looking at your profile. Find out who.Status: Feeling Blue
John
Just Forgot that I had to mention something about someone to someone about how I forgot something, but now I forgot it. Ahh, forget it! Or wait. I remember.... no I don't.
Bo
Just Forgot that I had to mention something about someone to someone about how I forgot something, but now I forgot it. Ahh, forget it! Or wait. I remember.... no I don't.
Jane
Just Forgot that I had to mention something about someone to someone about how I forgot something, but now I forgot it. Ahh, forget it! Or wait. I remember.... no I don't.
Anja
Just Forgot that I had to mention something about someone to someone about how I forgot something, but now I forgot it. Ahh, forget it! Or wait. I remember.... no I don't.
Upcoming Events:
Paris
Fri. 27 November 2015
ADS
ADS


Another FAQ: https://code.google.com/p/selenium/wiki/FrequentlyAskedQuestions
Download the latest chromedriver from download page. Unzip the file:
unzip chromedriver_linux32_x.x.x.x.zip
You should see a chromedriver executable. Now you can create an instance of Chrome WebDriver like this:
driver = webdriver.Chrome(executable_path="/path/to/chromedriver")
The rest of the example should work as given in other documentation.
Ref: http://seleniumhq.org/docs/03_webdriver.html#how-xpath-works-in-webdriver
Selenium delegates XPath queries down to the browser’s own XPath engine, so Selenium support XPath supports whatever the browser supports. In browsers which don’t have native XPath engines (IE 6,7,8), Selenium supports XPath 1.0 only.
Ref: http://blog.varunin.com/2011/08/scrolling-on-pages-using-selenium.html
You can use the execute_script method to execute javascript on the loaded page. So, you can call the JavaScript API to scroll to the bottom or any other position of a page.
Here is an example to scroll to the bottom of a page:
driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
The window object in DOM has a scrollTo method to scroll to any position of an opened window. The scrollHeight is a common property for all elements. The document.body.scrollHeight will give the height of the entire body of the page.
Ref: http://stackoverflow.com/questions/1176348/access-to-file-download-dialog-in-firefox
Ref: http://blog.codecentric.de/en/2010/07/file-downloads-with-selenium-mission-impossible/
The first step is to identify the type of file you want to auto save.
To identify the content type you want to download automatically, you can use curl:
curl -I URL | grep "Content-Type"
Another way to find content type is using the requests module, you can use it like this:
import requests
content_type = requests.head('http://www.python.org').headers['content-type']
print(content_type)
Once the content type is identified, you can use it to set the firefox profile preference: browser.helperApps.neverAsk.saveToDisk
Here is an example:
import os
from selenium import webdriver
fp = webdriver.FirefoxProfile()
fp.set_preference("browser.download.folderList",2)
fp.set_preference("browser.download.manager.showWhenStarting",False)
fp.set_preference("browser.download.dir", os.getcwd())
fp.set_preference("browser.helperApps.neverAsk.saveToDisk", "application/octet-stream")
browser = webdriver.Firefox(firefox_profile=fp)
browser.get("http://pypi.python.org/pypi/selenium")
browser.find_element_by_partial_link_text("selenium-2").click()
In the above example, application/octet-stream is used as the content type.
The browser.download.dir option specify the directory where you want to download the files.
Select the <input type="file"> element and call the send_keys() method passing the file path, either the path relative to the test script, or an absolute path. Keep in mind the differences in path names between Windows and Unix systems.
First download the Firebug XPI file, later you call the add_extension method available for the firefox profile:
from selenium import webdriver
fp = webdriver.FirefoxProfile()
fp.add_extension(extension='firebug-1.8.4.xpi')
fp.set_preference("extensions.firebug.currentVersion", "1.8.4") #Avoid startup screen
browser = webdriver.Firefox(firefox_profile=fp)
Use the save_screenshot method provided by the webdriver:
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('http://www.python.org/')
driver.save_screenshot('screenshot.png')
driver.quit()


AP Top Rhode Island Headlines at 12:42 a.m. EST
by EndPlayHistorical society preserves 210-year-old theater curtain
Rhode Island mom, boyfriend, charged with child abuse
Rhode Island state worker charged with solicitation of minor
Ex-insurance exec gets 6 months in college admissions scam
Oversight board to vote on tuition spikes for state schools


Kathleen H Swanson
Unafffiliated
Retired Educator
BA, English; MA Education/Curriculum Development
80226
My experience in these areas have been limited to the educational environment only (see resume): instructional program development and trainings at District, State and Federal levels, building-based professional development, instructional coaching, State Assessment coordination, and Grant Writing at the State and Federal Levels.
Political activity up to the 2020 Presidential election minimal with no active work or affiliated involvement with, or contribution to, any political party. Political contributions are limited to this year's National election only: $100.00 to Hickenlooper campaign; $100.00 to Perlmutter campaign
Volunteer with Jefferson County Action Center, Lakewood Colorado
Since my retirement, I have wanted to explore possible ways to learn about and, contribute more to, the governance of my state. This commission is an opportunity to take that first step toward my goals of learning and involvement.
Building consensus is at times messy, but can be structured in ways that are fair, impartial and designed to promote success. Quite broadly, these include assuring all stakeholders are at the table and their voices are heard; clearly defining and establishing achievable and realistic goals, clearly defining required parameters and the steps needed in moving forward to achieve those goals; analyzing all pertinent data; and, finally, evaluating the process as you move forward, being flexible to adjust when needed .
Female


I use vagrant (along with chef, a vagrant plugin and my dotfiles) for my development environment. I do this for a number of reasons, but mostly, I find it’s the easiest way to get everything installed and configured properly regardless of which physical box I’m working on.
There are a number of issues I needed to address to get this all working. One of those, was getting a simple rails server from inside the VM to be available from my host’s browser.
Normally, when running rails s
either WebBrick (or even better Thin) starts up and listens for requests at
http://localhost:3000
. This is not an issue if you’re working on your local machine, but when attempting to access
that server from outside the VM we run into an issue.
From inside the VM, localhost
is bound to the private <IP_ADDRESS>
address. This means that, even if you do some port
forwarding for vagrant, the web server won’t respond to requests from your host machine.
You could solve this by passing -b <IP_ADDRESS>
to rails s
when you run it, but IMO rails s
should just work whether
I’m running locally or within a VM. To get around this we need to force rails to listen on all interfaces by default.
The first thing we want to do is configure our VM to use a static IP address. This will allow us to set up host file
entries on our host machines that point to the VM. The simplest way to do this is to set this value in your
Vagrantfile
For this to take effect, you’ll need to restart your VM (via vagrant reload
or however else you’d like).
Now that we’ve got the VM using a static IP, we can add an entry to our hosts file:
# do this on your host machine
$ sudo sh -c "echo <IP_ADDRESS> my-personal-vm.com >> /etc/hosts"
Be sure to use the same IP you used for the VM and replace my-personal-vm.com
with whatever you like.
The last step is getting rails to listen for requests on <IP_ADDRESS>
(all network devices). This is unfortunately not as
simple as I’d like, but doable nonetheless.
To do this, we’re going to monkey patch Rails::Server
if we’re running in the dev
environment. There are several
places we could put this code, I tend to add it to config/boot.rb.
All we’re doing here is keeping a reference to the original default_options
method and defining a new method that will
call the original with the Host
param set to <IP_ADDRESS>
.
From your guest machine, run rails s
. You should see something like this (note the binding address):
Now from your host machine, open a browser and go to http://my-personal-vm.com:3000
and you’ll see you site! (Replace
my-personal-vm.com
with whatever you used when adding the host entry).


The Power of Neural Networks: Simple Wage Predictions with Keras
For this post, I’ve chosen to first clarify some concepts related to Neural Networks (with increasing complexity) and then jump into the example, because we can learn the rest from exercises rather than having to abstract everything from theory. Here, you will find some ideas I wish I had read about on the first day I had contact with Neural Networks, I hope you enjoy it :).
As usual, my code will be available at github in this repo.
Neural Networks are basically an enhanced way of doing linear regression. The problem with linear regression is, obviously, that it is linear, i.e., it doesn’t cover a whole wide range of functions, more specifically: the non-linear ones. And, as it turns out, the set of non-linear functions is much bigger and more general than the linear one — the reason why we mostly only use linear functions is because we don’t know very systematic ways of dealing with the non-linear ones (but now we may) —, which poses a problem if we want to continue modelling the world and still stick to linear simple models. Neural Networks take linear models one step forward by putting a non-linear mask on the linear regressor and granting us, finally, access to non-linear modelling.
Neural Networks are an attempt at having a more well structured way of approximating non-linear functions than linear regressors: by using using networks of neurons composed of a linear regressor and an activation (non-linear) function we can finally access non-linear space. If you only use cells with linear regressors you would not be able to achieve the same results, because a sum of linear cells is also linear; and a sequence o linear cells is simply an embedded linear regressor.
We are going to try to predict wages from a set of features within a
dataset composed by 534 examples
The real data set has other features, but they are, somewhat
unexpectedly, much less relevant
In the graph it is easy to see a sad aspect of reality: women earn, on average, less than men. In this particular dataset, men earn 26.85% more than their female counterparts.
We will, of course use Neural Networks, but we should also use linear regression to have a benchmark we can make comparisons with. If our Neural Network is worse than the linear regression, then we should stick to the linear model, instead of using the more sophisticated approach.
With python, it’s very easy to use linear regression with scikit-learn
(sklearn
):
data = pd.read_csv("hourly_wages.csv")
train = data[['education_yrs', 'experience_yrs', 'female']].values
target = data[['wage_per_hour']].value
X_train, X_test, y_train, y_test = train_test_split(train, target, test_size = 0.1, random_state = 2)
regr = linear_model.LinearRegression()
regr.fit(X_train, y_train)
y_pred = regr.predict(X_test)
mean_squared_error(y_test, y_pred)
The usual measurement for the fitness of our model is the mean squared error — a mean over the sum of the individual errors our model makes — and, in our case, we get 18.86. This is rather high but the dataset doesn’t help because it’s small and there are many individuals with very similar stats and very different wages, so, unfortunately, we won’t get spectacular results with this dataset.
The next step is to finally get our Neural Network going. With Keras
— a Python library that uses higher level functions to make
Neural Networks implementations faster and easier —, we can
build our model with very few lines. Adding Dense
(each
node in one layer is connected to each node in the next) layers with
one-liners and calling powerful optimizers like ADAM with another
one-liner:
model = Sequential()
model.add(Dense(43, activation = 'relu', input_shape = (train.shape[1],)))
model.add(Dense(28, activation = 'relu'))
model.add(Dense(1))
model.compile(optimizer = 'adam', loss = 'mean_squared_error')
model_training = model.fit(x = X_train, y = y_train, epochs = 500, validation_data = (X_test, y_test))
After some tuning, I’ve found that something around 40 nodes for the first layer and 25 for the second was giving me something close to the optimal results. Some more tuning and I arrived at 43 and 28 for the number of nodes. This is not very necessary as the improvement was minimal, but is common practice when creating Neural Networks model.
Now, before we can finish our neural network model, we have to check for underfitting and overfitting, a very important step.
Underfitting is when our model is not having good results for the training set, which means it will probably not generalize to other (test) sets. This is checked with the training loss and is usually not a problem, because, given a high enough number of epochs (runs over the training set), the training loss will go to the minimum possible value.
Overfitting is a much more common and harder to solve issue and is mostly diagnosed by the difference in the accuracy with the training and test sets. It is a phenomenon that describes the model as being overly attached to the training data, addicted to its patterns so much that it won’t be able to generalize to new (test) data. There are a number of ways to deal with it, but the most common are: add more training data, limit the number of epochs for training, reduce the complexity of the model, regularization, etc.
In our case, underfitting happens if you use a low number of epochs, less than 150, and overfitting starts to appear after about 500 epochs. If we add too many layers with many nodes, overfitting also starts to take a toll on our loss.
After all our work, our loss is nothing to be proud of; 500 epochs and we beat the linear regressor by only a very small margin 18.42 to 18.86. This isn’t even a win, it is more like a tie, given that the training and test sets are randomly generated from the original data and have intrinsic variances. But…
Although both models have similar losses, that doesn’t mean the linear regressor is good enough and our efforts were fruitless. As I’ve said at the beginning of this post, linear things are linear, i.e., they don’t capture non-linearities inside our model. The question is then: is a linear model adequate to describe our data?…
Probably not I would say, simply because, in reality, wages don’t grow linearly with education and experience. What we often see when it comes to earning money is that, given a certain number of years of education, at the beginning, a linear growth happens and then it usually stagnates or grows very slowly after, say, 15 years of experience. This can be seen in the picture below:
On the other hand, I believe we can also expect that, fixed the number of experience years, the wages would grow more or less linearly for increasing numbers of years of education, which is what our neural network indicates also:
Finally, we can plot our models on a 3D graph to take a look at the models as a whole. You will notice that they recognize men and women as having different behaviors and it seems that the difference becomes bigger as we add more experience years.


Schedule your day to achieve more!
Minutes of planning save hours of life!
Our app is free to download and use forever!
Receive notifications to help you remember important events!
Entrepreneur | Developer | Goal achiever
3D Artist | Developer | International student


Chefs in the Kitchen
Date: May 4, 2014
Kitchen vs. Restraraunt
The video we watched for this blog entry summarized 2 types of thinking when entering DBC, and that everyone falls into both at some point.
The first type of thinking is the 'Restraraunt' mentality. Where you, the student are the consumer and the course is the item that you are paying for on the menu. This is a passive approach to learning.
The other type of thinking is the 'Chef' mentality, where the student takes an active approach to learning and controlling the direction of the curriculum.
From my understanding, DBC hopes to foster the second approach to learning, something more hands on for the students, even though everyone will have days where they fall into the first group. DBC instructors and mentors hope for students to take control and have an active interest in their learning rather than to be fully steered around.
As for me personally, I feel like most of my K-12 schooling life, and even most of college fostered the first type of thinking. Parents were quick to get angry with teachers if the child wasn't getting the grades. I'm not sure how I'll do in this type of environment, but I'm excited to start and try my best!
I think one of my problems initially will be learning to speak up when I have an idea, or when I need help. Both are things that I'm getting used to doing. Althought asking for help is getting easier and speaking up other times is still pretty hard. I'm going to do my best to try to overcome this and try to stay excited and active during my DBC experience.


{% ckan_extends %} {# Add explanation text about graphs #} {% block graph_intro %} {% if h.get_specimen_resource_id() == resource['id'] %}
These graphs show the date a specimen record was added to the Museum's collection database, and are not indicative of total specimens held in the Museum's collection.
{% endif %} {% endblock %}


Fowler lifts Sacramento St. over UC Riverside 62-49
SACRAMENTO, Calif. (AP) - Bryce Fowler had 17 points as Sacramento State defeated UC Riverside 62-49 on Friday night.
Brandon Davis and Joshua Patton added 16 points each for the Hornets. Davis also had seven rebounds, while Patton posted three blocks.
Ethan Esposito, the Hornets’ second leading scorer entering the contest at 11.0 points per game, shot only 14 percent (1 of 7).
TOP STORIES
Franklin Graham calls on nation to pray for Trump as impeachment effort gains speed
George Soros group asks Fox News to ban guest who claimed billionaire controls State Dept.
Nancy Pelosi goes for slam dunk -- and crashes to court
Dominick Pickett had 15 points and six rebounds for the Highlanders (2-1). Callum McRae added 11 points and 12 rebounds.
George Willborn III, who was second on the Highlanders in scoring coming into the contest with 13 points per game, shot only 20 percent (1 of 5).
Sacramento State (2-0) takes on UC Davis on Wednesday. UC Riverside matches up against Pacific on the road on Sunday.
For more AP college basketball coverage: https://apnews.com/Collegebasketball and http://twitter.com/AP_Top25
This was generated by Automated Insights, http://www.automatedinsights.com/ap, using data from STATS LLC, https://www.stats.com
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Scapy development uses the Mercurial version control system and is hosted on bitbucket. Scapy’s reference repository is at http://bb.secdev.org/scapy/src.
It provides a freely editable Wiki (please contribute!) that can reference issues, changesets, files from the project. It also provides a issue management service that is used to avoid forgetting patches or bugs.
The easiest way to contribute is to clone the official scapy repository (http://bb.secdev.org/scapy) on the bitbucket platform, and then submit your contributions by issuing a pull request (one per feature). See http://bb.secdev.org/scapy/wiki/contrib/index for more details.
UTScapy is a small Python program that reads a campaign of tests, runs the campaign with Scapy and generates a report indicating test status. The report may be in one of four formats, text, ansi, HTML or LaTeX.
Three basic test containers exist with UTScapy, a unit test, a test set and a test campaign. A unit test is a list of Scapy commands that will be run by Scapy or a derived work of Scapy. Evaluation of the last command in the unit test will determine the end result of the individual unit test. A test set is a group of unit tests with some association. A test campaign consists of one or more test sets. Test sets and unit tests can be given keywords to form logical groupings. When running a campaign, tests may be selected by keyword. This allows the user to run tests within a desired grouping.
For each unit test, test set and campaign, a CRC32 of the test is calculated and displayed as a signature of that test. This test signature is sufficient to determine that the actual test run was the one expected and not one that has been modified. In case your dealing with evil people that try to modify or corrupt the file without changing the CRC32, a global SHA1 is computed on the whole file.
Table 1 shows the syntax indicators that UTScapy is looking for. The syntax specifier must appear as the first character of each line of the text file that defines the test. Text descriptions that follow the syntax specifier are arguments interpreted by UTScapy. Lines that appear without a leading syntax specifier will be treated as Python commands, provided they appear in the context of a unit test. Lines without a syntax specifier that appear outside the correct context will be rejected by UTScapy and a warning will be issued.
| Syntax Specifier | Definition |
|---|---|
| ‘%’ | Give the test campaign’s name. |
| ‘+’ | Announce a new test set. |
| ‘=’ | Announce a new unit test. |
| ‘~’ | Announce keywords for the current unit test. |
| ‘*’ | Denotes a comment that will be included in the report. |
| ‘#’ | Testcase annotations that are discarded by the interpreter. |
Table 1 - UTScapy Syntax Specifiers
Comments placed in the test report have a context. Each comment will be associated to the last defined test container - be it a individual unit test, a test set or a test campaign. Multiple comments associated with a particular container will be concatenated together and will appear in the report directly after the test container announcement. General comments for a test file should appear before announcing a test campaign. For comments to be associated with a test campaign, they must appear after declaration of the test campaign but before any test set or unit test. Comments for a test set should appear before definition of the set’s first unit test.
The generic format for a test campaign is shown in the following table:
% Test Campaign Name
* Comment describing this campaign
+ Test Set 1
* comments for test set 1
= Unit Test 1
~ keywords
* Comments for unit test 1
# Python statements follow
a = 1
print a
a == 1
Python statements are identified by the lack of a defined UTScapy syntax specifier. The Python statements are fed directly to the Python interpreter as if one is operating within the interactive Scapy shell (interact). Looping, iteration and conditionals are permissible but must be terminated by a blank line. A test set may be comprised of multiple unit tests and multiple test sets may be defined for each campaign. It is even possible to have multiple test campaigns in a particular test definition file. The use of keywords allows testing of subsets of the entire campaign. For example, during development of a test campaign, the user may wish to mark new tests under development with the keyword “debug”. Once the tests run successfully to their desired conclusion, the keyword “debug” could be removed. Keywords such as “regression” or “limited” could be used as well.
It is important to note that UTScapy uses the truth value from the last Python statement as the indicator as to whether a test passed or failed. Multiple logical tests may appear on the last line. If the result is 0 or False, the test fails. Otherwise, the test passes. Use of an assert() statement can force evaluation of intermediate values if needed.
The syntax for UTScapy is shown in Table 3 - UTScapy command line syntax:
[root@localhost scapy]# ./UTscapy.py –h
Usage: UTscapy [-m module] [-f {text|ansi|HTML|LaTeX}] [-o output_file]
[-t testfile] [-k keywords [-k ...]] [-K keywords [-K ...]]
[-l] [-d|-D] [-F] [-q[q]]
-l : generate local files
-F : expand only failed tests
-d : dump campaign
-D : dump campaign and stop
-C : don't calculate CRC and SHA
-q : quiet mode
-qq : [silent mode]
-n <testnum> : only tests whose numbers are given (eg. 1,3-7,12)
-m <module> : additional module to put in the namespace
-k <kw1>,<kw2>,... : include only tests with one of those keywords (can be used many times)
-K <kw1>,<kw2>,... : remove tests with one of those keywords (can be used many times)
Table 3 - UTScapy command line syntax
All arguments are optional. Arguments that have no associated argument value may be strung together (i.e. –lqF). If no testfile is specified, the test definition comes from <STDIN>. Similarly, if no output file is specified it is directed to <STDOUT>. The default output format is “ansi”. Table 4 lists the arguments, the associated argument value and their meaning to UTScapy.
| Argument | Argument Value | Meaning to UTScapy |
|---|---|---|
| -t | testfile | Input test file defining test campaign (default = <STDIN>) |
| -o | output_file | File for output of test campaign results (default = <STDOUT>) |
| -f | test | ansi, HTML, LaTeX, Format out output report (default = ansi) |
| -l | Generate report associated files locally. For HTML, generates JavaScript and the style sheet | |
| -F | Failed test cases will be initially expanded by default in HTML output | |
| -d | Print a terse listing of the campaign before executing the campaign | |
| -D | Print a terse listing of the campaign and stop. Do not execute campaign | |
| -C | Do not calculate test signatures | |
| -q | Do not update test progress to the screen as tests are executed | |
| Silent mode | ||
| -n | testnum | Execute only those tests listed by number. Test numbers may be retrieved using –d or –D. Tests may be listed as a comma separated list and may include ranges (e.g. 1, 3-7, 12) |
| -m | module | Load module before executing tests. Useful in testing derived works of Scapy. Note: Derived works that are intended to execute as “__main__” will not be invoked by UTScapy as “__main__”. |
| -k | kw1, kw2, ... | Include only tests with keyword “kw1”. Multiple keywords may be specified. |
| -K | kw1, kw2, ... | Exclude tests with keyword “kw1”. Multiple keywords may be specified. |
Table 4 - UTScapy parameters
Table 5 shows a simple test campaign with multiple test set definitions. Additionally, keywords are specified that allow a limited number of test cases to be executed. Notice the use of the assert() statement in test 3 and 5 used to check intermediate results. Tests 2 and 5 will fail by design.
% Example Test Campaign
# Comment describing this campaign
#
# To run this campaign, try:
# ./UTscapy.py -t example_campaign.txt -f html -o example_campaign.html -F
#
* This comment is associated with the test campaign and will appear
* in the produced output.
+ Test Set 1
= Unit Test 1
~ test_set_1 simple
a = 1
print a
= Unit test 2
~ test_set_1 simple
* this test will fail
b = 2
a == b
= Unit test 3
~ test_set_1 harder
a = 1
b = 2
c = "hello"
assert (a != b)
c == "hello"
+ Test Set 2
= Unit Test 4
~ test_set_2 harder
b = 2
d = b
d is b
= Unit Test 5
~ test_set_2 harder hardest
a = 2
b = 3
d = 4
e = (a * b)**d
# The following statement evaluates to False but is not last; continue
e == 6
# assert evaluates to False; stop test and fail
assert (e == 7)
e == 1296
= Unit Test 6
~ test_set_2 hardest
print e
e == 1296
To see an example that is targeted to Scapy, go to http://www.secdev.org/projects/UTscapy. Cut and paste the example at the bottom of the page to the file demo_campaign.txt and run UTScapy against it:
./UTscapy.py -t demo_campaign.txt -f html -o demo_campaign.html –F -l
Examine the output generated in file demo_campaign.html.


Q. 137. Which is the seventh commandment? A. The seventh commandment is, Thou shalt not commit adultery.[766]
Q. 70. Which is the seventh commandment? A. The seventh commandment is, Thou shalt not commit adultery.[158]


1 write to _pendingCertificate
System.Management.Automation (1)
security\SecuritySupport.cs (1)
1006
_pendingCertificate
= certificate;
2 references to _pendingCertificate
System.Management.Automation (2)
security\SecuritySupport.cs (2)
1032
if (
_pendingCertificate
!= null)
1036
new X509Certificate2Collection(
_pendingCertificate
),


Flexible tip menu usage & configuration details
Introduction
- English
- · This is a tip menu bot for Chaturbate.
- · Fill in your prices and their description, and the bot will repeat them in the chat as notices for your viewers to see.
- const lang = 'en';
-
- Español
- · Esto es un bot de tip menu para Chaturbate.
- · Rellenas tus precios y su descripcion, y el bot los repetirá en el chat con noticias a los usuarios.
- · El admin panel "Launch Bot" mismo se puede cambiar al español: para hacer esto, cambia a "es" el variable lang al principio del codigo fuente.
- const lang = 'es';
-
- Français
- · Ceci est un bot de tip menu pour Chaturbate.
- · Remplissez vos prix et leur description, et le bot se chargera de les rappeler dans le chat.
- · Le panneau de configuration "Launch Bot" peut lui-même être affiché en français : pour cela, modifier à "fr" la variable lang au début du code source.
- const lang = 'fr';
-
One great feature of this bot is the ability to fill in the tip menu items as you think them up, and not worry about the order in which you write them or the specifics of what you write. Just put the amount first in the box, and the display format will
be handled globally by the app. It's configurable too. Any empty menu item box will be ignored. Menu items that don't start with a number are ignored as well.
There are two levels of configuration: the settings in the "Launch Bot" admin panel to make the menu look how you want it to, and inside the source code to adjust the admin panel itself. All the options are described below.
Why not configure everything in the "Launch Bot" page? One example is to translate the admin panel itself; another is the number of items: if 99 menu items are too many for you, feel free to reduce that value in the code of the app: the admin panel will
be shorter as a result.
Please feel free to discuss improvements and issues on GitHub (or to read a proper changelog).
Adding visuals to your notices
All text boxes in the admin panel can display graphics (if you choose to do so). There are two kinds of graphics:
- Emoji & the like
- · they are never animated
- · they can be copy/pasted directly
- · they can be emoji or plain text that just happens to look like an image
- · here are some examples: ☃ ☃ ❤ ► ◄ ● | 🔷 ♎ ♏
- · the way to look them up is either by "emoji" or "unicode" searches (for example here)
-
- Emoticons
- · some are animated, some aren't
- · they can't be copy/pasted without using their code
- · they are entered as text, with a colon followed by the name of the GIF
- · to work properly, the whole emote code needs a space on each side
- · as an example, :heart2 displays , while :heart7 translates to and :crownsilver shows as
- · one way to look them up is by hovering the mouse cursor over such an image in the chat, and after a few seconds you will see its code in a tooltip
- · another way is to start typing a colon in the chat followed by a letter and the chat will suggest emote codes for you: click one and you will get a preview of the image
- · any user on CB can upload an image of their choice and thus create a new :code for the chat and for apps to use
-
Variables in the source code (for the technical folks)
- lang
- · the language of the admin panel
- · it can be one of "en", "es" or "fr"
-
- nb_of_menu_items
- · the number of menu items that can be configured from the admin panel
-
Global settings in the admin panel
- App name
- · if set, this will be displayed in the chat at the top of the tip menu
-
- Errors shown to
- · either the broadcaster or the moderators will be able to see the errors in the configuration of the app (in the chat), or nobody
-
Automod features
- Automod feature: non-english text
- · aims to hide spammy messages from chat by detecting non-english text, which spammers use to avoid Chaturbate's own spam prevention system
- · you know what these messages are, don't you
- · enable this feature ONLY if you expect strict english in your chatroom: if you are eastern european and you chat in your language, this may not work well for you
- · choose here who is exempt from this Flexible Tip Menu feature (or "n/a" to disable this feature)
- · NB 1: setting to "broadcaster only" will allow you to test-run this feature without modifying public chat messages
- · NB 2: on a technical note, this feature works by detecting Unicode code points, rather than natural language detection
-
- Automod feature: links
- · aims to hide messages that contain links in chat, which is a feature already offered natively by Chaturbate and is also covered by the non-english automod above
- · you do not need to enable this Flexible Tip Menu feature, unless you are seeing links posted publicly in your chat room
- · choose here who is exempt from this Flexible Tip Menu feature (or "n/a" to disable this feature)
- · NB: setting to "broadcaster only" will allow you to test-run this feature without modifying public chat messages
-
- Who gets a notice of each infraction (all automods)
- · when any of the "automods" above are enabled, they keep track of infractions
- · this box allows you to send a notice in chat whenever such an infraction was made, for individual infractions, and choose here who gets to see these notices
-
- Record automod infractions in chat (all automods)
- · when any of the "automods" above are enabled, they keep track of infractions
- · this box allows you to send a notice in chat whenever such an infraction was made, with a tally of the number of infractions for that user, and choose here who gets to see these notices
-
Decorate messages in chat
- INDICATOR OF USER'S SEX IN CHAT
- · this feature adds an emoji to every userame in chat and in notices, to represent their gender as declared in their profile
- · these emoji were gleaned from https://en.wikipedia.org/wiki/Miscellaneous_Symbols and https://en.wikipedia.org/wiki/Planet_symbols#Mars
- · choose here who to apply the feature to, or to disable it completely
- · NB: setting this to "broadcaster only" means you will get every message twice, since you will also receive the normal messages from chat; this is meant for you to test-run the feature, and you'll want to choose either everyone or disabled
-
- INDICATOR OF TIME IN CHAT
- · this feature adds a timestamp to all messages and notices, to represent the passing of time
- · choose here the precision of the timestamp (minutes, seconds etc) or to disable the feature completely
- · NB 1: setting this to "broadcaster only" means you will get every message twice, since you will also receive the normal messages from chat; this is meant for you to test-run the feature, and you'll want to choose either everyone or disabled
- · NB 2: the hours are all set to GMT/UTC, so that nobody can figure out anybody else's location with this feature
-
Autogreet features
- AUTOMATICALLY GREET NEWCOMERS
- · this feature is meant to greet people as they enter the room
- · if set to "n/a", the module is disabled
- · otherwise, a notice is sent to the people and groups as configured in this box
-
- Background color
- · written in CSS/HTML format [1]
- · default color is: #ffffff
-
- Text color
- · written in CSS/HTML format [1]
- · default color is: #a4c2f4
-
- Text thickness
- · NB: "bold" and "bolder" are often the same
-
- Template for the notice in chat
- · template to format the notice
- · available variables are: {USER} for the nickname of the person joining the room
- · example: Hi {USER}, welcome to my room!
-
- AUTOMATICALLY GREET NEW FANS
- · this feature is meant to greet/thank people as they join the fan club
- · if set to "n/a", the module is disabled
- · otherwise, a notice is sent to the people and groups as configured in this box
-
- Background color
- · written in CSS/HTML format [1]
- · default color is: #ffffff
-
- Text color
- · written in CSS/HTML format [1]
- · default color is: #b6d7a8
-
- Text thickness
- · NB: "bold" and "bolder" are often the same
-
- Template for the notice in chat
- · template to format the notice
- · available variables are: {USER} for the nickname of the person joining the fanclub
- · example: {USER} has joined my fan club!
-
Autothank features
- AUTOMATICALLY THANK FOLLOWERS
- · this feature is meant to greet/thank people when they click the Follow button
- · if set to "n/a", the module is disabled
- · otherwise, a notice is sent to the people and groups as configured in this box
-
- Background color
- · written in CSS/HTML format [1]
- · default color is: #ffffff
-
- Text color
- · written in CSS/HTML format [1]
- · default color is: #ea9999
-
- Text thickness
- · NB: "bold" and "bolder" are often the same
-
- Template for the notice in chat
- · template to format the notice
- · available variables are: {USER} for the nickname of the person following you
- · example: Thanks for following me {USER}!
-
- AUTOMATICALLY THANK TIPPERS
- · if set to "n/a", the module is disabled
- · otherwise, a notice is sent to the people and groups as configured in this box
-
- Only tips above this limit will get a thank you
- · allows to avoid thanking every single low tip
- · NB: this is off-by-one on purpose, so that to thank people for their tips from 25 tokens and up, you have to set this to 24
-
- Background color for the public thanks
- · color of the background for the public notice
- · written in CSS/HTML format [1]
- · default color is: #ffffff
-
- Text color for the public thanks
- · color of the text for the public notice
- · written in CSS/HTML format [1]
- · default color is: #000000
-
- Text thickness for the public thanks
- · thickness of the text for the public notice
- · NB: "bold" and "bolder" are often the same
-
- Template for the public thanks
- · template to format the public notice
- · available variables are: {AMOUNT} for the tip amount, {USER} for the tipper's nickname, {SERVICE} for the label of the item corresponding to the tip amount
- · example 1: {USER} tipped {AMOUNT} for {SERVICE}
- · example 2: Thank you {USER} for your {AMOUNT}tk tip
-
- Background color for the private thanks
- · color of the text for the private notice
- · written in CSS/HTML format [1]
- · default color is: #ffffff
-
- Text color for the private thanks
- · color of the text for the private notice
- · written in CSS/HTML format [1]
- · default color is: #000000
-
- Text thickness for the private thanks
- · thickness of the text for the private notice
- · NB: "bold" and "bolder" are often the same
-
- Template for the private thanks
- · template to format the private notice
- · available variables are: {AMOUNT} for the tip amount, {USER} for the tipper's nickname, {SERVICE} for the label of the item corresponding to the tip amount
- · example 1: {USER} tipped {AMOUNT} for {SERVICE}
- · example 2: Thank you {USER} for your {AMOUNT}tk tip
-
- Whether to repeat the tip note back to the user
- · if you want tippers to get a notice to repeat their tip note back to them
-
- Template for the tip note reminder
- · template to format the personal reminder of the tip message (to its author, not in public chat)
- · same format options as the private thanks
- · available variables are: {MESSAGE}
- · example: Your tip note was: {MESSAGE}
-
Statistics report
- STATS COMMAND
- · whether to enable the command at all, and control who can see the results
- · this feature can show you a usage report
- · you can call up these statistics at any time with the "/stats" command (without quotes)
-
- Include new follower stats?
- · whether new followers should be included in the report
-
- Include room influx (chat members)?
- · whether people joining the chat should be included in the report
-
- Include fanclub subscriptions?
- · whether new fanclub members should be included in the report
-
Custom requests via tip notes
- REMEMBER TIPNOTES FOR CUSTOM REQUESTS
- · whether to enable the feature at all, show it to everyone or to a subset of users
- · this feature lets the bot record several tip notes before and after a custom request is made
- · this way, users can first ask with cheap tip notes if you agree to their request, and send their big tip only if you do, and the bot helps you keep track
- · several of their tip notes are recorded before and after the big tip (configuration below), in addition to the tip note for the request itself
- · you can call up these records at any time with the "/reqs" or "/requests" command (without quotes)
-
- Tip amounts to trigger this feature (one or several, separate by commas)
- · specify here the exact tip amounts that you expect for custom requests
- · example 1: 112
- · ^ this will trigger only on 112 tk tips
- · example 2: 112,223,556
- · ^ this will trigger for 112 tk tips as well as 223 tk tips and 556 tk tips
-
- Record X tipnotes *before* the custom request
- · specify here how many tip notes to record prior to the custom request
- · for example, when a user asks in a 1 tk tip note if you agree and only then do they tip for the custom request, but they don't repeat their request
- · this setting lets you go back in time several tip notes to help you remember what they asked for
- · change this value to 0 (zero) to disable
-
- Record X tipnotes *after* the custom request
- · specify here how many tip notes to record after the custom request
- · for example, when a user tips for a custom request, but they forget to include all the details and they need to send additional 1 tk tips to tell you
- · this setting helps you remember what they asked for
- · change this value to 0 (zero) to disable
-
Tip Menu settings in the admin panel
- Tip menu shown to
- · whether to enable the tip menu at all, show it to everyone or to a subset of users
-
- Tip menu header
- · if set, will be displayed after the app name and before the first item
-
- Tip menu footer
- · if set, will be displayed at the end of the tip menu
-
- Inline separator
- · if left empty, the tip menu will be multiline
- · otherwise, the tip menu will be displayed all in one line: in that case, the separator an be a comma or a dash or whatever text should appear between two tip menu items
-
- Inline spacing
- · if the inline separator is set, this option can be used to apply spacing to either side of the separator
- · for example, a comma might need only "right" spacing, while a dash might be better with spacing on both sides
-
- Menu background color
- · color of the background for the whole tip menu
- · written in CSS/HTML format [1]
-
- Menu text color
- · color of the text for the whole tip menu
- · written in CSS/HTML format [1]
-
- Menu boldness
- · thickness of the text
- · NB: "bold" and "bolder" are often the same
-
- Menu repeat minutes
- · number of minutes before the menu is displayed again in the chat
-
- Menu item prefix
- · text that is prepended to all menu items
- · allows the use of :emoticons
-
- Menu item suffix
- · text that is appended to all menu items
- · allows the use of :emoticons
-
- Menu item display format
- · all menu items are reformatted according to this pattern
- · allows the use of :emoticons
- · remember to include both {AMOUNT} and {LABEL}
- · available variables are: {AMOUNT}, {LABEL}
- · example 1: {AMOUNT} tokens - {LABEL}
- · example 2: {LABEL} ({AMOUNT}tk)
- · example 3: tip {AMOUNT} tokens for: {LABEL}
- · simply write "{AMOUNT}" and "{LABEL}" anywhere in the box, and they will be replaced with the current menu item
-
- Sort order
- · in which order to sort the items (can be disabled too)
-
- Menu item XYZ
- · must start with a number followed by a text label
- · anything else will be ignored by the app (handy to disable an item temporarily)
- · allows the use of :emoticons
-
[1] Feel free to use a tool like this one to pick your colors (focus on the "HEXA"
label that changes as you click on different colors). Flexible Tip Menu accepts both lowercase and uppercase color codes, and the # symbol is not required at the start.


bokeh.colors¶
Provide classes for representing RGB(A) and HSL(A) colors, as well as define common named colors.
bokeh.colors.Color¶
Provide a base class for representing color values.
-
class
Color
[source]¶ A base class for representing color objects.
-
static
clamp
(value, maximum=None)[source]¶ Clamp numeric values to be non-negative, an optionally, less than a given maximum.
-
darken
(amount)[source]¶ Darken (reduce the luminance) of this color.
- Parameters
amount (float) – Amount to reduce the luminance by (clamped above zero)
- Returns
Color
-
classmethod
from_hsl
(value)[source]¶ Create a new color by converting from an HSL color.
Subclasses must implement this method.
- Parameters
value (HSL) – A color to convert from HSL
- Returns
Color
-
classmethod
from_rgb
(value)[source]¶ Create a new color by converting from an RGB color.
Subclasses must implement this method.
- Parameters
value (
RGB
) – A color to convert from RGB- Returns
Color
-
lighten
(amount)[source]¶ Lighten (increase the luminance) of this color.
- Parameters
amount (float) – Amount to increase the luminance by (clamped above zero)
- Returns
Color
-
to_css
()[source]¶ Return a CSS representation of this color.
Subclasses must implement this method.
- Returns
str
-
static
bokeh.colors.HSL¶
Provide a class to represent colors with HSL (Hue, Saturation, Value).
-
class
HSL
(h, s, l, a=1.0)[source]¶ Represent colors by specifying their Hue, Saturation, and lightness.
Alpha values may also optionally be provided. Otherwise, alpha values default to 1.
-
static
clamp
(value, maximum=None)¶ Clamp numeric values to be non-negative, an optionally, less than a given maximum.
-
darken
(amount)¶ Darken (reduce the luminance) of this color.
- Parameters
amount (float) – Amount to reduce the luminance by (clamped above zero)
- Returns
Color
-
classmethod
from_hsl
(value)[source]¶ Copy an HSL color from another HSL color value.
- Parameters
value (HSL) – The HSL color to copy.
- Returns
HSL
-
classmethod
from_rgb
(value)[source]¶ Create an HSL color from an RGB color value.
- Parameters
value (
RGB
) – The RGB color to convert.- Returns
HSL
-
lighten
(amount)¶ Lighten (increase the luminance) of this color.
- Parameters
amount (float) – Amount to increase the luminance by (clamped above zero)
- Returns
Color
-
static
bokeh.colors.RGB¶
-
class
RGB
(r, g, b, a=1.0)[source]¶ Represent colors by specifying their Red, Green, and Blue channels.
Alpha values may also optionally be provided. Otherwise, alpha values default to 1.
-
static
clamp
(value, maximum=None)¶ Clamp numeric values to be non-negative, an optionally, less than a given maximum.
-
darken
(amount)¶ Darken (reduce the luminance) of this color.
- Parameters
amount (float) – Amount to reduce the luminance by (clamped above zero)
- Returns
Color
-
classmethod
from_rgb
(value)[source]¶ Copy an RGB color from another RGB color value.
- Parameters
value (
RGB
) – The RGB color to copy.- Returns
RGB
-
lighten
(amount)¶ Lighten (increase the luminance) of this color.
- Parameters
amount (float) – Amount to increase the luminance by (clamped above zero)
- Returns
Color
-
to_css
()[source]¶ Generate the CSS representation of this RGB color.
- Returns
str,
"rgb(...)"
or"rgba(...)"
-
static
bokeh.colors.groups¶
Organize CSS named colors into useful groups according to general hue.
-
class
black
[source]¶ CSS “Black” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
gainsborolightgraysilverdarkgraygraydimgraylightslategrayslategraydarkslategrayblack
-
class
blue
[source]¶ CSS “Blue” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
lightsteelbluepowderbluelightblueskybluelightskybluedeepskybluedodgerbluecornflowerbluesteelblueroyalbluebluemediumbluedarkbluenavymidnightblue
-
class
brown
[source]¶ CSS “Brown” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
cornsilkblanchedalmondbisquenavajowhitewheatburlywoodtanrosybrownsandybrowngoldenroddarkgoldenrodperuchocolatesaddlebrownsiennabrownmaroon
-
class
cyan
[source]¶ CSS “Cyan” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
mediumaquamarineaquacyanlightcyanpaleturquoiseaquamarineturquoisemediumturquoisedarkturquoiselightseagreencadetbluedarkcyanteal
-
class
green
[source]¶ CSS “Green” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
darkolivegreenoliveolivedrabyellowgreenlimegreenlimelawngreenchartreusegreenyellowspringgreenmediumspringgreenlightgreenpalegreendarkseagreenmediumseagreenseagreenforestgreengreendarkgreen
-
class
orange
[source]¶ CSS “Orange” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
orangeredtomatocoraldarkorangeorange
-
class
pink
[source]¶ CSS “Pink” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
pinklightpinkhotpinkdeeppinkpalevioletredmediumvioletred
-
class
purple
[source]¶ CSS “Purple” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
lavenderthistleplumvioletorchidfuchsiamagentamediumorchidmediumpurplebluevioletdarkvioletdarkorchiddarkmagentapurpleindigodarkslateblueslatebluemediumslateblue
-
class
red
[source]¶ CSS “Red” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
lightsalmonsalmondarksalmonlightcoralindianredcrimsonfirebrickdarkredred
-
class
white
[source]¶ CSS “White” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
whitesnowhoneydewmintcreamazurealiceblueghostwhitewhitesmokeseashellbeigeoldlacefloralwhiteivoryantiquewhitelinenlavenderblushmistyrose
-
class
yellow
[source]¶ CSS “Yellow” Color Group as defined by https://www.w3schools.com/colors/colors_groups.asp
yellowlightyellowlemonchiffonlightgoldenrodyellowpapayawhipmoccasinpeachpuffpalegoldenrodkhakidarkkhakigold
bokeh.colors.named¶
Provide the standard 147 CSS (X11) named colors.


Please authenticate your card ending in to authorize your purchase of .
Your card was declined, please provide a new payment method.
Payment completed!


Pat's Salmon Cookie Data
Enter New Store Location
Enter Average Hourly Cookie Sales
Enter Minimum Expected Customers
Enter Maximum Expected Customers
Want to franchise? Enter the data to see what could be!
Back to Home


renamefile(NAME, P1, P2) renames the files matching NAME, replacing
the substring P1 by P2. NAME may be a cell array of strings, and may
contain wildcards (*) and brackets (see rdir).
renamefile(NAME, P1, P2, OPT), where OPT is 'dironly', 'fileonly' or
'filedir', renames only the directory names, the file names, or both
(by default), respectively.
Examples
renamefile('DSC*.JPG','DSC','myphoto')
renames the files 'DSC00001.JPG','DSC00002.JPG',... as
'myphoto00001.JPG','myphoto00002.JPG',...
renamefile('*/DSC*.JPG','DSC','myphoto')
does the same in all the directories containing JPG files.
renamefile('B[1:100,3]*.VEC','B','PIV') renames the files
'B001*.VEC' to 'B100*.VEC' as 'PIV001*.VEC' to 'PIV100*.VEC'
renamefile('set*','set','newset','dironly') renames the directories
'set*' as 'newset*'.
See Also
renumberfile, MOVEFILE, rdir, getfilenum.


Check our Services
Every day I get up and look through the Forbes list of the richest people in America. If I’m not there, I go to work.
Passwords are like underwear: you don't let people see it, you should change it very often, and you shouldn't share it with strangers
Thank you for all the hard work you put in daily! Know that it is recognized and greatly appreciated!
Happy Clients
Spreading smiles!
Projects
Fantastic work!
Years of experience.
Yes, you are old :)
Awards
You deserve them all!
“It's really admirable how he/she always see projects through from conception to completion.”
“It’s amazing how he/she always help new employees get up to speed”
"Your attention to detail at work makes you more unique. Keep up the good work."
Check our Team
Contact Us
105 MG Road New Delhi, India-110072
<EMAIL_ADDRESS>+91<PHONE_NUMBER>


Timothy Gangl
About Me
Skills
Portfolio
Testimonials / Contact Me
Testimonials / Contact Me
Other links to me
Important info
Resume:
Timothy Gangl
Phone:
(530) 867-6858
Email:
Tim.Gangl30@gmail.com


API Documentation
IP Geolocation
The geolocation result for an ip address
The geolocation results for an multiple ip addresses
The result for an ip that there is no data on
The result from requesting an invalid ip


in City, C; at 00:00, 01.01.1970
+1.0°C
N
0.0 m/s
Information is refreshing automatically every fifteen minutes. Service is using data from openweathermap.org, freegeoip.net and ipify.org. All icons are made by Alessio Atzeni. This is a study project made by Dmitry Elagin for Free Code Camp. Check GitHub for source code. Page is using cookies only to cache its settings and weather data.


sdl2.ext.time - track and control game time and framerate.¶
Track and control game time and framerate.
Note
This is a MODIFIED, pure Python implementation of time-related functions from PyGameSDL2’s time, in Cython, released under zlib license.
PygameSDL2 Notice / zlib License:
--------------------------------------------------------------------------
Original work:
Copyright 2014 Tom Rothamel<EMAIL_ADDRESS>Copyright 2014 Patrick Dawson<EMAIL_ADDRESS>Modified work:
Copyright 2017 Lucas Siqueira<EMAIL_ADDRESS>This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not
be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
--------------------------------------------------------------------------
-
class
sdl2.ext.time.
Clock
¶ Bases:
object
Clock is used track and control the framerate of a game.
The clock can be used to limit the framerate of a game, as well as track the time used per frame.
- Usage:
- clock = time.Clock()
-
__init__
()¶ Initialization.
-
get_fps
()¶ Compute the clock framerate.
Compute your game’s framerate (in frames per second). It is computed by averaging the last ten calls to Clock.tick().
- Usage:
- get_fps()
Returns: float
-
get_rawtime
()¶ Actual time used in the previous tick.
Similar to Clock.get_time(), but this does not include any time used while clock.tick() was delaying to limit the framerate.
- Usage:
- clock.get_rawtime()
Returns: int (milliseconds)
-
get_time
()¶ Time used in the previous tick.
Returns the parameter passed to the last call to Clock.tick().
- Usage:
- clock.get_time()
Returns: int (milliseconds)
-
tick
(framerate=0)¶ Update the Clock.
This method should be called once per frame. It will compute how many milliseconds have passed since the previous call.
If you pass the optional framerate argument the function will delay to keep the game running slower than the given ticks per second. This can be used to help limit the runtime speed of a game. By calling clock.tick(40) once per frame, the program will never run at more than 40 frames per second.
- Usage:
- tick(framerate=0)
Returns: float (milliseconds)
-
sdl2.ext.time.
wait
(milliseconds)¶ Pause the program for an amount of time.
Will pause for a given number of milliseconds. This function sleeps the process to share the processor with other programs. A program that waits for even a few milliseconds will consume very little processor time.
- Usage:
- wait(milliseconds)
Returns: int (the actual number of milliseconds used)
-
sdl2.ext.time.
get_time
()¶ Get the current time from SDL clock.
-
sdl2.ext.time.
get_delta
(t0)¶ Get the time elapsed since the passed time.


ComputerGenie 👴👴👴11-Dec-18 08:52 AM
-shrinkdebugfile is what bitcoin uses (to auto truncate with each new run), dunno if we have that or not(edited)
1
-printtoconsole also works if you really want to save space
blackjok3r11-Dec-18 08:56 AM
nar the log prints too much, and until I can find all these prints and remove ones we dont need, that would be bad ... also notary nodes pipe to /dev/null by default, so debug.log is the only way to get any meaningful info when things go wrong.
void ShrinkDebugFile()
we have ti btw
1
ComputerGenie 👴👴👴11-Dec-18 08:57 AM
so debug.log is the only way to get any meaningful info when things go wrong.
Yeah, that's why I added the , because that leaves 0 log
1
blackjok3r11-Dec-18 08:59 AM
It seems if called on daemon start already though
the only thing I cna add, is to call it periodically during runtime... to prune it down... not sure thats a super great idea.
talking about 30-40mb over all chains ... not that much..
Mylo11-Dec-18 09:44 AM
Plain old pastebin chain, yes. But if you’ve got better things to do that isn’t a hard dapp. It is limited use but reusable base for a tutorial for any similar tool
blackjok3r11-Dec-18 09:45 AM
Alright was proposing an ORL chain for these exact reasons ... I think mostly it was because if the name
ComputerGenie 👴👴👴11-Dec-18 09:54 AM
no more proposing anything until you figure out why I'm not notarizing CFEK
Australians are getting a lump of coal from the government for Christmas this year thanks to a new encryption law that could destroy the tech sector there.
blackjok3r11-Dec-18 12:52 PM
Saw a clip of that linus tech tips guy mentioning that ... something like "Google, Amazon, Apple and microsoft, should withdraw their services from Australia immediatly if this is the case and make its citizens rampage down the government for its stupidity" @smk762 - dracocanis ominator(edited)
My CFEK staker is no longer staking I guess...
smk762 - dracocanis ominator11-Dec-18 01:03 PM
I'm getting a bit sick of living in a "safe" country(edited)
have no faith or trust in those keeping me "safe"
some old lady gave me shit at the shops today for not having a loyalty card(edited)
gloated about how she was getting a free coke
I told her she sold out her privacy pretty cheap
3
Might have to go all Ruby Ridge in far north QLD.
1
blackjok3r11-Dec-18 01:08 PM
Thats always an option, I feel here isnt so bad as it is... Really we should start going all EU and get some yellow vests if this actually happens.
smk762 - dracocanis ominator11-Dec-18 01:09 PM
we're too laid back for that. Normally thats a good thing, but the gov is far from laid back
noone here will cut sick until housing colapses and they get hungry
blackjok3r11-Dec-18 01:11 PM
Yeah sadly thats probably the case... although those two things are almost certain at this point aswell.
smk762 - dracocanis ominator11-Dec-18 01:11 PM
it's not bad here yet, relatively. but the path to bad is well paved
by the time apathy is replaced by outrage, the tools to quell the riots will be deadly. We'll return to being a nation of convicts, with a lucrative quarterly for Serco
1
ComputerGenie 👴👴👴11-Dec-18 03:22 PM
says, "fek CFEK"
ComputerGenie 👴👴👴11-Dec-18 04:27 PM
What, exactly determines who signs a specific notarization?(edited)
TonyL11-Dec-18 04:36 PM
@ComputerGenie 👴👴👴 Hmm, today I've made a fresh installation of StakedNotary on the clean server and CFEK notarising ok (was without notarisations for a few hours first but then I get few)
Well, I did the wallet reset and then a reindex, that got me like 1 or 2 and then squat for the last 3 hrs
ComputerGenie 👴👴👴11-Dec-18 05:35 PM
SHossain is notarizing like 99% of the time
jorian11-Dec-18 05:36 PM
who signs a notarization? i think it's the node that signs a tx last
not sure how many sigs are needed for kmdlabs
ComputerGenie 👴👴👴11-Dec-18 05:36 PM
minsigs.5
jorian11-Dec-18 05:36 PM
but blackjok3r would know this for sure
ComputerGenie 👴👴👴11-Dec-18 05:37 PM
yay, I finally got one
after 4hrs14min
jorian11-Dec-18 05:38 PM
ComputerGenie 👴👴👴11-Dec-18 05:39 PM
one thing I'm entirely certain of:
being the 1st to see new blocks is meaningless
jorian11-Dec-18 05:41 PM
in a notarization?
in the official notaries, you clearly have an advantage if you have a clean wallet. i think it's the speed in which your node can present a valid input to a notarization transaction that makes the difference
ComputerGenie 👴👴👴11-Dec-18 05:42 PM
ya, my NN was the 1st node in the network besides my mining node to see new blocks for most of that 4 hrs
jorian11-Dec-18 05:42 PM
i don't think mining has a lot to do with notarizations
ComputerGenie 👴👴👴11-Dec-18 05:43 PM
what I mean is that there's no "advantage" to being the 1st NN to know about the blocks
jorian11-Dec-18 05:43 PM
apart from being the first, no, there is no advantage


Add your comment here
Friday
Saturday
Sunday
Friday
Saturday
Sunday
Friday
Saturday
Sunday
Friday
Saturday
Sunday
Send Us
a Message
Username
Password
Login
Username
Password


An example of how to use Redis as a task queue within a Flask web application.
Available Tasks
What?
This is a demo of Hello Redis Tasks, a Python project that uses Redis as a task queue for background work within a Flask website. Click one of the 'Add' links above to simulate work and add the two numbers together in the background. You will see a progress page until the work is complete. Then the result will be presented to you.
How does it work?
Clicking 'Add' will tell the web app to start a new task, then display the progress page. In the code, you'll see
that starting a new task is as simple as pushing some data onto a Redis list. The app is then
free to complete the web request while the external worker.py process does all the work. Meanwhile the processing
page, using AJAX, will poll the server until it responds with 'ready=true', to which it redirects you to the results page.
Be sure to check out the comments and docstrings in the source code for details.
Was this helpful?
Do let me know! I'm open for suggestions and will try to keep this as simple and up-to-date as possible.
Say hello at<EMAIL_ADDRESS>and let me know how I can help you.
Also, if you do find this useful, please consider supporting me on
Follow @joeyespo


HackTheBox Offshore review - a mixed experience
Posted on May 15, 2021
After significant struggle, I finally finished Offshore, a prolab offered by HackTheBox. I attempted this lab to improve my knowledge of AD, improve my pivoting skills and practice using a C2. I have achieved all the goals I set for myself and more. For the C2, I picked metasploit and it has been a huge time saver after I got used to it. The lab took me about 6 weeks to finish with a full time job, but I've done nothing but work and do Offshore for those 6 weeks. My knowledge before attempting offshore was the CRTP certification from Pentester Academy and about a year of web focused pentesting work experience. I had close to no practical experience in pentesting an internal network outside of the OSCP. I paid for offshore out of my own pocket.
 The bank has acquired a number of smaller companies and plugged them into their main network as different domains. I like it when CTFs provide a story and hacking into a bank is a pretty good one. Also gives you an idea of the potential layout and security pitfalls of the company.
The Lab
The lab contains 21 machines and 38 flags spread across 4 domains. You will have to pivot at various points. This can occasionally get a bit ridiculous, like being 4 pivots deep and with 3 nested RDP sessions praying that your tools still work, but for the most part is manageable if you do some proper post exploitation. Every box has only one intended path.
The Good
For 90 pounds + 20 pounds/month after, you get a rather sizeable lab with a lot of content in it. The AD related content is good to very good. As a reference, I was able to use my CRTP knowledge as a crutch to get me as far as to the third domain. Once there I had to do some extra research and progress slowed down. Purely for learning and practicing purposes, the lab is good value for the money as long as you don't go for longer than 5-6 months.
You will get to play with bloodhound a lot, deepen your knowledge of kerberos attack vectors, ACL abuse, pass the hash, DCSync and other AD related attack vectors, as well as a few other challenges that will test your scripting ability.
The Bad
The infamous shared lab experience. You will often encounter other players in the lab, especially until DC03. At peak hours, the lab can slow down considerably. A single box serves as an early pivot to a large part of the lab and can only be accessed via RDP. Expect your shells to drop a lot. Also expect players to leave solutions behind, to change passwords for boxes and to leave some boxes in an unsolvable state until a reset is requested. This can all be immensely frustrating.
Some side quests are also not quite up to par in terms of their design and can end up being frustrating and immensely time consuming. Do not hesitate to ask for sanity checks from the community!
The Great
Ippsec's box is a lot of fun and felt like a really well paced challenge - although it should be worth way more points. Aside from the lab, the people I got to meet and interact along the way were incredible and I will be forever thankful for their patience. This is an instance of the whole being greater than the sum of its parts. The people made this experience great, as they were my teachers and helped when I got stuck, and all for free. Don't be afraid to look like a fool and ask questions on the discord channel. Often enough I found the solution while trying to word a question.
Prerequisites
The Offshore Path from hackthebox is a good intro. Also use ippsec.rocks to check other AD related boxes from HTB. CRTP knowledge will also get you reasonably far. If you're not familiar with the HTB discord, also consider lurking in the offshore channel for a bit.
Conclusion
Offshore can be a very enjoyable experience if you purely focus on the learning aspect and not on the certificate itself, earning it a 4.5/5. It also works as a bridge between something like CRTP, and something more difficult such as OSEP or CRTE. The overall lab track needs some polish and redesign around some of the pivots and side challenges, but getting to practice in a 15+ boxes lab environment for $120 is a really good deal if you can avoid peak times. A lukewarm recommendation if you want to go for the full cert, which I'd personally rate as more of a 3.5/5.
Should you do offshore?
If you want to purely use it to learn and practice AD, and you can stomach the grind to DC1, and about $120 is not much money to you, then yes, the path to DC4 is interesting and outside of the 2nd pivot, not too frustrating from a technical point of view. You will still encounter the shared labs pitfalls.
As for the cert, I'm a bit more on the fence here. Many flags feel like padding and some are hidden in really annoying places that don't serve to teach anything. Having to redo your pivots every day is also somewhat annoying especially in the later domains. The hints for some side quests are also really vague if you're not used to CTF content, but by far the biggest culprit is the shared labs experience. Which brings me to a new section of the review, the worst.
The Worst
The shared labs experience can be absolutely infuriating. Some examples I've personally encountered:
People using the broadcast on the first pivot box function to spoil the solutions for other boxes as well as yell some obscenities.
Someone kicking me off an RDP session and closing all the stuff I had open. We ended up wasting half an hour just kicking each other from the RDP session.
Furthermore, the shared labs will lead to something I've coined as “Offshore dementia”. As an example, the hashes and vectors you used today might not work tomorrow because people changed them. The hashes you get tomorrow might not work the next day for the same reason. Which ones were the right ones? Who knows! Your best bet is to log in early into the morning and see which ones work.
Your shells and pivots will also drop constantly. Once you get to DC3 or DC4, I'd recommend doing your pivots from there, they will be significantly more stable. Otherwise consider using 2 shells per box if it's a pivot box to have one as a backup.
There are two particular quests that are absolutely infuriating. The first one is MGMT01, which has a really wonky vector. Once you identify it, I'd suggest you script it because it can take an ungodly amount of attempts to get it running. It took me about 40, but I've heard people reach close to 100. Although I have also heard of people say not to script it because that can also lead to failure. Offshore dementia.
The other one is the Joe-LPTP sidequest, including the stuff that comes after it. Joe-LPTP itself has only about 1 GB of space left with auto updates on so it tends to brick itself one the HDD fills up. The box after Joe-LPTP also requires multiple attempts and restores. So again, kind of a mix between poor design and what feels like padding. Do not hesitate to ask for sanity checks on the discord channel.
There's also a box on the path between DC3 and DC4 with a rotating hash. It is a bit annoying to have to redo the process every day if you're stuck for multiple days.
The pricicing scheme is also a bit ridiculous. 70 pounds to generate an OpenVPN file and allocate an user to a pool is taking the piss. Having to pay 70 pounds again if you want to take a break from the lab and start again is taking oceanic amounts of piss. 20/month is good value, I'd reckon that even up to 30/m would be good value. If you are able to get it on sale for 35 pounds, then the value proposition is significantly better. I just hope they will reconsider the part where you have to pay the full sum if you take a break.
Discord
Most of the people on the channel are great. Some are even fantastic. But the moment you ask for help, you will start getting random DMs from people asking directly for help. Personally I just ignore them and I don't report them, because that would be silly. Please do not be afraid to ask questions on the public channel instead of random DMs, nobody will think less of you if you do.
Final Thoughts
Offshore is an experience, and once you've experienced it once, you'll never want to experience it again.It's good, but it could be great. I think the lab also suffers a bit from bloated design, which is a double edged sword. On one hand, more content. On the other hand, some of this content is not good. I've heard similar issues about Rastalabs, although I have also heard that the harder labs are much better. I will be taking a break from HTB pro labs for the foreseeable future as I want to focus on OSEP, but maybe I will attempt those harder ones in the future.


Education
School of the Art Institute of Chicago, Chicago, IL BFA, 2011/2012
-
Focus in:
- Art & Technology ,
- Visual Design and Interior Architecture.
- Recipient of a Merit Scholarship award.
{% extends 'layout.html' %} {% block title %} Swiggidy swag. {% endblock %} {% block navItems %}


Chess Editor
Azkaban Dabmentors
Subsystems
- Board Subsystem
- Game Subsystem
- Editor Subsystem
- Statistics Subsystem
- Networking Subsystems
Board Subsystem
The board subsystem is comprised of the following:
- Board Component
- Row Class
- Cell Class
- Piece Component
FEN Processing
Each component has some FEN functionality specific to their role.
FEN: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Board: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR
Row: rnbqkbnr
Cell: r
Piece: r
https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation
Board Subsystem Tests
Implemented Tests:
- FEN Processing & Board Generation
- Generate Chess Board
- Generate Empty Chess Board
Back burner
- Statistics Subsystem
- Networking Subsystem
/


Panicked lock-in at golf club
Police were called to the St Clair Golf Club early today after someone woke in a panic in the building and could not get out.
A spokeswoman said it appeared there had been "some sort of function" at the club during the evening.
Police were called about 4am and "we managed to track down someone who had a key and could let him out".


Class EndpointWithoutRequest
use this base class for defining endpoints that doesn't need a request dto. usually used for routes that doesn't have any parameters.
Inheritance
System.Object
FastEndpoints.BaseEndpoint
EndpointWithoutRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public abstract class EndpointWithoutRequest : Endpoint<EmptyRequest>, IEndpoint


package clusterer
- Alphabetic
- Public
- All
Type Members
-
trait
Clusterer
extends AnyRef
The
Clusterer
trait provides a common framework for several clustering algorithms. -
class
HierClusterer
extends Clusterer with Error
Cluster several vectors/points using hierarchical clustering.
Cluster several vectors/points using hierarchical clustering. Start with each point forming its own cluster and merge clusters until there are only 'k'.
-
class
KMeansClusterer
extends Clusterer with Error
The
KMeansClusterer
class cluster several vectors/points using k-means clustering.The
KMeansClusterer
class cluster several vectors/points using k-means clustering. Either (1) randomly assign points to 'k' clusters or (2) randomly pick 'k' points as initial centroids (technique (1) to work better and is the primary technique). Iteratively, reassign each point to the cluster containing the closest centroid. Stop when there are no changes to the clusters. ----------------------------------------------------------------------------- -
trait
KMeansClustererTester
extends AnyRef
The
KMeansClustererTest
object is used to test theKMeansClusterer
class.The
KMeansClustererTest
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
class
KMeansPPClusterer
extends Clusterer with Error
The
KMeansPPClusterer
class cluster several vectors/points using the k-means++ clustering technique.The
KMeansPPClusterer
class cluster several vectors/points using the k-means++ clustering technique. ------------------------------------------------------------------------------ See also
ilpubs.stanford.edu:8090/778/1/2006-13.pdf -----------------------------------------------------------------------------
-
trait
KMeansPPClustererTester
extends AnyRef
The
KMeansPPClustererTester
trait includes atest
function to aid in the testing of theKMeansPPClusterer
class. -
class
MarkovClusterer
extends Clusterer with Error
The
MarkovClusterer
class implements a Markov Clustering Algorithm 'MCL' and is used to cluster nodes in a graph.The
MarkovClusterer
class implements a Markov Clustering Algorithm 'MCL' and is used to cluster nodes in a graph. The graph is represented as an edge-weighted adjacency matrix (a non-zero cell indicates nodes i and j are connected).The primary constructor takes either a graph (adjacency matrix) or a Markov transition matrix as input. If a graph is passed in, the normalize method must be called to convert it into a Markov transition matrix. Before normalizing, it may be helpful to add self loops to the graph. The matrix (graph or transition) may be either dense or sparse. See the
MarkovClustererTest
object at the bottom of the file for examples. -
class
RandomGraph
extends AnyRef
The
RandomGraph
class generates random undirected graphs with clusters (as adjacency matrices). -
class
TightClusterer
extends AnyRef
The
TightClusterer
class uses tight clustering to eliminate points that do not not fit well in any cluster.
Value Members
-
object
Algorithm
extends Enumeration
The
Algorithm
object specifies which algorithm to use. -
object
GapStatistic
The
GapStatistic
object is used to help determine the optimal number of clusters for a clusterer by comparing results to a reference distribution.The
GapStatistic
object is used to help determine the optimal number of clusters for a clusterer by comparing results to a reference distribution. ------------------------------------------------------------------------------ See also
web.stanford.edu/~hastie/Papers/gap.pdf
-
object
GapStatisticTest
extends App
The
GapStatisticTest
object is used to test theGapStatistic
object.The
GapStatisticTest
object is used to test theGapStatistic
object. > run-main scalation.analytics.clusterer.GapStatisticTest -
object
GapStatisticTest2
extends App
The
GapStatisticTest2
object is used to test theGapStatistic
object.The
GapStatisticTest2
object is used to test theGapStatistic
object. > run-main scalation.analytics.clusterer.GapStatisticTest2 -
object
HierClusterer
extends App
The
HierClusterer
object is used to test theHierClusterer
class.The
HierClusterer
object is used to test theHierClusterer
class. > run-main scalation.analytics.clusterer.HierClustererTest -
object
HierClustererTest2
extends App
The
HierClustererTest2
object is used to test theHierClusterer
class.The
HierClustererTest2
object is used to test theHierClusterer
class. > run-main scalation.analytics.clusterer.HierClustererTest2 -
object
KMeansClustererTest
extends App with KMeansClustererTester
The
KMeansClustererTest
object is used to test theKMeansClusterer
class.The
KMeansClustererTest
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
object
KMeansClustererTest2
extends App with KMeansClustererTester
The
KMeansClustererTest2
object is used to test theKMeansClusterer
class.The
KMeansClustererTest2
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
object
KMeansClustererTest3
extends App with KMeansClustererTester
The
KMeansClustererTest2
object is used to test theKMeansClusterer
class.The
KMeansClustererTest2
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest3 -
object
KMeansPPClusterer
Companion object for the
KMeansPPClusterer
class. -
object
KMeansPPClustererTest
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest -
object
KMeansPPClustererTest2
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest2
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest2
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest2 -
object
KMeansPPClustererTest3
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest3
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest3
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest3 -
object
KMeansPPClustererTest4
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest4
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest4
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest4 -
object
MarkovClustererTest
extends App
The
MarkovClustererTest
object is used to test theMarkovClusterer
class.The
MarkovClustererTest
object is used to test theMarkovClusterer
class.- See also
www.cs.ucsb.edu/~xyan/classes/CS595D-2009winter/MCL_Presentation2.pdf ^ > run-main scalation.analytics.clusterer.MarkovClustererTest
-
object
MarkovClustererTest2
extends App
The
MarkovClustererTest2
object is used to test theMarkovClusterer
class.The
MarkovClustererTest2
object is used to test theMarkovClusterer
class. ^ > run-main scalation.analytics.clusterer.MarkovClustererTest2 -
object
RandomGraphTest
extends App
The
RandomGraphTest
object is used to test theRandomGraph
class.The
RandomGraphTest
object is used to test theRandomGraph
class. > run-main scalation.analytics.cluterer.RandomGraphTest -
object
TightClustererTest
extends App
The
TightClustererTest
is used to test theTightClusterer
class.The
TightClustererTest
is used to test theTightClusterer
class. > run-main scalation.analytics.clusterer.TightClustererTest


This is an experimental feature!
The performance in Chrome is okay, all other browsers suck. Stay tuned for better performance (dart2js and WebGL).
Credits to www.gamua.com - this is a port of the particle system extension for the Starling framework!


HTTP fragment
HTTP host
HTTP password
HTTP part
HTTP post
HTTP query
Regular expression grammar rules for validation; values added by constructor
HTTP username
Inherited from Zend_Uri
Zend_Uri::$_config
Zend_Uri::$_scheme
Creates a Zend_Uri_Http from the given string
Constructor accepts a string $scheme (e.g., http, https) and a scheme-specific part of the URI (e.g., example.com/path/to/resource?query=param#fragment)
Add or replace params in the query string for the current URI, and return the old query.
Returns the fragment portion of the URL (after #), or FALSE if none.
Returns the domain or host IP portion of the URL, or FALSE if none.
Returns the password portion of the URL, or FALSE if none.
Returns the path and filename portion of the URL, or FALSE if none.
Returns the TCP port, or FALSE if none.
Returns the query portion of the URL (after ?), or FALSE if none.
Returns the query portion of the URL (after ?) as a key-value-array. If the query is empty an empty array is returned
Returns a URI based on current values of the instance variables. If any part of the URI does not pass validation, then an exception is thrown.
Returns the username portion of the URL, or FALSE if none.
Remove params in the query string for the current URI, and return the old query.
Sets the fragment for the current URI, and returns the old fragment
Sets the host for the current URI, and returns the old host
Sets the password for the current URI, and returns the old password
Sets the path for the current URI, and returns the old path
Sets the port for the current URI, and returns the old port
Set the query string for the current URI, and return the old query string This method accepts both strings and arrays.
Sets the username for the current URI, and returns the old username
Validate the current URI from the instance variables. Returns true if and only if all parts pass validation.
Returns true if and only if the fragment passes validation. If no fragment is passed, then the fragment contained in the instance variable is used.
Returns true if and only if the host string passes validation. If no host is passed, then the host contained in the instance variable is used.
Returns true if and only if the password passes validation. If no password is passed, then the password contained in the instance variable is used.
Returns true if and only if the path string passes validation. If no path is passed, then the path contained in the instance variable is used.
Returns true if and only if the TCP port string passes validation. If no port is passed, then the port contained in the instance variable is used.
Returns true if and only if the query string passes validation. If no query is passed, then the query string contained in the instance variable is used.
Returns true if and only if the username passes validation. If no username is passed, then the username contained in the instance variable is used.
Parse the scheme-specific portion of the URI and place its parts into instance variables.
Inherited From Zend_Uri
Zend_Uri::__construct()
Zend_Uri::check()
Zend_Uri::factory()
Zend_Uri::getScheme()
Zend_Uri::getUri()
Zend_Uri::setConfig()
Zend_Uri::valid()
Zend_Uri::__toString()
Documentation generated on Wed, 25 Aug 2010 03:43:57 +0400 by phpDocumentor 1.4.2


?REPORT
ANY
RE1Dê
TO
THE
IN8TêTU
5AÇ.f
/
b-fs
The
Key
York
Botanical
Garden
INSTITUTE
OF
ECONOMIC
BOTANY
Plaits
of
Cononiealtli
of
Domica
uu.Ç./Ç.
(Jicj
ARACEAE
Anthurium
-jacantÈ
d|
//?
T.
93
HooKer\
K'intU
-
M.4.r.
T.
Croq
<*
?3
WEST
INDIES,
Dominica.
St.George.
Above
new
steel
bridge
on
road
to
Freshwater
Lake.
15¡19'N/
6i019'W.
765m.
Advanced
secondary
montane
rainforest.
Herb,
terrestrial,
forming
a
rosette;
leaves
1.3m
long
x
0.35m
wide;
roots
also
growing
upward
in
debris
between
leaves.
NEW
YORK
BOTANICAL
GARDEN
00040904
Wmææ
ya
BOTANICAL
GARDE**,
Eirik
Stijfhoorn
776
May
11,
1992
with
G.
A.
Eidesen
and
H.
T.
Beck
Fieldwork
supported
by
the
lational
Cancer
Institute
fc~T7
r.....Ñ
6
7
8
9
10
the
New
York
copyright
reserved
botanical
garden
??i
00040904
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high
|