Goal 2
Develop computer program solutions to various business problems using advanced programming techniques
Database Management Systems
I want to make it clear first off: SQL is difficult to wrap my head around. It's not difficult to learn what everything does, but positioning without curly brackets is not my favorite thing in the world. That being said, SQL, and databases in general, are some of the most useful things to programmers available. The concept of concurrency is a useful one for storing data, and having a powerful, low cost solution to build data structures is exciting. Plus, considering how NoSQL databases are getting more popular, I'm interested in seeing how that makes the future of database technology change.
Learning SQL was important for me. I had always been curious about database technologies that weren't Microsoft Access, and now I know. Learning one of the most important and popular database technologies, SQL Server, I believe will also help me in the future, based on how popular it is in companies as well. In addition, finding out the best way to structure databases will be important if I ever need to create a database for a future application, especially on deciding how it should work within a business environment.
Database Processing & Management
Advanced Databases and Processing is the class where we got to discover more about how exactly databases handle concurrency problems. Concurrency problems occur when multiple people are accessing the same table or data cell in a database at the same exact time. One person saves first, but then the next person saves as well, overwriting the changes that the original editor of the database created. It was an interesting topic, and one that eventually led me to explore another way of handling concurrency in the development world, Git. It also assisted me in learning more about the SQL languages that weren't Microsoft Access.
In addition to talking about the philosophy of how exactly databases worked, we did more advanced queries on databases that involved nesting seperate queries into our queries, as well as performing a number of complex inner join statements on our data to find different ways to present data in a good manner to people who may not have the same skillset as one who works in Information Systems. However, these queries also allow one who is a data scientist to take the code and analyze different trends and patterns within the data sets that databases can hold, allowing new knowledge to bubble to the surface. Becuase of this fact, I was very excited to learn all about new inner join statements.
Advanced Programming Topics
Executable
Source Code
This is the class that introduced me to combining databases with the programs I have been creating in both Programming 1 and Programming 2. However, as of now, I've taken this class before the actual database class. Trying to teach myself the extreme basics of databasing without a solid foundation is interesting, but at the very least, it's teaching me to work on my feet and learn something and do something when I don't have everything available to me. It also taught me a lot of about self-research as well.
I will also say that this was a fairly difficult class. Some of the work that you see above involves MVC, which I feel was difficult due to Microsoft and the .NET environment working a lot in the background to create the webpages, without exactly telling you what is happening. The Halloween project and the Multipage project are especially standouts when thinking about the work done in the class. However, there was also a really fun chat app that we made near the end of the semester that showcased the power using network connections within your code you could create. I always keep a copy of that code not only for the novelty, but to show me how to make a basic chat app in the future as well.


Tutorial on module XML writing¶
In this tutorial we will create a module. The module in this tutorial will start the ros_rqt_graph (which is already installed in ROS), which is a nice graph of ROS nodes and topics active on your PC.
To keep your module nicely separated from the rest it is advisable to create your modules in a new folder. Let us assume that your name is Doutzen Kroes and you name your folder DoutzenMSC. If you have installed the framework in the default location then running this should do the job for you:
cd ~/catkin_ws/src/viki_modules/ && mkdir DoutzenMSC
Inside there create your very first module definition file. You have no choice for name here, it must be named viki.xml. Open it to start defining your module. This should help you:
gedit viki.xml
Write, on the first line of the file
<!-- VIKI_MODULE -->
and save the file. Congratulations, you have just defined your first module! Nevertheless you did not do a good job, yet. Try running VIKI (you should know how by now). You should see that there is something wrong with the file you have just created because the terminal tells you something like:
Skipped adding '../aeroworks/contrib/DoutzenMSC/viki.xml' because it is a broken file. Error thrown was:
Traceback (most recent call last):
File "core/aero/scan.py", line 33, in getAvailableModules
dom = xml.dom.minidom.parse(fPath)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
ExpatError: no element found: line 2, column 0
As you can see that is quite a lot of text. The framework does not crash, and other modules are still available, but you can imagine that this is undesireable.
Now open your gedit with viki.xml again, and we will create something more useful.
Add this to your module file and save:
<module type="feedback_to_user" id="rqtmodule">
</module>
To help you and others increase the re-useability of the module please add metadata to all your module files, between the module tags, in this format:
<meta>
<name>rqt module</name>
<description>Created using a tutorial, this modules starts the ros_rqt_graph</description>
<author>Doutzen Kroes</author>
</meta>
Your module is now no longer broken (confirm by running the core if you like) but it has not got any functionality either. You will need to add a reference to an executable which is a rosnode for us. Add this below your meta data, between the module tags, and save:
<executable id="graphnode" pkg="rqt_graph" exec="rqt_graph">
</executable>
For your convenience, this is how your viki.xml file should look now:
<!-- VIKI_MODULE -->
<module type="feedback_to_user" id="rqtmodule">
<meta>
<name>rqt module</name>
<description>Created using a tutorial, this modules starts the ros_rqt_graph</description>
<author>Doutzen Kroes</author>
</meta>
<executable id="graphnode" pkg="rqt_graph" exec="rqt_graph">
</executable>
</module>
Your module is now finished and runnable. Of course, these are the real basics, look at description of module attributes and tags to go more in-depth regarding writing a module file.


