Interstellar
SF / 169 mins
The best movie I've watched in 2014
Frozen
Animation / 108 mins
The code never bothered me anyway
About Time
Romance / 123 mins
Rachel McAdams is so lovely!
Gone in Sixty Seconds
Action / 118 mins
1967 Shelby Mustang GT 500
Groundhog Day
Romantic Comedy / 101 mins
One of my favorite movies from my childhood
A Lot Like Love
Romantic Comedy / 106 mins
A lot like love story
Constantine
Fantasy / 120 mins
This is Constantine, John Constantine... a**hole
The Truman Show
Drama / 102 mins
In case I don't see ya, good afternoon, good evening, and good night!
The Hobbit: The Desolation of Smaug
Fantasy / 161 mins
The second of the Hobbit trilogy
The Hobbit: An Unexpected Journey
Fantasy / 169 mins
I like this better than the LOR
The Hobbit: The Battle of the Five Armies
Fantasy / 161 mins
More actions, less story
Inception
SF / 147 mins
A dream in a dream in a dream
Love Actually
Romantic Comedy / 135 mins
Lots of famous actors
The Wolf of Wall Street
Drama / 179 mins
He really knows how to pick a movie
The Best Offer
Thriller / 131 mins
Old man's first love
The Secret Life of Walter Mitty
Drama / 114 mins
Great movie, but you can do better this Ben
Penguins of Madagascar
Animation / 92 mins
Cute and cuddly penguins!
X-MEN: Days of Future Past
SF / 134 mins
Wolverine goes back in time


Heterogeneous product stack used in the application development lifecycle, which is often a combination of Open Source and Enterprise Products.These products provide discrete reports, relevant to a specific task / activity, and lack the integration and capability of providing comprehensive Insights into the end to end application development lifecycle.


Imprint
This is a project of the Spatial Information Infrastructure course of the Institute for Geoinformatics in Münster.
It has been realised by the following persons:
- Heinrich Löwen
- Lars Syfuß
- Marius Runde
- Nicholas Schiestel
- Sarah Mersch
- Theresa Franz
All information without guarantees!
This Website is based on HTML5, CSS3, JavaScript, Google Maps API and many others...
Icons designed by Defaulticon.com
Have you determined a problem and want to get in contact with us?
Then just write us a message:
Marius<EMAIL_ADDRESS>Nicholas Schiestel,
<EMAIL_ADDRESS>Heinrich Löwen,
loewen.heinrich@uni-muenster.de


End-User License Agreement for the Fall Detector app.
This End-User License Agreement (EULA) is a legal agreement between you (either an individual or a single entity) and the author of this Software for the software product identified above, which includes computer software and may include associated media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT").
By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be bounded by the terms of this EULA. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT.
SOFTWARE PRODUCT LICENSE
The MIT License (MIT)
Copyright (c) 2016 altermarkive
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
LIMITED WARRANTY
NO WARRANTIES.
The Author of this Software expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or noninfringement. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you.
NO LIABILITY FOR DAMAGES.
In no event shall the author of this Software be liable for any special, consequential, incidental or indirect damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software is aware of the possibility of such damages and known defects.


THESIS
2,2'-BIPYRIMIDINE COORDINATION POLYMERS
Submitted by
hut Paul AG Westcott
In partial fulfillment of the requirements for the Degree of Doctor of Philosophy Colorado State University Fort Collins, Colorado
March, 1971
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.


!= HtmlService.createHtmlOutputFromFile('sheetsAddOn/sidebar-stylesheet').getContent(); ?>
Update the PCO Data
Last sync time, modules, and more.
Configure your login and PCO Modules
Access to our documentation.
Click here to link create a new Google Data Studio Connector
Help us keep this tool free for all churches!
Configure your login and PCO Modules
Select the modules you want enabled: People is required, and enabled by default.
Setup the Sheets Document
This clears all data in Google Sheets and logs out of PCO.
Last sync time, modules, and more.
= getUserProperty("org_name"); ?>
= getUserProperty("lastSyncTime"); ?>
= getUserProperty("requestedModules"); ?>
= getUserProperty("time_zone"); ?>
= getUserProperty("date_format"); ?>
= totalStorageUsed(); ?> %
= getUserProperty("activeSpreadsheetID");; ?>


{% extends "base_form.html" %} {% load i18n %} {% load form_widgets %} {% block page_title %}{% blocktrans %}Your employment status{% endblocktrans %} - {{ block.super }}{% endblock %} {% block stage_header %}
{% blocktrans %}Because you've pleaded guilty to at least 1 charge you must now tell us about your employment status.{% endblocktrans %}
{% blocktrans %}This will:{% endblocktrans %}


Weekly Energy Recap: Spot Market Tightens
by Faisal FaeqSummary
- US crude inventories rose by 1.8 million barrels despite refinery runs increasing by 519,000 bpd.
- Oil prices were relatively steady with Brent crude holding above $63 per barrel, near an eight-week high, and WTI finishing above $57 per barrel.
- Brent crude oil futures and options money managers increased their net-long positions by 543 contracts to 311,304 in the week ending Nov. 19.
US crude inventories rose by 1.8 million barrels despite refinery runs increasing by 519,000 bpd.
Oil prices were relatively steady with Brent crude holding above $63 per barrel, near an eight-week high, and WTI finishing above $57 per barrel.
The physical spot market is getting tighter and strong demand for Arabian Gulf medium sour crude has reflected that trend.
So as yet, there are no signs of any weaker oil demand as had been anticipated.
Both OPEC and the International Energy Agency (IEA) have pointed to a swelling oil glut next year due to booming non-OPEC supplies, especially in the US.
The physical market tells a different story. The scenarios envisaged by both OPEC and the IEA are based around unrealistic outlooks that focus on lower projected oil demand as a likely consequence of the ongoing trade war between the US and China. As a result, the pair has warned about a looming supply glut which could emerge in 2020.
But again, the real physical market tightness suggests otherwise.
US crude inventories rose by 1.8 million barrels despite refinery runs increasing by 519,000 bpd. However, US crude in storage at the Cushing, Oklahoma, delivery hub for WTI fell 2.3 million barrels, which represents the biggest drawdown in three months, as reported by the IEA.
The US oil and gas rig count continued to fall in what was the 13th drop for the past 14 weeks.
According to Baker Hughes, the US oil rig count is down three from last week to 671, with gas rigs unchanged at 129. US shale oil rigs also continued to drop.
The overall positive demand picture has encouraged money managers to continue to increase their net-long positions in Brent crude oil futures for the 4th consecutive week in a row. That followed nine months of decline.
Brent crude oil futures and options money managers increased their net-long positions by 543 contracts to 311,304 in the week ending Nov. 19.
However, they cut net long positions in WTI crude oil futures and options by 19,593 contracts to 133,581 over the same period.
Editor's Note: The summary bullets for this article were chosen by Seeking Alpha editors.


Specifies constants that define Amazon S3 Regions. More...
Public Member Functions | |
| (id) | - initWithStringValue: |
| Returns an S3Region initialized with the supplied string value. | |
Static Public Member Functions | |
| (S3Region *) | + USStandard |
| The US Standard Amazon S3 Region. | |
| (S3Region *) | + USWest |
| The US-West (Northern California) Amazon S3 Region. | |
| (S3Region *) | + EUIreland |
| The EU (Ireland) Amazon S3 Region. | |
| (S3Region *) | + APSingapore |
| The Asia Pacific (Singapore) Region. | |
| (S3Region *) | + APJapan |
| The Asia Pacific (Japan) Region. | |
| (S3Region *) | + regionWithString: |
| Convert a string describing an Amazon S3 region to the corresponding S3Region. | |
Protected Attributes | |
| NSString * | stringValue |
Specifies constants that define Amazon S3 Regions.
Amazon S3 Regions allow the user to choose the geographical region where Amazon S3 will store the buckets the user creates. Choose a Amazon S3 Region to optimize latency, minimize costs, or address regulatory requirements.
Objects stored in a Amazon S3 Region never leave that region unless explicitly transfered to another region.
| + (S3Region * S3Region.)APJapan |
The Asia Pacific (Japan) Region.
This region uses Amazon S3 servers located in Japan.
When using buckets in this region, optionally set the client endpoint to s3-ap-northeast-1.amazonaws.com
on all requests to these buckets to reduce any latency experienced after the first hour of creating a bucket in this region.
| + (S3Region * S3Region.)APSingapore |
The Asia Pacific (Singapore) Region.
This region uses Amazon S3 servers located in Singapore.
When using buckets in this region, optionally set the client endpoint to s3-ap-southeast-1.amazonaws.com
on all requests to these buckets to reduce any latency experienced after the first hour of creating a bucket in this region.
| + (S3Region * S3Region.)EUIreland |
The EU (Ireland) Amazon S3 Region.
This region uses Amazon S3 servers located in Ireland.
In Amazon S3, the EU (Ireland) Region provides read-after-write consistency for PUTS of new objects in Amazon S3 buckets and eventual consistency for overwrite PUTS and DELETES.
| - (id S3Region.)initWithStringValue: | (NSString *) | value |
Returns an S3Region initialized with the supplied string value.
| + (S3Region * S3Region.)regionWithString: | (NSString *) | regionName |
| + (S3Region * S3Region.)USStandard |
The US Standard Amazon S3 Region.
This region uses Amazon S3 servers located in the United States.
This is the default Amazon S3 Region. All requests sent to s3.amazonaws.com
go to this region unless a location constraint is specified when creating a bucket. The US Standard Region automatically places data in either Amazon's east or west coast data centers depending on which one provides the lowest latency. The US Standard Region provides eventual consistency for all requests.
| + (S3Region * S3Region.)USWest |
The US-West (Northern California) Amazon S3 Region.
This region uses Amazon S3 servers located in Northern California.
When using buckets in this region, optionally set the client endpoint to s3-us-west-1.amazonaws.com
on all requests to these buckets to reduce any latency experienced after the first hour of creating a bucket in this region.
In Amazon S3, the US-West (Northern California) Region provides read-after-write consistency for PUTS of new objects in Amazon S3 buckets and eventual consistency for overwrite PUTS and DELETES.


Gigya {{ model.SiteName }} Settings
Inherited from Global Settings
API Key
*
Application Key
*
Application Secret
*
Edit
Cancel
Language
*
Language Other
*
Language Fallback
*
Data Center
*
US
EU
AU
RU
CN
Other
Data Center Other
*
Redirect Url
Logout Url
Session Management
*
Gigya (When the Gigya session expires, the user is also logged out of Umbraco)
Umbraco (When the Umbraco session expires, the user is also logged out of Gigya)
Gigya Session Timeout
Fields Mapping (username must be mapped to a unique field e.g. UID)
*
Gigya Field
Umbraco Field Alias
email
name
username
Remove
Add
Global Parameters (JSON)
Debug Mode
Enable Module
Publish
Show


Banka
Log Out
click to upload
Role:
Transaction Details
×
Delete Account
Are You Sure You Want To Delete This Account?
Yes
Cancel


