When it was established, Utopian.io adopted a set of “rules” to give criteria for the approval of contributions submitted to Utopian.io . These rules offered a binary view of “approved” and “rejected”, creating an unnatural dichotomy between what was rewarded and what was rejected.
After weeks of hard work involving the community managers, company advisors, moderators and (of course) community feedback Utopian.io is ready to ditch the rules and adopt a new set of Utopian.io Policies & Submission Guidelines.
This new approach, combined with the process of scoring the contributions submitted (instead of approving or rejecting them), will allow for a more flexible and scalable process of reward distribution.
In addition, we took the opportunity to rework the guidelines for specific categories, and refine the rules for better readability, as well as a visual redesign (by @ms10398) of the Utopian.io Policies & Submission Guidelines page.
From Rules to Policies & Guidelines
A Utopia does not need “rules”, as such, and so we believe every contributor should be free to contribute to whatever open source project they wish in whatever way they like. That said, it is our primary goal and vision to incentivize and reward only the best contributions that bring the highest value to projects and the open source ecosystem overall, and to be able to continue doing so in the future.
Policies for Participation
Every platform or service in the world has a set of policies in place aimed at protecting the service from potential harm (such as lawsuits or negative brand reputation), its services from abuse, and its users from a negative experience on the platform. As part of the switch from rules to submission guidelines, we’ve separated and emphasized the importance of policies, such as those for code of conduct, content originality, copyright issues and cases of abuse.
Regardless of your intention to submit contributions, it is critical that you get acquainted with the policies as your continued participation in Utopian depends on your adherence to them.
Guidelines for Rewards
Assigning a numeral quantifier to perceived quality of contributions submitted is a harder task than one might think. That is the reason why we’ve worked tirelessly to create synergy between professionally composed guidelines and effectively designed scorecards for each category. This way, we can compare the quality of contributions not only against said guidelines, but also between the different contributions in the category, according to their score.
As previously announced and emphasized, rewards or incentives from Utopian.io are never guaranteed even if all guidelines are followed. The rewards are distributed, as previously announced and detailed, to the highest scoring contributions in every category, rather than to all “approved” contributions (as previously done).
It is our hope that this change in view and mindset will lead to an ongoing growth in the quality and quantity of contributions submitted and rewarded.
Category Specific Modifications
Along with the switch in mindset, this update includes a few much-awaited changes to specific categories.
Copywriting
As mentioned in previous posts and Managers Weekly calls, contributions in the Copywriting category are now only eligible for rewards if they are made in response to public requests by Project Owners. These include Task Requests made on Utopian.io and other verifiable forms of public requests such as website announcements.
Graphics
To ensure only the most valuable and professional work is rewarded, and to prevent potential abuse and negative experiences of Project Owners with this category, contributions in the Graphics category are now eligible for rewards only if they are bound to a public request from the Project Owners or linked to a Utopian Task Request.
Visibility
In addition to Influencer Task Requests, contributors wishing to be rewarded for their efforts can now promote their favorite projects found in the Utopian.io Visibility Whitelist, to have their contributions scored according to guidelines.
We hope this opportunity to freely set campaign goals, select audiences and optimize the ad message will let our contributors fully employ their skillset as professional marketers.
Project Owners may apply for addition to the whitelist by contacting the Visibility Moderation Team in the influencers channel, on the Utopian.io Discord server.
Video Tutorials
To be eligible for reward, video tutorials instructing “foundation level” concepts can now be submitted only by contributors who have submitted more than 20 professional quality contributions in the past. In a nutshell, foundation level concepts are unique to an Open Source project, straightforward in complexity, and in required learning for all users of the project.
We hope that supporting foundation level video tutorials will provide learners with thorough learning resource collections for Open Source projects.
So who gets upvoted by @utopian-io?
The best, most significant and valuable open source contributions submitted for scoring are the ones that enter the voting round to receive an upvote from @utopian-io. The best way to ensure your contribution receives such an upvote is to follow the Utopian.io Policies & Submission Guidelines and exceed the performance of others.
In addition, exceptional excellence is rewarded through Staff Picks. A handful of contributions selected by Utopian.io Community Managers on a regular basis will receive the highest reward for the category and serve as an example of stelar work.
Utopian.io (still) RULES!
Utopian.io will continue to change, improve and evolve for you and with you. While our team invested a great deal of time and effort to set clear guidelines for submission, we trust you, the community, to set the standard and exceed our expectations.
First Time Contributing in Utopian?
Learn how to contribute on our website
https://www.youtube.com/watch?v=8S1AtrzYY1Q&t=5s
Utopian Witness
This page is synchronized from the post: Changing The Rules for Maximal Agility: Introducing Utopian.io Submission Guidelines & Policies


Listed for each station is the line or lines serving it, the local council and London Travelcard zone in which it is located,[note 1] the date it and any earlier mainline service opened, previous names and passenger usage statistics in millions per year.
| Station | Photo | Line(s)[*] | Local Authority | Zone(s)[†] | Opened[4] | Mainline opened |
Other name(s)[note 2] | Usage[5] |
|---|---|---|---|---|---|---|---|---|
| Acton Town | District Piccadilly |
Ealing |
|
|
Mill Hill Park: 1879–1910 |
|
||
| Aldgate | Metropolitan[a] Circle |
City of London |
|
|
|
|||
| Woodside Park | Northern | Barnet |
|
|
|
Torrington Park, Woodside: 1872–82 Woodside Park for North Finchley: 1882–1931 Woodside Park and North Finchley for Woodside Garden Suburb: 1931–40 |
|


When BIM finds a new post to your blog, it tries to see if it matches one of the questions created by the teachers of your course.
When it finds a match, it allocates your post to that question.
Initially the newly allocated post will be "not marked". It is waiting for one of the teachers to mark the post.
Once a post is marked, you will not be able to see any marks or comments on your post from the teachers, until your post is released. This delay is so that the marks/comments can be checked and compared with others.


Brand Logo
Dashboard
UI Elements
CSS3 Animation
General
Buttons
Tabs & Accordions
Typography
FontAwesome
Slider
Panels
Widgets
Bootstrap Model
Services
New Service 1
New Service 2
New Service 3
New
New New 1
New New 2
New New 3
Profile
Users
Pamela Anderson
Stars
Favorites
Following
This is tab 1
This is tab 2
This is tab 3


public class MTClientBaseCom
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
clientName |
(package private) DataFeedServiceCom |
dataFeed |
(package private) static int |
DATAFEED_PORT |
(package private) DispatcherCom |
dispatcher |
private EventManagerCom |
errorEventManager |
private static int |
heartbeaInterval |
private java.util.Timer |
heartbeatTimer |
(package private) HistoricalCallsManagerCom |
histCallsMan |
(package private) HistoryServiceCom |
history |
(package private) static int |
HISTORY_PORT |
(package private) static java.lang.String |
hostname |
(package private) boolean |
ignoreHeartbeat |
private LogCom |
log |
(package private) OrderManagerCom |
orderMan |
(package private) boolean |
printOutput |
private int |
sessionBufferSize |
private int |
stockInterval |
private java.util.Timer |
stockTimer |
(package private) java.util.HashMap<java.lang.String,TickerCom> |
tickerList |
(package private) TradingServiceCom |
trading |
(package private) static int |
TRADING_PORT |
| Constructor and Description |
|---|
MTClientBaseCom(java.lang.String name)
Construct a MTClientBaseCom and initialize connections to Darwin
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
changeConsoleLogLevel(java.lang.String newLevel)
Set the log level specifying which message levels will be logged by the console.
|
(package private) void |
changeFileLogLevel(java.lang.String newLevel)
Set the log level specifying which message levels will be logged by the console.
|
void |
close()
Force stop all services and every TickerCom; it doesn't revoke any order.
|
void |
defaultSessionBuffer(int sessionBufferSize)
This method change the default size of the buffer of the
SessionDBCom
for new tickers. |
private TickerCom |
getEmptyTicker(java.lang.String ticker,
int sessionBufferSize)
Creates a
TickerCom object with no service activated |
java.lang.String |
getOpenServices()
Give a list of all available services.
|
TickerCom |
getTicker(java.lang.String ticker)
Creates a
TickerCom object with every service activated and the default
size for the buffer. |
TickerCom |
getTicker(java.lang.String ticker,
int sessionBufferSize)
Creates a
TickerCom object with every service activated and the specified
size for the buffer. |
TickerCom |
getTicker(java.lang.String ticker,
java.lang.String service)
Creates a
TickerCom object with the specified service activated and the
default size for the buffer. |
TickerCom |
getTicker(java.lang.String ticker,
java.lang.String service,
int sessionBufferSize)
Creates a
TickerCom object with every service activated and the specified
size for the buffer. |
TickerCom |
getTicker(java.lang.String ticker,
java.lang.String service1,
java.lang.String service2)
Creates a
TickerCom object with the specified services activated and the
default size for the buffer. |
TickerCom |
getTicker(java.lang.String ticker,
java.lang.String service1,
java.lang.String service2,
int sessionBufferSize)
Creates a
TickerCom object with every service activated and the specified
size for the buffer. |
void |
ignoreHeartbeat()
Suppress heartbeat signal in the output
|
void |
ignoreHeartbeat(boolean ignore)
Control if the heartbeat signal should be printed or not
|
boolean |
isReady()
Check whether the client is ready to be used
|
(package private) LogCom |
log()
Package visible, used to retrieve the
LogCom object associated
to this client |
EventManagerCom |
onErrorEventManager()
This method returns an
EventManagerCom that will collect
EventCom.PriceAuctEvent and trigger callbacks |
void |
openServices()
Force start services if they are not running
|
void |
printOutput()
Show all messages received in console
|
void |
printOutput(boolean printBool)
Control if received messages must be shown in console
|
void |
removeTicker(TickerCom ticker)
Close the ticker and remove it from the pool of available tickers
|
private void |
startHeartbeatTimer()
Start the timer that will notify
ServiceStreamReaderCom
threads that an heartbeat should have occurred |
private void |
startStockTimer()
Start the timer that will make requests for fresh stock info
|
private final LogCom log
final java.lang.String clientName
static final java.lang.String hostname
static final int DATAFEED_PORT
static final int TRADING_PORT
static final int HISTORY_PORT
boolean ignoreHeartbeat
boolean printOutput
final HistoricalCallsManagerCom histCallsMan
final DispatcherCom dispatcher
final OrderManagerCom orderMan
final DataFeedServiceCom dataFeed
final HistoryServiceCom history
final TradingServiceCom trading
private java.util.Timer heartbeatTimer
private static final int heartbeaInterval
private java.util.Timer stockTimer
private int stockInterval
final java.util.HashMap<java.lang.String,TickerCom> tickerList
private int sessionBufferSize
private EventManagerCom errorEventManager
MTClientBaseCom(java.lang.String name)
name
- a descriptive name of the clientpublic void openServices()
public void close()
public boolean isReady()
public java.lang.String getOpenServices()
private void startHeartbeatTimer()
ServiceStreamReaderCom
threads that an heartbeat should have occurredprivate void startStockTimer()
private TickerCom getEmptyTicker(java.lang.String ticker, int sessionBufferSize)
TickerCom
object with no service activatedticker
- - the code used by Directa for the stocksessionBufferSize
- - the dimension of the buffer of the SessionDBCom
TickerCom
objectpublic TickerCom getTicker(java.lang.String ticker)
TickerCom
object with every service activated and the default
size for the buffer.ticker
- - the code used by Directa for the stockTickerCom
objectdefaultSessionBuffer(int)
public TickerCom getTicker(java.lang.String ticker, java.lang.String service)
TickerCom
object with the specified service activated and the
default size for the buffer.ticker
- - the code used by Directa for the stockservice
- - a String representing the service required ("all", "dataFeed",
"trading", "history")TickerCom
objectdefaultSessionBuffer(int)
,
TickerCom.openService(String)
public TickerCom getTicker(java.lang.String ticker, java.lang.String service1, java.lang.String service2)
TickerCom
object with the specified services activated and the
default size for the buffer.ticker
- - the code used by Directa for the stockservice1
- - a String representing the first service required ("all", "dataFeed",
"trading", "history")service2
- - a String representing the second service required ("all", "dataFeed",
"trading", "history")TickerCom
objectdefaultSessionBuffer(int)
,
TickerCom.openService(String)
public TickerCom getTicker(java.lang.String ticker, int sessionBufferSize)
TickerCom
object with every service activated and the specified
size for the buffer.ticker
- - the code used by Directa for the stocksessionBufferSize
- - the dimension of the buffer of the SessionDBCom
TickerCom
objectpublic TickerCom getTicker(java.lang.String ticker, java.lang.String service, int sessionBufferSize)
TickerCom
object with every service activated and the specified
size for the buffer.ticker
- - the code used by Directa for the stockservice
- - a String representing the service required ("all", "dataFeed",
"trading", "history")sessionBufferSize
- - the dimension of the buffer of the SessionDBCom
TickerCom
objectTickerCom.openService(String)
public TickerCom getTicker(java.lang.String ticker, java.lang.String service1, java.lang.String service2, int sessionBufferSize)
TickerCom
object with every service activated and the specified
size for the buffer.ticker
- - the code used by Directa for the stockservice1
- - a String representing the first service required ("all", "dataFeed",
"trading", "history")service2
- - a String representing the second service required ("all", "dataFeed",
"trading", "history")sessionBufferSize
- - the dimension of the buffer of the SessionDBCom
TickerCom
objectTickerCom.openService(String)
public void removeTicker(TickerCom ticker)
ticker
- - the TickerCom
object to removepublic void ignoreHeartbeat(boolean ignore)
ignore
- - true to avoid printing heartbeat signalpublic void ignoreHeartbeat()
public void printOutput(boolean printBool)
printBool
- - true to print data in consolepublic void printOutput()
public void defaultSessionBuffer(int sessionBufferSize)
SessionDBCom
for new tickers. Tickers already opened are not affected. Default size is 10000.sessionBufferSize
- void changeConsoleLogLevel(java.lang.String newLevel)
The level values are:
- ALL - any level is logged
- OFF - no level is logged
- SEVERE - only SEVERE error are logged
- WARNING - only WARNING or higher levels are logged
- INFO - only info or INFO levels are logged
- CONFIG - only CONFIG or higher levels are logged
- FINE - only FINE or higher levels are logged
- FINER - only FINER or higher levels are logged
- FINEST - only FINEST or higher levels are logged
- null - this node inherit its level from its nearest
ancestor with a specific (non-null) level value
newLevel
- - a String
representing the new value for the log level (may be null)void changeFileLogLevel(java.lang.String newLevel)
The level values are:
- ALL - any level is logged
- OFF - no level is logged
- SEVERE - only SEVERE error are logged
- WARNING - only WARNING or higher levels are logged
- INFO - only info or INFO levels are logged
- CONFIG - only CONFIG or higher levels are logged
- FINE - only FINE or higher levels are logged
- FINER - only FINER or higher levels are logged
- FINEST - only FINEST or higher levels are logged
- null - this node inherit its level from its nearest ancestor with a specific (non-null) level value
newLevel
- - a String
representing the new value for the log level (may be null)LogCom log()
LogCom
object associated
to this clientpublic EventManagerCom onErrorEventManager()
EventManagerCom
that will collect
EventCom.PriceAuctEvent
and trigger callbacksEventManagerCom
specific for EventCom.PriceAuctEvent
EventManagerCom