--- layout: post title: '@Twitter embeds itself in the web using @anywhere' date: 2010-03-17 08:10:10.000000000 +01:00 categories: - linux tags: [] status: publish type: post published: true meta: _edit_last: '1' author: ---
Sourced from BBC http://news.bbc.co.uk/2/hi/technology/8570293.stm
@anywhere, as it is known, will allow people using websites such as Amazon or the New York Times to follow new users or share media directly from the page.
It was unveiled at the South by Southwest festival in Austin, Texas.
It is similar to Facebook's Connect service that allows people to log in to other websites using their Facebook details and interact with friends.
"Imagine being able to follow a New York Times journalist directly from her byline, tweet about a video without leaving YouTube, and discover new Twitter accounts while visiting the Yahoo home page," Twitter said on its blog.
'Different approach'
The social network has not said when the service will launch, but said that it had already partnered with YouTube, Microsoft Bing and eBay amongst others.
Developers can already add Twitter functionality to their sites using a so-called API (application programming interface).
APIs are a set of tools offered by a firm to allow people outside the company to access and manipulate data held about their users.
They have become increasingly common amongst web firms to extend their reach beyond their own website.
Twitter said that @anywhere was a "different approach" that would be simpler for many sites to use.
This "open" approach to third-party developers allowed Twitter to grow at a phenomenal rate in its early days.
Recent data shows that traffic to Twitter's websites has levelled off since the middle of 2009.
However, measurements of Twitter use is very difficult as many users interact with the service through desktop software and mobile phones.


Notebooks
Story: Words and sentences: names of animals and other terms relating to daily life
Words and sentences: names of animals and other terms relating to daily life
Title
Words and sentences: names of animals and other terms relating to daily life
Collection
Summary
Words and sentences given by |han≠kass'o naming certain animals and common terms.
Comments
1) p.7839v: the 'mountain's shadow' at evening, 2) This story is found in Book VIII-21
Contributors
|han≠kass'o (Klein Jantje) (VIII)
Date
2 March 1879
Categories
Keywords
words and sentences (given by |han≠kass'o) , words and sentences (names of animals) , vocabulary (|xam) , vocabulary (given by |han≠kass'o) , vocabulary (names of animals) , names (of animals) , names (given by |han≠kass'o) , animals (names of) , animals (given by |han≠kass'o)
Story Pages
7836-7840


options.properties
Defines custom properties on the element. Each property definition is different than that normally specified to Object.defineProperty()
.
Each property accepts the following options:
attr
Whether or not to link the property to an attribute. If falsy, then the attribute is not linked. If truthy it is.
If true
, then the property name will be converted from camelCase
to dash-case
and the result will be used as the linked attribute.
If a String
, then that will be used as the linked attribute exactly as it is specified.
deps
A space-separated String
or Array
of property names that this property depends on. If any of these properties change, then this property's setter will be invoked.
Or:
You can also specify dependencies on nested components by giving the dependency a dot-separated path.
If you do this, there are a couple requirements that must be met:
my.descendant
in the above example) must be accessible from the element in which you're defining the property.dependencyProperty
in the above example) must be defined as a property on my.descendant
and notifying turned on.get
The custom getter for this property. If not specified, then the value is stored internally when the value is set and returned whenever it is retrieved. The element is passed as this
.
If you want to make a property read-only, then specify get
without set
.
notify
Whether or not to emit an event when the property is set. Defaults to true
.
If true
, then a skate.property
event is emitted:
If a String
, then the value is used as the event name that is emitted.
You may also specify any type of event spec that skate.emit()
takes. This means you can specify a space-separated String
or an Array
of event names.
The event that gets emitted contains the following information in its detail
property:
name
The property name.newValue
The new value that was just set on the property.oldValue
The previous value of the property.set
The custom setter for this property. The return value is ignored, so the logic in this method is responsible for setting the value however it needs to.
type
Responsible for coercing the value before the setter is called. The return value of this function is what is passed as newValue
into the setter.
You can use type
in conjunction with attr
to make a boolean attribute:
When the property is passed a truthy value, the attribute is added and void of a value. When passed a falsy value, the attribute is removed.
value
The initial value for the property. It will be coerced and pass through the setter when initialised.
If you specify a Function
then it will be called and the return value used as the initial value.
The element is passed as this
, however, keep in mind that property initialisation order is not guaranteed. If you need the element in order to compute the value, it's better to use get
or set
instead.
If you wanted to have a property linked to a boolean attribute and have it set on the element by default, all you'd have to do is:


| Total net profit | -22.23 | Gross profit | 21.05 | Gross loss | -43.28 |
| Profit factor | 0.49 | Expected payoff | -0.21 | ||
| Absolute drawdown | -22.23 | Maximal drawdown (%) | 21.64 (-3667.8%) | ||
| Total trades | 108 | Profit trades (% of total) | 50 (46.3%) | Loss trades (% of total) | 58 (53.7%) |
| Long positions (won %) | 56 (50.0%) | Short positions (won %) | 52 (42.31%) | ||
| Largest | profit trade | 1.16 | loss trade | -2.88 | |
| Average | profit trade | 0.42 | loss trade | -0.75 | |
| Minimum | profit trade | 0.0 | loss trade | -0.1 | |
| Maximum | take profit in pips | 1550.0 | stop loss in pips | -2900.0 | |
| Average | take profit in pips | 581.9 | stop loss in pips | -1039.3 | |
| Minimum | take profit in pips | -150.0 | stop loss in pips | -250.0 | |
| Maximum | Reward-Risk | 4.6 | Duration in minutes | 3362 | |
| Average | Reward-Risk | 0.6 | Duration in minutes | 245.3 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 0 | |
| Maximum | consecutive wins (profit in money) | 5.0 (1.51) | consecutive losses (loss in money) | 5.0 (-4.23) | |
| Average | consecutive wins | 1.0 | consecutive losses | 1.0 |
| Total net profit | -11.51 | Gross profit | 10.13 | Gross loss | -21.64 |
| Profit factor | 0.47 | Expected payoff | -0.21 | ||
| Absolute drawdown | -12.12 | Maximal drawdown (%) | 13.49 (984.67%) | ||
| Total trades | 56 | Profit trades (% of total) | 28 (50.0%) | Loss trades (% of total) | 28 (53.57%) |
| Largest | profit trade | 0.95 | loss trade | -1.12 | |
| Average | profit trade | 0.36 | loss trade | -0.77 | |
| Minimum | profit trade | 0.0 | loss trade | -0.1 | |
| Maximum | take profit in pips | 1260.0 | stop loss in pips | -2900.0 | |
| Average | take profit in pips | 482.7 | stop loss in pips | -1138.6 | |
| Minimum | take profit in pips | -150.0 | stop loss in pips | -620.0 | |
| Maximum | Reward-Risk | 1.3 | Duration in minutes | 3362.0 | |
| Average | Reward-Risk | 0.5 | Duration in minutes | 226.2 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 3.0 | |
| Maximum | consecutive wins (profit in money) | 4.0 (1.0) | consecutive losses (loss in money) | 7.0 (-5.98) | |
| Average | consecutive wins | 1.0 | consecutive losses | 1.0 |
| Total net profit | -10.72 | Gross profit | 10.92 | Gross loss | -21.64 |
| Profit factor | 0.5 | Expected payoff | -0.21 | ||
| Absolute drawdown | -10.76 | Maximal drawdown (%) | 10.17 (-1723.73%) | ||
| Total trades | 52 | Profit trades (% of total) | 22 (42.31%) | Loss trades (% of total) | 30 (57.69%) |
| Largest | profit trade | 1.16 | loss trade | -2.88 | |
| Average | profit trade | 0.5 | loss trade | -0.72 | |
| Minimum | profit trade | 0.21 | loss trade | -0.18 | |
| Maximum | take profit in pips | 1550.0 | stop loss in pips | -1680.0 | |
| Average | take profit in pips | 688.7 | stop loss in pips | -932.3 | |
| Minimum | take profit in pips | 80.0 | stop loss in pips | -250.0 | |
| Maximum | Reward-Risk | 4.6 | Duration in minutes | 1400.0 | |
| Average | Reward-Risk | 0.8 | Duration in minutes | 265.9 | |
| Minimum | Reward-Risk | Duration in minutes | 0.0 | ||
| Maximum | consecutive wins (profit in money) | 4.0 (1.97) | consecutive losses (loss in money) | 7.0 (-4.87) | |
| Average | consecutive wins | 1.0 | consecutive losses | 1.0 |