Languages, Libraries, Open Source Templates, and API's
Our Tech Stack: Credit where credit is due
Frontend Javascript (JQuery)
MappingLeafletJS
MapBox
ChartingChartJS
Backend Maven (Java)
No SQL
Infrastructure AWS S3 File Hosting, Elastic Beanstalk, RDS
Hardware Python, NOVA, GSM, Raspberry Pi


Visually inform users as they type
Convert pence to pounds(£)
Model value in Pence:
Validate number input for min and max value entered
Currently set to min -5 and max 5
{{ mc.ngMinMan.value }}
Max Value Reached Min Value Reached
Toggle error classes based on form field validation flags
Useful for highlighting errors on a form sections i.e. marking it red!
{{ mc.hasErrorTestForm.value }}
Used to highlight a field is required by adding (*)
This could be customised further by using CSS
{{ mc.isRequired.value }}
Used to highlight a field has an error
Can be customised to with css
Below has the following constraints ng-minlength="5" ng-maxlength="10" required
{{ mc.errorSpan.value }}
Atleast 1 x Uppercase and 1 x Number
{{ mc.password.value }}
Good Password Bad Password
Validates against: {{mc.uniqueUsername.staticUsers}}
{{ mc.uniqueUsername.value }}
Unique Duplicate
Auto populates auto saved data


Property of the Week: An East London mews house fit for a tech guru
by Helen CraneMews houses are typically associated with quaint, stucco-ed streets in Kensington or Marylebone. But this mews house which has just come on the market at Peary Place, just off the bustling Roman Road in the heart of Tower Hamlets, has a rather different vibe.
Like most mews, Peary Place was built as a stables in the 18th century: in this case to house the horses that once pulled along East London’s trams. It is now one of just two historic mews that remain in Tower Hamlets.
The street was originally called North Passage, but was renamed in 1910 after American explorer Robert Peary. He was believed to be the first man to reach the North Pole in an expedition in 1909, and afterwards visited London where he was presented with a gold medal by the Royal Geographic Society. However, whether or not he actually reached the pole has since been disputed.
The trams were later replaced by trolley buses, and from the 1930s to the 1960s the buildings on Peary Place housed the last remaining working dairy in London; a family furniture-making business; and a picture framer among other enterprises.
‘Creative enclave’
But they later later fell into disrepair, until they started being turned into homes in recent years. The property now being sold was acquired by its current owner in 2011 and has been refurbished to create an open-plan, loft-style home which displays their collection of modern art. Peary Place as a whole has been turned into a creative enclave, and there is now an art gallery at the end of the street which fronts on to Roman Road.
The home has a flexible layout and could accommodate two or three bedrooms depending on the configuration. The self-contained ground floor space has its own kitchen and bathroom and could be used as a stand-alone apartment, large garage or artists’ studio, while the first floor is taken up by the main living space and has another kitchen and bathroom as well as a patio.
The second floor houses the master bedroom suite, which also has its own roof terrace. The home boasts three-metre-high, herringbone beamed ceilings and large windows.The home is being marketed by Knight Frank and the price is available on application.
Simon Boulton, head of Knight Frank’s Aldgate office, says it would suit someone working in the creative industries or an entrepreneur. “It’s increasingly difficult to buy converted warehouses, and the kind of space this offers is quite unique,” he says. “I could see a musician or an actor living there – or perhaps someone working in fintech. That part of London is so close to Liverpool Street, and the ground floor space would be a great place to work from home.”


🍲 vs 🌭
🍗 vs 🌭
🍔 vs 🌭
🍖 vs 🌭
Do not give what is holy to the
🐶🐶🐶🐶;
nor cast your pearls before 🐷,
lest they trample them under their feet,
and turn and tear you in pieces.
-Gandalf
⚠ Warning Signs ⚠
- No deadline
- Deadline is an hour from now
- No strong opinions
- Strong opinions that are wrong
- Massive email gaps
- Email that might as well be IMs
Find/Be your own audience


Color Pick.
Color Pick.
Color Pick.
Color Pick.
Color Pick.
Pick colors from around you for your next project.
Follow
@AbubakerSaeed96
on twitter to stay tuned!
Sorry, your browser doesn't support embedded videos.


Elfin - The Scalable URL-shortener
The main content will get bound here
Elfin
is coded by
spydon
and OpenSourced under the BSD 2-Clause License, source code and documentation can be found at
GitHub
.


-- Alexis de Tocqueville --
The life of the vCity sometimes crosses over into and affects the real world. I'm not referring to anything like the co-mingling of reality and fantasy portrayed in Woody Allen's The Purple Rose of Cairo. It just often happens that what transpires in the vCity is political, by definition. It is a purer form of politics than we who are stuck in the real world are accustomed to witnessing. Since it is political, it is in our minds, and because it is in our minds, it is real. And because it is real, it makes leaders nervous. They never really know which route the parade intends to take next, and so they must constantly look over their shoulders to figure out where to lead the march of civilization.
Late in the day I'm sitting at my desk gnawing on a snack of biltong when the phone rings. It's my boss, the head of the company. Number Six in the corporation.
("Who is number one?" "YOU are number six")
This is very unusual; anything she has to say would normally be said over e-mail. I swallow quickly -- which, considering that what I am eating is tougher than dried shoe leather, is a feat in itself.
 she says curtly.
"In reference to what?"
"I've had three calls today from reporters asking about our policy on virtual reality pornography."
"Do we have one?"
"Hell, I don't know," she admitted. "Are we selling virtual reality pornography?"
"No."
"Then why am I getting phone calls about it?"
"There's a site linked to the city simulation that does."
"Is that legal?"
"In the Bahamas, it is. That's where the money goes, and that's where the site is located."
"But aren't we culpable by the act of linking to it?"
"No. It's not illegal to refer to an IP address."
"Still." She mused. "We probably shouldn't. It could be misconstrued as advocating pornography, which we don't."
"We don't really have a choice."
"What? Just remove the link!"
"We can't do that. First of all, if we do that, we admit that our corporation is refusing to transmit a reference index of digitized content based on the content itself. It would be like pulling a 900 number from the business listings of the Yellow Pages because the business offers phone sex. Once we do that, we open the door to being sued by anyone for almost any offense, real or imagined. Secondly, we'd lose a lot of business, because the simulation wouldn't be simulating anything except what we think should be simulated, which isn't much of a marketing tool, is it? And thirdly, it would be a public relations nightmare."
There was a short pause. "It's a First Amendment issue?"
"Actually more of an Equal Access issue."
"Christ. So, what are you doing about it?"
Now I pause. What am I doing about it. Not what should we be doing about it. There is a subtlety there that cannot go unnoticed. The Wheel turns.


The “Paste Line/Selection Online” (a.k.a. ”Pastie”) command in TextMate is great. You can send code straight from the buffer to a paste service with a keyboard shortcut (⌃⌥⇧V
).
The command opens a very full-featured dialog:
You can have the pastie URL sent to Colloquy (IRC) or Adium (IM). I never use this. I just want it to go into my clipboard. From there, I can paste it into an IRC or IM message. Selecting the right conversation in the dialog is more work, and only the URL is sent: you have to set things up before or quickly explain yourself.
Furthermore, sometimes pasting will take several seconds. I’ve found myself pasting and undoing repeatedly until the URL appears. TextMate will flash a tooltip when pasting is done, but that doesn’t help you if you’re in another app by then.
Oh, and the only thing I really want to choose is the privacy level: if the paste should be public for everyone to see, or private. In the standard dialog, the privacy setting is a checkbox that requires using the mouse or tabbing extensively.
Bah!
I made a new front-end for the command that does what I want and nothing more:
You just press ↩
to paste it as private, hit the space bar to paste it as public, or ⎋
to cancel. The URL is copied to clipboard.
The rationale for having “Private” be the default button is that it’s the less “dangerous” action – it’s no big deal to make code private that was really meant to be public, but it would suck to get it wrong the other way around. Also, most of the time, I don’t care to have pastes available to people I didn’t give the URL to.
Oh, and the command Growls when done:
Get it here. Note that it replaces the default Pastie command (same guid).
You need Growl with growlnotify.
There is no option for soft-wrapping. I never used that checkbox. The default smarts is to soft-wrap text and not wrap code (based on the grammar scope). Works for me.
You can easily configure the script to not Growl or copy to clipboard, and to do open the URL in the default browser or whatever else you prefer that the old dialog did.
Update 2007-07-11
I realized I’d prefer it to pastie document or selection, not line or selection. If you agree, get this version of the command instead. So if no text is selected, it will pastie the entire document contents instead of the current line. I also updated both the old and the new versions of the command to ensure they finish copying to clipboard before growling; before this update, it would actually growl just before copying.Update 2007-09-21
Both versions of the command have been updated to use the URLhttp://pastie.textmate.org/pastes
instead of the deprecated http://pastie.textmate.org/pastes/create
.
Update 2007-10-27
Both versions of the command have been updated since the way to get the user’s name has changed. By default, your name will go to Pastie as “Real Name (username)”. If you want to use something else, set theTM_AUTHOR
environment variable.
Another minor change is that the command now uses /usr/local/bin/growlnotify
if it can’t be found elsewhere in your PATH. This means no painful search path configuration if you stick it where it wants to go.


Lesson 2: Injecting an agents into a Network
This tutorial assumes you have installed Agilla and set the aliases as
described in Tutorial Lesson 1.
Conventions:
- <agilla> is the location
of Agilla's NesC files, typically /opt/tinyos-1.x/myApps/Agilla and
is quickly reached by typing cda.
- <tos> is the root location of Tinyos, typically /opt/tinyos-1.x/ and is quickly reached by typing cdtos.
Example Agents:
Agilla comes with several example agents in <agilla>/Examples.
Each file is one agent. Some
of the simpler ones include:
- 3Blink.ma - Blinks all three LEDs three times, pauses, repeats
- Bounce0to1.ma - An agent that bounces between nodes
(0,0) and (1,1), blinking the red LED on each node when it arrives.
- Bounce1to2.ma - An agent that bounces between nodes
(1,1) and (2,1), blinking the red LED on each node when it arrives.
- CntToLedsHP.ma - Count up using the heap to store the counter,
displays the last three bits of the counter on the LEDs.
- CntToLedsTS.ma - Count up using a tuple to store the counter,
displays the last three bits of the counter on the LEDs.
- RandomWalk.ma - Randomly walks around the network, blinking all
LEDs three times upon arrival.
- Traverse column.ma - Moves down a column of nodes, each time
turning on the red LED.
- Traverse perimeter.ma - Traverses the perimeter of the network
in a counter-clockwise fashion, each time turning on the red LED.
- Traverse row.ma - Moves down a row, each time
turning on the red LED.
- VisitAll_L2R.ma - Visits every node in the network by sequentially
cloning itself on each row from left to right. Blinks the green
LED after cloning itself.
Injecting an Agent
To inject an agent into the network, you have
open them using the AgentInjector, and select the destination location.
- Run the Agent Injector by typing ri.
You should see:
- Go to File, Open, and choose 3Blink.ma.
You should see the following:
- The instructions shown in the main text area are
the 3Blink agent's. 3Blink simply blinks all 3 LEDs
three times, pauses, and repeats. Below this text area is a panel
that allows you to specify which location to inject the agents
into. Currently, it's set to node (0,0) which has an TOS Address
of 0. The location and TOS Address are related as described here.
If this is not correct, check the
size
of the network by going to
WSN and selecting Grid Size.
- Hit the Inject
Agent! button at the bottom of the Agent Injector and the
agent should be injected into the network. If you selected a destination
location that is several hops away, you should be able to monitor
its progress by seeing the green and red LEDs blink for half a
second as the agent bounces off a node. You can disable
this indicator by commenting out #define SHOW_BOUNCE_LED in <agilla>/types/Agilla.h (Note:
You will have to reinstall Agilla on all of the motes for this
to take effect). When the
arrives, the 3 LEDs should repeately
blink 3 times.
|


