Beacon App Design
My designs for my first app, Beacon.
Beacon Marketing Poster
One of the banners I made for marketing on Instagram and Facebook using my own travel pictures.
SAY Home:
Before |
After
SAY Video Posting:
Before |
After
My work at SAY over a year led to implementing flatter, simpler designs on iOS.
Say Home Feed Design
One of my designs for a potential home feed for the app, SAY.
Great iOS Libraries
39 iOS libraries that make life easier for iOS devs.
PocketSVG
One of my favorite iOS library that lets you turn SVG files into animatable native shapes.
Windows 93
Ancient operating system, now on a browser!

Physics As A Way Of Thinking
Article from 1936 about using physics to change your perception of daily life.
The Ultraviolet Catastrophe
Outdated theory that a black body would violate conservation of energy by emitting an infinite amount of radiation.
Created with help from Bootstrap and Matt Boldt.


Methods to assist with importing data stored in text files with Unicode characters and to convert text or data with foreign characters or mathematical symbols to LaTeX. It also escapes UTF8 code points (fixing the "warning: found non-ASCII strings" problem), detects languages, encodings and more.
| Version: | 1.0.4 |
| Depends: | R (≥ 2.7.0) |
| Published: | 2016-12-26 |
| Author: | c(person(given = "Jose", family = "Gama", role = c("aut","cre"),email = "rxprtgama@gmail.com"), person(given = "Günter", family = "Milde", role = c("cph"))) |
| Maintainer: | Jose Gama <rxprtgama at gmail.com> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | yes |
| CRAN checks: | utf8latex results |
| Reference manual: | utf8latex.pdf |
| Package source: | utf8latex_1.0.4.tar.gz |
| Windows binaries: | r-devel: utf8latex_1.0.4.zip, r-release: utf8latex_1.0.4.zip, r-oldrel: utf8latex_1.0.4.zip |
| OS X binaries: | r-release: utf8latex_1.0.4.tgz, r-oldrel: utf8latex_1.0.4.tgz |
Please use the canonical form https://CRAN.R-project.org/package=utf8latex to link to this page.