Strings
Formally, a String is a sequence of characters representing a literal constant or some type of variable. Informally, a string is programming lingo for text. We've worked with numbers, both integers and decimal numbers, to drive parameters and we can do the same with text.
Creating Strings
Strings can be used for a wide range of applications, including defining custom parameters, annotating documentation sets, and parsing through text-based data sets. The string Node is located in the Core>Input Category.
The sample Nodes above are strings. A number can be represented as a string, as can a letter, or an entire array of text.
Querying Strings
Download the example file that accompanies this exercise (Right click and "Save Link As..."): Building Blocks of Programs - Strings.dyn. A full list of example files can be found in the Appendix.
You can parse through large amounts of data quickly by querying strings. We'll talk about some basic operations which can speed up a workflow and help for software interoperability.
The image below considers a string of data coming from an external spreadsheet. The string represents the vertices of a rectangle in the XY-Plane. Let's break down some string split operations in miniature exercise:
- The ";" separator splits each vertex of the rectangle. This creates a list with 4 items for each vertex.
- By hitting the "+" in the middle of the Node, we create new separator.
- Add a "," string to the canvas and plug in to the new separator input.
- Our result is now a list of ten items. The Node first splits based on separator0, then based on separator1.
While the list of items above may look like numbers, they are still regarded as individual strings in Dynamo. In order to create points, their data type needs to be converted from a string to a Number. This is done with the String.ToNumber Node
- This Node is straightforward. Plug the String.Split results into the input. The output doesn't look different, but the data type is now a number instead of a string.
- With some basic additional operations, we now have a rectangle drawn at the origin based on the original string input.
Manipulating Strings
Since a string is a generic text object, they host a wide range of applications. Let's take a look at some of the major actions in the Core>String Category in Dynamo:
This is a method of merging two strings together in order. This takes each literal string in a list and creates one merged string.
The image above represents the concatenation of three strings:
- Add or subtract strings to the concatenation by clicking the +/- buttons in the center of the Node.
- The output gives one concatenated string, with spaces and punctuation included.
The join method is very similar to concatenate, except it has an added layer of punctuation.
If you've worked in Excel, you may have come across a CSV file. This stands for comma-separated values. One could use a comma (or in this case, two dashes) as the separator with the join Node in order to create a similar data structure:
The image above represents the joining of two strings:
- The separator input allows one to create a string which divides the joined strings.
Working with Strings
In this exercise, we're going to use methods of querying and manipulating strings to deconstruct the final stanza of Robert Frost's Stopping By Woods on a Snowy Evening. Not the most practical application, but it will help us to grasp conceptual string actions as we apply them to legible lines of rhythm and rhyme.
Let's begin with a basic string split of the stanza. We first notice that the writing is formatted based on commas. We'll use this format to separate each line into individual items.
- The base string is pasted into a string node.
- Another string node is used to denote the separator. In this case, we're using a comma.
- A String.Split Node is added to the canvas and connected to the two strings.
- The output shows that we've now separated the lines into individual elements.
Now, let's get to the good part of the poem: the last two lines. The original stanza was one item of data. We separated this data into individual items in the first step. Now we need to do a search for the text we're looking for. And while we can do this by selecting the last two items of the list, if this were an entire book, we wouldn't want to read through everything and manually isolate the elements.
- Instead of manually searching, we use a String.Contains Node to perform a search for a set of characters. This is the similar to doing the "Find" command in a word processor. In this case, we get a return of "true" or "false" if that substring is found within the item.
- In the "searchFor" input, we define a substring that we're looking for within the stanza. Let's use a string node with the text "And miles".
- The output gives us a list of falses and trues. We'll use this boolean logic to filter the elements in the next step.
- List.FilterByBoolMask is the Node we want to use to cull out the falses and trues. The "in" output return the statements with a "mask" input of "true, while the "out" output return those which are "false".
- Our output from the "in" is as expected, giving us the final two lines of the stanza.
Now, we want to drive home the repetition of the stanza by merging the two lines together. When viewing the output of the previous step, we notice that there are two items in the list:
- Using two List.GetItemAtIndex Nodes, we can isolate the items using the values of 0 and 1 as the index input.
- The output for each Node gives us, in order, the final two lines.
To merge these two items into one, we use the String.Join Node:
- After adding the String.Join Node, we notice that we need a separator.
- To create the separator, we add a string node to the canvas and type in a comma.
- The final output has merged the last two items into one.
This may seem like a lot of work to isolate the last two lines; and it's true, string operations often require some up front work. But they are scalable, and they can be applied to large datasets with relative ease. If you are working parametrically with spreadsheets and interoperability, be sure to keep string operations in mind.