{% extends "base.html" %} {% block content %}
Neighbor, Communitys and Organizations
The Idea of the website is to enable communitys to connect in order to help and share among the community members.
This website intends to provide a platform where one can offer or request help / goods / guidance.
One can create a post with their needs and offers so that others are able to see the post and respond to it.
In the coming version of this website a matching according to the location will be offered for local communitys.
To get started navigate to "register" and register your account, sing in.
Now you can go to your profile page and enter additional information about yourself.
This is recommended before creating a post.
After that you can follow the instructions below on "how to use it!".
On the "Browse" section you can browse all posts. Your own post will be highlighted for you.
On the post you will find information regarding the request/offer and you can click on the button "more information" to excess additinal infos like "Location".
On "Create" you can create your own post. Fill in the fields with your post information and submit it. (right now you are not able to change these later)


| # Generated by: | Cadence Encounter 09.14-s273_1 |
| # OS: | Linux x86_64(Host ID coe-ee-cad30.sjsuad.sjsu.edu) |
| # Generated on: | Thu Nov 3 17:06:08 2016 |
| # Command: | summaryReport -outdir summaryReport -browser |
| Design Status |
Routed |
| Design Name |
eth_core |
| # Instances |
26475 |
| # Hard Macros |
0 |
| # Std Cells |
26475 |
| # Pads |
0 |
| # Net |
29145 |
| # Special Net |
2 |
| # IO Pins |
1264 |
| # Pins |
78866 |
| # PG Pins |
52950 |
| Average Pins Per Net(Signal) |
2.706 |
| # Routing Layers |
6 |
| # Masterslice Layers |
4 |
| # Pin Layers |
6 |
| # Layers |
16 |
| # Pins without Physical Port |
0 |
| # Pins in Library without Timing Lib |
0 |
| # Pins Missing Direction |
0 |
| Antenna Summary Report |
For more information click here |
| # Cells Missing LEF Info |
0 |
| # Cells with Dimension Errors |
0 |
| # HFO (>200) Nets |
1 |
| # No-driven Nets |
1925 |
| # Multi-driven Nets |
0 |
| # Assign Statements |
388 |
| Is Design Uniquified |
YES |
| # Pins in Netlist without timing lib |
0 |
| Internal |
External |
|
| No of Nets |
27107 |
0 |
| No of Connections |
52912 |
0 |
| Total Net Length (X) |
1.5963e+06 |
0.0000e+00 |
| Total Net Length (Y) |
1.5953e+06 |
0.0000e+00 |
| Total Net Length |
3.1917e+06 |
0.0000e+00 |
| # Clocks in design |
0 |
| # Generated clocks |
0 |
| # "dont_use" cells from .libs |
0 |
| # "dont_touch" cells from .libs |
0 |
| # Cells in .lib with max_tran |
0 |
| # Cells in .lib with max_cap |
32 |
| # Cells in .lib with max_fanout |
0 |
| SDC max_cap |
N/A |
| SDC max_tran |
N/A |
| SDC max_fanout |
N/A |
| Default Ext. Scale Factor |
1.000 |
| Detail Ext. Scale Factor |
1.000 |
| Total area of Standard cells |
1592288.000 um^2 |
| Total area of Standard cells(Subtracting Physical Cells) |
1592288.000 um^2 |
| Total area of Macros |
0.000 um^2 |
| Total area of Blockages |
0.000 um^2 |
| Total area of Pad cells |
0.000 um^2 |
| Total area of Core |
2559900.000 um^2 |
| Total area of Chip |
2822300.000 um^2 |
| Effective Utilization |
8.3732e-01 |
| Number of Cell Rows |
159 |
| % Pure Gate Density #1 (Subtracting BLOCKAGES) |
62.201% |
| % Pure Gate Density #2 (Subtracting BLOCKAGES and Physical Cells) |
62.201% |
| % Pure Gate Density #3 (Subtracting MACROS) |
62.201% |
| % Pure Gate Density #4 (Subtracting MACROS and Physical Cells) |
62.201% |
| % Pure Gate Density #5 (Subtracting MACROS and BLOCKAGES) |
62.201% |
| % Pure Gate Density #6 (Subtracting MACROS and BLOCKAGES and Physical Cells) |
62.201% |
| % Core Density (Counting Std Cells and MACROs) |
62.201% |
| % Core Density #2(Subtracting Physical Cells) |
62.201% |
| % Chip Density (Counting Std Cells and MACROs and IOs) |
56.418% |
| % Chip Density #2(Subtracting Physical Cells) |
56.418% |
| # Macros within 5 sites of IO pad |
No |
| Macro halo defined? |
No |
| Total metal1 wire length |
46421.1500 um |
| Total metal2 wire length |
468657.3500 um |
| Total metal3 wire length |
939989.8000 um |
| Total metal4 wire length |
929682.3000 um |
| Total metal5 wire length |
814264.7500 um |
| Total metal6 wire length |
428450.1000 um |
| Total wire length |
3627465.4500 um |
| Average wire length/net |
124.4627 um |
| Area of Power Net Distribution |
For more information click here |


DTCoreTextLayoutLine Class Reference
| Inherits from | NSObject |
| Declared in | DTCoreTextLayoutLine.h |
Tasks
Other Methods
-
– initWithLine:
-
– stringRange
-
– numberOfGlyphs
-
– frameOfGlyphAtIndex:
-
– glyphRunsWithRange:
-
– frameOfGlyphsWithRange:
-
– imageBoundsInContext:
-
– stringIndices
-
– offsetForStringIndex:
-
– stringIndexForPosition:
Creating Variants
-
– justifiedLineWithFactor:justificationWidth:
Creates a version of the receiver that is justified to the given width.
-
– drawInContext:
-
– correctAttachmentHeights:
Adjust the baselines of all lines in this layout frame to fit the heights of text attachments.
-
frame
property -
glyphRuns
property -
ascent
property -
descent
property -
leading
property -
trailingWhitespaceWidth
property -
baselineOrigin
property
Instance Methods
correctAttachmentHeights:
Adjust the baselines of all lines in this layout frame to fit the heights of text attachments.
- (BOOL)correctAttachmentHeights:(CGFloat *)downShift
Return Value
YES
if the line needed an adjustment, NO
if no adjustment was carried out
Discussion
This is used to work around a CoreText bug that was fixed in iOS 4.2
Declared In
DTCoreTextLayoutLine.h
justifiedLineWithFactor:justificationWidth:
Creates a version of the receiver that is justified to the given width.
- (DTCoreTextLayoutLine *)justifiedLineWithFactor:(CGFloat)justificationFactor justificationWidth:(CGFloat)justificationWidth
Parameters
- justificationFactor
Full or partial justification. When set to
1.0
or greater, full justification is performed. If this parameter is set to less than1.0
, varying degrees of partial justification are performed. If it is set to0
or less, no justification is performed.
- justificationWidth
The width to which the resultant line is justified. If justificationWidth is less than the actual width of the line, then negative justification is performed (that is, glyphs are squeezed together).
Declared In
DTCoreTextLayoutLine.h