Plugin Information |
|---|
View NOPMD verify Trac on the plugin site for more information. |
When you use Trac to tracking issues, this plugin makes a report about whether 'NOPMD' in your codes are right.
How to use this plugin ?
- You should install XML-RPC to your Trac, see http://trac-hacks.org/wiki/XmlRpcPlugin.
- A member in your project should write Trac's ticket-id at the same line including 'NOPMD'.
Foo.java
public void hoge(){ something.wrongMethod(); //NOPMD #251 }
- And he or she writes "why using 'NOPMD' " into this ticket(i.e. 251 in the above example).
- This plugin scans him or her code. And it connects to Tracand checks that the ticket is closed. If this plugin finds 'NOPMD' without ticket-id or finds ticket-id but this ticket isn't closed, this plugin report that this 'NOPMD' is illegal.
Screen Shot
Version History
Version 0.9 (Oct 26, 2012)
Attachments:
capture01.png (image/png)


Ref is a reference counted shared smart pointer implementation. When
all references to an object are destroyed, the object it references is
also destroyed. It is somewhat equivalent in functionality to Boosts
shared_ptr
or intrusive_ptr
. Boost, however, is a big
library, so the decision was made to avoid any dependencies of
Classdesc or Eco Lab on Boost.
Ref performs entire object life cycle management. Initialising it with an object makes a copy, it does not pass control of the object to the ref. As such, it requires that its target type has a default constructor. Assigning, or copying a ref object duplicates the reference to a single object. Dereferencing works as with traditional pointers.
Synopsis:
template <class T> class ref { public: ref(); // unitialised refs are NULL ref(const ref& x); ref(const T& x); //copies x ref& operator=(const ref& x); ref& operator=(const T& x); //copies x T* operator->(); //dereference operators T& operator*(); void nullify(); //set reference to NULL bool nullref(); //returns true if invalid operator bool (); //returns true if valid bool operator==(const ref& x); bool operator==(const T* x); //true if x points to this's target bool operator==(const T& x); //true if x==this's target };
Packing a ref object automatically invokes the pack_graph
algorithm.


To access the node at position
i
in a singly-linked list
"requires that all its predecessors be visited"
"takes one step"
"takes two steps"
"requires that all its successors be visited"


| Patient | Isabella Jones |
| Date of birth | May 1, 1947 |
| Sex | Female |
| Race | White |
| Ethnicity | Not Hispanic or Latino |
| Contact info | Primary Home: 1357 Amber Drive Beaverton, OR 97006, US Tel:<PHONE_NUMBER> |
| Patient IDs | 1 2.16.840.1.113883.4.6 123-10-5230 2.16.840.1.113883.4.1 |
| Document Id | ToC_1 <IP_ADDRESS>.<IP_ADDRESS>.1 |
| Document Created: | August 6, 2012 |
| Care provision | Pnuemonia from August 6, 2012, 00:28 +0500 to August 6, 2012, 00:58 +0500 |
| Performer (primary care provider) | Dr. Henry Seven of Get Well Clinic |
| Author | Henry Seven |
| Contact info | 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Encounter Id | 1 2.16.840.1.113883.4.6 |
| Encounter Type | Pnuemonia |
| Encounter Date | From August 6, 2012, 00:28 +0500 to August 6, 2012, 00:58 +0500 |
| Encounter Location | id: 2.16.840.1.113883.4.6 |
| Responsible party | Dr Henry Seven |
| Personal relationship | Mr. Ralph Jones |
| Contact info | Primary Home: 1357 Amber Drive Beaverton, OR 97006, US Tel:<PHONE_NUMBER> |
| Personal relationship | Mr. Frank Jones |
| Contact info | Primary Home: 1357 Amber Drive Beaverton, OR 97006, US Tel:<PHONE_NUMBER> |
| Entered by | Mary McDonald |
| Contact info | 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Signed | Henry Seven at August 6, 2012 |
| Contact info | 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Informant | Henry Seven |
| Contact info | 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Informant | Frank Jones |
| Information recipient: | Henry Seven |
| Legal authenticatorThis is not intended and not fully compliant with ONC Certification | Henry Seven signed at August 6, 2012 |
| Contact info | 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Document maintained by | Get Well Clinic |
| Contact info | Work Place: 1002 Healthcare Drive Portland, OR 97266, US Tel:<PHONE_NUMBER> |
| Substance | Reaction | Severity | Status |
|---|---|---|---|
| Codeine | Shortness of Breath | Moderate | Active |
| Encounter | Performer | Location | Date |
|---|---|---|---|
| Pnuemonia | Dr Henry Seven | Get Well Clinic | 20120806 |
| Vaccine | Date | Status |
|---|---|---|
| Influenza virus vaccine | May 2012 | Completed |
| Tetanus and diphtheria toxoids | April 2012 | Completed |
| Medication | Directions | Start Date | Status | Indications | Fill Instructions |
|---|---|---|---|---|---|
| Albuterol 0.09 MG/ACTUAT inhalant powder | Albuterol 0.09 MG/ACTUAT inhalant powder, 2 puffs | 20120806 | Active | Pneumonia (233604007 SNOMED CT) | Generic Substitition Allowed |
| Planned Activity | Planned Date |
|---|---|
| Admit Yourself to Community Health and Hospitals for Pnuemonia | 20120806 |
Recommend Admission to Community Health and Hospitals for Pnuemonia
| Procedure | Date |
|---|---|
| Chest X-Ray | 2012 |
| Functional Condition | Effective Dates | Condition Status |
|---|---|---|
| Dependence on cane | November 1, 2008 | Active |
| Memory impairment | November 1, 2008 | Active |
| Result Type | Result Value |
|---|---|
| HGB | 10.2 g/dL |
| WBC | 12.3 10*3/uL |
| PLT | 123 10*3/uL |
| Social History Element | Description | Effective Dates |
|---|---|---|
| smoking | Former Smoker (1 pack per day | 20050501 to 20110227 |
| Date / Time: | Nov 1, 2011 | August 6, 2012 |
|---|---|---|
| Height | 175 cm | 175 cm |
| Weight | 88 kg | 90 kg |
| Blood Pressure | 132/86 mm[Hg] | 145/88 mm[Hg] |


Cycling | Education | Emacs | Exercise | Politics | Reading | Ruby | Sysadmin |
Isaac's favourite ouya game so far
Privacy - why the Govt. wants privacy for themselves when it matters and why you should care.
William Hague claims if you haven't done anything wrong, you shouldn't care about your privacy. So why does the Govt. claim to need to present evidence in a secret court with evidence related to illegal kidnapping?
Cory Doctorow has written a good piece about why you should be worried about privacy. Basically, it covers:
- being wrongly accused of something and then being labelled as being a threat even though you are still innocent
- privacy is a right (e.g. keeping the toilet door closed even though everyone knows what you're doing).
- collecting more data about a population doesn't mean that you will catch more criminals, if the data isn't criminal.
- being snooped upon makes systems less secure
- it can be used against you by the bad guys in the future
He also makes the point that you shouldn't worry about your privacy if you have nothing to worry about. That's why privacy was used when the Govt. wanted to present evidence in court about the UK's role in rendition to countries that advocate torture.
So, basically, privacy works when the state wants it to work, but not when you want it to.
http://www.guardian.co.uk/technology/blog/2013/jun/14/nsa-prism
Caught in a privacy recursion loop with dwarves
Bath and Longleat
Happy birthday Pewter Reilly
subscribe via RSS>


--- layout: post status: publish published: true title: Where do you watch the Cubs? author: display_name: Kurt login: Kurt email<EMAIL_ADDRESS>url: '' author_login: Kurt author_email<EMAIL_ADDRESS>wordpress_id: 741 wordpress_url: http://ivyenvy.com/?p=741 date: '2009-05-01 08:31:06 +0000' date_gmt: '2009-05-01 14:31:06 +0000' categories: - Broadcasters/Networks - General Baseball - General Sports - The Cubs tags: - Cubs bars - Moline - Twenty sports bar comments: - id: 201 author: Corey author_email<EMAIL_ADDRESS>author_url: http:// date: '2009-05-01 08:47:44 +0000' date_gmt: '2009-05-01 14:47:44 +0000' content: "I don't want to sound like too much of a Homer, but I would have to say the backyard is my favorite place to watch the Cubs. \r\n\r\nCubs flags flying over head, 2 ice cold beers on tap, a new mounted LCD tv, sound run through outdoor speakers, pickled eggs and good friends cheering on the boys in blue. I don't know, it's the place for me." - id: 202 author: Kurt author_email<EMAIL_ADDRESS>author_url: http:// date: '2009-05-01 09:14:07 +0000' date_gmt: '2009-05-01 15:14:07 +0000' content: "I can't disagree. Can't wait to experience the upgrades. The backyard doesn't damage the wallet like a bar will.\r\nI'm a homer too and most of the time prefer to watch it on my couch. It's the main reason I bought a new tv." - id: 203 author: beth author_email<EMAIL_ADDRESS>author_url: http://bettyround.etsy.com date: '2009-05-01 09:42:58 +0000' date_gmt: '2009-05-01 15:42:58 +0000' content: 9 times out of 10 i prefer the exact ambiance corey and tawny have created for us in the backyard pub. but for those few times a season when i just want to be "out" someplace enjoying the game with barflies i would suggest twenty also because i liked hearing the actual audio for the game over the speakers. plus they gave us cool cubs beer glasses to take home. i love free stuff! - id: 204 author: Kurt author_email<EMAIL_ADDRESS>author_url: http:// date: '2009-05-01 12:51:03 +0000' date_gmt: '2009-05-01 18:51:03 +0000' content: I did the Cubs glass deal last night and then left it there. Damn! ---
Conditions for viewing last night's game outside of the Chicagoland area were not good. Even people who ponied up the near $200 for the MLB package on DirecTV (Corey) couldn't get it. I'll stay away from satellite/cable bashing since I'm sure there are blogs devoted entirely to doing just that, but it seems pretty ridiculous that those people aren't getting what they paid for: EVERY GAME.
Andy, his wife and I had stumbled across "Twenty" sports bar in Moline about a week earlier and were pleasantly surprised to find 4 or 5 sizable LCDs behind the bar all on Cubs action and the twenty or so speakers playing the sound. A rare find in a bar. After vetoing O'Keefe's because of the Kenny Chesney blasting out of the open door and windows we decided to give this new place a try. It turned out to be a great place to watch a game and had a good selection of beers on tap always served in the appropriate logo'd glass.
 The food was decent for bar food. I had a tasty burger and fries.  Again, I'll leave the culinary expertise to other blogs. The game, on the other hand, was not so good. They were nice enough to leave a few TVs on the DirecTV multi-feed so we could watch the baby Cubs game. It was nice to see the bartenders visibly upset at the fact they couldn't get the game. They even made several calls to DirecTV to find out they were subject to blackout. As you know the mini-Cubs lost to the mini-Marlins in 10. No mini-commentary on that game. It ended up being ok as the Bulls Celtics game was on and was probably one of the best basketball games I've ever seen.
The whole experience got me thinking we should run a poll to see what are people's favorite places to watch the game. I'll nominate Twenty and leave the rest open for suggestion. Most of us live in the Quad Cities, but feel free to make suggestions about other towns.
Oh, and I can't forget Fineran's backyard pub! No better place on a warm summer night.


This is an incomplete guide to the many ways you can learn to program in Rust and engage with the language's community.


|
| SubsystemManager | manager |
| |
| Looper | enabledLooper |
| |
| JoystickButton | gyroLock = new JoystickButton(Constants.MASTER, 1) |
| |
| JoystickButton | shift = new JoystickButton(Constants.MASTER, 2) |
| |
| JoystickButton | deliveryWheel = new JoystickButton(Constants.MASTER, 3) |
| |
| JoystickButton | delivery = new JoystickButton(Constants.MASTER, 4) |
| |
| JoystickButton | indexer = new JoystickButton(Constants.MASTER, 5) |
| |
| JoystickButton | intake = new JoystickButton(Constants.MASTER, 6) |
| |
| JoystickButton | indexerOut = new JoystickButton(Constants.MASTER, 8) |
| |
| JoystickButton | foldClimb = new JoystickButton(Constants.MASTER, 9) |
| |
| JoystickButton | unfoldClimb = new JoystickButton(Constants.MASTER, 10) |
| |
| JoystickButton | climbDown = new JoystickButton(Constants.MASTER, 11) |
| |
| JoystickButton | climbUp = new JoystickButton(Constants.MASTER, 12) |
| |
| JoystickButton | inverse = new JoystickButton(Constants.SECOND, 2) |
| |
| JoystickButton | colorWheelManual = new JoystickButton(Constants.SECOND, 3) |
| |
| JoystickButton | colorWheelManualCCW = new JoystickButton(Constants.SECOND, 4) |
| |
| JoystickButton | shootOne = new JoystickButton(Constants.SECOND, 6) |
| |
| JoystickButton | turretControl = new JoystickButton(Constants.SECOND, 7) |
| |
| JoystickButton | flyWheelPID = new JoystickButton(Constants.SECOND, 9) |
| |
| JoystickButton | manualFlyWheel = new JoystickButton(Constants.SECOND, 11) |
| |
| JoystickButton | turretPIDControl = new JoystickButton(Constants.SECOND, 12) |
| |
The VM is configured to automatically run this class, and to call the functions corresponding to each mode, as described in the TimedRobot documentation. If you change the name of this class or the package after creating this project, you must also update the build.gradle file in the project.
| void frc.robot.Robot.autonomousInit |
( |
| ) |
|
This autonomous (along with the chooser code above) shows how to select between different autonomous modes using the dashboard. The sendable chooser code works with the Java SmartDashboard. If you prefer the LabVIEW Dashboard, remove all of the chooser code and uncomment the getString line to get the auto name from the text box below the Gyro
You can add additional auto modes by adding additional comparisons to the switch structure below with additional strings. If using the SendableChooser make sure to add them to the chooser code above as well.
| void frc.robot.Robot.robotPeriodic |
( |
| ) |
|
This function is called every robot packet, no matter the mode. Use this for items like diagnostics that you want ran during disabled, autonomous, teleoperated and test.
This runs after the mode specific periodic functions, but before LiveWindow and SmartDashboard integrated updating.


This document describes how to upgrade your TinyOS 1.x environment to a TinyOS 2.x environment. This requires that you not only install the TinyOS 2.x rpm, but also that you upgrade your tools from the toolset distributed with TinyOS 1.1.0 and used with all 1.x TinyOS versions up through and including TinyOS 1.1.14. The new toolset was created for use with TinyOS 1.x beyond 1.1.14 as well as TinyOS 2.x. We call this new tooset version the '1.2' toolset.
Because we expect many developers to maintain a 1.x and 2.x tree simultaneously, we will also explain what parts of your environment need to be reconfigured if you switch from TinyOS 2.x to TinyOS 1.x. The 1.2 toolset is backwards compatible with the 1.x TinyOS tree, so switching back and forth requires only a few variable changes. You can find those directions at the bottom of the page.
There are 3 steps to upgrading from 1.x to 2.x:
At this time, we have available compiler toolsets for Atmel AVR and TI MSP430 platforms.
All of the tools are in the http://www.tinyos.net/dist-1.2.0/
and the http://www.tinyos.net/dist-2.0.0
distribution trees, but are linked below for convenience.
| Tool | Windows/Cygwin | Linux |
| avr-binutils† | avr-binutils-2.15tinyos-3.cygwin.i386.rpm | avr-binutils-2.15tinyos-3.i386.rpm |
| avr-gcc | avr-gcc-3.4.3-1.cygwin.i386.rpm | avr-gcc-3.4.3-1.i386.rpm |
| avr-libc | avr-libc-1.2.3-1.cygwin.i386.rpm | avr-libc-1.2.3-1.i386.rpm |
| avarice | avarice-2.4-1.cygwin.i386.rpm | avarice-2.4-1.i386.rpm |
| insight (avr-gdb) | avr-insight-6.3-1.cygwin.i386.rpm | avr-insight-6.3-1.i386.rpm |
rpm -Uvh --force
TI MSP430 Tools
The TinyOS-specific tools are the NesC compiler and a set of tools
developed in the tinyos-2.x/tools source code repository. They are
also installed using rpms. Due to file conflicts between the new version
of the tinyos-tools and older NesC installations, you must upgrade
your NesC installation before you upgrade tinyos-tools.
Also, if you plan on maintaining a tinyos-1.x tree
simultaneously with a tinyos-2.x tree, the tinyos-tools installed for the
1.x versions must remain installed so use rpm -ivh
. If you are
only installing a 2.x tree, you can use rpm -Uvh
.
If you using the Cygwin version recommended
in these install
instructions, you should install the "Recommended" Windows/Cygwin
nesC RPM.
If you
get strange errors when you try to compile TinyOS programs,
such as the error message "the procedure entry point basename could not be located
in the dynamic link library cygwin1.dll", this is likely due
to a Cygwin version incompatibility: try the "Other" Windows/Cygwin
RPM. If you are using Cygwin and installing the nesC RPM
causes an error that the RPM was built for Cygwin, add the --ignoreos
option.
| Tool | Recommended Windows/Cygwin | Other Windows/Cygwin | Linux | Command |
| NesC | nesc-1.2.8a-1.cygwin.i386.rpm | nesc-1.2.8b-1.cygwin.i386.rpm | nesc-1.2.8a-1.i386.rpm | rpm -Uvh rpm -Uvh --ignoreos (if Cygwin complains) |
| Tool | Windows/Cygwin | 32-bit Linux | 64-bit Linux | Command |
| tinyos-tools | tinyos-tools-1.2.4-2.cygwin.i386.rpm | tinyos-tools-1.2.4-3.i386.rpm | tinyos-tools-1.2.4-3.i686.rpm | rpm -ivh --force (1.x tree)rpm -Uvh (no 1.x tree) |
If you have an existing 1.x tree, we strongly recommend that you use
the install (-i
) rpm argument when installing the tinyos-2.x rpm rather
than the upgrade (-U
) argument. The difference is that the -U
will
first remove the tinyos-1.x tree while -i
will not remove previously installed
files. Said another way, we recommend using rpm -ivh
.
If you have an existing 2.x tree which you want to keep unchanged, then you will need to move it to make space for the new one. For example, if you have an existing tree in /opt/tinyos-2.x/, then you can move it to /opt/tinyos-2.x-old. Once you have moved it, we recommend performing a forced installation of the 2.0 tree.
If you have an existing 2.x tree which you do not care about, then we recommend removing it before installing the new one with a forced install.
TinyOS 2.x| Windows/Cygwin | Linux | Command | |
| TinyOS | tinyos-2.0.2-2.cygwin.noarch.rpm | tinyos-2.0.2-2.noarch.rpm | rpm -Uvh (to upgrade) rpm -ivh (to install) rpm -ivh --force (to force install) |
In TinyOS 1.x, much of your environment was set by the rpm installation process by copying a tinyos.sh file into /etc/profile.d which was subsequently run anytime a shell was started. Because this was deemed unnecessarily invasive, the 2.x rpm does not do this. Rather, you need to set these variables yourself. Ideally, you'll put them in a shell script that will run when your shell starts, but you needn't put such a script under /etc/profile.d.
Please take note of the current settings since you'll need those if you want to work in your current 1.x tree sometime in the future.
The example settings below assume that the tinyos-2.x installation is in /opt/tinyos-2.x. Change the settings to be correct for where you've put your tinyos-2.x tree. Note that the windows CLASSPATH must be a windows-style path, not a cygwin path. You can generate a windows style path from a cygwin-style path using 'cygpath -w'. For example:
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export CLASSPATH="$CLASSPATH;."TinyOS 2.x
| Environment Variable | Windows | Linux | |
| TOSROOT | /opt/tinyos-2.x | same as in Cygwin | |
| TOSDIR | $TOSROOT/tos | same as in Cygwin | |
| CLASSPATH | C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;. | $TOSROOT/support/sdk/java/tinyos.jar:. | |
| MAKERULES | $TOSROOT/support/make/Makerules | same as in Cygwin | |
| PATH† | /opt/msp430/bin:$PATH | same as in Cygwin |
In addition to the above environment variables, do the following on Linux machines:
chown -R <your uid> /opt/tinyos-2.x
chmod 666 /dev/<devicename>
Finally, if you have installed TinyOS 2.0.1, there is a bug in TOSSIM (which will be fixed in 2.0.2). The bug is in file tos/chips/atm128/sim/atm128_sim.h. Change these lines 22 and 23 from:
#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20) #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr) + 0x20)
to
#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr)) #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr))
If you do not do this, then timers will not work correctly.
Since the tools are backwardly compatible, you need only change your environment variables to point to the 1.x settings. Assuming that your old tree was in /opt/tinyos-1.x, you would use the following values:
TinyOS 1.x| Environment Variable | Windows | Linux | |
| TOSROOT | /opt/tinyos-1.x | same as in Cygwin | |
| TOSDIR | $TOSROOT/tos | same as in Cygwin | |
| CLASSPATH | `$TOSROOT/tools/java/javapath` | same as in Cygwin | |
| MAKERULES | $TOSROOT/tools/make/Makerules | same as in Cygwin |
Switching between the two should require switching only these environment variables.


:: com :: sun :: star :: accessibility ::
|
| interface XAccessibleRelationSet |
|
- Description
- Implement this interface to give access to an object's set of relations.
Such relation are modeled with the AccessibleRelation
structure. This interface is used for representing sets of relations
between Accessible objects. Most of the convenience
methods of the corresponding AccessibleRelationSet interface of the Java
Accessibility API have been removed from this interface in order to
clean it up. These methods are add,
addAll, clear, and
remove. The other methods have been renamed to achieve
a geater conformance with the other accessibility interfaces.
- Since
- OOo 1.1.2
- Developers Guide
- Accessibility - XAccessibleRelationSet
|
| Methods' Summary |
| getRelationCount |
Returns the number of relations in this relation set.
|
| getRelation |
Returns the relation of this relation set that is specified by
the given index.
|
| containsRelation |
Tests whether the relation set contains a relation matching the
specified key.
|
| getRelationByType |
Retrieve and return the relation with the given relation type.
|
| Methods' Details |
getRelationCount
- Description
- Returns the number of relations in this relation set.
- Returns
- Returns the number of relations or zero if there are none.
|
|
getRelation
- Description
- Returns the relation of this relation set that is specified by
the given index.
- Parameter nIndex
- This index specifies the relatio to return.
- Returns
- For a valid index, i.e. inside the range 0 to the number of
relations minus one, the returned value is the requested
relation. If the index is invalid then the returned relation
has the type INVALID.
|
|
containsRelation
| boolean |
| containsRelation( |
[in] short |
aRelationType ); |
- Description
- Tests whether the relation set contains a relation matching the
specified key.
- Parameter aRelationType
- The type of relation to look for in this set of relations. This
has to be one of the constants of
AccessibleRelationType.
- Returns
- Returns true if there is a (at least one) relation of the
given type and false if there is no such relation in the set.
|
|
getRelationByType
- Description
- Retrieve and return the relation with the given relation type.
- Parameter aRelationType
- The type of the relation to return. This has to be one of the
constants of AccessibleRelationType.
- Returns
- If a relation with the given type could be found than (a copy
of) this relation is returned. Otherwise a relation with the
type INVALID is returned.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


{{^includesConsent}} {{^includesGeo}} ✕ We use cookies to understand how you use our site and to improve your experience. By continuing to use our site, you accept our use of cookies and privacy policy. OK {{/includesGeo}} {{/includesConsent}}
We use cookies to understand how you use our site and to improve your experience. By continuing to use our site, you accept our use of cookies and privacy policy.


--- title: Resonance Audio Unity SDK API Reference layout: default exclude_from_menu: true ---
Resonance Audio source component that enhances AudioSource to provide advanced spatial audio features.
Public types |
|
|---|---|
Quality{
|
enum Audio rendering quality. |
Public attributes |
|
|---|---|
bypassRoomEffects = false
|
bool
Denotes whether the room effects should be bypassed.
|
directivityAlpha = 0.0f
|
float
Directivity pattern shaping factor.
|
directivitySharpness = 1.0f
|
float
Directivity pattern order.
|
gainDb = 0.0f
|
float
Input gain in decibels.
|
listenerDirectivityAlpha = 0.0f
|
float
Listener directivity pattern shaping factor.
|
listenerDirectivitySharpness = 1.0f
|
float
Listener directivity pattern order.
|
occlusionEnabled = false
|
bool
Occlusion effect toggle.
|
quality = Quality.High
|
Quality
bool bypassRoomEffects = false
Denotes whether the room effects should be bypassed.
float directivityAlpha = 0.0f
Directivity pattern shaping factor.
float directivitySharpness = 1.0f
Directivity pattern order.
float gainDb = 0.0f
Input gain in decibels.
float listenerDirectivityAlpha = 0.0f
Listener directivity pattern shaping factor.
float listenerDirectivitySharpness = 1.0f
Listener directivity pattern order.
bool occlusionEnabled = false
Occlusion effect toggle.
Quality quality = Quality.High


|
Simbody
3.5
|
Wrap a pointer to an abstract base class in a way that makes it behave like a concrete class. More...
Public Types | |
| typedef T | element_type |
| typedef T * | pointer |
| typedef T & | reference |
Public Member Functions | |
| ClonePtr () | |
| Default constructor creates an empty object. More... | |
| ClonePtr (T *obj) | |
| Given a pointer to a writable heap-allocated object, take over ownership of that object. More... | |
| ClonePtr (T **obj) | |
| Given a pointer to a writable heap-allocated object, take over ownership of that object and set the original pointer to null. More... | |
| ClonePtr (const T *obj) | |
| Given a pointer to a read-only object, create a new heap-allocated copy of that object via its clone() method and make this ClonePtr object the owner of the copy. More... | |
| ClonePtr (const T &obj) | |
| Given a read-only reference to an object, create a new heap-allocated copy of that object via its clone() method and make this ClonePtr object the owner of the copy. More... | |
| ClonePtr (const ClonePtr &c) | |
| Copy constructor is deep; the new ClonePtr object contains a new copy of the object in the source, created via the source object's clone() method. More... | |
| ClonePtr & | operator= (const ClonePtr &c) |
| Copy assignment replaces the currently-held object by a heap-allocated copy of the object held in the source container. More... | |
| ClonePtr & | operator= (const T &t) |
| This form of assignment replaces the currently-held object by a heap-allocated copy of the source object. More... | |
| ClonePtr & | operator= (T *tp) |
| This form of assignment replaces the currently-held object by the given source object and takes over ownership of the source object. More... | |
| ~ClonePtr () | |
| Destructor deletes the referenced object. More... | |
| bool | operator== (const ClonePtr &other) const |
| Compare the contained objects for equality using the contained objects' operator==() operator. More... | |
| bool | operator!= (const ClonePtr &other) const |
| Compare the contained objects for inequality using operator==(). More... | |
| bool | operator< (const ClonePtr &other) const |
| Provide an ordering for use in sorted containers using the contained objects' operator<(). More... | |
| const T * | operator-> () const |
| Dereference a const pointer to the contained object. More... | |
| T * | operator-> () |
| Dereference a writable pointer to the contained object. More... | |
| const T & | operator* () const |
| This "dereference" operator returns a const reference to the contained object. More... | |
| T & | operator* () |
| This "dereference" operator returns a writable reference to the contained object. More... | |
| const T * | operator& () const |
| This "address of" operator returns a const pointer to the contained object (or null if none). More... | |
| T * | operator& () |
| This "address of" operator returns a writable pointer to the contained object (or null if none). More... | |
| operator const T & () const | |
| This is an implicit conversion from ClonePtr<T> to a const reference to the contained object. More... | |
| operator T & () | |
| This is an implicit conversion from ClonePtr<T> to a writable reference to the contained object. More... | |
| operator bool () const | |
| This is an implicit conversion to type bool that returns true if the container is non-null (that is, not empty). More... | |
| T * | updPtr () |
| Return a writable pointer to the contained object if any, or null. More... | |
| const T * | getPtr () const |
| Return a const pointer to the contained object if any, or null. More... | |
| T & | updRef () |
| Return a writable reference to the contained object. More... | |
| const T & | getRef () const |
| Return a const reference to the contained object. More... | |
| bool | empty () const |
| Return true if this container is empty. More... | |
| void | clear () |
| Make this container empty, deleting the currently contained object if there is one. More... | |
| T * | release () |
| Extract the object from this container, leaving the container empty and transferring ownership to the caller. More... | |
| void | reset (T *tp) |
| Replace the contents of this container with the supplied heap-allocated object, taking over ownership of that object and deleting the current one first if necessary. More... | |
| void | reset (T **tpp) |
| Replace the contents of this container with the supplied heap-allocated object, taking over ownership of that object, deleting the current one first if necessary, and setting the caller's supplied pointer to null. More... | |
| void | swap (ClonePtr &other) |
| Swap the contents of this ClonePtr with another one, with ownership changing hands but no copying performed. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class T > | |
| void | swap (SimTK::ClonePtr< T > &p1, SimTK::ClonePtr< T > &p2) |
| This is a specialization of the STL std::swap() algorithm which uses the cheap built-in swap() member of the ClonePtr class. More... | |
Wrap a pointer to an abstract base class in a way that makes it behave like a concrete class.
This is similar to std::unique_ptr in that it does not permit shared ownership of the object. However, unlike std::unique_ptr, ClonePtr supports copy and assigment operations, by insisting that the contained object have a clone() method that returns a pointer to a heap-allocated deep copy of the concrete object.
We define operator==() and operator<() here that delegate to the contained object; if you want to use those the contained type must support that operator.
This class is entirely inline and has no computational or space overhead; it contains just a single pointer and does no reference counting.
| typedef T SimTK::ClonePtr< T >::element_type |
| typedef T* SimTK::ClonePtr< T >::pointer |
| typedef T& SimTK::ClonePtr< T >::reference |
|
inline |
Default constructor creates an empty object.
|
inlineexplicit |
Given a pointer to a writable heap-allocated object, take over ownership of that object.
|
inlineexplicit |
Given a pointer to a writable heap-allocated object, take over ownership of that object and set the original pointer to null.
|
inlineexplicit |
Given a pointer to a read-only object, create a new heap-allocated copy of that object via its clone() method and make this ClonePtr object the owner of the copy.
Ownership of the original object is not affected. If the supplied pointer is null, the resulting ClonePtr object is empty.
|
inlineexplicit |
Given a read-only reference to an object, create a new heap-allocated copy of that object via its clone() method and make this ClonePtr object the owner of the copy.
Ownership of the original object is not affected.
|
inline |
Copy constructor is deep; the new ClonePtr object contains a new copy of the object in the source, created via the source object's clone() method.
If the source container is empty this one will be empty also.
|
inline |
Destructor deletes the referenced object.
|
inline |
Copy assignment replaces the currently-held object by a heap-allocated copy of the object held in the source container.
The copy is created using the source object's clone() method. The currently-held object is deleted. If the source container is empty this one will be empty after the assignment.
|
inline |
This form of assignment replaces the currently-held object by a heap-allocated copy of the source object.
The copy is created using the source object's clone() method. The currently-held object is deleted.
|
inline |
This form of assignment replaces the currently-held object by the given source object and takes over ownership of the source object.
The currently-held object is deleted.
|
inline |
Compare the contained objects for equality using the contained objects' operator==() operator.
If both containers are empty or both refer to the same object they will test equal; if only one is empty they will test not equal. Otherwise the objects are compared.
|
inline |
Compare the contained objects for inequality using operator==().
|
inline |
Provide an ordering for use in sorted containers using the contained objects' operator<().
If both containers are empty or both refer to the same object they will test equal; if only one is empty that one is considered less than the other one. Otherwise the objects are compared using T::operator<().
|
inline |
Dereference a const pointer to the contained object.
This will fail if the container is empty.
|
inline |
Dereference a writable pointer to the contained object.
This will fail if the container is empty.
|
inline |
This "dereference" operator returns a const reference to the contained object.
This will fail if the container is empty.
|
inline |
This "dereference" operator returns a writable reference to the contained object.
This will fail if the container is empty.
|
inline |
This "address of" operator returns a const pointer to the contained object (or null if none).
|
inline |
This "address of" operator returns a writable pointer to the contained object (or null if none).
|
inline |
This is an implicit conversion from ClonePtr<T> to a const reference to the contained object.
This will fail if the container is empty.
|
inline |
This is an implicit conversion from ClonePtr<T> to a writable reference to the contained object.
|
inline |
This is an implicit conversion to type bool that returns true if the container is non-null (that is, not empty).
|
inline |
Return a writable pointer to the contained object if any, or null.
You can use the "address of" operator&() instead if you prefer.
|
inline |
Return a const pointer to the contained object if any, or null.
You can use the "address of" operator&() instead if you prefer.
|
inline |
Return a writable reference to the contained object.
Don't call this if this container is empty. There is also an implicit conversion to reference that allows ClonePtr<T> to be used as though it were a T&.
|
inline |
Return a const reference to the contained object.
Don't call this if this container is empty. There is also an implicit conversion to reference that allows ClonePtr<T> to be used as though it were a T&.
|
inline |
Return true if this container is empty.
|
inline |
Make this container empty, deleting the currently contained object if there is one.
|
inline |
Extract the object from this container, leaving the container empty and transferring ownership to the caller.
A pointer to the object is returned. No destruction occurs.
|
inline |
Replace the contents of this container with the supplied heap-allocated object, taking over ownership of that object and deleting the current one first if necessary.
Nothing happens if the supplied pointer is the same as the one already stored.
|
inline |
Replace the contents of this container with the supplied heap-allocated object, taking over ownership of that object, deleting the current one first if necessary, and setting the caller's supplied pointer to null.
If the supplied pointer is the same as the one we're already storing, then we just set the caller's pointer to null and return.
|
inline |
Swap the contents of this ClonePtr with another one, with ownership changing hands but no copying performed.
|
related |


Note: Must be used with an XSS Hunter compatible client tool, click here for an example. If you want to build your own please see our documentation. Note that injection requests are only stored for 30 days and are purged afterwards. You will still receive XSS alerts after 30 days but they won't be correlated.


PART III. APPROVAL OF LOCATION AND
SANITARY CONDITION OF BUSINESSES--REPEALED
§§322-41, 42 REPEALED. L 2000, c 14, §1.


University CS60-499 Project Management: Techniques and Tools
Project Name: Coop System Prototype
Group Number: 5
Supervisor: Dr. J. Chen
Group member: Chih Yu Wu
The goal of this project is to develop a prototype of a coop management system. The project should identify and demonstrate the major functionality needed for an actual online coop system, which could be built to facilitate the management of coop programs at the University of Windsor.
This prototype may include components such as interview scheduling, employer evaluation, student report submission and grading, student presentation organization, coop term tracking, electronic grade submission, report generation, etc.


Distributed webcam surveillance and image processing platform with snapshot archive, database index and a RESTful API web server
Use this easy guide to get up and running with your own Wabbit server. For problems during installation consult the FAQ.
1) Download
Clone three repos:
git clone https://github.com/vmlaker/date
git clone https://github.com/vmlaker/wabbit
2) Build
From the top of the source tree run make, install ODB and then run SCons:
make -j 2
bash src/bash/install-odb.sh -j 2
scons bites=../bites date=../date -j 2
Make builds your Python virtualenv and Node.js environment, and compiles the client-side code. The shell script installs C++ ODB libraries. The SCons build chain compiles the C++ sources.
3) Configure
Customize your installation in file
wabbit.conf
:
vi wabbit.conf
Then create the database user and privileges (you will need to know your MySQL root password):
4) Test
Make sure your installation works by testing the Recorder:
./python src/py/dump.py
Now try running the server in development mode:
Go to http://<IP_ADDRESS>:8000 to view the front page.
Next, run the server in production mode:
In production mode you won't see any images until you open access to the image archive via your webserver (we'll do that in a sec). But you can still check the API at http://<IP_ADDRESS>:8000/info.
5) Deploy
You can easily publish the snapshot archive
and run the API server through Apache HTTPD.
Start by first creating a link to your pictures archive
inside your system www directory (note that here we're using
/var/www/html
-- your platform may use
a different path).
Then dump a snippet for your VirtualHost configuration:
Cut-and-paste the snippet into your Apache conf file. Then restart your HTTPD server:
Your page is visible at http://localhost/wabbit.
If running SELinux, security policies may forbid HTTPD from reading your pictures directory. If that's the case, change your SELinux security context of your pics dir:
If you have Systemd, it's easy to automate the control of your Wabbit server processes. Build, install and start the services with:
sudo ./python deploy/systemd/install.py
sudo ./python deploy/systemd/start.py
Appendix A: Apache reverse proxy
If your Wabbit server is on a private network, you can setup your Internet-facing server as a reverse proxy to it.
Let's say you're running Wabbit on an internal server
accessible at http://<IP_ADDRESS>/wabbit
and you'd like it to be shown at location
/bunny
of your public homepage web server.
One way to do this would be to make your public server
act as a proxy, by configuring it's
VirtualHost
with the following directives:
ProxyPass http://<IP_ADDRESS>/wabbit
ProxyPassReverse http://<IP_ADDRESS>/wabbit
ProxyHTMLURLMap http://<IP_ADDRESS>/wabbit
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|wabbit/|bunny/|ni"
</Location>
RewriteRule ^/bunny$ bunny/ [R]
Appendix B: Teardown
To remove Wabbit from your system, first stop and remove the services. For Systemd:
sudo ./python deploy/systemd/remove.py
Or, for runit:
sudo ./python deploy/runit/remove.py
Then, clear your achive and remove the database:
Q:
When I run make, it fails with
/bin/sh: virtualenv: command not found
.
How do I fix this?
A:
You're missing virtualenv, a tool for creating
Python Virtual Environments.
On YUM systems, you can install it with:
Q:
Why am I getting
ImportError: No module named cv2
?
A:
You're missing the OpenCV Python library.
On a YUM system, install it with:
Q:
My make command fails with
make: npm: Command not found
,
what do I do? Help!!
A:
Your system is missing the Node.js package manager.
With YUM, you can install it with:
Q:
When I run make, I get
EnvironmentError: mysql_config not found
.
What do I do?
A:
You're missing mysql_config
.
On Ubuntu, install the missing package:
Or, on Fedora:
Q:
How do I install C++ bindings for MySQL?
A:
With Aptitude get the libmysql++-dev
package.
Or, with YUM get mysql++-devel
.
Q:
When I run SCons, I get an error like this:
configure: error: g++ does not support plugins; reconfigure GCC with --enable-plugin
.
What does this mean?
A:
Your GCC is missing header files for plugin development.
On Ubuntu, install the needed package:
On Fedora, install it with:
Q:
When I run SCons, it bails with
sh: convert: command not found
,
what the heck is this?
A:
The build requires ImageMagick.
On Fedora, you can install it with:
Q:
When I attempt to record snapshots, I get
Cannot open device -1
error.
Why is this happening?
A: Your webcam is not detected.
Check by making sure your system has a webcam:
On some systems (like Fedora) your user needs to belong to
video
group. You may need to run:
Q:
When I attempt to record snapshots, I get the error
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
.
What gives?
A:
Your MySQL server is probably not running,
or perhaps not even installed.
On Ubuntu, install and start the server with:
sudo service mysql start
Q:
When I attempt to record snapshots, I get the error
Access denied for user 'bugs'@'localhost' (using password: YES)
.
Please help!
A:
You most likely forgot to create the database.
Try running:
(See the Configure section of Install Guide for more details.)
Q:
When I try to compile client-side pages, I get
/usr/bin/env: node: No such file or directory
.
What gives?
A:
You probably installed node from a package manager,
and it is misnamed to nodejs
instead of node
.
Fix this by symlinking the executable:
Q:
My Apache HTTPD has errors like
(13)Permission denied: AH00957: HTTP: attempt to connect to <IP_ADDRESS>:8000 (<IP_ADDRESS>) failed
.
How do I fix this?
A:
It might be that SELinux is preventing HTTPD from connecting to port 8000.
Try changing the setting with:
If that works, make the change permanent (to remain across reboots):
Wabbit is a webcam recorder and archive server. It comes with a web API and a live surveillance page.
The recorder is written in C++. The multi-threaded image processing pipeline uses Intel Threading Building Blocks templates. The pipeline implements snapshot capture, disk writing and database indexing stages. It's designed to be easily extended with additional image processing steps if needed.
Web server and database tools are written in Python. The web API is implemented in the Flask microframework, and allows random access to stored images. A pruner process maintains the image archive to custom maximum length of time.
Wabbit is written by Velimir Mlaker using open source technologies:
- SCons for C++ build
- OpenCV for camera access
- Intel TBB for C++ parallelism
- MPipe for Python parallelism
- ODB for C++ ORM
- H. Hinnant's date library for C++ date and time formatting
- SQLAlchemy for Python ORM
- MySQL for RDBMS
- Flask for web app
- Jade and CoffeeScript for the client
- jQuery for AJAX