|
hwlib
C++ hardware library for V1IPAS-TI
|
console interface More...
#include <hwlib-console.hpp>
Public Member Functions | |
| console (int columns, int lines) | |
| construct a console from its columns (X size) and lines (Y size) | |
| virtual void | goto_xy (int new_x, int new_y) |
| put the cursor (write location) at x, y | |
| void | putc (char c) override |
| write a single character | |
| virtual void | clear () |
| clear the console More... | |
| Public Member Functions inherited from hwlib::ostream | |
| ostream & | operator<< (char c) |
| char output operator | |
| virtual void | flush (void) |
| flush More... | |
| int | width (void) const |
| return the current field width | |
| int | width (int x) |
| set the field width, return the old field width | |
| int | base (void) const |
| return the numerical radix | |
| int | base (int x) |
| set the numerical radix, return the old numerical radix | |
Public Attributes | |
| const int | columns |
| the number of colums in the console | |
| const int | lines |
| the number of lines (rows) in the console | |
| int | x |
| the current write column; | |
| int | y |
| the current write line; | |
Protected Member Functions | |
| virtual void | putc_implementation (char c)=0 |
| the actual writing of a character More... | |
| virtual void | goto_xy_implementation (int x, int y) |
| change the write location to x, y More... | |
Additional Inherited Members | |
| Related Functions inherited from hwlib::ostream | |
| bool | showpos (void) const |
| return the current showpos setting More... | |
| bool | showpos (bool x) |
| set the showpos setting, return the old showpos setting More... | |
| bool | showbase (void) const |
| return the current showbae setting More... | |
| bool | showbase (bool x) |
| set the showbase setting, return the old showbase setting More... | |
| bool | boolalpha (void) const |
| return the current boolalpha setting More... | |
| bool | boolalpha (bool x) |
| set the noboolalpha setting, return the old noboolalpha setting More... | |
| char | fill (void) const |
| return the current fill char setting More... | |
| char | fill (char x) |
| set the fill char setting, return the old fill char setting More... | |
console interface
This class implements an interface to a character console.
A console is a rectangular windows of (ASCII) characters. A console implements the ostream interface, but it doesn't scroll: while the cursor is outside the visible character area (beyond the end of the line, or beyond the number of lines) any character writes will be ignored. Some characters are treated special:
' moves the cursor to the top-left positionThe x and y coordinates are 0-origin and count to the right and down. In other words, the top-left character position is (0,0), and the bottom right character position is (rows - 1, columns - 1).
|
inlinevirtual |
clear the console
This function clears the console and puts the cursor at (0,0). The default implementation does this by writing spaces to all locations. A concrete implementation might provide a better (faster) way.
Reimplemented in hwlib::hd44780.
|
inlineprotectedvirtual |
change the write location to x, y
This function is called when the write location is changed except when it is changed to the next x position by a call to putc_implementation.
The default implementation does nothing.
|
protectedpure virtual |
the actual writing of a character
When this function is called, the the current cursor is guaranteed to be within the console, and the character is not one of the special characters (
, , )