Here we’ll continue explaining how Crystal assigns types to each variable and expression of your program. This post is a bit long, but in the end it’s just about making Crystal behave in the most intuitive way for the programmer, to make it behave as similar as possible to Ruby.
We’ll start with literals, C functions and some primitives. Then we’ll continue with flow
control structures, like if
, while
, and blocks. Then we’ll talk about the special
NoReturn
type and type filters.
Literals
Literals have a type of their own, known by the compiler:
C functions
When you define a C function you must tell the compiler its types:
allocate
The allocate primitive gives you an uninitialized instance of an object:
You don’t normally invoke it directly. Instead, you invoke new
, which
is automatically generated by the compiler to something like this:
A similar primitive is Pointer#malloc
, which gives you a typed pointer to a
memory region:
Variables
Next, when you assign an expression to a variable, the variable will be bound to that expression’s type (if the expresision’s type changes, so the variable’s type changes).
The compiler tries to be as smart as possible when you use variables. For example, you can assign multiple times to a variable:
To achieve this, the compiler remembers which expression was the last one assigned
to a variable. In the above example, after the first line the compiler knows that
a
has type Int32
, so a call to abs
is valid. In the third line we assign
a String
to it, so the compiler remembers this and, on the fourth line, it’s perfectly
valid to invoke size
on it.
Additionally, the compiler remembers that both an Int32
and a String
were
assigned to a
. When generating LLVM code, the compiler will represent a
as a union type that can be Int32 or String. It would be something like this in C:
struct Int32OrString { int type_id; union { int int_value; string string_value; } data; }
This might seem inefficient if we continually assign different types to the same variable.
However, the compiler knows that when you invoked abs
, a
was an Int32, so it never
checks the type_id
field: it directly uses the int_value
field. LLVM notices this
and optimizes this out, so in the generated code there will never be a union (the type_id
field is never read).
Going back to Ruby, if you assign a variable multiple times in a row, the last value (and type) is the one that counts for subsequent calls. Crystal mimics this behaviour. A variable then just becomes a name for the last expression that we assigned to.
If
Let’s take a piece of Ruby code and analyze it:
In Ruby, the only line that can fail at runtime is the last one. The first call to abs
will never fail, as an Int32
was assigned to a
. The first call to size
will
also never fail, as a String
was assigned to a
. However, after the if
, a
can
either be an Int32
or a String
.
So Crystal tries to keep this intuitive reasoning about a
’s type. When a variable is assigned
inside an if
’s then or else branch, the compiler knows that it will continue to have that type until the if
ends or until it is assigned a new expression. When an if
ends, the compiler will let a
have the type of the last expressions that it was assigned to in each branch.
The last line in Crystal will give a compiler error: “undefined method ‘size’ for Int32”.
That’s because even though String
has a size
method, Int32
doesn’t.
In designing the language we had two choices: make the above a compile-time error (like now) or just make it a runtime error (like in Ruby). We believe it’s better to make it a compile-time error. In some cases you might know better than the compiler and you will be sure that a variable has the type that you might think. But in some cases the compiler will let you know that you overlooked a case or some logic, and you’ll thank it for that.
The if
has some more cases to take into account. For example, the variable a
might not exist
before the if
. In this case, if it’s not assigned in one of the branches, at the end of the
if
it will also contain the Nil type if it’s read:
This, again, mimics Ruby’s behaviour.
Finally, an if
’s type is the union of the last expressions in both branches. If a branch
is missing, it’s considered to have a Nil
type.
While
A while
is in a way similar to an if
:
That’s because some_condition
might be falsy the first time.
However, since a while
is a loop there are some more things to consider. For example,
the last expression assigned to a variable inside a while
determines the type of that
variable in the next iteration. In this way, the type at the beginning of the loop
will be a union of the type before the loop and the type after the loop:
Some other things to consider inside a while
are break
and next
. A break
makes the types right before the break add to the type at the exit of the while
:
A next
adds the type to the beginning of the while
:
Blocks
Blocks are very similar to a while
: they can be executed zero or more times. So
the logic for variables’ types is very similar to that of a while
.
NoReturn
There’s a mysterious type in Crystal called NoReturn
. One such example is
C’s exit
function:
Another very useful method that is NoReturn is raise
: raising an exception.
The type basically means: after this point there’s nothing else. Nothing gets returned,
and nothing that comes afterwars is executed (of course, a rescue
will be executed
if there’s one surrounding the code, but the normal path won’t be executed).
The compiler knows about NoReturn
. For example, take a look at the following code:
Remember that after an if
a variable’s type is the union of the types of
both branches. However, since the first branch ends there, because raise
is NoReturn
,
the compiler knows that code after the if
, if that branch is taken, will never be
executed. So it can definitely say: a
will only have the type of the else
branch.
The same logic applies when you have return
, break
or next
inside an if
.
Also, when you define a method whose type is NoReturn
, that method is in turn NoReturn
:
Union of NoReturn
Remember that an if
’s type is the union of the last expressions of the if
’s branches.
What type has the following if
(and consequently the a
variable)?
Well, the then
branch is definitely NoReturn
. The else
branch is definitely
Int32
. We could conclude then that a
has type NoReturn
or Int32
.
However, NoReturn
means that nothing gets executed afterwards. So a
can only
be Int32
at the end of the previous snippet, and that’s how the compiler behaves.
With this we can implement a little method called not_nil!
. Here it is:
a
’s type is Int32
or Nil
. One thing that we didn’t say yet is that when you
have a union type and you invoke a method on it, and all types respond to that method, the resulting
type is the union of the types of each method.
In this case, a.not_nil!
will have the type Int32
if a
is Int32
, or
NoReturn
if it’s Nil
(because of the raise
). Combining these types just
gives Int32
, so the above code is perfectly valid. And that’s how you can discard Nil
from a variable and turn it into a runtime exception if it turns out to be nil
. No special language
construct is needed. All is made with the logic explained so far.
Type filters
Now, what if we want to execute a method on a variable whose type is Int32
or Nil
,
but only if that variable is Int32
. If it’s Nil
, we don’t want to do anything.
We can’t use not_nil!
, because that will raise a runtime exception when nil.
We can define another method, try
:
(if you are not sure what &.abs
means, read this)
Since doing something depending on whether a value is Nil
or not is so common, Crystal
provides another way to do the above. This was shortly explained
here, but now we’ll explain it
better and combine it with the previous explanations.
If a variable is an if
’s condition, the compiler assumes the variable is not nil
inside the then
branch:
This makes sense: if a
is truthy then it means it is not nil
. Not only this,
but the compiler also makes a
’s type be that one after the if
, combined with
whatever type a
has in the else
branch. For example:
Just like a programmer expects the above to always work in Ruby (never raise an “undefined method” error in runtime), so it works in Crystal.
We call the above a “type filter”: a
’s type got filtered inside the if
’s
then
branch by removing Nil
from the possible types a
can have.
Another type filter happens when you do is_a?
:
And another type filter happens when you do responds_to?
:
These are special methods, known by the compiler, and that’s why the compiler is
able to filter the types. On the contrary, the method nil?
is not special right now
so the following won’t work:
We’ll probably make nil?
a special method too, so it’s more consistent with the
rest of the language and the above works. We’ll also probably make the unary !
method
special, not overloadable, so you could do:
Conclusion
In conclusion, as was said in the beginning of this post, we want Crystal to behave as much as possible as Ruby, and if something is intuitive and makes sense for the programmer to make the compiler understand it too. For example:
The above shouldn’t give you a compile time error. The programmer knows that if x
was nil
inside foo
, the method returns. It follows that x
can never be
nil
afterwards so it’s ok to invoke abs
on it. How does the compiler know this?
Well, first, the compiler rewrites an unless
to an if
:
Next, inside the then
branch of the if
we know that x
is not nil
.
Inside the else
branch the method returns, so we don’t care about the type of x
afterwards. So, after the if
, x
can only be of type Int32
. This is idiomatic
code in Ruby, and so it is in Crystal if we carefully follow the language rules.
We still have to talk about methods and instance variables, but this post is already long enough so that will have to be explained in a following post. Stay tuned!


This repository is the home of tools used to run Boost's automated regression testing and reporting, and tools that may (optionally) be used by Boost developers to perform local regression test reporting.
Instructions
for running Boost's automated regression testing and reporting, and
reporting
the results back to the Boost community are
available on the Boost web site.
To build developers local test reporting tools, cd to the specific tool's build directory, then invoke b2 like this:
b2 --boost-root=path --boost-build=path/build/src install
For example:
Absolute paths are currently required.cd regression/library_status/build b2 --boost-root=c:/boost --boost-build=c:/boost/tools/build/src install
There are two developers local test
reporting tools, plus the process_jam_log
tool that prepares data
for the reporting tools.
Revised: 01 April 2015
Copyright Beman Dawes 2003.
Copyright Rene Rivera 2007, 2015.
Distributed under the Boost Software License, Version 1.0. (See copy at www.boost.org/LICENSE_1_0.txt)


--- layout: post status: publish published: true title: Explorer in Explorer Mode author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 273 wordpress_url: http://winterdom.com/2008/10/explorerinexplorermode date: '2008-10-11 08:41:44 +0000' date_gmt: '2008-10-11 08:41:44 +0000' categories: - PowerShell tags: [] comments: - id: 202 author: James author_email<EMAIL_ADDRESS>author_url: http://ender2025.myopenid.com/ date: '2008-10-12 08:35:01 +0000' date_gmt: '2008-10-12 08:35:01 +0000' content: | Try 'invoke-item -path .' or 'ii .' James - id: 203 author: Hal Rottenberg author_email<EMAIL_ADDRESS>author_url: http://halr9000.com date: '2008-10-12 15:24:07 +0000' date_gmt: '2008-10-12 15:24:07 +0000' content: | If James hadn't said that I was going to. :) - id: 204 author: Tomas Restrepo author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ date: '2008-10-13 06:29:10 +0000' date_gmt: '2008-10-13 06:29:10 +0000' content: | Thanks guys! Yes, it occurred to me later on that I could just "execute" the path and get the right behavior, but, to be honest, getting the right explorer parameters was a challenge I wanted to get done :) (I'm still not 100% sure why the above works while "/e,`"$loc`"" didn't). - id: 205 author: Jason Archer author_email<EMAIL_ADDRESS>author_url: '' date: '2008-10-13 10:21:04 +0000' date_gmt: '2008-10-13 10:21:04 +0000' content: | Never have used that command, thanks for sharing (I always used "start ."). Strangely enough, both these commands worked without errors: $loc = "." explorer "/e,"$loc"" explorer "/e,`"$loc`"" - id: 206 author: Tomas Restrepo author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ date: '2008-10-13 11:00:10 +0000' date_gmt: '2008-10-13 11:00:10 +0000' content: | Jason: Yes, that works for me if $loc doesn't have spaces in it. That's when it breaks for me. ---
I tend to fire up Windows Explorer instances from my prompt very often, either on the current directory or in other spots. I was pretty used to using the “explorer /e,
command from CMD.EXE but I never had figured out exactly how to use it on PowerShell and have it work reliably: Paths with spaces always caused it to open the default documents folder instead.
Finally sat down and played with it until I got it right:
# open explorer in this directory
function exp([string] $loc = '.') {
explorer "/e,"$loc""
}


| Home | Trees | Indices | Help |
|
|---|
|
|
object --+ | Channel
This class represents a single channel within an OpenMotorsport file.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|
|||
data = property(_getdata, _setdata) An array of data samples for this channel. |
|||
times = property(_gettimes, _settimes) An array of times for each data sample. |
|
|||
|
id The unique identifier for this channel. |
|||
|
name The channel name. |
|||
|
interval The sample interval for this channel. |
|||
|
units The abbreviated units of measurement for this channel. |
|||
|
description A textual description of this channel. |
|
|||
|
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
str(x)
|
|
intervalThe sample interval for this channel. If not specified (None) then the time of each sample will be provided in Channel.times. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Jul 23 14:46:14 2010 | http://epydoc.sourceforge.net |


The freshwater drum, Aplodinotus grunniens, is a fish endemic to North and Central America. It is the only species in the genus Aplodinotus. The freshwater drum is a member of the family Sciaenidae, and is the only North American member of the group that inhabits freshwater for its entire life. Its generic name, Aplodinotus, comes from Greek meaning "single back", and the specific epithet, grunniens, comes from a Latin word meaning "grunting". It is given to it because of the grunting noise that mature males make. This noise comes from a special set of muscles within the body cavity that vibrate against the swim bladder. The purpose of the grunting is unknown, but due to it being present in only mature males, it is assumed to be linked to spawning. The drum typically weighs 5–15 lb (2.3–6.8 kg). The world record was caught on Nickajack Lake in Tennessee, and weighed in at 54 lb 8 oz (24.7 kg). The freshwater drum is gray or silvery in turbid waters and more bronze or brown colored in clearer waters. It is a deep bodied fish with a divided dorsal fin consisting of 10 spines and 29–32 rays. .
Location: The freshwater drum prefers clear water, but it is tolerant of turbid and murky water. They prefer the bottom to be clean sand and gravel substrates.
Food: The diet of the freshwater drum is generally benthic and composed of macroinvertebrates (mainly aquatic insect larvae and bivalve mussels), as well as small fish in certain ecosystems. Freshwater drum show distinct seasonal differences in their diet. In April and May, the drum feeds on dipterans. During these months, dipterans make up about 50 percent of the freshwater drum's diet. In August through November, they tend to eat fish (which are primarily young-of-the-year gizzard shad). The percentage of fish in their diet at this time ranges from 52-94 percent. Other items in the drum's diet are mollusks and crayfish. Freshwater drum tend to hang out with walleye.
Time: Like many other sportfish, they tend to stay shallower during spring and fall, and lurk in deeper haunts in summer and winter. When I can pinpoint proper structure – deep holes, edges of bottom channels, steep ledges and the like – I tend to catch more during the hottest or coldest days in summer and winter when drums gather in big, dense schools. Spring fishing can be great, too, particularly when drums sing their love songs and gather to spawn. Fall fish feed actively but tend to scatter, making them more difficult to find.


This page provides the documentation for getting an API Key to use for assignments in WUSTL CSE 204A.
Please type your WUSTL email address in the field below and click "submit". A unique API key will be generated that you can use to submit and retrieve data. This API Key is unique to you. If you lose your API key, you will also lose any data associated with it. However, you can generate a new API key at any time with the same name and email address, to start over with new data.