--- title: About ---
<EMAIL_ADDRESS>유도와 주짓수를 하며 로드바이크를 즐기는 개발자.
The developer who enjoy riding a bicycle and playing judo & jiu-jitsu.


Grab php source (AND MODIFY LHOST/LPORT) from:
http://pentestmonkey.net/tools/php-reverse-shell/php-reverse-shell-1.0.tar.gz
This is already on kali, search for laudanum
Also in SecLists and Fuzzdb


module Infection:sig
..end
val random_check : int -> bool
random_check threshold
picks a random int out of 100 and checks if it is
less than the threshold. It returns a bool.
val start_tile_infection : Objects.Tile.t -> Objects.Tile.t
start_tile_infection tile
starts an infection in tile tile
(1 person infected) if it is not infected and does nothing
to the tile if it is. It then returns the tile.
val infect_tile : Objects.Tile.t -> Objects.Disease.t -> Objects.Tile.t
infect_tile tile disease
spreads the infection in tile tile
if it
contains any infected people (increases infected number). If tile
is not
infected, it does nothing.
val spread_to_neighbors : Objects.Tile.t array array ->
int -> int -> int -> int -> Objects.Disease.t -> unit
spread_to_neighbors tiles row column rows cols disease
spreads the disease
from given tile at row row
and column column
to neighboring tiles based
on a random spread probability given by disease disease
.
val check_neighbors : Objects.Tile.t array array -> int -> int -> Objects.Disease.t -> unit
check_neighbors tiles row column disease
checks if a tile at a given row
and column
in the map tiles
is over the disease disease
's infection
threshold for spreading to neighboring tiles. If it is, the function
randomly spreads to neighboring tiles based
on the disease's random spread probability.


Install a software token
If your organization provides an RSA SecurID Software Token for authentication on Receiver, install it on your device and authenticate automatically when you launch Receiver.
On your device, before installing your token, make sure that the date and time are correct, which is required for authentication to occur.
- On your device, open the email with the .sdtid file, which is the file extension for the token.
- Tap (or double tap) the file to run it and install the token.
After you have installed the software token, to manage the account in Receiver, tap Settings, and then tap Security Token.