Basing on the Template Method pattern, the implementors of this interface
must provide the semantic actions for the terminal and non-terminal symbols
in the syntax tree. Applying a semantic action could lead to the production
of some semantic result.The semantic actions are provided as custom methods
of the implementor without needing to override any method of this interface.
Altought the methods that provide semantic actions must be annotated. Each
annotated method can be exposed with any access modifier.
Terminal tokens' semantic interpreter methods must be annotated with the
TerminalToken
annotation and must return the object biult by semantic
operations. A terminal interpreter method, can take no arguments or at most
one argument of type
SyntaxTree
. Through this single argument, the
method can access to the token string, and others token properties(see
SyntaxTree
t get more information about). The method can return
anything that represents the token semantic result, or void.
A non-terminal token semantic interpreter method must be annotated with the
NonTerminalToken
annotation. The method can take many arguments as it
needs and corresponding to the types of the tokens in the production of the
rule which is annotated with. The method can return anything that represents
the token semantic result, or void.


Metro Atlanta First Tee
Technologist for PGA Golf Tour Visits
Atlanta, GA
Sky's The Limit
Mentor for Underprivileged Startup Founders
Atlanta, GA
Hour of Code
Coding Instructor for Downtown Chattanooga Library
Chattanooga, TN


{% extends "layout.html" %} {% block title %}{{title}}{% endblock %} {% block content %}
The search string was:
and the final destination directory was: {{final_dest}}.
{% if error_message %}An error occurred:
A task was initiated to copy {{n_instances}} file instances totaling {{n_bytes|filesizeformat}} of data. You can tell that the copy is finished when the file STAGING-IN-PROGRESS in that directory is replaced with one named either STAGING-SUCCESS or STAGING-ERRORS depending on if anything went wrong.
{% endif %} {% endblock %}


Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
We made it Check the first post ever created !!
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
Total Responses
50
Positive
35
Negative
15
We made it Check the first post ever created !!
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
Total Responses
50
Positive
35
Negative
15
We made it Check the first post ever created !!
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
Total Responses
50
Positive
35
Negative
15
We made it Check the first post ever created !!
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
We made it Check the first post ever created !!
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.
Material is an adaptable system of guidelines, components,
and tools that support the best practices of user interface design.
Backed by open-source code, Material streamlines collaboration between
designers and developers, and helps teams quickly build beautiful products.


Voicemail Box Actor ID
Greetings
Action
Last Message Sent:
Last Message Deleted:
Last All Messages Deleted:
Last Greeting Message Updated:
Voicemail Inbox Messages


|
muSE
r716
|
Go to the source code of this file.
Copyright (c) 2006 Jointly owned by Srikumar K. S. and muvee Technologies Pte. Ltd.
All rights reserved. See LICENSE.txt distributed with this source code or http://muvee-symbolic-expressions.googlecode.com/svn/trunk/LICENSE.txt for terms and conditions under which this software is provided to you.