Pro_Pack : skinning¶
ProPack skinning management and file format for Maya
>>> # import statement for the module via the r9pro decompiler
>>> from Red9.pro_pack import r9pro
>>> r9skn = r9pro.r9import('r9skn')
Code examples:
Examples
>>> # Import the tools
>>> r9pro.r9import('r9skn')
>>> from r9skn import *
>>> # Duplicate a mesh and load skin data in new mesh
>>> # ================================================
>>> # Get skin meshes in the scene
>>> skin_meshes = get_skin_meshes(selection=False)
>>> # convert a mesh to Skn object
>>> r9skn = Skn(skin_meshes[-1])
>>> # collect skin data
>>> skin_data = r9skn.get_data()
>>> # duplicate the mesh
>>> new_mesh = cmds.listRelatives(cmds.duplicate(r9skn.transform), ad=True, s=True, type='mesh', ni=True, f=True)[0]
>>> # Create a new Skn object with duplicated mesh
>>> new_r9skn = Skn(new_mesh)
>>> # Load weights in new meh
>>> new_r9skn.load(skin_data)
Creating Skin Files:
>>> # Create .skn files save and load
>>> # ================================================
>>> all_skins = 'file/path/to/file/all_skins.skn'
>>> selected_skins = 'file/path/to/file/selected_skins.skn'
>>> specific_skin = 'file/path/to/file/specific_skin.skn'
>>>
>>> # Create a Skn_file object
>>> skn_file = Skn_file()
>>> # Create skin file with the data of all skinned meshes in the scene
>>> skn_file.save_file(file_path=all_skins, selection=False, meshes=None)
>>> # Create skin file with the data of selected skinned mesh or meshes, also works forcomponent selection
>>> cmds.select(get_skin_meshes()[-1])
>>> skn_file.save_file(file_path=selected_skins, selection=True, meshes=None)
>>> # Create skin file with an specific mesh/meshes
>>> meshes = get_skin_meshes()[-3:]
>>> skn_file.save_file(file_path=specific_skin, selection=False, meshes=meshes)
Deleting Skin Clusters:
>>> # delete all skin clusters in the scene
>>> for mesh in get_skin_meshes():
>>> skn = Skn(mesh)
>>> skn.delete_skin_cluster()
>>> skn.delete_dag_poses()
Loading Skin File Data:
>>> # Create a Skn_file object
>>> skn_file = Skn_file()
>>> # load all skins from file
>>> skn_file.file_path = all_skins
>>> # Load data of specific mesh stored in the file
>>> skn_file.load(data=skn_file.data[mesh], selection=False)
>>> # reload skin data from file
>>> skn_file.read_skin_file(all_skins)
>>> # load all skins from file
>>> skn_file.load(selection=False)
>>> # Load on selected mesh or component
>>> cmds.select(mesh)
>>> skn_file.load(selection=True)
Main Classes
Selectionfilter ([selection]) |
Class to manage component selections |
Weights (r9skn) |
Weight class to interact with skinning.Skn objects contains wrappers to deal with Maya API and R9skin format |
Skn ([shape]) |
higher level management class for dealing with skinClusters |
Skn_file ([ui]) |
main r9Skin file handling, for dealing with the saving and loading of the actual data |
-
class
Selectionfilter
(selection=None)¶ Bases:
object
Class to manage component selections
If no selection is define on creation the class instance will work with scene selection interactively If selection is define on creation the class instance selection is muted and will not change
Parameters: selection – list transforms or shapes >>> f = Selectionfilter() >>> cmds.select(f.vertex()) # Select all vertices of wat is selected in the scene >>> >>> f = Selectionfilter(selection=['|pCube1']) >>> cmds.select(f.vertex()) # Select all vertices of pCube1
-
ls
()¶ Returns: dict with filtered selections keys are the type of the selection values are the selections {‘Polygon Face’: [u’|transform.f[0]’, u’|transform.f[1]’], ‘Polygon Vertices’: [u’|transform.vtx[10]’, u’|transform.vtx[1]’], ‘Polygon’: [u’|transformShape’]}
-
shapes
()¶ Returns: list of shape objects fom selection
-
transforms
()¶ Returns: list of mesh transforms objects fom selection
-
edges
()¶ Returns: list of edges fom selection
-
faces
()¶ Returns: list of faces fom selection
-
uvs
()¶ Returns: list of uvs fom selection
-
vertex
()¶ Returns: list of vertex from selection
-
-
get_meshes
(selection=False)¶ Get all mesh/shapes in the scene
Parameters: selection – bool if true it will just filter selected meshes Returns: string list with all the meshes/shapes in the scene or filter by selection
-
get_skin_meshes
(selection=False)¶ Get all mesh/shapes in the scene that have an skinCluster node
Parameters: selection – bool if true it will just filter selected meshes Returns: string list with all the meshes/shapes in the scene or filter by selection that have a skinCluster Node
-
get_none_skin_meshes
(selection=False)¶ Get all mesh/shapes in the scene that do not have an skinCluster node
Parameters: selection – bool if true it will just filter selected meshes Returns: string list with all the meshes/shapes in the scene or filter by selection that do not have a skinCluster node
-
remove_namespace_on_data
(data, file_data=True)¶ Use to remove name spaces on .skn data
Parameters: - data – dict skn file
- file_data – bool default True, if True the data comes from r9skin file key dictionaries are the full path to the mesh/shape, if False data is a flat dictionary with no mesh/shape key
Returns: dict
-
jointhiroot
(joint)¶ get the name of the root joint in the hierarchy
Parameters: joint – name of a joint in the hierarchy Returns: name of the root joint in the hierarchy
-
read_file
(filepath, namespace=None, joints=True, shapes=True)¶ Read skin file, if namespace is provided all the data file will be mapped to the given namespace
Parameters: - filepath – skin file path
- namespace – namespace to use for re-mapping the file
Returns: dict of skin file data
-
class
InfoWindow
(parent=None)¶ Bases:
PySide2.QtWidgets.QMainWindow
,Ui_mw_r9p_license
Information window for SknWidget
-
set_information
(text, widgets=None)¶ Set a information message in the window
Parameters: - text – string message to be display
- widgets – list of widgets that will need style sheet to be synchronized with information message
-
set_warning
(text, widgets=None)¶ Set a Warning message in the window
Parameters: - text – string message to be display
- widgets – list of widgets that will need style sheet to be synchronized with Warning message
-
set_error
(text, widgets=None)¶ Set a error message in the window
Parameters: - text – string message to be display
- widgets – list of widgets that will need style sheet to be synchronized with error message
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-
-
class
SknWidget
(ui, shape, data, parent=None)¶ Bases:
PySide2.QtWidgets.QWidget
,Ui_Form
Widget to wrap skn objects in the main UI
-
shape_exist
()¶ Find the shape associated with Skn object and set ui components
Returns: bool True if matching shape found else False
-
remap_shape
(news_shape=None, from_ui=False)¶ Remap skin data to a new shape
Parameters: - news_shape – str shape name
- from_ui – bool use for the main UI, if True, sets information window
Returns:
-
data
¶ Returns: dict skin data of Skn object
-
transform
¶ Returns: string transform name of Skn.transform
-
dagposes
¶ Wrapper for self.r9sn.dagposes method
Returns: list of names of all dagPose nodes connected to skinCluster Node
-
skincluster
¶ Get skinCluster Node name from Skn object and set Widget components related to it
Returns: string name of skinCluster node
-
set_debug_widgets
()¶ Use to set the status of debug widgets
-
debug
(selection=True, select_fail_vertex=True)¶ Run health test on Skin_HealthValidations on current mesh
Parameters: - selection – bool if true it will check just selected components of the mesh
- select_fail_vertex – bool, if true will select all vertices that are found to have some problem
-
fix
(select_fail_vertex=True)¶ Run Fixes on Skin_HealthValidations on current mesh
Parameters: select_fail_vertex – bool, if true will select all vertices that are found to have some problem
-
select_transform
(add=False, deselect=False)¶ Select Transform object of r9skn object
Parameters: - add – bool True add transform to current selection, False creates a new selection with just the transform
- deselect – bool True transform will be removed from the selection
-
select_joints
()¶ Select joint object influencing the skinCluster
-
select_vertex
()¶ Select vertex on the skinCluster
-
select_skincluster
()¶ Select skinCluster node
-
load
(data=None, selection=True, select_fails=True, root=None)¶ Set skin data on skinCluster
Parameters: - data – dict skin data
- selection – bool if true it will load just selected components of the mesh
- select_fails – bool, if true will select all vertices that have fail to load
- root – string name of hierarchy root joint of the skin cluster default None
-
set_load_btn
(status)¶
-
save
()¶ save a skn file with the data of just the shape that belongs tho this widget
-
skn_file_path
¶ Returns: string default .skn file for the polygon object
Build right click context menu of pbt_save
-
delete_skn_file
(file_path='')¶ Delete skin file associated to this widget if no file_path given
Parameters: file_path – string file/path Returns: bool True if file deleted else False
-
delete_skin_cluster
(ask=True)¶ Delete skinCluster associated to this widget
Parameters: ask – Bool if true prompt user with message box default is True
-
delete_dag_poses
(ask=True)¶ Delete dagPose associated to this widget
Parameters: ask – Bool if true prompt user with message box default is True
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-
-
class
UILoadBuffer
(ui=None, r9skn=None, data=None, load_data=None, selection=None)¶ Bases:
object
Helper class for SknUI use to load skins when multiple Skeleton hierarchies found which match the stored jnt list
# Use on main UI :param ui: SknUI object
# Use for Skn instances only :param r9skn: Skn object :param data: dict skin data :param load_data: bool use to load the data after skin cluster creation :param selection: bool use to load selection only
-
clear
()¶ Clear variables use when load skins are completed Main UI only
-
show_root_selection_ui
(root_joints)¶ Prompt user with a window to allowing selection of root joint, when multiple hierarchies are found on the scene and the logic can not specify the correct one
-
set_root_joint
(root_joint)¶
-
-
class
SknUI
(parent=None)¶ Bases:
PySide2.QtWidgets.QMainWindow
,Ui_mw_r9skn
-
search
()¶
-
clear_ui
()¶
-
set_widgets
(selection=False, from_open=False)¶
-
open_file
(file_path=None, namespace=None)¶
-
reload_r9skn_file
()¶ Reload Skn file if set :return: None
-
add_widget
(shape, data=None)¶
-
get_scene_selection_widget
()¶ Filters selections in the scene and return the widgets that have a mesh or mesh component selected
Returns: tuple first element bool, True if mesh or component are selected selected, False if not second element is a list of on selection Weights objects
-
load
(**kws)¶ Load Skin Data in all widgets present in the UI :return: None
-
save
(**kws)¶
-
debug
(fix=False)¶
-
skincluster
¶ Returns: string list with all skin cluster names found in SknWidget’s
-
rename_skin_cluster_in_widgets
()¶ Rename all skin cluster found in SknWidget’s
-
rename_skin_clusters_in_scene
()¶ Rename all skin cluster found in the scene
-
rename_skin_clusters_in_selection
()¶ rename all skin cluster found in selected objects or components
-
select_skin_clusters_in_widget
()¶ Select all skin cluster found in SknWidget’s
-
select_skin_clusters_in_scene
()¶ Select all skin cluster found in the scene
Returns: None
-
select_skin_clusters_in_selection
()¶ Select all skin cluster found in selected objects or components
-
delete_skin_clusters_in_widget
()¶ Delete all skin cluster found in SknWidget’s
-
delete_skin_clusters_in_scene
()¶ Delete all skin cluster found in the scene
-
delete_skin_clusters_in_selection
()¶ Delete all skin cluster found in selected objects or components
-
dag_poses
¶ Returns: string list with all dag poses names found in SknWidget’s
-
widget_dag_poses
¶ Returns: string list with all dagPose names found in SknWidget’s
-
select_dag_poses_in_widget
()¶ Select all dagPoses found in SknWidget’s
-
select_dag_poses_in_scene
()¶ Select all dag_poses found in the scene
-
select_dag_poses_in_selection
()¶ Select all dag_poses found in selected objects or components
-
delete_dag_poses_in_widget
()¶ Delete all dag poses found in SknWidget’s
-
delete_dag_poses_in_scene
()¶ Delete all dag_poses found in the scene
-
delete_dag_poses_in_selection
()¶ Delete all dag_poses found in selected objects or components
-
delete_all_skin_clusters_and_dag_poses
()¶ Delete all skin clusters and dag poses on the scene
-
closeEvent
(event)¶
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-
-
class
JointRemapUI
(parent=None, r9skn_widget=None)¶ Bases:
PySide2.QtWidgets.QMainWindow
,Ui_mw_aditive_joint_selector
-
refresh
()¶
-
data
¶ This data is casted in a internal variable for performance, if edits done to the skin cluster, this data need to be recast or will get out of sink, to re sink reset self._data = None before running self.data
Returns: dict, casted data from object Skn.get_data()
-
joints
¶ Returns: list of joint names on skinCluster
-
selected_source_joints_on_list
¶ Returns: list of joint names, selected joints in source list
-
select_source_joints_on_scene
()¶ Select in the scene all selected joints in source list
-
selected_target_joint_on_list
¶ Returns: list of joint names selected in joints target list
-
select_target_joints_on_scene
()¶ Select in the scene all selected joints in target list
-
select_vertex
(list_widget)¶
-
remap
()¶
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-
-
class
Weights
(r9skn)¶ Bases:
object
Weight class to interact with skinning.Skn objects contains wrappers to deal with Maya API and R9skin format
>>> r9skn = r9pro.r9import('r9skn') >>> skn_object = r9skn.Skn('|Transform|Shape') >>> weights = r9skn.Weights(skn_object) >>> >>> # Collect weight data from skin cluster >>> api_weights = weights.get_weights_from_skincluster() >>> >>> # Reset weights to default, use .skincluster attribute from skn_object >>> cmds.skinPercent(skn_object.skincluster, rtd=True) >>> >>> # Set original weights on skin cluster >>> weights.set_weights_to_skincluster() >>> >>> # Get weight data as dictionary, as use in skn file format >>> r9_weights = weights.r9_weights
Parameters: r9skn – skinning.Skn object -
joint_ids
¶ Returns: dictionary with attr ids of joint connection to skincluster.matrix
-
joint_indexes
¶ Returns: dictionary with index “sorted ascending order from 0 to the number of joints” of joint connection to skincluster.matrix
-
empty_chunk
¶ Returns: OpenMaya.MDoubleArray of zeroes each zero represents a joint in the skin cluster
-
chunks
¶ Returns: list of lists, each individual list contains the weight of a vertex, list are sorted as per vertex ids all this list put together will give us the final impute data expected by the OpenMayaAnim.MFnSkinCluster calls
-
r9_weights
¶ Returns: dictionary weight data as use in .skn file
-
api_weights
()¶ Returns: list weight data as use in OpenMayaAnim.MFnSkinCluster
-
api_weights_to_r9skn_weights
(api_weights)¶ Convert api MDoubleArray weight data to r9_weights data
Parameters: api_weights – MDoubleArray [MDoubleArray] Returns: dict as use in .skn file
-
r9skn_weight_index_to_chunk
(key)¶ Convert values of given key “of r9_weights dictionary” to a list
Parameters: key – string Returns: list of values
-
set_weights
(data, vertex_ids=None)¶ Converts given data to api format or .skn format and Set weights data on the instance object to be sued
Parameters: - data – api list data or .skn dict data
- vertex_ids – list of vertex ids be use on
-
get_mfn_skinCluster
()¶ Returns: OpenMayaAnim.MFnSkinCluster object
-
get_mfn_components
(vertex_ids)¶ Returns: OpenMaya.MFnSingleIndexedComponent object
-
get_weights_from_skincluster
(set_weights=True, vertex_ids=None)¶ collect weight data from skinCluster node on self.r9skn.skincluster object data can be retrieve as dic by self.r9_weights “format expected for .skn file” or as a lis “format expected by OpenMayaAnim.MFnSkinCluster” by self.api_weights()
Returns: OpenMaya.MIntArray with weight values same as self.api_weights()
-
set_weights_to_skincluster
(vertex_ids=None)¶ Set weights in self.r9skn.skincluster node with data store in self.api_weights()
Parameters: vertex_ids – list of vertex ids be use on if no vertex_ids given weights will be loaded in all object Returns: bool Tru if weights loaded ok False if not
-
-
class
Skn
(shape=None)¶ Bases:
object
higher level management class for dealing with skinClusters
Parameters: shape – string mesh shape name Ex. ‘|transform|Shape’ -
widget
¶ Widget use in the SknUI
-
transform
¶ Returns: string transform node name
-
shape
¶ Returns: string shape node name
-
skincluster
¶ Returns: string skinCluster attached to the shape
-
delete_skin_cluster
()¶ Delete skinCluster attached to the shape
Returns: bool True if deleted False if not
-
rename_skin_cluster
(name=None)¶ Rename skinCluster from object if name is given use the name if no name is give it will automatically format the skinCluster name to skinCluster_transformName
Parameters: name – string name to be given to skinCluster Returns: string name of skinCluster attached to the shape
-
dagposes
¶ Returns: list of names of all dagPose nodes connected to skinCluster Node
-
delete_dag_poses
()¶ Delete all dagPose nodes in the skeleton
Returns: True if all deleted False if not
-
maximum_influences
¶ Returns: int number of maximum influences allow in skinCluster node
-
joints
¶ Get joint that are part of skin cluster
Returns: list of strings
-
vertex_count
¶ Returns: int number of vertex in shape
-
vertex_ids_to_full_path
(vertex_ids)¶ convert vertex ids ints to component string names Ex. [id_1, id_2] -> [shape.vtx[id_1], shape.vtx[id_2]]
Parameters: vertex_ids – list of ints Returns: list of strings
-
select_vertex
(vertex_ids)¶ select vertex with given ids
Parameters: vertex_ids – list of ints Returns: string list of vertex names
-
idfromattr
(attr)¶ ” split a given string attribute to return the numeric id as string
Parameters: attr – string attr Returns: string numeric id
-
jntids
(key='id')¶ return a dictionary of joint ids that belong to the skin cluster, keyword key can be use to specify the way the data is mapped in the returned dictionary
if key=’id’ the id will be the keys of the dictionary and joint name the value if key=’joint’ the joint name will be the key and the id the value
Parameters: key – string to define which value is the key of the dictionary, valid parameters are ‘id’ and ‘joint’ Returns: dictionary containing ids and joint names the order of keys and values can be change by the use of key keyword
-
get_selected_vertex
()¶ Convert mesh component selection to vertices
Returns: list of string with the full pat of each vertex in the selection
-
get_all_vertex_ids
()¶ Query a list of vertex ids that belong to the skin cluster
Returns: list of string of vrtx ids
-
get_selected_vertex_ids
(**kwargs)¶ Returns: a string list of numeric ids of currently selected vertex
-
get_weights
(vertex_ids=None, api=False)¶ analyse a given list or selected vertexes and return a dictionary of dictionaries with the joints and influence values
Parameters: vertex_ids – list of numeric ids of vertexes Returns: dictionary of dictionaries with the numeric id of the vertex as a key and a dictionary as value containing skinning values, the joint influence name as key and weight value as value
-
get_data
(**kws)¶ main call to collect the skinning data
Parameters: - debug – bool
- selection – bool default is True, True gets just selection data, if nothing is selected it defaults to all object False gets all object data
- namespace – bool
Returns: dict
-
select_fail_vertex
()¶ Select all vertices that fail the debug
Returns: None
-
get_fail_vertex
()¶ Returns: list of ints, fail vertex ids
-
get_fail_vertex_full_path
()¶ Returns: list of strings of all debug fail vertices as full path
-
fix
()¶ Run fix method of all health objects in health_validation and re-run the debug in order to catch any re-fails
Returns: list of health_object that fail to be fix, if no fail fixes it reruns an empty list
-
debug
(fix=False, selection=True)¶ Run all test for skinning
Parameters: - fix – bool if true it will run fixes in all fail test
- selection – bool works just in selected components
Returns: list of health_object that fail to be fix, if no fail fixes it reruns an empty list
-
set_weights
(weights, vertex_ids=None)¶ Parameters: - weights – weight data dictionary ex. {u’0’: {u’joint1’: 0.5, u’joint2’: 0.5}, u’2’: {u’joint3’: 0.5, u’joint4’: 0.5}, …..etc}
- vertex_ids – list of int the vertex ids that are going to be use to set the weights on Ex. [1,2,3] weights will be set just in vertex 1, 2 and 3 all remaining vertex in the mesh will be ignore
Returns: bool True if weight on the skin cluster match weights data
-
load
(data, selection=True, root=None)¶ Load skin data in a mesh object, will use existing skin cluster if exist or create a new skin cluster if none attached to the mesh
Parameters: - data – skin dict data Ex: {u’vc’: 2, u’skinCluster’: u’skinClusterName’, u’joints’: [u’joint1’, u’joint2’], u’omi’: True, u’mi’: 8, u’sm’: 0, u’ids’: {u’0’: {u’joint1’: 1}, u’1’: {u’joint1’: 0.4, u’joint2’: 0.6}}}
- selection – bool works just in selected components
- root – string name of hierarchy root joint of the skin cluster default None
Returns: bool True if weight on the skin cluster match weights data on skin dict data “ids”
-
create_skincluster
(**kwargs)¶ Create skin cluster Node
Parameters: - data – skin dict data Ex: {u’vc’: 2, u’skinCluster’: u’skinClusterName’, u’joints’: [u’joint1’, u’joint2’], u’omi’: True, u’mi’: 8, u’sm’: 0, u’ids’: {u’0’: {u’joint1’: 1}, u’1’: {u’joint1’: 0.4, u’joint2’: 0.6}}}
- root – string name of hierarchy root joint of the skin cluster default None
- load_data – bool is True will load weight data on skin cluster node default False
- selection – bool works just in selected components
Returns: True False or ‘PASS’, ‘PASS’ is an internal variable use to create skin cluster when loading data
-
root_joint
¶ get root joints of joint hierarchy use on skin cluster :return: string name of hierarchy root joint
-
root_joints
(data=None)¶ Analyse scene to gather root joints, if object has a skinCluster it will gather the joints from that skinCluster, if no skin cluster in the object it will try to find root joints in the scene
Parameters: data – dict weight data Returns: a list of root joints
-
get_joints_from_hierarchy
(joints, root=None, data=None)¶ find and Return full name of given joints in the skeleton hierarchy
Parameters: - joints – list of strings of joint names to be found
- root – string name of hierarchy root joint
- data – dict skin data
Returns: list of strings
-
get_joint_hierarchy
(root=None, data=None)¶ Parameters: - root – string root joint name
- data – dict weight data
Returns: string list of all joint full path names in the hierarchy that are part of the skin cluster
-
get_joints_from_data
(data, root=None)¶ compare joints in data against joint hierarchy and return matching joints in hierarchy
Parameters: - root – string root joint name
- data – dict weight data
Returns: string list of hierarchy joint full names
-
check_missing_joints_on_cluster
(**kwargs)¶ Check if joint in data is missing from skin cluster node :param data: skin dict data
Ex: {u’vc’: 2, u’skinCluster’: u’skinClusterName’, u’joints’: [u’joint1’, u’joint2’], u’omi’: True, u’mi’: 8, u’sm’: 0, u’ids’: {u’0’: {u’joint1’: 1}, u’1’: {u’joint1’: 0.4, u’joint2’: 0.6}}}Parameters: add_joints – bool default True Returns: list of missing joint, None or QMessageBox.Cancel if canceled by user
-
-
class
Skn_file
(ui=None)¶ Bases:
object
main r9Skin file handling, for dealing with the saving and loading of the actual data
-
get_skns
(selection=False, meshes=None)¶ Find all polygon objects in the scene that have a skinCluster and return a Skn object for each find
Parameters: selection – bool default True. If True it works only on selected objects or components, If False it works on every skin mesh in the scene Returns: list of Skn objects
-
get_scene_data
(selection=True, meshes=None)¶ Get Skinning data of polygon objects in the scene
Parameters: - debug – bool default True. If True debug and fix skin weights, if False do nothing
- selection – bool default True. If True works only on selected objects or components, if False it works on every skinned mesh in the scene
- meshes – list of meshes to get the data from in conjunction with selection it will get skin data of selected meshes or components in given meshes
Returns: dict of scene skin data
-
get_file_path
(action='save')¶ Wrapper for QFileDialog.getSaveFileName or QFileDialog.getOpenFileName vase on action argument. .skn file name allays defaults to Maya scene name
Parameters: action – string default is ‘save’ available actions are ‘save’ & ‘open’ Returns: string .skn file path
-
read_skin_file
(file_path=None, namespace=None)¶ Read skin file data
Parameters: - file_path – string file path
- namespace – string name space to append to data
Returns: bool True if data read is ok
-
load
(data=None, selection=True, root=None)¶ load skin data
Parameters: - data – dict skin data Default None if no data given it defaults to data store on self.data
- selection – bool load just selected meshes or components default is True
- root – string name of hierarchy root joint of the skin cluster default None
Returns: dict wit skin load report True or false, False in specific mesh means data not loaded correctly
-
save_file
(file_path=None, selection=True, meshes=None)¶ Save skin data to .skn file
Parameters: - file_path – string file path
- selection – bool save just selected meshes or components default is True
- meshes – list of meshes to save the data from in conjunction with selection it will save skin data of selected meshes or components in given meshes
Returns: string file path
-