A short preamble before the actual topic: yes, I let the blog slide. I am pretty sure that not that many people are reading my posts and those few are not mad reading a bit less but I have to admit that I failed the challenge I started beginning this year. It is not about that it is hard writing blog posts every week (what it is), it is more about writing posts weekly just to have them written and published. »
In this blog post I am going to write about a programming language which I have not checked out before. Typescript is a super set of Javascript and is developed by Microsoft. The syntax is exactly the same as Javascript with one very important difference: in comparison to Javascript Typescript knows the concept of types and checks them with a built in type system.
To make type failure messages more useful Typescript is also a compiled language while Javascript is an interpreted language. »
Todays blog post is less technical than the previous ones. I would like to talk about some events that happened in the last time.
I am a registered Apple developer since November 2013. Since then I collected a lot of experiences, built a lot of apps and gained a ton of knowledge. But every product I built was for someone else, no matter if it was a company or a person. »
(The cover is copied from http://coub.com/view/7x8n3. If you do not know what the picture has in common with the topic, check out last weeks blog post)
Last week I introduced ‘Get Schwifty’ - an app to write, evaluate and run Swift scripts on an iPhone. Today I am going to describe some technical details of the project.
The project consists of three major parts: user interface, compiler and JavaScript runtime environment. »
Each year Apple organizes a conference for their third party platform developers. The conference is called WWDC (world wide developers conference) and takes place in California, USA. Although the tickets are extremly expensive (1,599$ each) it is almost impossible to get the chance to buy one due to the mass of people who try their luck.
The conference is all about the software; Apple uses the opening keynote to introduce the new major versions of their platform operating systems, iOS and macOS. »
In this post I am going to describe what steps are necessary to create an app in React Native. The example I want to build is the same one I created during my Cocoaheads talk. If you would like to see this in action or get more information check out my last post here.
Installing dependencies You may already know this: in Javascript it is all about dependencies. The language itself is pretty easy and does not have a lot functionality. »
In this blog post I would like to talk about React Native. Before starting: this evening I am going to talk about this topic at the Cococaheads Dresden meetup. If you are more the visual type and you are able to understand German check out the video of the talk here.
React Native - Learn one, write anywhere: Build mobile apps with React.
This is the official description of the framework and you will get what it means during this post. »
In this blog post I would like to write about the REPL which I built to get a fast feedback cycle for my lexer. Before going into the topic, here is a short description of what REPL stands for and what its purpose is. REPL stands for Read-Evaluate-Print-Loop. So in the end it is an endless loop which is waiting for input from the user to evaluate it and print the outcome afterwards. »
If you have read last weeks blog post you might also have checked out the repository of my compiler on Github. After deciding which programming language to use and decided on the name for the project I started creating the first fundamental files. One of them is the lexer. Before diving too deep into the topic here is a definition of lexical analysis from Wikipedia:
In computer science, lexical analysis is the process of converting a sequence of characters […] into a sequence of tokens […]. »
As mentioned in the last blog post I am finally able to start my challenge for this year. In an earlier blog post I thought about some key points that need to be decided before I can finally start. Here is the list with their short answers, the long answer is written below:
In which main language will the tools be written? Go Will the language be compiled or interpreted? »


The Lost island of R'anal
This was our mock Game from our first original Idea
Rpg Written in C# using the MonoGame framework


---
layout: page
title: Contact
permalink: /contact/
---
Don't hesitate to get in touch, leave a comment or ask a question.
-
{% include _icons/email.svg %} write me an email
-
{% include _icons/linkedin.svg %} visit my LinkedIn profile
-
{% include _icons/skype_grey.svg %} call me via Skype


It is locked as your current user key is uanable to decrypt. Try different user key. If you forgot, check your email!


Home
About Me
My Art Works
My Projects
How To Reach Me
Art
Works
Check some of my paintings and sketches here...


More than one city with that name? Specify the county name or code.
Eg: Sydney, Canada / Hamilton, NZ


--- layout: session academic: true title: "Using OSMCha to understand bad edits" code: "WSAFMM" speaker_names_with_affiliations: ['Andrey Golovin (Mapbox)', 'Wille Marcel Lima Malheiro'] extra_tags: room: "Mathematikon C" length: "01:00" time: "Sunday, 14:00" resources: [] recording: False ---
It is important that the reviewer has the necessary information about the changeset and understand the diff of modifications in the OSM data.
For this purpose, OSMCha offers an interface similar to OpenStreetMap but with additional tools such as changeset-map to visualise the edits, information about the mapper, other information related to the changeset and OSM user history that can help the reviewer identify problematic edits on OSM.
During this workshop the following aspects of work with OSMCha will be highlighted: - the basic principles of work with the interface,
bad
or good
with varying levels of severity getting information about changeset, data and contributor
the possibility of filtering out the data in a granular approach that helps to limit the amount of information about changes in OSM, in terms of
contributors, where you can pick up the data for a particular mapper(s) or mapping teams
the date range, you can limit a number of changesets by the dates of submission to OSM and by the dates when they were reviewd in OSMCha
the reasons for suspicion, OSMCha has a range of internal functions that assign different reason for suspicion to changeset that you can use for reviews
area, where you can set up area of interest for edits inspection
The main goal of the workshop is to engage the community to evaluate the existing data using OSMCha and improve its quality.


Money Stats
You have £1500 right now.
Your Actions
No actions yet
Rules
If you enter an unowned property and can afford it, you automatically buy it.
If you enter an owned property, you pay rent to its owner.
If you are unable to pay owed rent, you lose the game.


The session can be used as both memento and arbitrator between subsystems - including entities and scenes.
Sessions can be permanently stored and retrieved on future application ezecution.
newId
?suggestions
?isSaved


@(user: Option[com.gilt.apidoc.models.User]) @doc.main(user, Some("Types")) {
apidoc supports types that are A. common on the web and B. useful for many web applications. For example, many applications work with dates and date times; by explicitly supporting these types, we can simplify working with them in all web applications. For type safe languages, we can map to the appropriate classes in each language.
@core.Datatype.All.map(_.name).sorted.map { name =>


Online Repo. of Code and Lectures for ETBD/IMS 322 JavaScript
Just a quick repo link to the lecture slides from Duckett's JavaScript & Jquery Book
Though not all the content of the course will come from the book, it's a good starting point to discussions and projects, etc.
Chapter 1: The ABC's of Programming
Slides in HTML5 (JS Gallery Type) Form
Chapter 1
- Section 1A - What's a Script?
- Section 1B - What are Objects?
- Section 1C - Writing A Script
- Course Intro - Lab: Installation & Overview
Chapter 2
- Chapter 2 - Basic JavaScript Instructions (Slide Set)
- Lab 1: HTML & CSS Review
- Lab 2: Responsive Web
Chapter 3
- Chap 3 - Functions, Methods, and Objects
- Video - Greedy Algorithm
- Lab 3: Let's Play w JavaScript (Mod4)
Chapter 4
- Chap 4 - Decisions & Loops
- Video - Loops in JavaScript
- Lab 4: Let's Get Greedy (Mod5)
Chapter 5
- Chap 5 - Document Object Model
- Chap 5 - Shopping List Example
- Chap 5 - Interactive Video
Chapter 6
- Chap 6 - (JS) Events
- Chap 6 - PDF Slides
- Code.org App Lab
- Chap 6 - Wed. Lecture Link
Chapter 7
- Chap 7 - JQuery PPT
- Chap 7 - Code Samples or Book Code Samples
- Chap 7 - Wed. Lecture Link Please Watch and Answer Questions
- Chap 7 - Remix My Homework App - an adaptation of Duckett's Example Code from Ch7
Chapter 8
- Chap 8 - Ajax & JSON PPT
- Chap 8 - MT's PPT
- Chap 8 - Helpful Video Overview
- Chap 8 - Another Video
- Chap 8 - Meh Video
- Chap 8 - Maker Truck
Chapter 9
- Chap 9 - API's
For more details see GitHub Flavored Markdown.


| Class | Description |
|---|---|
| RuntimeEnvironment |
Representation of information about a single runtime environment.
|
| RuntimeEnvironmentConstraint |
When use cases present a runtime environment, then they don't want to express
that these would provide such, but that these request such, i.e.
|
| ScriptInput |
Integrates inputs to the grid that come from the use case descriptions
with those that are fed through the workflow.
|
| ScriptInputStatic |
This subclass of script input is used to manage static content
which is embedded into the use case description.
|
| ScriptInputUser |
Internal description of output
|
| ScriptOutput |
Internal description of input
|
| ToolDescription |
Class representation of XML-description of UseCases
|
| ToolDescription.InputMap | |
| ToolDescription.OutputMap | |
| ToolDescriptionParser |
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.


The idea is to add a few inputs/outputs on a Raspberry Pi puppy.
Presentation
Idea
* I want a proper shutdown button for [[snes pi webserver|my webserver (Raspi 2)]] => I made a [[RaspiPower]] board for that.
* I want to add some bling bling like blinking a led at each file served
* Pilot so display to show message on a led board?
Points of interrest
* Any pin is capable of GPIO. Not maybe 100% pure hardware (in terms of timing) but just any pin will be ok
* RPi.GPIO lib can't do hardware PWM, all the PWM are software but at least you can have it on any pin
* You can make the calls asynchronous by using the futures
python package to run it on a threadpool
Implementation
Bill of materials
Schematics
OS Settings
Thanks to [[https://raspberrypi.stackexchange.com/questions/40105/access-gpio-pins-without-root-no-access-to-dev-mem-try-running-as-root|this person]] for sharing:
* Need to run a **Jessie** raspbian so go for a sudo rpi-update
and the usual sudo apt-get update ; sudo apt-get upgrade
* If you do not run as //root// so the application user must be in the gpio group sudo adduser //my-app-user// gpio
* And in case you still get a no access to /dev/mem, check the permissions and do sudo chown root.gpio /dev/gpiomem ; sudo chmod g+rw /dev/gpiomem
* The above gpiomem change might be lost at reboot, so add it to your /etc/rc.local or in your startup script of your app
Source code
**PCB components**
Found the basic outline [[https://github.com/awjlogan/awjlogan_eagle_lbr|here]] so thanks for sharing mate!
**THE PCB**
On my [[https://github.com/AlanFromJapan/alanarduinotools/tree/master/eagle|github]] as usual.
**SHUTDOWN SCRIPT**
# External module imports
import RPi.GPIO as GPIO
import time, os
# Pin Definitons:
buttonPin = 21
def my_callback_shutdown(channel):
print ("Shut down!")
os.system("sudo shutdown -h now")
# Pin Setup:
GPIO.setmode(GPIO.BCM) # Broadcom pin-numbering scheme
GPIO.setup(buttonPin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.add_event_detect(buttonPin, GPIO.FALLING, callback=my_callback_shutdown, bouncetime=300)
print("Waiting for shudown switch on GPIO%d" % (buttonPin))
try:
while 1:
time.sleep(10)
except KeyboardInterrupt: # If CTRL+C is pressed, exit cleanly:
GPIO.cleanup() # cleanup all GPIO
**LED BLINK**
It's done in the project [[SNES Pi webserver]] check the file ledz.py
.
There's an interresting trick to use the concurrent.futures
functions to have the blink running on another thread. Have a peek.
Pictures
//Pinout from Element14//
//Circuit for [[RaspiPower|my own version]] of a //[[https://blog.petrockblock.com/2015/07/04/powerblock-another-power-switch-for-the-raspberry-pi/|PowerBlock]]
Links
Helpful sources
* [[http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio-part-3|Very nice tutorial on interrupt on Raspi with in RPi.GPIO]]
* [[https://learn.sparkfun.com/tutorials/raspberry-gpio]]
Inspiration


Segmented copy number ("seg" format) with
- Explicit sample list - TCGA-06-0168-01A-02D-0236-01, TCGA-02-0115-01A-01D-0193-01,
TCGA-02-2485-01A-01D-0784-01, TCGA-06-0151-01A-01D-0236-01
- No index
- Index with no visibiliy window (loads by whole chromosome)
- Index with visibility window of 100 MB


Worlds
For an introduction what a world is and how it fits into the overall picture, see The World / Scenegraph System.
This documentation focuses on the C++ ezWorld
class. The functionality exposed through other mechanisms, such as TypeScript, may be more limited in scope, but ultimately maps to the C++ implementation.
Game Objects
Game objects are allocated, destroyed and accessed through the world. For these details, see the chapter about game objects.
Components
Components are not directly managed by a world. Instead, worlds manage world modules and component managers, which in turn manage components. For details, see the chapter about components.
World Modules
World modules are bigger systems that manage aspects like particle effects, the Jolt integration, wind and so on. Component managers are a special type of world modules that take care of updating the various component types.
Simulation State
Each world has its own simulation state, to not affect other worlds.
Simulation Enabled
Every world can be actively simulated, or paused. ezWorld::SetWorldSimulationEnabled()
is used to toggle this.
Clock
Each world has its own ezClock
which can be retrieved through ezWorld::GetClock()
. The clock is used to speed up or slow down the simulation or to set a fixed update rate. The clock keeps track of the 'game time', so when a component needs to know the current time, it should query this from the world's clock.
Random Number Generator
When a component needs a random number, it should query this from the world via ezWorld::GetRandomNumberGenerator()
. Components or better, component managers can of course also have their own random number generator, for example when they need multi-threaded access to it, or when they want to control the seed value for determinism. The particle systems, for example, do this to achieve deterministic results.
Coordinate System
The default coordinate system in EZ is:
+X
is 'forwards'+Y
is 'right`+Z
is 'up'
That makes it a left-handed coordinate system. You can query these axis in the space of a game object, if you need to.
The coordinate system can be changed through ezWorld::SetCoordinateSystemProvider()
. The ezCoordinateSystemProvider
can potentially return a different coordinate system at different locations, so you could implement a provider that changes the coordinate system to follow a sphere.
Warning:
Although components are supposed to not hard-code assumptions about which axis is 'forward', etc, using a non-default coordinate system is not well tested. Using a dynamic coordinate system even less so.
Read / Write Access Control
Some aspects of the world are updated in a multi-threaded fashion. For instance, rendering generally happens in parallel to other updates. To prevent you from accessing the world in a problematic way, you need to lock the world for reading or writing when you work with it.
From within a component update function you don't need to worry, you always have write access to the world while components are being updated. However, if for example you want to load a level or otherwise set it up procedurally at launch, you need to lock it for write access:
EZ_LOCK(pWorld->GetWriteMarker());
pWorld->CreateObject(...)
In developer builds the world will check that you have properly locked it when you try to do certain operations. Therefore, the best way to know where to add such locks, is simply to run your code without a lock and see whether the engine asserts. If so, you can just traverse your callstack to find a reasonable place to insert the lock.
World Update
To step your world, call ezWorld::Update()
. The time delta that will be applied depends on whether the world simulation is enabled and how your world clock is configured.


Showcase "JSON Request"
The Action Happens Here
Spanish Dictionary:
Single word:
As Tags:
playa, palma


If element ends moving inside the view it "returns" back in its static place.
If element is moved outside the view it is docked to the side of the window. Element.move(..., #attached-window)
If element is moved far enough from the view it gets detached from the view - moving the view is not causing such element to move in sync with the view. Element.move(..., #detached-window)


Contact details
Nomensa
King William House
13 Queens Square
Bristol
BS3 1RF
Assessor details
- Male
- CEO
- ASDF Solutions
- Advanced materials
- Biosciences
- Materials
Innovation areas
Area
Industry
Skills
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Odit voluptatibus consequatur alias, sed iure quod atque cupiditate magni ratione veniam expedita corporis optio aperiam nostrum suscipit dignissimos quaerat, ea ullam!
Documents & training
| Document | Details | Last updated |
|---|---|---|
| Contract | View | 20/09/2016 |
| Declaration | View | 20/09/2016 |
| C.V. | View | 20/09/2016 |
Training Update training details
- Panel approved
- Yes
- Training log entry
- No
- Last workshop
- 20/09/2016
Assessment history
| Competition title | No. assessed | Innovation areas | Assessment complete |
|---|---|---|---|
| Inspired technology | 4 | Digital services | 23rd January 2016 |
| Future robotics | 6 | Digital services | 3rd December 2015 |
| Digital services | 10 | Digital services | 6th November 2014 |


|
Elektra
0.9.5
|
In this tutorial, you will learn how to set up a development environment for Elektra using Windows Subsystem for Linux (WSL) and Visual Studio 2019.
Visual Studio 2019 (VS2019) Community is free but requires a registration after a couple of days. Download it and install the Linux development with C++ workload.
Elektra development mainly happens on GNU/Linux distributions. Therefore, it makes sense to use WSL if you have Windows 10 installed on your PC. For the beginning, it does not matter if you choose WSL 1 or WSL 2. It is possible to convert them later.
We assume you use Ubuntu as WSL distribution. Install the packages required for building from VS2019:
Then clone the libelektra git repository:
Do not use VS2019 to clone the repository: You will not be able to compile because of invalid line endings.
and open it in VS2019. It will complain that IntelliSense is out of date. In addition, the Error List
at the bottom will show CMake errors about missing compilers. To solve this, you have to configure a Linux CMake project.
Microsoft has even more information about this task.
In the drop-down menu that says x64-Debug (Default)
click Manage Configurations...
. Add WSL-GCC-Debug
and save the configuration.
You can remove
x64-Debug (Default)
.
CMake generation will automatically restart. When it has completed, you can click the drop-down Select Startup Item...
(by the green Play button).
A long list of targets should appear. Choose hello (bin\hello)
and click the green Play button. You should now see the output Hello world
in the Linux Console Window at the bottom.
One advantage of using VS2019 is the graphical debugger. Search for hello.c
in the Solution Explorer to the right. Create a breakpoint in the main function and run the program again using the green Play button.
On the bottom-left you will see the windows Autos
, Locals
and Watch 1
. Click on Locals
to inspect the Key * k
. Right-click keyNew
to access functions like Peek Definition
.
It makes sense to compare WSL 1 and WSL 2 and make an informed decision for one of them. Your setup may require adaptions, such as installing an SSH server in your Linux distribution.
Good sources of information are:
Commands to change your WSL version can be found, for example, in the blog post WSL 2 is now available in Windows Insiders
For further information, consider the official Linux with Visual Studio C++ documentation.
If you choose to work with source code residing on a Windows filesystem mounted in WSL (e.g./mnt/c/...
), please enable the metadata
option to prevent problems due to permissions not being persisted:
/etc/wsl.conf
to contain the following section and setting:wsl --shutdown
in your window console.Building from sources residing on a mounted windows file system may incur a signifcant performance penalty. Consider using your WSL home directory (e.g. ~/
) as your location for the Elektra sources.


{{ include ('partials/page-header-bg.html', { title: 'Problems conceiving', }) }} {{ include ('partials/intro-block.html', { text: 'There are many reasons why some people struggle, or are unable, to get pregnant. Just like any other part of the human body, your fertility can be affected by factors including long-term health conditions, illnesses and lifestyle factors. If you’re currently struggling to get pregnant or you know your fertility is affected in some way, it may help to know that one in seven couples have difficulty getting pregnant, so you’re not alone.' }) }}
Common reasons why couples have problems getting pregnant range from gynaecological problems to low sperm count.
Cancer, polycystic ovary syndrome (PCOS), endometriosis, chlamydia, diabetes, epilepsy and thyroid and bowel diseases; conditions affecting the uterus; gynaecological problems such as previous ectopic pregnancy or having had more than one miscarriage; other problems with ovulation (the monthly release of the egg), sexually transmitted diseases
A lower sperm count, or sperm with an unusual shape or movement; diabetes; a past bacterial infection; problems with the tubes carrying sperm; difficulty getting an erection or ejaculating; having had inflamed testes (orchitis); having received medical treatment such as drug treatment, radiotherapy or surgery – for example to correct a hernia, undescended testes or twisted testicles; sexually transmitted diseases
The age of the woman has a major impact on your chances of getting pregnant.
Lifestyle factors such as being overweight or underweight, smoking, drinking, stress or having a job that involves contact with chemicals or radiation can all lessen your chances of getting pregnant. Visit NHS Choices for more information on preparing your body for pregnancy.
In some cases fertility problems are genetic – talk to your doctor about whether this might apply to you.


Selenium Tools
Selenium-Tools provides the following tools for use with Selenium:
- Send/receive
datetime.datetime
objects from web forms. - Drag range sliders to specified values.
Installation
$ pip install selenium-tools
Quickstart
First, clone an example file from the Selenium-Tools repo.
$ curl https://raw.githubusercontent.com/dsbowen/selenium-tools/master/form.html --output form.html
Let's send the current date and time to all input in the form.
from selenium_tools import get_datetime, send_datetime
from selenium.webdriver import Chrome
from datetime import datetime
driver = Chrome()
driver.get('data:text/html,'+open('form.html').read())
datetime_ = datetime.utcnow()
css_selectors = (
'input[type=date]',
'input[type=datetime-local]',
'input[type=month]',
'input[type=time]',
'input[type=week]'
)
for selector in css_selectors:
input_ = driver.find_element_by_css_selector(selector)
send_datetime(input_, datetime_)
print(get_datetime(
input_.get_attribute('type'),
input_.get_property('value')
))
You'll see the form filled in in your selenium browser and receive the following output in your terminal:
2020-06-30 00:00:00
2020-06-30 15:47:00
2020-06-01 00:00:00
1900-01-01 15:47:00
2020-01-01 00:00:00
We can also drag the range slider as follows:
from selenium_tools import drag_range
range_ = driver.find_element_by_css_selector('input[type=range]')
drag_range(driver, range_, 80)
range_.get_property('value')
Out:
'80'
Citation
@software{bowen2020selenium-tools,
author = {Dillon Bowen},
title = {Selenium-Tools},
url = {https://dsbowen.github.io/selenium-tools/},
date = {2020-06-29},
}
License
Users must cite this package in any publications which use it.
It is licensed with the MIT License.


The following visualization shows you the votes for MyWorld 2015. You can select a time range to see changes in the distribution of votes and distribution of age of the voters. You can also select a comparison range by clicking and dragging on the "Comparison Selector".


{{feeOpts[fee.level]|translate}}
Average confirmation time: {{fee.nbBlocks * 10}} minutes.
Current fee rate for this policy: {{fee.feePerKBUnit}}/kiB
Bitcoin transactions may include a fee collected by miners on the network. The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy.


Slacker
Favourites
New Releases
Trending
EDM
RECENT UPLOADS
Refrain
HaPBoy
Wake up
Hapon
Tassel
Tomboy
Summer
Childish
Like
Murtaza
Always With Me
Hapon
Makeover
Wing
The truth that you leave
Boom
Alice
Lil boom
Journey
anastas


We are three media technology students who aim to solve problems
Our team consists of Veronica Hage, Evelina Hedberg and Sabina von Essen. We have a lot in common while we tend to be quite different. What we share is that we are all problem solvers and very creative.


Personal Details
User Name
Email
First Name
Last Name
Password
Confirm Password
Contact Number
Company Information
Company
Title
Title
Owner / Partner
Executive Management
Board Member
Non-Executive Management
Finance & Accounting
Other
Address
City
State
Country
Zip Code
Industry
Select Industry
Communications
Consumer & Retail
Distribution & Logistics
Energy & Natural Resources
Entertainment & Media
Financial Institutions & Sponsors
Food & Beverage
General Services
Healthcare
Hospitality
Industrials
Power, Infrastructure & Utilities
Real Estate
Technology
Telecommunications
Transportation
Geography
Geography
APAC
EMEA
LATAM
NA
Company Size
Company Size
1 - 10
11 - 100
101 - 1000
10001 - 10,000
10,000 +
Capatialization
Capatialization
USD 1 M +
USD 10 M +
USD 100 M +
Revenue
Revenue
Above USD 1 M
Above USD 10 M
Above USD 50 M
Above USD 100 M
Profile
Company


Fits multiple variable mixtures of various parametric proportional hazard models using the EM-Algorithm. Proportionality restrictions can be imposed on the latent groups and/or on the variables. Several survival distributions can be specified. Missing values and censored values are allowed. Independence is assumed over the single variables.
| Version: | 0.7-2 |
| Depends: | R (≥ 3.0.0) |
| Imports: | graphics, stats, survival, lattice |
| Published: | 2015-07-23 |
| Author: | Patrick Mair [cre, aut], Marcus Hudec [aut] |
| Maintainer: | Patrick Mair <mair at fas.harvard.edu> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| In views: | Cluster, Survival |
| CRAN checks: | mixPHM results |
| Reference manual: | mixPHM.pdf |
| Package source: | mixPHM_0.7-2.tar.gz |
| Windows binaries: | r-devel: mixPHM_0.7-2.zip, r-release: mixPHM_0.7-2.zip, r-oldrel: mixPHM_0.7-2.zip |
| OS X binaries: | r-release: mixPHM_0.7-2.tgz, r-oldrel: mixPHM_0.7-2.tgz |
| Old sources: | mixPHM archive |
Please use the canonical form https://CRAN.R-project.org/package=mixPHM to link to this page.


sphinx.ext.napoleon
– Support for NumPy and Google style docstrings¶
模块作者：Rob Ruana
1.3 新版功能.
Overview¶
Are you tired of writing docstrings that look like this:
:param path: The path of the file to wrap
:type path: str
:param field_storage: The :class:`FileStorage` instance to wrap
:type field_storage: FileStorage
:param temporary: Whether or not to delete the file when the File
instance is destructed
:type temporary: bool
:returns: A buffered writable file descriptor
:rtype: BufferedFileStorage
reStructuredText is great, but it creates visually dense, hard to read docstrings. Compare the jumble above to the same thing rewritten according to the Google Python Style Guide:
Args:
path (str): The path of the file to wrap
field_storage (FileStorage): The :class:`FileStorage` instance to wrap
temporary (bool): Whether or not to delete the file when the File
instance is destructed
Returns:
BufferedFileStorage: A buffered writable file descriptor
Much more legible, no?
Napoleon is a extension that enables Sphinx to parse both NumPy and Google style docstrings - the style recommended by Khan Academy.
Napoleon is a pre-processor that parses NumPy and Google style docstrings and converts them to reStructuredText before Sphinx attempts to parse them. This happens in an intermediate step while Sphinx is processing the documentation, so it doesn’t modify any of the docstrings in your actual source code files.
Getting Started¶
After setting up Sphinx to build your docs, enable napoleon in the Sphinx conf.py file:
# conf.py # Add napoleon to the extensions list extensions = ['sphinx.ext.napoleon']
Use sphinx-apidoc to build your API documentation:
$ sphinx-apidoc -f -o docs/source projectdir
Docstrings¶
Napoleon interprets every docstring that autodoc
can find, including docstrings on: modules
, classes
, attributes
,
methods
, functions
, and variables
. Inside each docstring,
specially formatted Sections are parsed and converted to
reStructuredText.
All standard reStructuredText formatting still works as expected.
Docstring Sections¶
All of the following section headers are supported:
Args
(alias of Parameters)
Arguments
(alias of Parameters)
Attention
Attributes
Caution
Danger
Error
Example
Examples
Hint
Important
Keyword Args
(alias of Keyword Arguments)
Keyword Arguments
Methods
Note
Notes
Other Parameters
Parameters
Return
(alias of Returns)
Returns
Raises
References
See Also
Tip
Todo
Warning
Warnings
(alias of Warning)
Warns
Yield
(alias of Yields)
Yields
Google vs NumPy¶
Napoleon supports two styles of docstrings: Google and NumPy. The main difference between the two styles is that Google uses indentation to separate sections, whereas NumPy uses underlines.
Google style:
def func(arg1, arg2):
"""Summary line.
Extended description of function.
Args:
arg1 (int): Description of arg1
arg2 (str): Description of arg2
Returns:
bool: Description of return value
"""
return True
NumPy style:
def func(arg1, arg2):
"""Summary line.
Extended description of function.
Parameters
----------
arg1 : int
Description of arg1
arg2 : str
Description of arg2
Returns
-------
bool
Description of return value
"""
return True
NumPy style tends to require more vertical space, whereas Google style tends to use more horizontal space. Google style tends to be easier to read for short and simple docstrings, whereas NumPy style tends be easier to read for long and in-depth docstrings.
The Khan Academy recommends using Google style.
The choice between styles is largely aesthetic, but the two styles should not be mixed. Choose one style for your project and be consistent with it.
参见
For complete examples:
Type Annotations¶
PEP 484 introduced a standard way to express types in Python code. This is an alternative to expressing types directly in docstrings. One benefit of expressing types according to PEP 484 is that type checkers and IDEs can take advantage of them for static code analysis.
Google style with Python 3 type annotations:
def func(arg1: int, arg2: str) -> bool:
"""Summary line.
Extended description of function.
Args:
arg1: Description of arg1
arg2: Description of arg2
Returns:
Description of return value
"""
return True
Google style with types in docstrings:
def func(arg1, arg2):
"""Summary line.
Extended description of function.
Args:
arg1 (int): Description of arg1
arg2 (str): Description of arg2
Returns:
bool: Description of return value
"""
return True
注解
Python 2/3 compatible annotations aren’t currently supported by Sphinx and won’t show up in the docs.
Configuration¶
Listed below are all the settings used by napoleon and their default values. These settings can be changed in the Sphinx conf.py file. Make sure that “sphinx.ext.napoleon” is enabled in conf.py:
# conf.py
# Add any Sphinx extension module names here, as strings
extensions = ['sphinx.ext.napoleon']
# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = False
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
-
napoleon_google_docstring
¶ True to parse Google style docstrings. False to disable support for Google style docstrings. Defaults to True.
-
napoleon_numpy_docstring
¶ True to parse NumPy style docstrings. False to disable support for NumPy style docstrings. Defaults to True.
-
napoleon_include_init_with_doc
¶ True to list
__init___
docstrings separately from the class docstring. False to fall back to Sphinx’s default behavior, which considers the__init___
docstring as part of the class documentation. Defaults to False.If True:
def __init__(self): \"\"\" This will be included in the docs because it has a docstring \"\"\" def __init__(self): # This will NOT be included in the docs
-
napoleon_include_private_with_doc
¶ True to include private members (like
_membername
) with docstrings in the documentation. False to fall back to Sphinx’s default behavior. Defaults to False.If True:
def _included(self): """ This will be included in the docs because it has a docstring """ pass def _skipped(self): # This will NOT be included in the docs pass
-
napoleon_include_special_with_doc
¶ True to include special members (like
__membername__
) with docstrings in the documentation. False to fall back to Sphinx’s default behavior. Defaults to True.If True:
def __str__(self): """ This will be included in the docs because it has a docstring """ return unicode(self).encode('utf-8') def __unicode__(self): # This will NOT be included in the docs return unicode(self.__class__.__name__)
-
napoleon_use_admonition_for_examples
¶ True to use the
.. admonition::
directive for the Example and Examples sections. False to use the.. rubric::
directive instead. One may look better than the other depending on what HTML theme is used. Defaults to False.This NumPy style snippet will be converted as follows:
Example ------- This is just a quick example
If True:
.. admonition:: Example This is just a quick example
If False:
.. rubric:: Example This is just a quick example
-
napoleon_use_admonition_for_notes
¶ True to use the
.. admonition::
directive for Notes sections. False to use the.. rubric::
directive instead. Defaults to False.注解
The singular Note section will always be converted to a
.. note::
directive.参见
napoleon_use_admonition_for_examples
-
napoleon_use_admonition_for_references
¶ True to use the
.. admonition::
directive for References sections. False to use the.. rubric::
directive instead. Defaults to False.参见
napoleon_use_admonition_for_examples
-
napoleon_use_ivar
¶ True to use the
:ivar:
role for instance variables. False to use the.. attribute::
directive instead. Defaults to False.This NumPy style snippet will be converted as follows:
Attributes ---------- attr1 : int Description of `attr1`
If True:
:ivar attr1: Description of `attr1` :vartype attr1: int
If False:
.. attribute:: attr1 Description of `attr1` :type: int
-
napoleon_use_param
¶ True to use a
:param:
role for each function parameter. False to use a single:parameters:
role for all the parameters. Defaults to True.This NumPy style snippet will be converted as follows:
Parameters ---------- arg1 : str Description of `arg1` arg2 : int, optional Description of `arg2`, defaults to 0
If True:
:param arg1: Description of `arg1` :type arg1: str :param arg2: Description of `arg2`, defaults to 0 :type arg2: int, optional
If False:
:parameters: * **arg1** (*str*) -- Description of `arg1` * **arg2** (*int, optional*) -- Description of `arg2`, defaults to 0
-
napoleon_use_keyword
¶ True to use a
:keyword:
role for each function keyword argument. False to use a single:keyword arguments:
role for all the keywords. Defaults to True.This behaves similarly to
napoleon_use_param
. Note unlike docutils,:keyword:
and:param:
will not be treated the same way - there will be a separate “Keyword Arguments” section, rendered in the same fashion as “Parameters” section (type links created if possible)参见
napoleon_use_param
-
napoleon_use_rtype
¶ True to use the
:rtype:
role for the return type. False to output the return type inline with the description. Defaults to True.This NumPy style snippet will be converted as follows:
Returns ------- bool True if successful, False otherwise
If True:
:returns: True if successful, False otherwise :rtype: bool
If False:
:returns: *bool* -- True if successful, False otherwise


|
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include <displayformat.h>
Signals | |
| void | updated () |
Public Member Functions | |
| DisplayFormat (QObject *parent) | |
| ~DisplayFormat () | |
| Modality | modality () const |
| Layout | currentLayout () const |
| virtual void | setCurrentLayout (const Layout ¤tLayout) |
| Views | currentViews () const |
| virtual void | setCurrentViews (const Views ¤tViews) |
| bool | hasViewerControls () const |
| bool | enableTools () const |
| bool | rotateAll () const |
| bool | rotateSingle () const |
| bool | hasOverlay () const |
| bool | showNiftiViews () const |
| bool | showNiftiAxis () const |
| bool | showOrientation () const |
| bool | showPpmViews () const |
| bool | showPpmChannels () const |
| bool | overlay () const |
| void | setOverlay (bool overlay) |
| void | toggleOverlay () |
| bool | hasLayout () const |
| bool | has3Views () const |
| bool | has4Views () const |
| std::array< bool, 4 > | getViews () |
| int | getNumberOfViews () const |
| virtual void | setNumberOfViews (int numberOfViews)=0 |
| QColor | overlayColor () const |
| void | setOverlayColor (const QColor &overlayColor) |
| size_t | getMaximumNumberOfViews () const |
Protected Member Functions | |
| void | loadSettings () |
Protected Attributes | |
| Modality | m_modality |
| Layout | m_currentLayout |
| Views | m_currentViews |
| bool | m_overlay |
| bool | m_hasViewerControls |
| bool | m_enableTools |
| bool | m_rotateAll |
| bool | m_rotateSingle |
| bool | m_hasOverlay |
| bool | m_hasLayout |
| bool | m_has3Views |
| bool | m_has4Views |
| bool | m_showNiftiViews |
| bool | m_showNiftiAxis |
| bool | m_showOrientation |
| bool | m_showPpmViews |
| bool | m_showPpmChannels |
| Views | defaultViews |
| int | m_numberOfViews |
| size_t | m_maximumNumberOfViews |
| QColor | m_overlayColor |
Definition at line 13 of file displayformat.h.
|
explicit |
Definition at line 79 of file displayformat.cpp.
| DisplayFormat::~DisplayFormat | ( | ) |
Definition at line 83 of file displayformat.cpp.
| Layout DisplayFormat::currentLayout | ( | ) | const |
Definition at line 132 of file displayformat.cpp.
| Views DisplayFormat::currentViews | ( | ) | const |
Definition at line 135 of file displayformat.cpp.
| bool DisplayFormat::enableTools | ( | ) | const |
Definition at line 141 of file displayformat.cpp.
| size_t DisplayFormat::getMaximumNumberOfViews | ( | ) | const |
Definition at line 125 of file displayformat.cpp.
| int DisplayFormat::getNumberOfViews | ( | ) | const |
Definition at line 188 of file displayformat.cpp.
| std::array< bool, 4 > DisplayFormat::getViews | ( | ) |
Definition at line 178 of file displayformat.cpp.
| bool DisplayFormat::has3Views | ( | ) | const |
Definition at line 171 of file displayformat.cpp.
| bool DisplayFormat::has4Views | ( | ) | const |
Definition at line 174 of file displayformat.cpp.
| bool DisplayFormat::hasLayout | ( | ) | const |
Definition at line 168 of file displayformat.cpp.
| bool DisplayFormat::hasOverlay | ( | ) | const |
Definition at line 150 of file displayformat.cpp.
| bool DisplayFormat::hasViewerControls | ( | ) | const |
Definition at line 138 of file displayformat.cpp.
|
protected |
Definition at line 93 of file displayformat.cpp.
| Modality DisplayFormat::modality | ( | ) | const |
Definition at line 129 of file displayformat.cpp.
| bool DisplayFormat::overlay | ( | ) | const |
Definition at line 201 of file displayformat.cpp.
| QColor DisplayFormat::overlayColor | ( | ) | const |
Definition at line 192 of file displayformat.cpp.
| bool DisplayFormat::rotateAll | ( | ) | const |
Definition at line 144 of file displayformat.cpp.
| bool DisplayFormat::rotateSingle | ( | ) | const |
Definition at line 147 of file displayformat.cpp.
Definition at line 205 of file displayformat.cpp.
Definition at line 211 of file displayformat.cpp.
|
pure virtual |
Implemented in RGB2DFormat, BW3DFormat, and BW2DFormat.
| void DisplayFormat::setOverlay | ( | bool | overlay | ) |
Definition at line 220 of file displayformat.cpp.
| void DisplayFormat::setOverlayColor | ( | const QColor & | overlayColor | ) |
Definition at line 196 of file displayformat.cpp.
| bool DisplayFormat::showNiftiAxis | ( | ) | const |
Definition at line 156 of file displayformat.cpp.
| bool DisplayFormat::showNiftiViews | ( | ) | const |
Definition at line 153 of file displayformat.cpp.
| bool DisplayFormat::showOrientation | ( | ) | const |
Definition at line 159 of file displayformat.cpp.
| bool DisplayFormat::showPpmChannels | ( | ) | const |
Definition at line 165 of file displayformat.cpp.
| bool DisplayFormat::showPpmViews | ( | ) | const |
Definition at line 162 of file displayformat.cpp.
| void DisplayFormat::toggleOverlay | ( | ) |
Definition at line 228 of file displayformat.cpp.
|
signal |
|
protected |
Definition at line 96 of file displayformat.h.
|
protected |
Definition at line 74 of file displayformat.h.
|
protected |
Definition at line 75 of file displayformat.h.
|
protected |
Definition at line 81 of file displayformat.h.
|
protected |
Definition at line 87 of file displayformat.h.
|
protected |
Definition at line 88 of file displayformat.h.
|
protected |
Definition at line 86 of file displayformat.h.
|
protected |
Definition at line 85 of file displayformat.h.
|
protected |
Definition at line 80 of file displayformat.h.
|
protected |
Definition at line 98 of file displayformat.h.
|
protected |
Definition at line 73 of file displayformat.h.
|
protected |
Definition at line 97 of file displayformat.h.
|
protected |
Definition at line 78 of file displayformat.h.
|
protected |
Definition at line 99 of file displayformat.h.
|
protected |
Definition at line 82 of file displayformat.h.
|
protected |
Definition at line 83 of file displayformat.h.
|
protected |
Definition at line 91 of file displayformat.h.
|
protected |
Definition at line 90 of file displayformat.h.
|
protected |
Definition at line 92 of file displayformat.h.
|
protected |
Definition at line 94 of file displayformat.h.
|
protected |
Definition at line 93 of file displayformat.h.


|
Home >
Enterprise >
Participants >
Symantec >
Results
|
|
Procedure
Used RC4 stream cipher to encrypt C2 (<IP_ADDRESS>) traffic
Criteria
Evidence that the network data sent over the C2 channel is encrypted
Procedure
Recursively collected files found in C:\Users\Pam\ using PowerShell
Criteria
powershell.exe reading files in C:\Users\Pam\
Procedure
Read and downloaded ZIP (Draft.zip) over C2 channel (<IP_ADDRESS> over TCP port 1234)
Criteria
The rcs.3aka3.doc process reading the file draft.zip while connected to the C2 channel
Procedure
Dropped stage 2 payload (monkey.png) to disk
Criteria
The rcs.3aka3.doc process creating the file monkey.png
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Modified the Registry to enable COM hijacking of sdclt.exe using PowerShell
Criteria
Addition of the DelegateExecute subkey in HKCU\Software\Classes\Folder\shell\open\command
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Modified the Registry to remove artifacts of COM hijacking
Criteria
Deletion of of the HKCU\Software\Classes\Folder\shell\Open\command subkey
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Enumerated the OS version using PowerShell
Criteria
powershell.exe executing Gwmi Win32_OperatingSystem
Procedure
Executed API call by reflectively loading Netapi32.dll
Criteria
The NetUserGetGroups API function loaded into powershell.exe from Netapi32.dll
Procedure
Executed API call by reflectively loading Netapi32.dll
Criteria
The NetUserGetLocalGroups API function loaded into powershelle.exe from Netapi32.dll
Procedure
Read the Chrome SQL database file to extract encrypted credentials
Criteria
accesschk.exe reading files within %APPDATALOCAL%\Google\chrome\user data\default\
Procedure
Executed the CryptUnprotectedData API call to decrypt Chrome passwords
Criteria
accesschk.exe executing the CryptUnprotectedData API
Procedure
Exported a local certificate to a PFX file using PowerShell
Criteria
powershell.exe creating a certificate file exported from the system
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Read data in the user's Downloads directory using PowerShell
Criteria
powershell.exe reading files in C:\Users\pam\Downloads\
Procedure
Enumerated remote systems using LDAP queries
Criteria
powershell.exe making LDAP queries over port 389 to the Domain Controller (<IP_ADDRESS>)
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Established WinRM connection to remote host Scranton (<IP_ADDRESS>)
Criteria
Network connection to Scranton (<IP_ADDRESS>) over port 5985
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Recursively collected files found in C:\Users\Pam\ using PowerShell
Criteria
powershell.exe reading files in C:\Users\Pam\
Procedure
Read and downloaded ZIP (working.zip on Desktop) over C2 channel (<IP_ADDRESS> over TCP port 8443)
Criteria
python.exe reading the file working.zip while connected to the C2 channel
Procedure
Deleted SDelete on disk using cmd.exe del command
Criteria
cmd.exe deleting the file sdelete64.exe
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Executed persistent service (javamtsup) on system startup
Criteria
javamtsup.exe spawning from services.exe
Procedure
Established C2 channel (<IP_ADDRESS>) via PowerShell payload over port 443
Criteria
Established network channel over port 443
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Used HTTPS to transport C2 (<IP_ADDRESS>) traffic
Criteria
Established network channel over the HTTPS protocol
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Used HTTPS to encrypt C2 (<IP_ADDRESS>) traffic
Criteria
Evidence that the network data sent over the C2 channel is encrypted
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Modified the time attributes of the kxwn.lock persistence payload using PowerShell
Criteria
powershell.exe modifying the creation, last access, and last write times of kxwn.lock
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Modified the Registry to enable COM hijacking of sdclt.exe using PowerShell
Criteria
Addition of the DelegateExecute subkey in HKCU\Software\Classes\Folder\shell\open\command
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Modified the Registry to remove artifacts of COM hijacking using PowerShell
Criteria
Deletion of the HKCU\Software\Classes\Folder\shell\Open\command subkey
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Enumerated and tracked PowerShell processes using PowerShell
Criteria
powershell.exe executing Get-Process
Procedure
Read and decoded Mimikatz output from a WMI class property using PowerShell
Criteria
powershell.exe executing Get-WmiInstance
Procedure
Enumerated logged on users using PowerShell
Criteria
powershell.exe executing $env:UserName
Procedure
Enumerated the domain controller host NewYork (<IP_ADDRESS>) using LDAP queries
Criteria
powershell.exe making LDAP queries over port 389 via functions from System.DirectoryServices.dll
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
[2]
Procedure
Enumerated the domain SID (from current user SID) using the ConvertSidToStringSid API
Criteria
powershell.exe executing the ConvertSidToStringSid API
Procedure
Established a WinRM connection to the domain controller host NewYork (<IP_ADDRESS>)
Criteria
Network connection to NewYork (<IP_ADDRESS>) over port 5985
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
Procedure
Read and collected a local file using PowerShell
Criteria
powershell.exe reading the file MITRE-ATTACK-EVALS.HTML
Procedure
Mapped a network drive to an online OneDrive account using PowerShell
Criteria
net.exe with command-line arguments then making a network connection to a public IP over port 443
Footnotes
- The telemetry was acquired by manually initiating an export of endpoint-stored event data that was not automatically sent to the analysis system, which caused this detection to receive Delayed (Manual).
[2]
[3]
Procedure
Established a WinRM connection to the remote host Scranton (<IP_ADDRESS>) using the Golden Ticket as credentials
Criteria
Network connection to Scranton (<IP_ADDRESS>) over port 5985
Criteria
fodhelper.exe spawns cmd.exe as a high-integrity process (note: Due to the configuration of the environment, the adversary's process was high by default. This sub-step was evaluated based on the criteria of detecting data related to process integrity level as well as the executed mechanics of the UAC bypass)
Data Sources
- Process Monitoring
Criteria
fodhelper.exe spawns cmd.exe as a high-integrity process (note: Due to the configuration of the environment, the adversary's process was high by default. This sub-step was evaluated based on the criteria of detecting data related to process integrity level as well as the executed mechanics of the UAC bypass)
Data Sources
- Process Monitoring
[2]
Criteria
Java-Update.exe injects into explorer.exe with CreateRemoteThread
Data Sources
- Process Monitoring
Criteria
powershell.exe spawns samcat.exe as a high-integrity process (note: Due to the configuration of the environment, the adversary's process was high by default. This sub-step was evaluated based on the criteria of detecting data related to process integrity level as well as the executed mechanics of the UAC bypass)
Data Sources
- Process Monitoring
Criteria
powershell.exe spawns samcat.exe as a high-integrity process (note: Due to the configuration of the environment, the adversary's process was high by default. This sub-step was evaluated based on the criteria of detecting data related to process integrity level as well as the executed mechanics of the UAC bypass)
Data Sources
- Windows Registry
- Process Monitoring
[2]
Criteria
AccountingIQ.exe queries HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\ and loads dll329.dll


Paul Kagame
born 23 October 1957
Politician
★ ★ ★ ★ ☆
Paul Kagame is President of the Republic of Rwanda. He served a one-year term as Chairperson of the African Union until February 2019, and has been leading the institutional reform of the African Union since 2016.
He is currently the Chairperson of the East African Community (EAC). Beginning in 1990, as commander of the forces of the Rwandan Patriotic Front (RPF), he led the struggle to liberate Rwanda. The RPF halted the Genocide against the Tutsi in 1994, which claimed over a million victims.
The hallmarks of President Kagame’s administration are peace and reconciliation, women’s empowerment, promotion of investment and entrepreneurship, and access to information technology, a cause he also champions as Co-Chair of the Broadband Commission for Sustainable Development.


We turn all contents on a website into an interactive experienca website into an interactive experienca website into an interactive experience!
We turn all contents on a website into an interactive experienca website into an interactive experienca website into an interactive experience!
We turn all contents on a website into an interactive experienca website into an interactive experienca website into an interactive experience!
We turn all contents on a website into an interactive experienca website into an interactive experienca website into an interactive experience!


Trajectory computations and visualizations by Glenn Flierl, Lodovica Illari, Bill McKenna of the Department of Earth, Atmospheric and Planetary Sciences at the Massachusetts Institute of Technology (MIT) in collaboration with Tomás Saraceno, Visiting Artist at the MIT Center for Art, Science & Technology (CAST).
Shown are 6-hour tracks for floating sculptures, computed using the 16 day wind forecast data from the US NOAA Global Forecast System.
To Aero-float is to travel in the air without burning fossil fuels, without using solar panels or batteries, and without rare gases. Aerocene holds a message of simplicity, creativity and cooperation for a world of tumultuous geopolitical relations, reminding us of our symbiotic relationship with the Earth and all its species. The Aerocene project is being developed by the Aerocene Foundation, and invites us to shape a period of time, a new epoch.


id)){ ?>
Author:
Keywords:
Pages:
Note:
Annote:
Edition:
Type:
Resource Details
Resource:
New
resource_id) echo " selected"; echo ">".$name.""; } ?>
Name:
Year:
Month:
Volume:
Number:
Editor:
Series:
Address:
Publisher:


Analyzing best location selection based on labor force demographics, transportation infrastructure, living cost, and amenities near the site for the second Amazon headquarter on 8 of the 20 city finalists.
From corporate perspective which location is best cost effective. From employee perspective which location is most recommended based on defining employee happiness as factor of weather, schools, traffic.
From the RFP: In choosing the location for HQ2, Amazon has a preference for:
From the RFP: In choosing the location for HQ2, Amazon has a preference for:
Team amazonians:
1st Category: Demographics For Corporation
2nd Category: Transportation infrastructure For Employees
3rd Category: Living Cost For Employees
4th Category: Large enterprises For Corporations
Criteras Demographics
# Plotting Talent pool
plt.figure(figsize=(8,5))
sns.barplot(y='NAME',x='Emp_Tech',data=laborForceDF)
plt.xlabel("Number of People in Tech, Business and Financial occupations.")
plt.ylabel("")
plt.title("Available Tech Talent Pool")
plt.show()
plt.figure(figsize=(8,5))
sns.barplot(y='NAME',x='Emp_Tech_Per',data=laborForceDF)
plt.xlabel("Percent of Labor Force in Tech, Business and Financial occupations.")
plt.ylabel("")
plt.title("Labor Force Talent Pool Percentage")
plt.show()
Criteria Transportation
Criteria Living Cost
housing_df=pd.read_csv("housing.csv")
housing_df_temp_own = housing_df.copy()
housing_df_temp_rent = housing_df.copy()
housing_df_temp_own['RentOwn'] = 'own'
housing_df_temp_own['Afford'] = housing_df_temp_own['home owner afford']
housing_df_temp_rent['RentOwn'] = 'rent'
housing_df_temp_rent['Afford'] = housing_df_temp_own['rent afford']
frames= [housing_df_temp_own, housing_df_temp_rent]
housing_df_rentOwn = pd.concat(frames, ignore_index= 'True')
#By City
plt.figure(figsize=(8,5))
sns.barplot(x="Afford", y="City", hue="RentOwn", data=housing_df_rentOwn)
plt.title("Housing Affordability")
plt.show()
plt.figure(figsize=(5,10))
sns.barplot(x='Rating',y='Site Name',data=avg_rating)
plt.title("Average rating of nearby schools")
plt.show()
# Nearby schools average ratings
sns.boxplot(x='Rating',y='Amazon City',data=cities)
plt.title("Average rating of nearby schools by City")
plt.savefig("ratingsschoolscity.png")
plt.show()
# Nearby Colleges average ratings
plt.figure(figsize=(5,10))
sns.barplot(x='Schools',y='Site Name',data=nc)
plt.title("Number of Nearby Colleges")
plt.savefig("nerbycolleges.png")
plt.show()
# Nearby Colleges average ratings
sns.boxplot(x='Rating',y='Amazon City',data=cities)
plt.title("Average rating of nearby Colleges by City")
plt.show()
Thank you


Tycho's default layout
This is the standard layout of a full Tycho installation. In the
standard installation, packages are not installed directly in the
top-level Tycho directory, but underneath meta-package sub-directories
called kernel/
, edit/
, and
util/
. This provides for manageable growth in the number
of packages. The structure of each package is given in Package structure.
By convention, each package that is a proper part of Tycho has a
name such as tycho.kernel.gui
, to mimic the Java
convention of placing packages by directory. The Tcl package system,
of course, does not understand this convention, so in a custom
installation you can place the packages anywhere you please. Some
packages in the util
directory are completely
stand-alone, and so have simple names such as pakman
instead of, say, tycho.util.pakman
.
tycho
-
makefile
pkgIndex.tcl
- Makefile and package index and load files
adm/
- The admin directory, containing release
notes, announcements, and so on. This directory is not
shipped with the rest of the distribution.
-
dist/
- The distribution directory. The contents of this
directory are automatically generated.
bin/
- Shell scripts that start the
tclsh
,
itclsh
, wish
,
or itkwish
, load one or more
packages, and do something useful. Many of the scripts in this package
will be copied into this directory from the bin/
directories of individual packages.
-
doc/
-
-
makefile
index.html
*.html
- The generic Tycho documentation directory. This includes
documentation on the package system, and the goals of the
Tycho project.
img/
- Image files used in the documentation
edit/
- A meta-package containing packages of
textual and graphical editors and viewers
makefile
pkgIndex.tcl
-
textedit/
- A collection of syntax-sensitive text editors
visedit/
- A collection of graphical editors
slate/
- An [incr Tcl] megawidget layered over the Tcl/Tk canvas
-
java/
- Directories containing Java sources
-
ptplot
- The Java plotter
-
kernel/
- A meta-package containing the complete Tycho kernel
-
makefile
-
basic/
- The minimal set of classes that is used
by any non-graphical Tycho program. It includes Tcl
procedures that could be used anywhere, such as list and
string manipulation.
-
gui/
- The Tycho graphical kernel, which is used by all graphical
applications
-
html/
- The HTML viewer and support
classes such as HTTP access and network support
-
model/
- The model part
of the model-view architecture used in parts of Tycho
-
mk/
- Makefiles used by makefiles in all packages
-
tycho.mk
- Contains installation dependent makefile variables,
such as the location of the Java Development Kit
-
tycommon.mk
- Contains rules to build files from source files.
-
lib.$PTARCH/
obj.$PTARCH/
- Directories containing platform dependent libraries and
object files.
make tclexts
builds these.
For more information, see
Building Tcl Extensions.
-
src/
- Directories containing C source code
-
util/
- A meta-package containing packages of general
utility. Many of these are not part of Tycho proper, but are
useful stand-alone tools.
-
makefile
pkgIndex.tcl
- Makefile and package index files
-
devtools/
- Developer tools used to compile C and Java
tydoc/
-
tydoc/
is a documentation generator
and viewer for [incr Tcl] and Java.
It can generate plain HTML as well as its own format.
tytest/
- The Tcl testing framework used in the tests for
all Tycho packages.
Copyright © 1998, The Regents of the University of California.
All rights reserved.
Last updated: 06/11/98,
comments to: johnr@eecs.berkeley.edu


{%extends "base/errors_base.html"%} {%block content%}
Sorry, but you are not authorized to access this page. You can go back to main page: Home


| MATLAB 文件帮助: cv.initUndistortRectifyMap | 查看 cv.initUndistortRectifyMap 的代码 | Index |
initUndistortRectifyMap Computes the undistortion and rectification transformation map
[map1, map2] = cv.initUndistortRectifyMap(cameraMatrix, distCoeffs, newCameraMatrix, siz)
[...] = cv.initUndistortRectifyMap(..., 'OptionName', optionValue, ...)
A = [f_x 0 c_x; 0 f_y c_y; 0 0 1]
[k1,k2,p1,p2,k3,k4,k5,k6,s1,s2,s3,s4]
of 4, 5, 8, or 12 elements. If
the vector is empty, the zero distortion coefficients are assumed.Ap = [fp_x 0 cp_x; 0 fp_y cp_y; 0 0 1]
[w,h]
.M1Type
.M1Type
.R1
or R2
, computed by cv.stereoRectify can be passed
here. If the matrix is empty, the identity transformation is assumed.
default emptyint16
). See cv.convertMaps. Accepted types are:int16
array, second output
map is MxNx1 uint16
(fixed-point representation).single
matrix, second
output map is MxNx1 single
(separate floating-point
representation).single
matrix, second
output map is empty (combined floating-point representation).The function computes the joint undistortion and rectification
transformation and represents the result in the form of maps for
cv.remap. The undistorted image looks like original, as if it is captured
with a camera using the camera matrix newCameraMatrix
and zero distortion.
In case of a monocular camera, newCameraMatrix
is usually equal to
cameraMatrix
, or it can be computed by cv.getOptimalNewCameraMatrix for a
better control over scaling. In case of a stereo camera, newCameraMatrix
is normally set to P1
or P2
computed by cv.stereoRectify.
Also, this new camera is oriented differently in the coordinate space,
according to R
. That, for example, helps to align two heads of a stereo
camera so that the epipolar lines on both images become horizontal and
have the same y-coordinate (in case of a horizontally aligned stereo
camera).
The function actually builds the maps for the inverse mapping algorithm
that is used by cv.remap. That is, for each pixel (u,v)
in the
destination (corrected and rectified) image, the function computes the
corresponding coordinates in the source image (that is, in the original
image from camera). The following process is applied:
x = (u - cp_x) / fp_x
y = (v - cp_y) / fp_y
[X Y Z]' = inv(R) * [x y 1]'
xp = X / W
yp = Y / W
xpp = xp*(1 + k1*r^2 + k2*r^4 + k3*r^6) + 2*p1*xp*yp + p2*(r^2 + 2*xp^2)
ypp = yp*(1 + k1*r^2 + k2*r^4 + k3*r^6) + p1*(r^2 + 2*yp^2) + 2*p2*xp*yp
map_x(u,v) = xpp * f_x + c_x
map_y(u,v) = ypp * f_y + c_y
where k1
, k2
, p1
, p2
, k3
are the distortion coefficients.
In case of a stereo camera, this function is called twice: once for each
camera head, after cv.stereoRectify, which in its turn is called after
cv.stereoCalibrate. But if the stereo camera was not calibrated, it is still
possible to compute the rectification transformations directly from the
fundamental matrix using cv.stereoRectifyUncalibrated. For each camera, the
function computes homography H
as the rectification transformation in a
pixel domain, not a rotation matrix R
in 3D space. R
can be computed
from H
as
R = inv(cameraMatrix) * H * cameraMatrix
where cameraMatrix
can be chosen arbitrarily.


In many use cases the amount of data is greater then the available amount of memory. When a cache is full and a new element is added. The cache must evict one of the existing elements in order to make room for the new element. The algorithm that determines which entry that should be evicted is called a cache replacement policy (or sometimes just a replacement policy).
A naive replacement policy might just select a random element to evict. However, a common observation for most workloads is that elements that have been accessed recently have a tendency to be accessed again in the near future. This concept is known as temporal locality. This is probably best embodied in the Least Recently Used (LRU) replacement policy which is commonly used in many computer systems. While LRU works great for many workloads the naive randomized implementation work better for other workloads, for example, if a cache is all entries are continuously accessed in a circular pattern.
A replacement policy based on paging is a policy where all elements have uniform sizes and cost to retrieve. That is a document with a size of 1 MB and one with a size of 10 MB is treated equally by the policy both in respect to memory usage and cost to retrieve. The best, offline cache replacement policy is Belady's MIN that replaces the page that is used farthest in the future[1]. Of course, in practice, we are only interested in online cache replacement policies that do not demand any prior knowledge of the workload.
Consider a small application that consists of 10 documents that the users access randomly. 9 of the documents needs 1 MB to be stored while the last document needs 5 MB to be stored. If we only have 10 MB available to store documents, we can either choose


A simple App for a simple job. Why over complicate things?
Get Started for Free
Type in a number in Base 2, 8, 10, and 16 and watch as it is converted dynamically as you type to Binary, Octal, Decimal, and Hexidecimal.
Also check the ASCII and Unicode values of any character!
Cameron Embree is a programmer in the Port Hueneme, CA area.
Questions/Comments:cse [at] cameronembree [dot] com


Enter departure date
Enter return date
Enter first name
Enter last name
Choose your username
Create a password
Confirm your password
Select Desination
Select no. of nights
Please specify your gender
Male
Female
Enter phone number
Your current email id


{% extends "frontend/base.html" %} {% load static %} {% block addnlcss %} {% endblock %} {% block content %}
i am a linux systems administrator and programmer, interested in open source software, decentralised infrastructure and secure communications.
i like taking pictures of natural scenery and urban landscapes. i love following motorsports too.


Looks like you're offline.
Bad news: You can't check out my solid work and links.
Good news: there's cats! Click the button below for random Caturday goodness.
Get Cats!!!


Workflow is customizable for your needs. Our logistics consultants can help you design the optimal workflow.
Integrated with major market places and shopping carts. You can start your logistics right away.
Start with a mobile device. It can expand to full SCM with multiple devices, printers and locations.


GREAT EXPECTATIONS (1998)
Rating: 3.0 stars (out of 4.0) ******************************** Key to rating system: 2.0 stars - Debatable 2.5 stars - Some people may like it 3.0 stars - I liked it 3.5 stars - I am biased in favor of the movie 4.0 stars - I felt the movie's impact personally or it stood out ********************************* A Movie Review by David Sunga
Directed by: Alfonso Cuarón
Written by: Mitch Glazer, from the Charles Dickens classic GREAT EXPECTATIONS
Starring: Ethan Hawke, Gwyneth Paltrow, Hank Azaria, Anne Bancroft, Robert De Niro
Ingredients: Starving artist lusting after a beautiful woman from his childhood
Synopsis: GREAT EXPECTATIONS (1998) is a modernized version of a Charles Dickens novel. In the original Charles Dickens classic an orphan boy named Pip learns about life through his friendship with an escaped convict, his relationship with a bitter old lady named Miss Havisham, and his hopeless lifetime infatuation with Havisham's snobbish adopted daughter, Estella. The gist of the story is that an anonymous benefactor sends Pip to London for Pip to become an upper class "gentleman." Pip leaves for London with "great expectations" to be groomed into a gentleman so that he can one day be classy enough to marry Estella. But life has a way of complicating things.
In this new 1998 version of GREAT EXPECTATIONS a poor Florida lad named Finn (Ethan Hawke) with a talent for drawing has an early memory of helping an escaped convict (Robert De Niro). But soon the focus of Finn's life becomes romance, as he develops a lifelong infatuation with Estella (Gwyneth Paltrow), an upper crust girl with some psychological and emotional issues due to being raised in a dysfunctional environment. Estella was raised in wealth by Ms. Dinsmoor (Anne Bancroft), an eccentric, aged and embittered, man-hating single aunt whose groom left her abandoned at the altar on the day of her marriage. This causes Estella to 'fear the daylight' of relationships, but Finn thinks it's just a case of snobbery.
When Finn becomes a young man, an anonymous benefactor sets Finn up in New York with the connections and publicity to be groomed into a famous artist. Finn leaves Florida with "great expectations" to be a successful artist so that some day he might become classy enough to marry the snobbish Estella. What will happen to all of Finn's "great expectations?"
Opinion: If you're looking for a romance with a happy ending, look no further; you've found one here.
Ethan Hawke is romantic lead. (He romanced Winona Ryder in REALITY BITES. He romanced Julie Delpy in BEFORE SUNRISE. He romanced Uma Thurman in GATTACA. Now in GREAT EXPECTATIONS he gets to chase Gwyneth Paltrow, a rail-thin blonde.) Hawke plays a lovestruck, earnest and unchanged Finn throughout the film.
Meanwhile Paltrow portrays Estella as alternating between infuriating tease and ice princess; Estella's whole purpose is to get men to fall in love and then hurt them rather than become intimate. Anne Bancroft goes a little overboard as the deranged and pessimistic Ms. Dinsmoor, while Robert De Niro carries off the convict part suitably.
The difference between the classic Dickens novel and this 1998 adaptation is that the Dickens novel is ripe with deep and timeless themes about class struggle and love, whereas GREAT EXPECTATIONS (1998) is more artsy, less complicated story about a 1990s artist dealing with a lifetime tease.
Reviewed by David Sunga January 30, 1998
THE CRITIC ZOO http://www.criticzoo.com email<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Icthus 1.2
Icthus 1.2 is now available on the App Store...
Icthus 1.1
Today Icthus 1.1 is available on the App Store.
Launch
Icthus is a Bible that has been redesigned for the modern reader.
Icthus 1.2 is now available on the App Store...
Today Icthus 1.1 is available on the App Store.
Icthus is a Bible that has been redesigned for the modern reader.


|
|
CIFXMeshGroup Class ReferenceInheritance diagram for CIFXMeshGroup:
List of all members.
Constructor & Destructor Documentation
| CIFXMeshGroup::CIFXMeshGroup |
( |
|
) |
[private] |
|
| CIFXMeshGroup::~CIFXMeshGroup |
( |
|
) |
[private, virtual] |
|
Member Function Documentation
| U32 CIFXMeshGroup::AddRef |
( |
|
) |
[virtual] |
|
|
|
This method increments the reference count for an interface on a component.
- Note:
- It should be called for every new copy of a pointer to an interface on a given component.
- Returns:
- It returns a U32 that contains a value from 1 to 2^32 - 1 that defines the new reference count. The return value should only be used for debugging purposes.
Implements IFXUnknown. |
| IFXRESULT CIFXMeshGroup::Allocate |
( |
U32 |
uNumMeshes |
) |
[virtual] |
|
| const IFXVector4 & CIFXMeshGroup::CalcBoundingSphere |
( |
|
) |
[virtual] |
|
| void CIFXMeshGroup::DeallocateObject |
( |
|
) |
[private, virtual] |
|
| IFXRESULT CIFXMeshGroup::GetBoundHierarchy |
( |
IFXBoundHierarchy ** |
ppOutBH |
) |
[virtual] |
|
|
|
Returns the bounding hierarchy of the model's meshgroup.
- Parameters:
-
| ppOutBH | The address of the IFXBoundHierarchy pointer to contain the address of the bound hierarchy for the model's meshgroup. |
- Returns:
- One of the following IFXRESULT codes:
- IFX_OK No error.
- IFX_E_OUT_OF_MEMORY Not enough memory was available to initialize.
Implements IFXBoundHierarchyMgr. |
| void** CIFXMeshGroup::GetElementList |
( |
|
) |
[inline, virtual] |
|
| IFXREFIID IFXAPI CIFXMeshGroup::GetElementType |
( |
|
) |
[inline, virtual] |
|
|
|
Returns a reference to the IID that the renderable elements support.
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements CIFXRenderable. |
| IFXRESULT CIFXMeshGroup::GetMesh |
( |
U32 |
uMeshNum, |
|
|
IFXMesh *& |
pMesh |
|
) |
[virtual] |
|
|
|
Returns a pointer to a specified mesh within the mesh group.
May return NULL if SetMesh() has not been called previously with a valid pointer.
Implements IFXMeshGroup. |
| U32 IFXAPI CIFXMeshGroup::GetNumMeshes |
( |
|
) |
[inline, virtual] |
|
| IFXRESULT CIFXMeshGroup::QueryInterface |
( |
IFXREFIID |
riid, |
|
|
void ** |
ppv |
|
) |
[virtual] |
|
|
|
This method provides access to the various interfaces supported by a component.
Upon success, it increments the component's reference count and hands back a pointer to the specified interface.
- Note:
- A number of rules must be adhered to by all implementations of IFXAPI QueryInterface . For a list of such rules, refer to the IFXCOM usage guidelines.
- Returns:
- Upon success, IFX_OK is returned. Otherwise, either IFX_E_INVALID_POINTER or IFX_E_UNSUPPORTED are returned.
Implements IFXUnknown. |
| U32 CIFXMeshGroup::Release |
( |
|
) |
[virtual] |
|
|
|
This method decrements the reference count for the calling interface on a component.
- Note:
- If the reference count on a component falls to zero, the component is destroyed.
- Returns:
- It returns a U32 that contains a value from 1 to 2^32 - 1 that defines the new reference count. The return value should only be used for debugging purposes.
Implements IFXUnknown. |
| IFXRESULT CIFXMeshGroup::ReverseNormals |
( |
|
) |
[virtual] |
|
| IFXRESULT CIFXMeshGroup::SetMesh |
( |
U32 |
uMeshNum, |
|
|
IFXMesh * |
pMesh |
|
) |
[virtual] |
|
|
|
Sets a specified mesh pointer within the mesh group.
Implements IFXMeshGroup. |
| IFXRESULT CIFXMeshGroup::TransferData |
( |
IFXRenderable & |
, |
|
|
BOOL |
, |
|
|
BOOL |
|
|
) |
[virtual] |
|
|
|
Used to do a copy of a renderable so that portions of the renderable may be copied seamlessly.
- Parameters:
-
| rSrcRenderable | The Renderable to copy from. |
| isCopyElements | If this is true all of the elements are copied. If it is false the elements will be referenced from the previous data packet. |
| isCopyShaders | If this is true all of the shaders are copied. If it is false the Shaders will be referenced from the previous data packet. |
- Returns:
- An IFXRESULT value.
Implements CIFXRenderable. |
Friends And Related Function Documentation
| IFXRESULT IFXAPI_CALLTYPE CIFXMeshGroupFactory |
( |
IFXREFIID |
intId, |
|
|
void ** |
ppUnk |
|
) |
[friend] |
|
Member Data Documentation
© 1999 - 2006 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
|
|