This is a total revamp of original jquery.appear plugin hosted on http://code.google.com/p/jquery-appear/
Check demo page!
This plugin can be used to prevent unnecessary processeing for content that is hidden or is outside of the browser viewport.
It implements a custom appear/disappear events which are fired when an element became visible/invisible in the browser viewport.
$('someselector').appear(); // It supports optinal hash with "force_process" and "interval" keys. Check source code for details.
$('
test
').appear(); // It also supports raw DOM nodes wrapped in jQuery.
$('someselector').on('appear', function(event, $all_appeared_elements) {
// this element is now inside browser viewport
});
$('someselector').on('disappear', function(event, $all_disappeared_elements) {
// this element is now outside browser viewport
});
If you want to fire appear event for elements which are close to vieport but are not visible yet, you may add data attributes appear-top-offset and appear-left-offset to DOM nodes.

...
 # appear will be fired when an element is below browser viewport for 600 or less pixels
Appear check can be forced by calling $.force_appear(). This is suitable in cases when page is in initial state (not scrolled and not resized) and when you want manually trigger appearance check.
Also this plugin provides custom jQuery filter for manual checking element appearance.
$('someselector').is(':appeared')
Licensed under MIT license.
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.


|
iDreamSky Game Engine
v1.0.0
|
#include <Shape3.h>
公開型態 | |
| enum | Type { BOX = 0, SPHERE = 1, CAPSULE = 2, CYLINDER = 3, CONE = 4, CONVEXHULL = 5, COMPOSITE = 6, CONCAVETRIANGLEMESH = 7, HEIGHT_FIELD = 8, BVH_TRIANGLE_MESH_INSTANCE = 9, BVH_TRIANGLE_MESH = 10, NUM_TYPES } |
公開方法(Public Methods) | |
| Shape3 (Shape3::Type type_) | |
| Shape3 Constructor. 更多... | |
| virtual | ~Shape3 () |
| Shape3 Destructor. 更多... | |
| Shape3::Type | getType () const |
| Get the type of the Shape. 更多... | |
| virtual const Shape3 * | getChild (int i) const |
| Get a constant pointer to a child shape of this shape. 更多... | |
| virtual Shape3 * | getChild (int i) |
| Get a pointer to a child shape of this shape. 更多... | |
| virtual int | getNumChildren () const |
| Get the Number of Child Shapes of this Shape;. 更多... | |
| const AABB3 & | getBoundingBox () const |
| Get the Bounding Box of this Shape;. 更多... | |
| float | getVolume () const |
| Get the Volume of this Shape;. 更多... | |
| virtual void | getMassProp (float density, float &mass, Vector3 &localInertia) const =0 |
| To calculate the mass and moment of inertia according to the shape and density. 更多... | |
| void * | getHandle () const |
保護屬性 | |
| AABB3 | boundingBox |
| float | volume |
| void * | handle |
This is the base class for all Shapes.
| Shape3::Shape3 | ( | Shape3::Type | type_ | ) |
| const AABB3 & Shape3::getBoundingBox | ( | ) | const |
Get the Bounding Box of this Shape;.
|
virtual |
Get a constant pointer to a child shape of this shape.
| i,the | index to the child shape |
|
virtual |
Get a pointer to a child shape of this shape.
| i,the | index to the child shape |
|
pure virtual |
To calculate the mass and moment of inertia according to the shape and density.
Being a pure virtual member, all subclass should implement this function.
| density,the | density of the shape |
| mass,the | result of the mass of the shape is returned here |
| localInertia,the | result of the moment of inertia of the shape is returned here |
實作於 IDreamSky::BVHTriangleMeshShape3, IDreamSky::HeightFieldShape3, IDreamSky::CapsuleShape3, IDreamSky::ConeShape3, IDreamSky::CylinderShape3, IDreamSky::BoxShape3, 及 IDreamSky::SphereShape3.
|
virtual |
Get the Number of Child Shapes of this Shape;.
| Shape3::Type Shape3::getType | ( | ) | const |
Get the type of the Shape.
| float Shape3::getVolume | ( | ) | const |
Get the Volume of this Shape;.


{0}/{1} users voted for Yes
Donate to this Ethereum address to make these apps possible: {0}
This Application needs MetaMask installed and connected with the network where Vote.sol
runs!
To Vote, you need ether on your MetaMask account!
© Sharkbyteprojects


This package contains classes that supply content handlers to a SAX parser that will read GEF diagrams in XML format (PGML files) and create the correspondig GEF diagram objects.
The classes in this model implement two distinct approaches to organizing the content handlers: a state machine and a stack-based approach.
The PGMLParser class parses PGML files with a single ContentHandler that is based on a state machine; the current state determines how each SAX event will be handled.
The remaining classes and interfaces in the package implement a parser for PGML files that is based on a stack of ContentHandler objects. Everytime the SAX parser encounters the start of an element, a new ContentHandler object is pushed on the stack and the SAX parser sends further events to that ContentHandler. When the parser detects the end of an element, the current ContentHandler is popped off the stack and the SAX parser sends further events to the underlying handler. The number of ContentHandler objects on the stack always reflects the nesting depth of elements at the SAX parser's current position in the document. This represents a more rigidly structured way of representing the parser state than the state machine used by PGMLParser, and is supposed to provide a more robust foundation on which to implement specialized diagram-reading behaviour in clients of the package.
{@link PGMLStackParser PGMLStackParser} is designed to be a drop-in replacement for {@link PGMLParser PGMLParser} for clients that wish to move to the new parsing model. Its implementation of the {@link HandlerFactory HandlerFactory} interface contains the logic for producing the appropriate content handler for each element that might appear in the PGML file. Clients can customize parsing behavior by sub-classing PGMLStackParser; in addition, any client-provided implementation of ContentHandler can assume full control over how sub-elements of that element are parsed.


The zoo is available as a GitHub project. Here are detailed installation instructions.
Prerequisites
To compile the code you will need:
- GNU Make, which you probably have already
- OCaml programming language, version 4 or later,
- menhir parser generator.
A good way to get started with OCaml is to use the OCaml pagackage manager OPAM, through which menhir is available. Both OCaml and OPAM are available through package managers on Linux and OS X, see instruction on the OPAM web site.
Recommended: ledit
or rlwrap
It is recommended that you install ledit or rlwrap command-line editing wrappers. Check your package manager, it probably knows about them. They will be detected and automatically used by the toplevel interactive loop.
Learning OCaml
The languages are implemented in OCaml. If you are not familiar with OCaml, we highly recommend that you look at the excellent resources for learning OCaml.
Obtaining the source code
Get the source from GitHub:
git clone git@github.com:andrejbauer/plzoo.git
or via the HTTP protocol
git clone https://github.com/andrejbauer/plzoo.git
If you do not use GitHub (why not?!) you can directly download a ZIP archive.
Compilation
To compile all the languages run:
make all
You can also compile a single language with
make lang
where typing just make
will show you the available languages. The compilation procedure
will create native code executables. To generate bytecode use the BUILD=byte
option:
make BUILD=byte ...
There is make clean
if you want to clean up.


Transitions
If you have 2 DIVs with absolute positioning, you can transition them nicely.
This this first div. It just has some text as example. This box does not have any other elements then some text.
This this first div. It just has some text as example. This box does not have any other elements then some text.
This this first div. It just has some text as example. This box does not have any other elements then some text.
This this first div. It just has some text as example. This box does not have any other elements then some text.


About The Group
Girl's Day members: Minah, Sojin, Hyeri, and Yura.
A time line of Girl's Day Debut:
- In July 2010, Girl's Day debuted with five members: Jihae, Jisun, Jiin, Sojin, and Minah.
- Girl's Day first song, "Tilt My Head" ("갸우뚱"), was released July 7.
- Girl's Day's third EP, Everyday 2, was released on April 17, 2012.
- A source from Dream Tea Entertainment said, “Their comeback has been confirmed for late March 2017.
Want more interesting details about Girl's Day? Read more about this widely popular group on their Wikipedia entry


|
ReactPhysics3D
0.6.0
Physics engine library
|
This class represents a bounding volume of type "Axis Aligned Bounding Box". More...
#include <AABB.h>
Public Member Functions | |
| AABB () | |
| Constructor. | |
| AABB (const Vector3 &minCoordinates, const Vector3 &maxCoordinates) | |
| Constructor. | |
| AABB (const AABB &aabb) | |
| Copy-constructor. | |
| ~AABB () | |
| Destructor. | |
| Vector3 | getCenter () const |
| Return the center point. | |
| const Vector3 & | getMin () const |
| Return the minimum coordinates of the AABB. | |
| void | setMin (const Vector3 &min) |
| Set the minimum coordinates of the AABB. | |
| const Vector3 & | getMax () const |
| Return the maximum coordinates of the AABB. | |
| void | setMax (const Vector3 &max) |
| Set the maximum coordinates of the AABB. | |
| Vector3 | getExtent () const |
| Return the size of the AABB in the three dimension x, y and z. | |
| void | inflate (decimal dx, decimal dy, decimal dz) |
| Inflate each side of the AABB by a given size. | |
| bool | testCollision (const AABB &aabb) const |
| Return true if the current AABB is overlapping with the AABB in argument. More... | |
| decimal | getVolume () const |
| Return the volume of the AABB. | |
| void | mergeWithAABB (const AABB &aabb) |
| Merge the AABB in parameter with the current one. | |
| void | mergeTwoAABBs (const AABB &aabb1, const AABB &aabb2) |
| Replace the current AABB with a new AABB that is the union of two AABBs in parameters. | |
| bool | contains (const AABB &aabb) const |
| Return true if the current AABB contains the AABB given in parameter. | |
| bool | contains (const Vector3 &point) const |
| Return true if a point is inside the AABB. | |
| bool | testCollisionTriangleAABB (const Vector3 *trianglePoints) const |
| Return true if the AABB of a triangle intersects the AABB. | |
| bool | testRayIntersect (const Ray &ray) const |
| Return true if the ray intersects the AABB. More... | |
| AABB & | operator= (const AABB &aabb) |
| Assignment operator. | |
Static Public Member Functions | |
| static AABB | createAABBForTriangle (const Vector3 *trianglePoints) |
| Create and return an AABB for a triangle. | |
Friends | |
| class | DynamicAABBTree |
This class represents a bounding volume of type "Axis Aligned Bounding Box".
It's a box where all the edges are always aligned with the world coordinate system. The AABB is defined by the minimum and maximum world coordinates of the three axis.
|
inline |
| bool AABB::testRayIntersect | ( | const Ray & | ray | ) | const |