The best way to teach JavaScript to new programming students is to have them learn Ruby. Barring or after that, it's to be honest and admit that it is a botched language and be frank about it's design blunders. There are many brave souls in the W3C who are laboring valiantly to find a way forward.
Mike Farr
Everything that's interesting to do was once impossible.
April 26, 2015


Change My Member Info
New alias:
New Whisper Address:
New Description
Modify My Member Info
Member address:
Display Member Info
Member Info
Registered:
Alias:
Description:
Balance:
Debit Limit:
Credit Limit:
Group Number:
Change Member Limits
Only the commune account can change the member limits
Member address:
New Debit Limit:
New Credit Limit:
Change
List of Members of Credit Commons


We are excited to announce the first Worldhost training programme - Thursday 7th March
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.


Revealed: The most popular tourist attractions for Uber passengers in 2019 - and it's the Empire State Building that tops the list, with Buckingham Palace 9th
by Jennifer Newton for MailOnline- Cab hailing app has been keeping track of the most-visited landmarks in 2019
- In second place is the Freedom Tower followed by Toronto's CN Tower in third
- Buckingham Palace comes ninth on the list and Sydney Opera House is 11th
The 15 most popular tourist attractions around the world for Uber drop-offs have been revealed - and it's the Empire State Building that tops the list.
The cab-hailing app has been keeping track of the most-visited landmarks and attractions by its drivers in 2019.
In second place is the Freedom Tower, also in New York, while Toronto's CN Tower comes third.
MOST POPULAR TOURIST ATTRACTIONS FOR UBER DROP-OFFS
1. Empire State Building, New York
2. Freedom Tower, New York
3. CN Tower, Toronto
4. Arc de Triomphe, Paris
5. Eiffel Tower, Paris
6. The Louvre, Paris
7. Burj Khalifa, Dubai
8. Disneyland, Anaheim
9. Buckingham Palace, London
10. Golden Gate Bridge, San Francisco
11. Sydney Opera House
12. Berlin Wall
13. The Blue Mosque, Istanbul
14. The Vatican
15. Great Pyramid of Giza
Source: Uber
Locations in Paris also dominate the top 10 with the Arc de Triomphe in fourth, the Eiffel Tower in fifth and The Louvre taking sixth place.
In seventh is the Burj Khalifa, the world's tallest building, which stands at 2,722ft high in Dubai.
Disneyland in California takes eighth spot on the list while ninth is London's Buckingham Palace and 10th is the Golden Gate Bridge in San Francisco.
The rest of the top 15 is made up of the Sydney Opera House (11th), the Berlin Wall (12th), Istanbul's Blue Mosque (13th), the Vatican (14th) and the Great Pyramid of Giza (15th).
Meanwhile, Uber also revealed the countries where tourists from the US took the most trips using the app in 2019.
Mexico topped the list followed by Canada (second), the UK (third), Brazil (fourth) and France (fifth).
The rest of the top 10 is made up of India (sixth), Australia (seventh), Colombia (eighth), Portugal (ninth) and Spain (10th).
In addition, Uber also said that tourists were ordering their favourite foods to landmark locations around the world using Uber Eats.
The firm explained that thousands of orders were delivered to the Eiffel Tower, the Golden Gate Park, Parliament House in Australia, and the CN Tower.
Meanwhile, it also revealed that the Saturday of St Patrick’s Day weekend was the most popular day to use Uber in the U.S for the second year in a row.
COUNTRIES WHERE UBER WAS USED MOST BY U.S TOURISTS
1. Mexico
2. Canada
3. United Kingdom
4. Brazil
5. France
6. India
7. Australia
8. Colombia
9. Portugal
10. Spain
11. Netherlands
12. Germany
13. Peru
14. Dominican Republic
15. South Africa
Source: Uber


---
layout: post
title: Importance of a Baseline Model
date: '2017-02-22T22:29:00.001-08:00'
author: Sujay S Kumar
tags:
modified_time: '2017-02-22T22:57:50.554-08:00'
blogger_id: tag:blogger.com,1999:blog-925060870564624560.post-8404032038718427904
blogger_orig_url: http://sujayskumar.blogspot.com/2017/02/importance-of-baseline-model.html
---
One of the important aspects of building a machine learning model is to understand the data first. Most of us forget this and jump right into modelling. Another corollary to this is that we often times forget to build a baseline model before building something complicated.
What is a Baseline Model and a Baseline Accuracy?
A baseline model, in simple words, is the most simple model that you can build over the provided data. The accuracy that is achieved by a baseline model is the lower bound for evaluating the performance of your model.
A baseline model usually does not include any machine learning approaches, rather a statistical approach. It also include heuristics, randomness or simple statistics in order to come up with a value.
Sklearn supports baseline models in the form of Dummy Classifiers:


datascience.tables.Table¶
-
class
datascience.tables.
Table
(columns=None, labels=None, formatter=<datascience.formats.Formatter object>)[source]¶ A sequence of labeled columns.
-
__init__
(columns=None, labels=None, formatter=<datascience.formats.Formatter object>)[source]¶ Create a table from a list of column values or dictionary of sequences.
>>> letters = ['a', 'b', 'c', 'z'] >>> counts = [9, 3, 3, 1] >>> points = [1, 2, 2, 10] >>> t = Table([letters, counts, points], ['letter', 'count', 'points']) >>> print(t) letter | count | points a | 9 | 1 b | 3 | 2 c | 3 | 2 z | 1 | 10
For other ways to initialize a table, see
Table.from_rows()
,Table.from_records()
, andTable.read_table()
.- Kwargs:
- columns (None, list, or dict): If
None
, an empty table is created.
If a list, each element in
columns
is another list containing the values for a column in the order the columns appear inlabels
.If a dict, each key is a label of a column; each values is the column’s values as a list.
- labels (list): A list of column labels. Must be specified if
columns
is a list, and must beNone
ifcolumns
is a dict.- formatter (Formatter): An instance of
Formatter
that - formats the columns’ values.
- columns (None, list, or dict): If
- Returns:
- A new instance of
Table
. - Raises:
- AssertionError:
labels
is specified butcolumns
is not. columns
is a dict butlabels
are specified.columns
is a list butlabels
are not specified. The length oflabels
and the length ofcolumns
are unequal.
- AssertionError:
Methods
__init__
([columns, labels, formatter])Create a table from a list of column values or dictionary of sequences. append
(row_or_table)Append a row or all rows of a table. apply
(fn, column_label)Returns an array where fn is applied to each element of a specified column. as_html
([max_rows])Format table as HTML. as_text
([max_rows, sep])Format table as text. barh
(column_for_categories[, overlay])Plots horizontal bar charts for the table. column_index
(column_label)Return the index of a column. copy
()Return a copy of a Table. drop
(column_label_or_labels)Return a Table with only columns other than selected label or labels. from_records
(records)Create a table from a sequence of records (dicts with fixed keys). from_rows
(rows, column_labels)Create a table from a sequence of rows (fixed-length sequences). group
(column_or_label[, collect])Group rows by unique values in column_label, aggregating values. groups
(column_labels[, collect])Group rows by multiple columns, aggregating values. hist
([overlay, bins, counts])Plots one histogram for each column in the table. index_by
(column_or_label)Return a dict keyed by values in a column that contains lists of rows corresponding to each value. join
(column_label, other[, other_label])Generate a table with the columns of self and other, containing rows for all values of a column that appear in both tables. matrix
()Return a 2-D array with the contents of the table. move_to_end
(column_label)Move a column to the last in order. move_to_start
(column_label)Move a column to the first in order. percentile
(p)Returns a new table with one row containing the pth percentile for each column. pivot
(columns, rows, values[, collect, zero])Generate a table with a column for rows (or a column for each row in rows list) and a column for each unique value in columns. pivot_hist
(pivot_column_label, ...[, overlay])Draw histograms of each category in a column. plot
([column_for_xticks, overlay])Plot contents as lines. points
(column__lat, column__long[, labels, ...])read_table
(filepath_or_buffer, *args, **vargs)Read a table from a file or web address. relabel
(column_label, new_label)Change the label of a column. sample
([k, with_replacement, weights])Returns a new table where k rows are randomly sampled from the original table. select
(column_label_or_labels)Return a Table with selected column or columns by label. set_format
(column_label_or_labels, formatter)Set the format of a column. show
([max_rows])Display the table. sort
(column_or_label[, descending, distinct])Return a Table of sorted rows by the values in a column. stack
(key[, column_labels])Takes k original columns and returns two columns, with col. stats
([ops])Compute statistics for each column and place them in a table. take
(row_numbers)Return a Table of a sequence of rows taken by number. where
(column_or_label[, value])Return a Table of rows for which the column is value or a non-zero value. Attributes
chart_colors
column_labels
Return a tuple of column labels. columns
default_options
max_str_rows
num_rows
Number of rows. rows
Return a view of all rows. -


ARCOS
Automated download and scraping of PDF files from the ARCOS drug sales/distribution database from DEA.
https://www.deadiversion.usdoj.gov/arcos/index.html
Automated download and scraping of PDF files from the ARCOS drug sales/distribution database from DEA.
https://www.deadiversion.usdoj.gov/arcos/index.html


Checks JSF
component
tags to be located under
view
or
subview
tag. The validation works in jsp or jspx file types.


--- title: "Novel Coronavirus is intractable, should reduce close cutests to prevent outbreaks" author: "Xuanmo Wang" date: 2020-09-27T21:13:14-05:00 categories: ["R"] tags: ["R Markdown", "plot", "regression"] ---
The virus of COVID19 speared in a high spearing rate recently, the data from the opendatatoronto data base is to illustrate the distribution of the virus spearing in Toronto among the age groups and ways of getting infected.
Source of Infection The most likely way that sporadic cases acquired their COVID-19 infection. Only the most likely exposure for each case is reported. Exposures that occurred up to 14 days before symptoms start are potential acquisition sources, and can include: Travel:Travel outside of Ontario. Close contact with a case: Was in close contact with a confirmed or probable COVID-19 case (e.g., reside in the same household). Institutional setting: Institutional settings includes, but not limited to: long-term care homes, acute care hospitals, complex case hospitals, special care facilities, retirement homes, rehabilitation hospitals. Healthcare setting: Healthcare settings includes, but not limited to: family physician, dentist, ophthalmologist, sports doctor. Community: Cases with no reported travel outside of Ontario, no known close contact with a COVID-19 case, and no reported infection acquired in an institutional or healthcare setting. Pending Information on source of infection pending. Unknown/missing Source of infection not identified or missing. N/A: Outbreak-associated cases.
About the COVID19, there are big amount of people were getting infected by the virus. The age groups were from 19 years old to 90 years old. Here is a set of data by using histogram to provide the distribution of the age group
####Instal Data
library(opendatatoronto)
library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
# get package
package <- show_package("64b54586-6180-4485-83eb-81e8fae3b8fe")
package
## # A tibble: 1 x 10
## title id topics civic_issues excerpt dataset_category num_resources formats
## <chr> <chr> <chr> <chr> <chr> <chr> <int> <chr>
## 1 COVI… 64b5… <NA> <NA> <NA> <NA> 1 <NA>
## # … with 2 more variables: refresh_rate <chr>, last_refreshed <date>
# get all resources for this package
resources <- list_package_resources("64b54586-6180-4485-83eb-81e8fae3b8fe")
# identify datastore resources; by default, Toronto Open Data sets datastore resource format to CSV for non-geospatial and GeoJSON for geospatial resources
datastore_resources <- filter(resources, tolower(format) %in% c('csv', 'geojson'))
# load the first datastore resource as a sample
DATA <- filter(datastore_resources, row_number()==1) %>% get_resource()
DATA
## # A tibble: 17,872 x 18
## `_id` Assigned_ID `Outbreak Assoc… `Age Group` `Neighbourhood … FSA
## <int> <int> <chr> <chr> <chr> <chr>
## 1 143647 1 Sporadic 50 to 59 Y… Willowdale East M2N
## 2 143648 2 Sporadic 50 to 59 Y… Willowdale East M2N
## 3 143649 3 Sporadic 20 to 29 Y… Parkwoods-Donal… M3A
## 4 143650 4 Sporadic 60 to 69 Y… Church-Yonge Co… M4W
## 5 143651 5 Sporadic 60 to 69 Y… Church-Yonge Co… M4W
## 6 143652 6 Sporadic 50 to 59 Y… Newtonbrook West M2R
## 7 143653 7 Sporadic 80 to 89 Y… Milliken M1V
## 8 143654 8 Sporadic 60 to 69 Y… Willowdale West M2N
## 9 143655 9 Sporadic 50 to 59 Y… Willowdale East M2N
## 10 143656 10 Sporadic 60 to 69 Y… Henry Farm M2J
## # … with 17,862 more rows, and 12 more variables: `Source of Infection` <chr>,
## # Classification <chr>, `Episode Date` <chr>, `Reported Date` <chr>, `Client
## # Gender` <chr>, Outcome <chr>, `Currently Hospitalized` <chr>, `Currently in
## # ICU` <chr>, `Currently Intubated` <chr>, `Ever Hospitalized` <chr>, `Ever
## # in ICU` <chr>, `Ever Intubated` <chr>
glimpse(DATA)
## Rows: 17,872
## Columns: 18
## $ `_id` <int> 143647, 143648, 143649, 143650, 143651, 1436…
## $ Assigned_ID <int> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1…
## $ `Outbreak Associated` <chr> "Sporadic", "Sporadic", "Sporadic", "Sporadi…
## $ `Age Group` <chr> "50 to 59 Years", "50 to 59 Years", "20 to 2…
## $ `Neighbourhood Name` <chr> "Willowdale East", "Willowdale East", "Parkw…
## $ FSA <chr> "M2N", "M2N", "M3A", "M4W", "M4W", "M2R", "M…
## $ `Source of Infection` <chr> "Travel", "Travel", "Travel", "Travel", "Tra…
## $ Classification <chr> "CONFIRMED", "CONFIRMED", "CONFIRMED", "CONF…
## $ `Episode Date` <chr> "2020-01-22", "2020-01-21", "2020-02-05", "2…
## $ `Reported Date` <chr> "2020-01-23", "2020-01-23", "2020-02-21", "2…
## $ `Client Gender` <chr> "FEMALE", "MALE", "FEMALE", "FEMALE", "MALE"…
## $ Outcome <chr> "RESOLVED", "RESOLVED", "RESOLVED", "RESOLVE…
## $ `Currently Hospitalized` <chr> "No", "No", "No", "No", "No", "No", "No", "N…
## $ `Currently in ICU` <chr> "No", "No", "No", "No", "No", "No", "No", "N…
## $ `Currently Intubated` <chr> "No", "No", "No", "No", "No", "No", "No", "N…
## $ `Ever Hospitalized` <chr> "No", "Yes", "No", "No", "No", "No", "No", "…
## $ `Ever in ICU` <chr> "No", "No", "No", "No", "No", "No", "No", "N…
## $ `Ever Intubated` <chr> "No", "No", "No", "No", "No", "No", "No", "N…
library(tidyverse)
## ── Attaching packages ─────────────────────────────────────────────────── tidyverse 1.3.0 ──
## ✓ ggplot2 3.3.2 ✓ purrr 0.3.4
## ✓ tibble 3.0.3 ✓ stringr 1.4.0
## ✓ tidyr 1.1.2 ✓ forcats 0.5.0
## ✓ readr 1.3.1
## ── Conflicts ────────────────────────────────────────────────────── tidyverse_conflicts() ──
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
Episode.Date=DATA$`Episode Date`
Age.Group=DATA$`Age Group`
Source.of.Infection=DATA$`Source of Infection`
ggplot(data=DATA, aes(x = Age.Group)) + geom_histogram(color=5, fill='blue', bins = 10, stat = 'count')
## Warning: Ignoring unknown parameters: binwidth, bins, pad
As the distribution provided here, the graph follows a right-skewed distribution and it does not looks like a symmetric distribution. The bins shows that most of the people who get infected is the age group around 20 and 29 years old. These people got highest number of infecting by the virus.
There are many ways of getting infection by the virus, such as getting close contact, or spears by the community, healthcare issues, institutional facts … etc. Let’s illustrate the reasons and find some trend of getting infection.
ggplot(data=DATA, aes(x = Source.of.Infection)) + geom_histogram(color=83, fill='green', bins = 10, stat = 'count')
## Warning: Ignoring unknown parameters: binwidth, bins, pad
As the graph shows, the thing that we can see clearly is the the close contact and the outbreak associated becomes plays the majority of ways of getting infected. The two ways have around 6000 of people separately. There are also many people get infected by the other reason of community as around 2500 people. The graph is not symmetric either does not like to be following a normal distribution.
In conclusion, the people in the age group around 19 to 29 should be aware of the COVID19 because it is the group that many of them getting infected. The majority way of getting infected is by outbreak and Close contact with a case.
#Reference
Opendata:https://open.toronto.ca/dataset/covid-19-cases-in-toronto/


Previous:
FORTRAN
, Up:
Version
C specifications:
— function: void
acmlversion
(
int *major, int *minor, int *patch, int *build
)
;
— function: void
acmlinfo
(
void
)
;


Please enable JavaScript to use this app.
scroll to cursor
slow
fast
down
up
dec
inc
undo
redo
back
start/pause
stop
forward
record
palette
btn
btn
load
save
lock keyboard
practice
info
sample
del all sheets
cache del
dljson


Cascable's remote control tools allow you to remote control your camera from the comfort of your iOS device.
To take a photo, use the shutter control at the bottom of the image preview. The smaller button on the left triggers autofocus, and the larger button on the right triggers the shutter and takes the photo. You can hold down the autofocus button then slide to the right or tap the right button with another finger to focus then take a photo in one movement.
To adjust exposure settings, swipe up and down on the four displays at the bottom of the image preview on iPad, or use the adjustment controls in the toolbar on iPhone. Changeable settings depend on which mode your camera is in — if it’s in full Manual mode you’ll be able to change shutter speed, aperture and ISO. However, if it’s in full auto, you’ll only be able to change exposure compensation.
The remote control has various useful overlays, which can be toggled on and off by tapping the relevant icons in the toolbar.


Mahmoud Adel AlSefarini, 26 years old, I graduated from the University of Jordan in 2019 in Civil Engineering, I have the passion and drive to become an expert in programming.
I love to travel and communicate with others and exchange cultures with other countries around the world
I have traveled many countries during the past years, including the state of New York, Chicago, Ohio, Boston, Washington DC, New Jersey, Maine in the United States of America, France, Turkey, Egypt and Saudi Arabia


You must add your email address to Preferences in order to be able to use wiki notifications
Redirecting you back in $notification.redirect_time seconds, if it fails, please click here
A list of the wiki pages you're watching can be found on My Notifications.


{{quote.description}} written by {{quote.author}}
This quote was posted {{quote.completeDate|dateCount}} days ago