class: center, middle # Move on to Python 3 .footnote[Toby Qin] .footnote[Powered by [remarkjs](http://github.com/gnab/remark)] --- # Agenda 1. What's new in python 3 2. Why move on to python 3 3. Python 3 porting strategies 4. How to move on to python 3 5. References and QA --- # What is really NEW in python 3? 1. string is unicode! 2. string is unicode!! 3. string is unicode!!! -- **Well, I am just care on this part :-)** -- **Actually, it is more.** **Of course, benefits larger than hurts.** --- # Syntax changed example - In Python 2.x ```python print 'hello' exec "a=5" raise NameError, 'bad name' except ValueError, e ``` -- - In Python 3.x ```python print('hello') exec('a=5') raise NameError('bad name') except ValueError as e ``` --- # API changed - name - In Python 2.x ```python for i in xrange(5): print i value = raw_input('Please enter your name: ') ``` -- - In Python 3.x ```python for i in range(5): print(i) value = input('Please enter your name: ') ``` --- # API changed - return type - Return `generator` instead of `list` 1. `range()` 2. `zip()` 3. `map()` 4. `filter()` - Return `view` instead of `list` 1. `dict.keys()` 2. `dict.items()` 3. `dict.values()` - Return real number instead of integer 1. integer division (e.g. `1/5 => 0.2`) --- # House keeping changes - `<>` removed, use `!=` - Different type comparison will raise `TypeError` but not `False` - `%` string formatting deprecated, recommend `.format()` - The `super()` method do not need any argument - `next(i)` but not `i.next()` - Standard library cleanup - unify integer type, no `long` type anymore - refine [exception types](https://docs.python.org/3.3/library/exceptions.html#exception-hierarchy) - more ... --- # Standard library fixed | Notes | Python 2 | Python 3 | | ----- | ---------------------------------------- | --------------------- | | ① | import httplib | import http.client | | ② | import Cookie | import http.cookies | | ③ | import cookielib | import http.cookiejar | | ④ | import BaseHTTPServerimport SimpleHTTPServerimport CGIHttpServer | import http.server | --- # Standard library fixed cond. | Notes | Python 2 | Python 3 | | ----- | ---------------------------------------- | ---------------------------------------- | | ① | import urllib | import urllib.request, urllib.parse, urllib.error | | ② | import urllib2 | import urllib.request, urllib.error | | ③ | import urlparse | import urllib.parse | | ④ | import robotparser | import urllib.robotparser | | ⑤ | from urllib import FancyURLopener | from urllib.request import FancyURLopener | --- class: center, middle # New Features in Python 3! --- layout: true ## Feature 1: Advanced unpacking --- - You can already do this: ```python >>> a, b = range(2) >>> a 0 >>> b 1 ``` -- - Now you can do this: ```python >>> a, b, *rest = range(10) >>> a 0 >>> b 1 >>> rest [2, 3, 4, 5, 6, 7, 8, 9] ``` --- - `*rest` can go anywhere: ```python >>> a, *rest, b = range(10) >>> a 0 >>> rest [1, 2, 3, 4, 5, 6, 7, 8] ``` ```python >>> *rest, b = range(10) >>> rest [0, 1, 2, 3, 4, 5, 6, 7, 8] >>> b 9 ``` --- - Get the first and last lines of a file ```python >>> with open("a_file") as f: ... first, *_, last = f.readlines() >>> first 'Step 1: Use Python 3\n' >>> last 'Step 10: Profit!\n' ``` --- layout: true ## Feature 2: Keyword only arguments --- ### keyword only arguments in python 2? ```python def f(a, b, *args, option=True): ... ``` -- - `option` comes *after* `*args`. - The only way to access it is to explicitly call `f(a, b, option=True)` -- ### You can simplify it in Python 3 ```python def f(a, b, *, option=True): ... ``` - Just write a `*` before keyword only arguments - you don't have to collect `*args`. --- layout: false ## Example - Keyword only arguments - "Oh, I accidentally passed too many arguments to the function, and one of them was swallowed by a keyword argument". ```python def sum(a, b, clear=False): if clear: shutil.rmtree('/') else: return a + b ``` ```python >>> sum(1, 2) 3 ``` -- ```python >>> sum(1, 2, 3) ``` -- YOU ARE FIRED!!! --- ## Example - Keyword only arguments - In Python 3, you can do it like this: ```python def sum(a, b, *, clear=False): if clear: shutil.rmtree('/') else: return a + b ``` ```python >>> sum(1, 2, 3) Traceback (most recent call last): File "
", line 1, in
TypeError: sum() takes 2 positional arguments but 3 were given ``` -- The `*` will save you a life. --- layout: true ## Feature 3: Chained exceptions --- - **Situation:** you catch an exception with `except`, do something, and then raise a different exception. ```python def mycopy(source, dest): try: shutil.copy2(source, dest) except OSError: # We don't have permissions. More on this later raise NotImplementedError("handle permissions") ``` - **Problem:** You lose the original traceback ```python >>> mycopy('here', 'there') Traceback (most recent call last): File "
", line 1, in
File "
", line 5, in mycopy NotImplementedError: handle permissions ``` -- - What happened with the `OSError`? --- - Python 3 shows you the whole chain of exceptions: ```python mycopy('here', 'there') Traceback (most recent call last): File "
", line 3, in mycopy File "/Users/xxx/lib/python3.3/shutil.py", line 243, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/Users/xxx//lib/python3.3/shutil.py", line 109, in copyfile with open(src, 'rb') as fsrc: PermissionError: [Errno 13] Permission denied: 'there' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "
", line 1, in
File "
", line 5, in mycopy NotImplementedError: handle permissions ``` --- - Python 3 shows you the whole chain of exceptions: ```python mycopy('here', 'there') Traceback (most recent call last): File "
", line 3, in mycopy File "/Users/xxx/lib/python3.3/shutil.py", line 243, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/Users/xxx//lib/python3.3/shutil.py", line 109, in copyfile with open(src, 'rb') as fsrc: PermissionError: [Errno 13] Permission denied: 'there' *During handling of the above exception, another exception occurred: Traceback (most recent call last): File "
", line 1, in
File "
", line 5, in mycopy NotImplementedError: handle permissions ``` --- layout: false ## More Features ### 1. `enum` - Finally, an enumerated type in the standard library. ```python >>> from enum import Enum >>> class Color(Enum): ... red = 1 ... green = 2 ... blue = 3 ... ``` --- ### 2. Function annotations ```python def f(a: stuff, b: stuff = 2) -> result: ... ``` - Annotations can be arbitrary Python objects. - Python doesn't do anything with the annotations other than put them in an `__annotations__` dictionary. ```python >>> def f(x: int) -> float: ... pass ... >>> f.__annotations__ {'return':
, 'x':
} ``` - But it leaves open the possibility for library authors to do fun things. --- ### 3. pathlib - In Python 2, path handling is verbose ```py import os directory = "/etc" filepath = os.path.join(directory, "test_file.txt") if os.path.exists(filepath): stuff ``` - In Python 3, it is much more simpler ```py from pathlib import Path directory = Path("/etc") filepath = directory / "test_file.txt" if filepath.exists(): stuff ``` --- class: center, middle # Why move on to python 3? --- ## A lot of good reasons - python 2.7 is near [EOL](https://pythonclock.org/) - unicode is everywhere - python 3 is the major python version - python 2.7 only received bug fixing - new featurs and clean code - growing packages and communities - ... --- ## When should we move to Python 3 - It is the right time Now - Mature and stable currently (Python 3.0 since 2008/12) - New packages and books are all on Python 3 --- class: center, middle # Python 3 Porting strategies --- ## Python 2 and Python 3 live in one House ```python # code snippet from selenium try: import http.client as http_client except ImportError: import httplib as http_client try: basestring except NameError: # Python 3.x basestring = str # a lot of such try/except you have to add ``` --- ## Python 2 and Python 3 in different branches ```python # python 2 in origin/archive branch print 'hello' value = raw_input('Please enter your name') ``` ```python # python 3 in origin/develop branch print('hello') value = input('Please enter your name') ``` ``` project -------- origin/develop (Python3) |------- origin/archive (Python2) |------- origin/feature1 |------- origin/bugfix |------- ... ``` --- class: center, middle # Steps to move to python 3 --- ## Generally to say 1. Analyze your project and dependencies 2. [2to3 utility](https://docs.python.org/2/library/2to3.html) will help you do the dirty work 3. unit test coverage to protect yourself 4. functional test and system test --- class: center, middle # Demo - PyCharm code inspection --- class: center, middle # Demo - 2to3 utility --- ## 2to3 script example - On Windows ```bat cd \path\to\my\project set 2to3=C:\Python27\Tools\Scripts\2to3.py python %2to3% -w -n . ``` - On MacOS / Linux ```shell cd /path/to/my/project 2to3 -w -n . ``` - **Options** ``` -h, --help show help message and exit -w, --write Write back modified files -n, --nobackups Don't write backups for modified files ... ``` --- class: center, middle # Demo - Mutiple python versions on same machine --- ## Tips - Tools you should know - pyenv (Mac/Linux) - pylauncher (Windows) - virtualenv --- class: center, middle ## QA + References --- #### Video References - [Moving from py2 to py3][1] - [Python 3.3: Trust Me, It's Better than 2.7][2] - [Why Python 3? Python 2 vs Python 3][3] - [Python 3 vs Python 2 : What to choose and some basic differences][4] - [By Your Bootstraps: Porting Your Application to Python3 - PyCon 2014][5] #### Article References - [What's new in python 3.0][6] - [key differences between py2.7.x and py3.x with examples][7] - [should I use python 2 or python 3 for my development activity?][8] - [10 awesome features of python 3][9] - [Python 3 porting guide][10] - [porting python 2 code to python 3][11] - [Automated Python 2 to 3 code translation][12] - [Python3.x基础学习资料整理][13] [1]: https://www.youtube.com/watch?v=ujXm3ndP1L4 [2]: https://www.youtube.com/watch?v=f_6vDi7ywuA [3]: https://www.youtube.com/watch?v=oVp1vrfL_w4 [4]: https://www.youtube.com/watch?v=_l46dYm9ErY [5]: https://www.youtube.com/watch?v=nx0sXSeJbmI [6]: https://docs.python.org/3.0/whatsnew/3.0.html [7]: http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html [8]: https://wiki.python.org/moin/Python2orPython3 [9]: http://www.asmeurer.com/python3-presentation/python3-presentation.pdf [10]: http://python3porting.com/intro.html [11]: https://docs.python.org/3/howto/pyporting.html [12]: https://docs.python.org/3.0/library/2to3.html [13]: https://zhuanlan.zhihu.com/p/24249743


AWS::EC2::TransitGatewayAttachment
Creates an attachment between a VPC and a transit gateway. For more information, see Amazon VPC Transit Gateways.
Topics
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::EC2::TransitGatewayAttachment", "Properties" : { "SubnetIds" : [
String
, ... ], "Tags" : [ Tag, ... ], "TransitGatewayId" :String
, "VpcId" :String
} }
YAML
Type: "AWS::EC2::TransitGatewayAttachment" Properties: SubnetIds: -
String
Tags: - Tag TransitGatewayId:String
VpcId:String
Properties
SubnetIds
-
The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
Required: Yes
Type: List of String values
Update requires: Replacement
Tags
-
The tags to apply to the VPC attachment.
Required: No
Type: List of Resource Tag property types
Update requires: Replacement
TransitGatewayId
-
The ID of the transit gateway.
Required: Yes
Type: String
Update requires: Replacement
VpcId
-
The ID of the VPC.
Required: Yes
Type: String
Update requires: Replacement
Return Values
Ref
When you pass the logical ID of an AWS::EC2::TransitGatewayAttachment
resource to the intrinsic
Ref
function, the function returns the ID of the attachment, such as tgw-attach-vpc-0d39e0d39e0d39e
.
For more information about using the Ref
function, see
Ref.
See Also
-
CreateTransitGatewayVpcAttachment in the Amazon EC2 API Reference
-
ModifyTransitGatewayVpcAttachment in the Amazon EC2 API Reference


In my thesis project I investigated the effect of putting a dancer in control of music playback tempo based on real-time estimation of body rhythm and tempo manipulation of audio.
A prototype was developed, tested in collaboration with users, followed by a main study where the final prototype was tested. The final thesis was selected to demo present at the 16th SMC (Sound and Music Computing) Conference 2019 Demo Sessions in Málaga, Spain. To find out more, a full thesis is provided here.


Home
Integrals (Arbitrary constants are omitted; denotes a positive constant.)
Close
Question 0801
MF26
(a) Find the exact value of
Part (a) of this question is worth 3 marks.
Answer (a)
Key in your answer
Answer to (a):
Find the exact value of
Instructions: choose how your simplified answer look like and key in the exact values below. For fractions like , key in .
Submit answer
Go to question
These are your submitted answers:
(a) .
Click "OK" to confirm these answers and move on to question part (b), or "Cancel" to change some of your answers.
Warning
You leaving this question to return to the home page.
No progress will be saved.
A new question will be generated the next time to access this page.


Programming GuidelinesA work-in-progress |
Last Modified: 24 August 2004 |
The purpose of refactoring is to improve the maintainability of a program, without making any functional changes to it. So, the program should behave exactly the same before the refactoring as after.
initialise()
method).addObject()
or putObject()
methods that control the type of objects added to the collection. This gives
you some nice type-safety, and also often turns into a good place to put
convenience/helper methods that act on the objects in the collection.
See EncapsulatedCollection (Martin Fowler knows what he's talking about!).
Implement/override the
getLastModified()
method in servlets whenever possible.
This is particularly simple for pages whose last-modified date is
dependent on just one (or a few) files, because you can just return the
date of the file.
The advantage of doing this is that the browser will use it's cached page if it hasn't been modified since it was cached.
Set the HTTP Expires or Cache-Control, max-age header. For static files or pages which don't change, for example, css and images.
This is easy to do on the website. You just have to configure Apache to serve your static files, and then you can set an Expires value for those files. It's generally best not to set it to more than 24 hours.
By setting the Expires/max-age headers, you are telling the browser that it can cache and re-use the page for that length of time, without making any further requests to the server. This can noticeably improve the speed of page-loading.
To help understand/find what http-headers are being sent back and
forth between browser and server, try installing this plugin for mozilla.
Alternatively, use curl --include <URL>
or curl
--head <URL>
from linux command-line.
Don't hold state in the Session object. Only use this as a method of holding/caching objects to improve performance. An effective way of approaching this is to write all your view-code with the assumption that the user has requested this page by opening a new browser, and typing in the URL.
An implication of this, is that state (or more likely - pointers/referemces/keys to state) should be embedded in the URL's/links you generate. You can do this using parameters, http://images.google.com/images?q=pug, or by building it into the path-hierarchy of the URL, http://del.icio.us/mjsmithlondon/rest
Authentication/Login is a pragmatic exception to this. You shouldn't put passwords or maybe even usernames in the URL for security reasons. The alternative of using HTTP-Authentication works, but the UI that web-browsers use for it is crap.
A general rule for when to use GET vs POST - Use POST when the request will modify/add/delete something, otherwise use GET.
Remember that a HTML FORM can be used for GET as well as POST.
See this article for info on opening new windows using js, while still having a link with the real href.
HttpServletResponse.setContentType("text/html; charset=UTF-8")
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">NB. This is one of the few times I would recommend using the META HTTP-EQUIV tag.
HttpServletRequest.setCharacterEncoding("UTF-8")
This tells the servlet-container (tomcat) to assume that all
parameters and headers in the request are encoded as UTF-8. Without
telling the container this, it will/should check if any
character-encoding was set by the browser (none of the browsers seem
to bother) and if not, then assume ISO-8859-1 (Latin1).
Beware: Tomcat has a bug/feature that setCharacterEncoding() must be called before any client code accesses the request-parameters/headers. (ie once an access has been made to a parameter, tomcat parses all of the parameters using the current character-encoding, and caches them. Therefore, setting the encoding after this will have no effect.). Therefore, recommend setting this at the beginning of your Gateway-type class's service() method.
Even though it is valid XML to close tags like

, it messes up most browsers, so you must put a
space before the end of the tag -

.
I have encountered problems using even this method sometimes (I think css related).
Beware when including styles or scripts in the HEAD
element. Because there could be illegal characters in them (eg. <,
>, &). According to the spec , you need to wrap
them in CDATA
tags.
But in reality, you also need to comment out the CDATA tags using
//
for styles, and /* */
for scripts. More
detailed discussions; here and here.
You can avoid these issues by always having your scripts and styles in external files.
This is wrong according to the HTML spec, and also strangely enough, it worked correctly in IE5 !
Some References; A Usenet discussion of this , Explanation of INPUT and BUTTON behaviourThis is mainly a problem when you want to have one form with multiple submit buttons. This bug means that you can't use the same name for each submit button, then decide what action to take server-side based on the value.
Solution: Give each submit button a different name, but prefixed by the name you really wanted to use. Then base you server-side action purely on whether a particular button's name is in the parameter list.
NB. IE6 also seems to submit the name/text pairs of all the submit buttons, rather than just the one that was clicked. Therefore recommend not using BUTTON at all. (Note that the main reason for using BUTTON was that you can set the display-text to be different to the value.)
script
tag in the
head
without a closing tag !iframe
are not displayed in IE6


Resize the browser to see the result.
this div has width 600px
Resize the browser to see the result.
.
this div has max-width 600px
Resize the browser to see the result.


Liviu Zachin
Home
About
Contact
Hi, thanks for visiting my page.
I've just created this page with GitHub Pages and Bootstrap 4.
what's next?
© 2016 @ Liviu Zachin


|
String Stream Operators
Syntax:
#include <sstream> operator<< operator>> Like C++ I/O Streams, the simplest way to use string streams is to take advantage of the overloaded << and >> operators. The << operator inserts data into the stream. For example: stream1 << "hello" << i; This example inserts the string "hello" and the variable i into stream1. In contrast, the >> operator extracts data out of a string stream: stream1 >> i; This code reads a value from stream1 and assigns the variable i that value. |


{% include data-policy-summary.html %}
{% include button.html url="https://docs.google.com/forms/d/e/1FAIpQLSeiw6ajmkezLCwbXc3OFQEU3Ai9hGnBd967u9YbQ8ANPgvatA/viewform" text="Data Quota Request" %} {% include button.html url="https://galaxy-au-training.github.io/tutorials/modules/galaxy-data/" text="Data Download and Deletion Instructions" %} {% include button.html url="/galaxy/data-policy.html" text="Full Data Policy" %}


Welcome to Secret Family Recipes (the "SFR site"). Secret Family Recipes and/or its affiliates ("SFR") provides the SFR Site to you subject to the following terms of use ("Site Terms"). By visiting SFR, you accept the Site Terms. Please read them carefully. In addition, when you use any current or future SFR services, content or other materials, you also will be subject to the SFR Customer Agreement or other agreement governing your use of our services (the "Agreement").


--- layout: articles bodyClass: articles title: Articles h1: Brandon writes articles. ---
I write articles about the web industry, mental health, and social justice issues, including both professional articles and self-published ones.


Chandrayaan 2 orbit animation generated using
NASA JPL
HORIZONS Ephemerides.
Works best in desktop screens right now.
| Relative to Earth |
| Vehicle |
|
| Distance (km): |
|
| Altitude (km): |
|
| Velocity (km/s): |
|
| Relative to Moon |
| Vehicle |
|
| Distance (km): |
|
| Altitude (km): |
|
| Velocity (km/s): |
|


3 references to GetRunspace
System.Management.Automation (3)
engine\remoting\client\Job.cs (3)
3301
RemoteRunspace runspace = pipeline.
GetRunspace
() as RemoteRunspace;
3425
string computerName = ((RemoteRunspace)pipeline.
GetRunspace
()).ConnectionInfo.ComputerName;
3426
Guid runspaceId = pipeline.
GetRunspace
().InstanceId;


font
A shorthand property:
font-style
font-weight
font-variant
font-size
line-height
font-family
font-size
Values: any number with a unit
15px
200%
1.2em
1.5rem
14vw
line-height
Values: any number, including unitless
1.6
20px
200%
1.2em
1.5rem
18vw
font-style
Values: keywords
normal
italic
oblique
oblique 15deg
font-weight
Values: keywords, numbers
normal
bold
, boldest
, boldest
light
, lightest
, lightest
100
- 900
font-family
Values: comma-separate list of font-names
sans-serif
Georgia, serif
Lobster, fantasy
-apple-system, sans-serif
font-family
But where do custom fonts come from?
📌
font-variant
Enables OpenType features
Values: keywords… lots of keywords
Also a shorthand
font-variant
Enables OpenType features
Values: keywords… lots of keywords
Also a shorthand
font-feature-settings
Enables OpenType features
Values: keywords… lots of keywords
text-decoration
line
, style
, color
text-transform
capitalize
, uppercase
, lowercase
, full-width
text-align
left
, right
, start
, end
, center
, justify
, etc
text-shadow
Value: x-offset, y-offset, blur-radius, color
text-indent
Value: any number with a unit
letter-spacing
Value: any number with a unit (except %)
word-spacing
Value: any number with a unit (except %)
white-space
nowrap
, pre
, pre-wrap
, pre-line
text-overflow
clip
, ellipsis
, [string]*
* poor support
hyphens
overflow-wrap
word-break
Various price points & subscriptions
Add a stylesheet link
or JS script
tag to your site
Managed in your asset pipeline & served from your domain (or CDN)
@font-face {
font-family: "My Cool Font";
src: url("path/to/file.woff") format("woff");
font-weight: 400;
font-style: normal;
}
.cool-font {
font-family: My Cool Font, sans-serif;
}
Screen-width is unpredictable.
Orientation is unpredictable.
Fallback fonts are unpredictable.
User zoom is unpredictable.
Readable font-size
: avoid pixels
Readable line-length: 45-75 characters
Readable line-height
: proportional to line-length
Pick a reasonable scale & multiply
Narrower screens? Smaller modular scale.
Wider screens? Larger modular scale.
Consistent vertical spacing between elements
Bonus: every element’s line-height
matches the rhythm
Double bonus: shift every element to baseline alignment
Have inline images? You’ll never have vertical rhythm.
¯\_(ツ)_/¯
More important things should be more visually interesting.
Don’t add more visual variety if an element is already distinct.
Think of all users; don’t rely on weak differences (e.g., color only).
p {
font: 1em/1.4;
color: #333;
}
h2 {
font: 1.44em/1 bold;
color: #112;
/* Probably don't add all this: */
font-style: italic;
font-variant: small-caps;
text-decoration: underline dashed orange;
}
Caution! Don’t rely on client-side JS to handle typography in real life!
jdsteinbach


| walkAST {globals} | R Documentation |
Walk the Abstract Syntax Tree (AST) of an R Expression
walkAST( expr, atomic = NULL, name = NULL, call = NULL, pairlist = NULL, substitute = FALSE )
expr |
R expression. |
atomic, name, call, pairlist |
single-argument function that takes an atomic, name, call and pairlist expression, respectively. Have to return a valid R expression. |
name |
single-argument function that takes a name expression. |
call |
single-argument function that takes a call expression. |
pairlist |
single-argument function that takes a pairlist expression. |
substitute |
If TRUE, |
R expression.


Titaniumifier
Roaming in the cross-lands
Pier Paolo Ramon
Senior front-end engineer at SMC
Titaniumifyarr!
Sailing in the cross-seas!
Capt'n Pier Paolo Ramon
Old front-end enginyerr at SMC
## Pirates!?
- don’t get me started on the Flying **Dutch**man and his capt’n Bernard **Fokke**
- Brendan Eich (a.k.a. `Visual Basic-in-the-browser` slayer) **loves** pirates
- who uses JavaScript **is** a pirate (not a ninja!)
## Pirates!
1. They plundered every land or ship they encountered
2. They had small, fast ships
3. They used eyepatches
JavaScripters!
1. We managed to get to:
- the browser
- mobile apps
- desktop apps
- scripting
- CLI tools
- server-side
- on the database
- on hardware
- on robots…
JavaScripters!
2. We have small, fast modules!
JavaScripters
3. well…
(that’s Brendan Eich)
Now that I’ve burnt 1 minute and half of my lightning talk…
## Disambiguation
(but don’t take my word for granted)
- a **Titanium module** is a `.zip` file
- a **CommonJS module** is just a `.js` file that follows the spec (`module.exports`, `require()`…)
- a **CommonJS package** is a directory which has a `package.json`
- Node.js uses both the CommonJS spec, and add its own peculiarity
## Situation
- we have `gittio` to manage Titanium modules (thanks Fokke!) and that’s ok for native ones
- there’s no way to define dependencies (as in “module A requires module B”)
- we can build native modules and CommonJS modules
## Titanium CommonJS modules
as `zip` modules, installable through Studio
- no documentation
- no build tool (no `ant`, `*.py`s or something)
- you **can** `require` other modules, but no `dependencies`
- you **cannot** `require` your own files!
- just **one** single file
## Prior art
- `tetanize` and `tipi` (30 Sep) https://github.com/IsCoolEntertainment/tetanize
- `ti-mocha` (20 Dec, just related) https://github.com/tonylukasavage/ti-mocha
- `npmifier` (10 Jan) not published
- `titaniumifier` (31 Jan) https://github.com/smclab/titaniumifier
- `ti-commonsj` (20 Mar) https://github.com/tonylukasavage/ti-commonjs
Scenarios
- using plain JS packages published on npm
- using actual Node.js packages
- writing cross-env packages
- writing Titanium CommonJS modules as packages
- publish Titanium modules on npm
## Ti.Next
- the module distribution strategy/repository/toolchain is yet to be defined
- it will support Node.js-style requires (Yarrrrrr!)
- will it support Node.js’ builtins?
# Titaniumifier
turns a Node.js package into a Titanium module
https://github.com/smclab/titaniumifier
## Challenges
- change `require` semantics
- shim globals (`process`…)
- shim builtins (`util`, `fs`…)
## How to get there
- extract `package.json` metadata into a `manifest`
- compact your dependencies and modules into a single JS file
- build a ‘module’, which is just a `.zip`
## How we got there
- `browserify` is doing the hard work
- [`node-titanium-resolve`][ntr] extends the standard resolution algorithm
- `package.json` plus **`guid`** and **`engines.titamiumsdk`**
[ntr]: https://github.com/smclab/node-titanium-resolve
### `grunt-titaniumfier`
## Grunt plugin for Titaniumifier
```javascript
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
titaniumifier: {
'mymodule': { options: {} }
}
});
```
```bash
grunt titaniumifier:mymodule
```
### `ti-superagent`
## Titanium.Network.HTTPClient with less suck!
https://github.com/smclab/ti-superagent
```javascript
require('superagent')
.get('http://my-awesome-server.it/api.txt')
.end(function (err, res) {
console.log(res.body);
});
```
it’s our reference project for the following scenario:
> **Wrapping** a Node package for Titanium
## Steal from this code!
https://github.com/smclab/ti-superagent
**Renaming your module** (you shouldn’t)
```javascript
{ options: { as: "another-name" } }
```
**Defining `minsdk`** (mandatory!)
```javascript
{ engines: { titaniumsdk: ">= 3.2.0.GA" } }
```
### `liferay-connector`
## Connector for Liferay Portal’s JSON WS
https://github.com/smclab/liferay-connector
```javascript
require('liferay-connector')
.authenticate(HOST, { login: LOGIN, password: PWD })
.then(function () {
console.log("I’m in!")
});
```
it’s our reference project for the following scenario:
> **Writing** a cross-env package
## Steal from this code!
https://github.com/smclab/liferay-connector
you couldn’t tell from the source, but it uses
- `superagent` on Node (and the browser!)
- `ti-superagent` on Titanium
```javascript
{
// ... (other package.json lines here)
"titanium": {
"superagent": "ti-superagent"
}
}
```
## Steal from this code!
https://github.com/smclab/liferay-connector
uses Promises internally!
(and exports its implementation of choice to you to reuse)
```
var Promise = require('bluebird');
var liferay = module.exports;
liferay.Promise = Promise;
```
## Steal from this code!
https://github.com/smclab/liferay-connector
Cross-env tests!!
- uses `grunt-titanium`
- uses `ti-mocha`
- uses `should`
```bash
grunt node ios droid # pure gold
```
Thank you!
Pier Paolo Ramon
Senior front-end engineer
Twitter: @_pier
GitHub: @yuchi


#include <stdint.h>
#include "tls/s2n_tls.h"
Go to the source code of this file.
Definition at line 21 of file s2n_tls.c.


We understand that you need to look good and feel great.It all starts with what your are wearing.
1/5
1/5
This is where high fashion clothing is designed and crafted from the heart by an amazing team of craftsmen and designers who understand what fashion is
WE ARE YOLOMY-WE UNDERSTAND FASHION AND STYLE.WE CRAFT OUR PRODUCTS WITH LIVE AND DILIGENCE
Yolomy:We Mean Fashion
COPYRIGHT 2015.YOLOMY INC


The Tragedy of Julius Caesar
by William Shakespeare
Act 2, Scene 4
Additional Information
- Year Published: 0
- Language: English
- Country of Origin: England
- Source: White, R.G. ed. The Complete Works of William Shakespeare. New York: Sully and Kleinteich.
-
Readability:
- Flesch–Kincaid Level: 11.0
- Word Count: 451
- Genre: Tragedy
- Keywords: envy, fate, free will, power
- ✎ Cite This
Downloads
SCENE IV. Another part of the same street, before the house of
Brutus.
[Enter Portia and Lucius.]
PORTIA.
I pr’ythee, boy, run to the Senate-house;
Stay not to answer me, but get thee gone.
Why dost thou stay?
LUCIUS.
To know my errand, madam.
PORTIA.
I would have had thee there, and here again,
Ere I can tell thee what thou shouldst do there.—
[Aside.] O constancy, be strong upon my side!
Set a huge mountain ‘tween my heart and tongue!
I have a man’s mind, but a woman’s might.
How hard it is for women to keep counsel!—
Art thou here yet?
LUCIUS.
Madam, what should I do?
Run to the Capitol, and nothing else?
And so return to you, and nothing else?
PORTIA.
Yes, bring me word, boy, if thy lord look well,
For he went sickly forth: and take good note
What Caesar doth, what suitors press to him.
Hark, boy! what noise is that?
LUCIUS.
I hear none, madam.
PORTIA.
Pr’ythee, listen well:
I heard a bustling rumour, like a fray,
And the wind brings it from the Capitol.
LUCIUS.
Sooth, madam, I hear nothing.
[Enter Artemidorus.]
PORTIA.
Come hither, fellow:
Which way hast thou been?
ARTEMIDORUS.
At mine own house, good lady.
PORTIA.
What is’t o’clock?
ARTEMIDORUS.
About the ninth hour, lady.
PORTIA.
Is Caesar yet gone to the Capitol?
ARTEMIDORUS.
Madam, not yet: I go to take my stand
To see him pass on to the Capitol.
PORTIA.
Thou hast some suit to Caesar, hast thou not?
ARTEMIDORUS.
That I have, lady: if it will please Caesar
To be so good to Caesar as to hear me,
I shall beseech him to befriend himself.
PORTIA.
Why, know’st thou any harm’s intended towards him?
ARTEMIDORUS.
None that I know will be, much that I fear may chance.
Good morrow to you.—Here the street is narrow:
The throng that follows Caesar at the heels,
Of Senators, of Praetors, common suitors,
Will crowd a feeble man almost to death:
I’ll get me to a place more void, and there
Speak to great Caesar as he comes along.
[Exit.]
PORTIA.
I must go in.—[Aside.] Ah me, how weak a thing
The heart of woman is!—O Brutus,
The heavens speed thee in thine enterprise!—
Sure, the boy heard me.—Brutus hath a suit
That Caesar will not grant.—O, I grow faint.—
Run, Lucius, and commend me to my lord;
Say I am merry: come to me again,
And bring me word what he doth say to thee.
[Exeunt.]


Namespace CADability.GeoObject
Classes
Block
Ein Block als geometrisches Objekt. Der Block besitzt seine Kinder. Beim Clonen werden Kopien der Kinder erzeugt. A collection of several IGeoObjects
BlockRef
BSpline
A BSpline is a smooth curve defined by a set of control points. It is implemented as a NURBS - non uniform rational b-spline.
BSplineException
ConicalSurface
A conical surface which implements ISurface. The surface represents a circular or elliptical cone. The u parameter always describes a circle or ellipse, the v parameter a Line.
ConicalSurfaceNP
Conical surface with a uv system (parametric space) which is not periodic and has no pole. The uv system correspond to a plane through the apex perpendicular to the axis which contains the projected cone to this plane. Disadvantage is numeric precision when the opening angle is very small. A solution would be an offset and a factor which only projects the "used area" of this cone to a standard ring
CurveException
Exception thrown by object implementing ICurve.
Curves
This class provides static methods concerning the interaction of two or more ICurve objects.
CylindricalSurface
A cylindrical surface which implements ISurface. The surface represents a circular or elliptical cylinder. The u parameter always describes a circle or ellipse, the v parameter a Line.
CylindricalSurfaceNP
A cylindrical surface, defined by a point (location), and axis (zAxis). The axis (zAxis) and the two vectors xAxis and yAxis build an orthogonal coordinate system. xAxis and yAxis have the same length, which define the radius of the cylinder. The length of the zAxis is the domain of the cylindrical surface. points outside this domain are defined, but not used. The 2d u/v system is defined by the plane through "location" which is spanned by xAxis and yAxis. For each point on the surface, there is a point in this plane, which is found by intersecting the line from (location-zAxis) to the surface point with the u/v plane. Thus all points of the domain on the surface are within an annulus with the cylinder radius and a hole of half the cylinder radius. The u/v system is not periodic and has no poles (except of the 2d origin, which is at the infinite end of the axis). When the orthogonal system of xAxis, yAxis and zAxis is right handed, the normal vectors point to the outside, otherwise they point to the inside. Circles, ellipses and lines in 3d correspond to circles, ellipses and lines in 2d. 3d ellipses with their center at (location-zAxis) degenerate to lines in 2d.
Dimension
The dimension object represents a dimensioning in a model and is a GeoObject. To use a dimension object you must at least set the properties DimensionStyle, DimLineRef, DimLineDirection, and add two points with the AddPoint(GeoPoint) method.  It is bounded by a SimpleShape in the 2-dimensional u/v space of the surface.  The bounding curves of a face are implemented as Edges. If a face is contained in a Model it doesnt share its edges with other faces. If a face is part of a Shell (which maybe a part of a Solid) it shares some or all of its edges with other faces.
GeneralCurve
A base implementation of ICurve
GeneralCurveException
GeoObjectChange
This class is used as a parameter in the ChangeDelegate event of IGeoObject (see WillChangeEvent).
GeoObjectException
Exception type thrown by GeoObjects
GeoObjectList
Simple list of GeoObjects (IGeoObject). Implemented as an ArrayList.
Hatch
A GeoObject that represents a flat (2d) shape filled by a HatchStyle. It also acts as a Block presenting e.g. the hatch lines as its containing child objects. To fully define a Hatch object you have to set these three properties: Plane, CompoundShape and HatchStyle. If you omit one of these properties you wont see the Hatch object as it is not fully defined. No defaults are assumed.
HelicalSurface
A helical surface defined by an axis, a curve and a pitch. the curve and the axis must reside in a common plane. The curve is revolved around the axis while beeing moved in direction of the axis. The distance movement in direction of the aixs is "pitch" for one full turn.
Icon
A GeoObject that displays an icon at a given position. The icon will always face the viewer and will not be scaled. The icon appears with a small offset in direction to the viewer, so it will not be covered by a face whith which it coincides.
IGeoObjectImpl
This class helps to implement IGeoObject by implementing some IGeoObject methods in a default way and by offering some helper methods.
IGeoObjectImpl.Changing
Helper class to wrap any changing of this GeoObject. Usually used in this way:
using (new Changing(this,...))
{
// ... make the change here ...
}
This will call FireWillChange(GeoObjectChange) before the GeoObject is changed and FireDidChange(GeoObjectChange) after the GeoObject was changed with the appropriate parameters. Changig takes nested changes into account and raises the events only at the outermost level.
IGeoObjectImpl.ChangingAttribute
Helper class to wrap the setting of an attribute. Usually used in this way:
using (new ChangingAttribute(this,atrName,attribute))
{
// ... set the attribute here ...
}
This will call FireWillChange(GeoObjectChange) before the attribute is changed and FireDidChange(GeoObjectChange) after the attribute was changed.
IGeoObjectImpl.ChangingException
An ApplicationException thrown when an error happens during a change operation.
Intersection
This class provides some static methods concerning the intersection of 3D IGeoObject objects. The class Curves also provides some inetersction methods of ICurve objects.
ISurfaceImpl
Internal helper class for ISurface implementation.
Line
The line is a IGeoObject. It is actually a line segment not an infinite line.
Make3D
A class with static methods to create and combine Solids, Shells or Faces.
NonPeriodicCylindricalSurface
NonPeriodicSurface
Non-periodic surface made from an underlying periodic surface. The underlying periodic surface must be periodic in u or in v and may have a pole at the minimum or maximum of the non periodic parameter. The underlying periodic surface may also be non periodic but have one singularity, which will be removed.
NurbsSurface
A NURBS surface implementing ISurface.
OffsetSurface
Path
A geoobject, that derives from Block and represents a ordered collection of geoobjects which all support the ICurve intrface. The contained curves are connected, i.e. Child(i).EndPoint is equal or close to Child(i+1).StartPoint. The Path is not necessary planar, closed and may be self intersecting.
PathException
Picture
A bitmap as a rectangular or rhombiod face in 3D space. This object is mainly used for illustration or as a background in a model. It is a GeoObject and may be part of a model. It is defined by the bitmap bits and the location in space.
PlaneSurface
A planar infinite surface. Implements ISurface. The plane is defined by two vectors which are not necessary perpendicular or normalized.
Point
Implements a point as a IGeoObject.
Polyline
PolylineException
QuadTreeCollection
Shell
ShowPropertyFont
ShowPropertyPicture
ShowPropertyText
SnapPointFinder
Ths class serves as a parameter to FindSnapPoint(SnapPointFinder). It keeps the best snappoint, the object, which caused it and the distance to the mouse point.
Solid
A Solid is a IGeoObject implementation that represents a solid body. Its main data is a collection of oriented faces. The normal vector on any point of the face points to the outside of the body. Solids have one set of faces that represent the outer hull and any number of cavities that reside totally inside the outer hull. All cavyties are disjoint.
SphericalSurface
SphericalSurfaceNP
A spherical surface with a non periodic u/v system. It also has no poles. It cannot represent a whole sphere, there must be some part which is outside the usable area. The center, xAxis, yAxis and zAxis define a coordinate system. The plane defined by (center, xAxis and yAxis) is the equator plane of the sphere, (center+zAxis) is the north pole. (center-zAxis9 is the south pole, which may not be part of the used area. The u/v system is the u/v system of the equator area. The point of the sphere for a provided u/v point is the projection of this point from the south pole to the surface. All circular arcs on the sphere (e.g. planar intersections) are elliptical arcs in the u/v system (or lines, when they pass the north pole)
SurfaceHelper
SurfaceOfLinearExtrusion
Surface defined by a 3d curve and a direction. A point at (u,v) of the surface is defined by the point of the curve at parameter u plus v*direction. It is the surface that is generated by the curve moved along the direction. The curve may not have the direction as a tangential vector. Also the curve is defined in the interval [0,1], the parameterspace of this curve may also be defined by a startParameter and an endParameter.
SurfaceOfRevolution
SurfaceOfRevolution.Hyperbola
SurfaceOfRevolution.HyperbolaHelp
SurfaceOfRevolutionException
Surfaces
Text
Simple Text object, Implements IGeoObject.
ToroidalSurface
A toroidal surface which implements ISurface. The surface represents a torus in space. It is defined by its position in space (three directions) and two radii. The u parameter describes the "big" circles around the main axis, the v parameter describes the "small" circles.
UnscaledGeoObject
A IGeoObject which always appears in the same size in a view. It is not scaled when the view is zoomed.
These objects can not be kept in displaylists and hence have a poor performance when used in high numbers.
The objects rotate with the view when viewed from different directions.
The Location specifies the position of the origin (GeoPoint(0,0,0)) of the referenced GeoObject.
Usually you would center the referenced object at the origin so this object will be centered at the Location.
In contrast to the Icon object, which always shows its face to the viewer and is much faster,
because it can be kept in the display list.
Since this object does not have a well defined size in world coordinates, it is only pickable or selectable
at its insertion point. The size of the object is assumed in device units (pixels)
The Layer of this object will be taken into account for the objects visibility, not the layer of the
referenced object.
Interfaces
ICategorizedDislayLists
ICurve
Interface implemented by one-dimensional geometric objects (eg. line, circle, bspline etc.). The curve may be open or closed.
IDimensionStyle
IExtentedableCurve
Interface for ICurve implementing objects that can be extended in one or two directions
IGeoObject
IGeoObject is the interface that all geometric entities must support (see GeoObject).
IGeoObjectOwner
An IGeoObject object is either owned by a Model or by a Block or it has no owner. The property Owner sets or gets that owner. The Model or Block implement this interface. If you need more functionality than Add and Remove, try to cast IGeoObjectOwner to Model or Block.
IGeoObjectShowProperty
INonPeriodicSurfaceConversion
IOrientation
---Yet to be used--- Imagine a coordinate system moving along a 3d curve. Th z-axis always showing in direction of the curve. The x- and y-axis are still arbitrary. This orientation interface defines the direction of the x-axis at some point
IQuadTreeInsertableZ
IRestrictedDomain
Interface for surfaces with non rectangular definition space. Normally surfaces are either defined for all 2d values (infinite) or they are restricted to a rectangular domain (e.g. NurbsSurface). The NonPeriodicSurface is only defined on a circular area or on a ring. Maybe other surfaces with irregular domains will follow.
ISurface
The ISurface interface must be implemented by all 3-dimensional unbound surfaces that are used by the Face object. The surface has a well defined 2-dimensional coordinate system, usually referred to as the u/v system.
ISurfaceOfRevolution
Interface of a surface rotating in u direction. Should be implemented by all surfaces, which can be looked at this was
Enums
AttributeUsage
CurveException.Mode
Enumeration of different causes for this exception
Dimension.EDimType
Different types of dimensioning
Dimension.EditingMode
Dimension.HitPosition
EllipseException.tExceptionType
ExtentedableCurveDirection
Enumeration for direction of curve extension
ExtentPrecision
GeoObjectException.tExceptionType
Kind of exception
Make3D.SolidModellingMode
Path.ModificationMode
PathException.ExceptionType
PlanarState
Enumeration for the classification of the planar state of a curve
PointSymbol
Flags definig the symbol for the presentation of a Point object. The flag may contain one of the values Empty=0x0,Dot=0x1,Plus=0x2,Cross=0x3,Line=0x4 combined with Square=0x8 or Circle=0x10.
PolylineException.PolylineExceptionType
RuledSurfaceMode
Shell.FindSameFormSearchMode
SnapPointFinder.DidSnapModes
Resulting snap modes of the snap opertaion.
SnapPointFinder.SnapModes
Snap modes to specify in which points the SnapPointFinder should respect
Text.AlignMode
Vertical alignement of the text.
Text.LineAlignMode
Horizontal alignement of the text
Delegates
Block.ConstructionDelegate
Block.PaintTo3DDelegate
BlockRef.ConstructionDelegate
BlockRef.PaintTo3DDelegate
BSpline.ConstructedDelegate
BSpline.ConstructionDelegate
BSpline.PaintTo3DDelegate
ChangeDelegate
Delegate method that is invoked when a GeoObject is about to change or did change.
CreateContextMenueDelegate
Dimension.ConstructionDelegate
Dimension.PaintTo3DDelegate
Ellipse.ConstructedDelegate
Ellipse.ConstructionDelegate
Ellipse.PaintTo3DDelegate
Face.ConstructedDelegate
Face.ConstructionDelegate
Face.PaintTo3DDelegate
GeneralCurve.ConstructionDelegate
GeoObjectList.ObjectAddedDelegate
GeoObjectList.ObjectRemovedDelegate
Hatch.ConstructedDelegate
Hatch.ConstructionDelegate
Delegate definition for Constructor
Hatch.PaintTo3DDelegate
Hatch.RecalcDelegate
Icon.ConstructedDelegate
Definition of the Constructed event
Icon.ConstructionDelegate
Delegate for the construction of a Icon.
IGeoObjectImpl.GetAdditionalContextMenueDelegate
Line.ConstructedDelegate
Line.ConstructionDelegate
Delegate for the construction of a Line.
Line.PaintTo3DDelegate
Path.ConstructedDelegate
Path.ConstructionDelegate
Path.PaintTo3DDelegate
Picture.ConstructedDelegate
Definition of the Constructed event
Picture.ConstructionDelegate
Delegate for the construction of a Picture.
Point.ConstructedDelegate
Point.ConstructionDelegate
Point.PaintTo3DDelegate
Polyline.ConstructedDelegate
Polyline.ConstructionDelegate
Polyline.PaintTo3DDelegate
Shell.ConstructedDelegate
Shell.ConstructionDelegate
Shell.PaintTo3DDelegate
Solid.ConstructedDelegate
Solid.ConstructionDelegate
Solid.PaintTo3DDelegate
Text.ConstructionDelegate
Text.PaintTo3DDelegate
UnscaledGeoObject.ConstructedDelegate
UnscaledGeoObject.ConstructionDelegate
Delegate for the construction of a UnscaledGeoObject.


Payment
Payee
Payment Due Date
New Balance Total
Paid Date
Amount Paid
Confirm Code
Trans Number
Edit


Krissy Cela
3 Benefits of Skipping
19.november 2020
It’s cheap and can be done ANYWHERE!
Once you’ve purchased your jump rope, every workout is effectively free!  So long as you have space to swing that rope without taking someone’s eye out, you can complete a high intensity, full body workout from home, the gym or the park! I’d even put it in my work bag and take 10 minutes for a bit of cardio at lunchtime!
It releases positive endorphins
Due to its pace and nature, skipping releases endorphins that set you up for the day and put you in a good mood. You will feel energised and motivated after a skipping workout whether it is 10 minutes or 30 minutes!
It is a full body workout
You use your arms, legs and core when skipping. Whereas with running and cycling predominantly focusing on lower body muscles, skipping makes you engage every muscle and the intensity of it is great no matter what your fitness level or goal is.
How Often You Should Workout per Week?
7.september 2020
Are there benefits from working out more? Or does quality outweigh quantity?
The answer can be very simple: you do what works for you and your lifestyle. Depending on the logistics of day to day life, you may find you have enough time to train 5 times a week, or you may find 3 times a week is all you need to feel fit, healthy and energetic. Your weekly routine depends on your goals and what you would like to achieve. In order to make this decision, we recommend thinking carefully about your weekly schedule and choosing a plan that you will be able to not only complete, but stick to. It’s very important that you don’t overestimate the time you have as you will be less likely to stick to your workout schedule past the first couple of weeks.
Our philosophy is to simplify fitness and nutrition to make it accessible and achievable for all women. Choosing between the 3 and 5 day plan should be simple too. The questions to ask yourself are:
- – How much time a week do I have to train?
- – How many days a week can I commit to training?
- – What do I want to achieve from exercise?
If you have a couple of hours to spare on a daily basis, the 5 day plan is for you. If you have roughly a couple of hours across the week to spare, then opt for the 3 day plan. As much as the workouts are different, you need to allow between 45 minutes - 1 hour to complete each one. However, always remember any form of exercise is better than no exercise, so if you find you are struggling to achieve your plan, you may want to try changing it as opposed to stopping altogether.


My Name is Matt Schiffman
I'm originally a theatre guy, turned Flash Guy, now IA/UX/UI Front-End Dev Guy.
I'm conscious of the fact that web presentations are becoming more commoditized every day.
I believe in the open source hardware movement and want to get involved.
I go to a job interview at Makerbot.
I bomb the tech screen.
I can't explain closures. I can't build custom events on the fly.
I can't tell how many subway stations there are in Manhattan without checking the internet.
I look to focus this disappointment into something positive.
I know the web stack. I know how to build stuff.
I learn all I can about Arduino. I get better at Javascript.

I build a toy robot for my son for his 4th birthday.
Flippy The Robot
Flippy is a toy robot physically built on the Arduino platform and programmed with the modern webstack for its control surface.
Flippy was built as a project to introduce my son to electronics and robotics.
Flippy is physically based on the Arduino open source hardware platform.
What's really cool is that Flippy's control surface is programmed using HTML, CSS & Javascript.
Flippy receives instructions via Breakout.js. If you have a computer, a modern web browser and an active network connection, you can control Flippy.
Here's a video of my son's reaction to Flippy on his birthday.
If you'd like to learn more, hit me up on the twittters (#darrownet)


We Are a spezialized website interested in old and modern structures around the world, we hope that you find the knowledge you're looking for here in our website beside having fun too.
We Are a spezialized website interested in old and modern structures around the world, we hope that you find the knowledge you're looking for here in our website beside having fun too.


Home
QAC Javascript Exercises
Basic
Output Methods
Square and Sum (Functions 1&2)
Person Object
Strings 1
Strings 2
Arrays 1/Strings 3
Conditionals 1
Iteration 1
Iteration 2
Intermediate
Fizz Buzz (Iteration 3)
Iteration 4
Strings 4
DOM 1
JSON 1
JSON 2
Garage
Other
Hangman


My Team
Jamie
Manager
Employee ID: 1
Email:
<EMAIL_ADDRESS>Office Number: 123
Lincoln
Intern
Employee ID: 5
Email:
<EMAIL_ADDRESS>School: UCLA
Emily
Engineer
Employee ID: 2
Email:
<EMAIL_ADDRESS>Github:
emilychhun
,
Wendy
Engineer
Employee ID: 3
Email:
<EMAIL_ADDRESS>Github:
WendyBang
,
Huy
Engineer
Employee ID: 4
Email:
<EMAIL_ADDRESS>Github:
HuyLyWu


Vision Portfolio Management Application Layer: Application
| Headstart Applications
|
Application: IndustryIncomeStatement
Summary:
The IndustryIncomeStatement application is used to display current
income statement information for the largest companies in an industry based
on total sales.
Inputs:
| Position |
Form Id |
Description |
| 1 |
id |
Id of the industry |
Analysis:
-
The id must reference an existing Industry instance.
-
The basic report displays the income statement line items as rows and the
top 5 companies in the industry (by sales) as columns.
Key Data Feeds:
Related Reports:
Sample Usage:
Interface ApplicationWS runWith: "IndustryIncomeStatement", "530" ;
Sample Input:
Sample Output:
Industry Peer Analysis
Data As Of: 1/15/1999
--- Currency: United States Dollar
Comparative
Income Statement
| |
IBM |
HWP |
6702 |
7751 |
CPQ |
| |
|
|
|
|
|
| Fiscal
Year End |
12/31/96 |
10/31/96 |
03/31/97 |
12/31/96 |
12/31/96 |
| |
|
|
|
|
|
| Sales |
75,947 |
38,420 |
36,375 |
22,039 |
18,109 |
| |
|
|
|
|
|
| -
Cost Of Goods Sold |
41,732 |
24,202 |
25,439 |
11,597 |
13,651 |
| -
S, G, And A |
21,508 |
9,195 |
9,489 |
7,510 |
2,319 |
| -
Depreciation |
3,676 |
1,297 |
NA |
1,027 |
262 |
| |
|
|
|
|
|
| Operating
Income |
9,031 |
3,726 |
1,446 |
1,904 |
1,877 |
| |
|
|
|
|
|
| -
Interest Expense |
747 |
327 |
398 |
292 |
99 |
| +
Other Income |
738 |
295 |
103 |
-38 |
98 |
| +
Special Items |
-435 |
0 |
0 |
0 |
0 |
| |
|
|
|
|
|
| Pretax
Income |
8,587 |
3,694 |
1,151 |
1,575 |
1,876 |
| |
|
|
|
|
|
| -
Income Taxes |
3,158 |
1,108 |
604 |
695 |
563 |
| -
Minority Interest |
NA |
0 |
34 |
69 |
0 |
| |
|
|
|
|
|
| Income
Before Extraordinary |
5,429 |
2,586 |
513 |
811 |
1,313 |
| |
|
|
|
|
|
| Net
Income (Loss) |
5,429 |
2,586 |
425 |
811 |
1,313 |
| |
======== |
======== |
======== |
======== |
======== |
| Copyright © 1999 Innovative Systems Techniques, Inc.
| Updated January 28, 1999
|


|
Distinguished Professor,
Assistant Dean
Ph.D. Supervisor in both EE and CS dept
School of
Electronic, Info. & Electrical Engineering
Shanghai Jiao Tong University, China
Editor for IEEE/ACM Transactions on Networking
Editor for IEEE Transactions on Mobile
Computing
Office: SEIEE
Buildings 5-301A
Email: xwang8 AT sjtu DOT edu
DOT cn
wang-xb AT cs sjtu
DOT edu DOT cn
|


Today is the 39th observance of Earth Day in the northern
hemisphere. Earth day is celebrated in Autumn on November 30 in the southern hemisphere. Senator
Gaylord Nelson initiated the first Earth Day in April 1970 in the United States, and it is now
celebrated by over 1 billion people in over 170 countries worldwide. Earth Day is the biggest
environmental event which addresses issues and educates people on environmental awareness on a
global scale.


THE CLIENT A film review by James Berardinelli Copyright 1994 James Berardinelli
Rating (0 to 10): 6.6
Date Released: 7/20/94 Running Length: 2:01 Rated: PG-13 (Language, violence, mature themes)
Starring: Susan Sarandon, Brad Renfro, Tommy Lee Jones, Mary-Louise Parker, Anthony LaPaglia, J. T. Walsh, Anthony Edwards, Ossie Davis Director: Joel Schumacher Producers: Arnon Milchan and Steven Reuther Screenplay: Akiva Goldsman and Robert Getchell based on the novel by John Grisham Cinematography: Tony Pierce-Roberts Music: Howard Shore Released by Warner Brothers
This time around, I thought I'd do things a little differently. For both THE FIRM and THE PELICAN BRIEF, I made my way through the written version before approaching the cinematic one. Neither book dazzled me, and the impressions given by the movies were less memorable. So, for THE CLIENT, I decided to eschew Grisham's novel altogether and see if, divorced from its source material, Joel Schumacher's film could provide a couple hours of light entertainment. Besides, a friend of mine was only able to get through a third of book, and her opinion of Grisham is certainly higher than mine.
It's not difficult to understand why THE FIRM, THE PELICAN BRIEF, and THE CLIENT have all been bestsellers. They're tightly-written, don't require a lot of concentration, have very simple storylines, and can be read in a sitting or two. In essence, they're what someone I know calls "good trash." Grisham is prolific--and now, very wealthy.
Unfortunately, his writing makes for a perfect Hollywood screenplay--lots of action and not much originality. THE CLIENT's greatest disadvantage is its flat plot, which includes few (if any) surprises and revolves on a premise that we've seen before--in THE FIRM and THE PELICAN BRIEF, among others. Grisham apparently has a thing about a group of law officers going after some innocent victim of circumstances.
THE CLIENT's premise is tenuous in its believability. The movie starts out with young Mark Sway (Brad Renfro) out in the woods, watching a mob lawyer try to kill himself. In attempting to foil the suicide, Mark gets caught, and has to listen to a rambling confession before the lawyer blows his brains out. After that, hotshot prosecutor Roy Foltrigg (Tommy Lee Jones) wants Mark on the witness stand, thinking--correctly--that the boy learned the location of the missing corpse of a dead senator. Realizing that he's in over his head, Mark seeks out an attorney, and finds one in the person of Reggie Love (Susan Sarandon), who takes his case for a fee of one dollar. But a killer (Anthony LaPaglia) who believes Mark knows too much, is after the boy and anyone to whom he might tell his secret.
In the beginning, Mark won't reveal anything about his conversation with the dead mob lawyer. Why? Later, after his life has been threatened, the reason is obvious, but why hide things at the start? I guess we're supposed to believe that the kid is scared and confused, but he does enough clear-headed things to limit the plausibility of this explanation.
Despite plot holes and contrivances, THE CLIENT is a well-made motion picture. Everything about it (except the screenplay) is top-notch. Director Joel Schumacher (whose last film was FALLING DOWN) has spun a web of intrigue by getting the most out of his cast and crew. With expert jobs done by the editor and cinematographer, THE CLIENT moves while having its share of dark, brooding moments as well as tautly suspenseful ones.
The cast is impeccable. Newcomer Brad Renfro portrays Mark with a palpable mix of anger and fear. Susan Sarandon gives her usual solid performance, and Tommy Lee Jones oozes equal parts charisma and false charm. Mary-Louise Parker, one of the better representatives of today's crop of twentysomething actors, is underused as Mark's mother Dianne, but she makes the most of every scene she's in.
THE CLIENT is an example of what happens when a production team does the best they can possibly do with a routine script. Schumacher has succeeded where two other accomplished directors (Sydney Pollack, who did THE FIRM, and Alan Pakula, of THE PELICAN BRIEF) have failed: bringing a Grisham novel to the screen in a manner that's more entertaining than trying. This isn't a masterpiece of suspense, but it has its moments and is capable of providing some light summer entertainment.
I think from now on, I'll skip reading Grisham's books and wait for the movies. If nothing else, it will save me some time.
- James Berardinelli<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Invoke to create ArangoDB database connection. With valid database connection you can execute AQL queries from within Intellij.
Create ArangoDB database connection


Interests
Reading
Writing
Scuba Diving
Marine Biology
Drama
Soccer
Back to Home
Worldview
Logos Courses


Enhancements to native behavior in todoist to improve motivation, focus, and flow.
Click here to connect your account or log-in. Visit our Github page for more info or to submit a bug.
An automation to enable habit tracking in todoist. It integrates Seinfield's "Don't Break the Chain" method into todoist.
This is a different flavor of the originally implemented habitist. While habitist is focused on daily habits, habitist (streak) can be applied to habits of any recurrence time-frames (daily, weekly, monthly, etc).
You add habits you want to form as task on todoist with a recurring schedule (could be any recurrence pattern (every day
, every week
or every year
, for example)
Add [streak 0]
to the task
When you complete the task, the [streak 0]
will become [streak 1]
If you fail to complete the task and it becomes overdue, the script will schedule it to today and reset [streak X]
to [streak 0]
.
If you use todoist as your trusted system, then you inevitably have hundreds of tasks in your backlog at a given moment. How do you decide which of these tasks to do at a particular moment?
JIT Tasking automates backlog filtering to only reveal tasks at the precise time, location, and context when they are actionable.
JIT Tasking only shows you tasks when you are able to complete them. It accomplishes this through a combination of filtering and todoist api changes that run in the background.
Add a task scheduled for a particular day and time that you need to complete on that day, but aren't able to do them until a certain time. For example, let's say you need to make a personal phone call, but you don't want to make the call until after your shift at work ends at 6PM. Add that task in Todoist as Call dad about birthday party
and set the due date as today 6pm
.
Instead of looking at the default Today view in Todoist, look at a filter you will create called Todo (Level 1)
which will hide this time-specific task until 6PM when you are able to do it. TODO: Automate filter creation
When 6PM rolls around, the due date for the task will be automatically changed to all-day today, and the task will automatically appear in your Todo (Level 1)
filter.
Sometimes, your schedule requires you to postpone or reschedule repeating tasks. How do you properly postpone or reschedule a recurring task to a date and time outside of the regular recurrence?
Recurrence scheduling allows you to postpone or reschedule a recurring task to a specific date and time while keeping the task recurrence in-tact.
First off, if you need to only change the day of a recurrence, but not the time, you can do that with Todoist: to postpone a recurring task, use the task scheduler by right-clicking (Web, Windows, macOS) or swiping left (iOS, Android) and pick a new date from there
If you need to not only change the day of the recurrence, but also the time, first add the time you want to reschedule the task to in the task as <12:00>
or just <>
if you want to change it to an all-day task
Next, assuming you want to change the date as well, use the task scheduler by right-clicking (Web, Windows, macOS) or swiping left (iOS, Android) and pick a new date from there
Todoist will move the task to the particular day you re-schedule it to and in the background, todoist-morph re-schedules your task to your desired time then removes the inputted time from the task description
Lets you add comments to a task in one-line.
Test task {with stuff you want in the comments here}
{}
will be removed from the task body and placed into a comment.


toys indoor age 4 - Extensions
Toddler Toy Selection - Walmart.com Shopping for toddler toys is easy when you have all the best new toddler toys right here at Walmart. Best of all, when you shop by age for toddler toys at Walmart, . http://www.walmart.com/cp/Shop-by-Age-Preschool-Toddler/1077545
You can develop your own extensions
using the structural concrete design to sans 10100.
Syntax-Highlighting Addons
Top Toy Picks for 4 Year Old Boys The perfect indoor or outdoor toy. Includes 4 safe, foam rockets, launch pad, hose , stand. Ages 3+. Stomp Rocket® Junior Retail Price: $16.00. Today's Sale . http://www.fatbraintoys.com/toys/toys_by_ages/boys/top_picks_4.cfm
Toddler Toys | Preschool Toys | Outdoor Toys | Little Tikes Toys ... Shop online at BabyAge for Toddler Toys and Preschool Toys at great sale prices , many with . safety and age-appropriateness when shopping for the perfect toy for your child. . A play tent or play tunnel is fantastic for indoor or outdoor use. http://www.babyage.com/toys.htm in one installer (526 kb).
Indoor Play for Bad Weather Days | Laser Pegs Blog Dec 26, 2012 . Indoor Games are Best to Start With: Children of age between 3-4 must play with entertainment toys because initially they seek fun everywhere . http://blog.laserpegs.com/indoor-play-for-bad-weather-days/
Indoor Active: Indoor Play Toys, Indoor Play - HearthSong Our indoor active toys encourage kids to jump, tumble, hop, wiggle, bounce, and just have fun being their ever-energetic selves. We have pull toys for the little . http://www.hearthsong.com/indoor-active/category_s2003_d1101_c2105_all.html
Indoor toys, puzzles, board games, play sets, toy cars, card games Shop Today's One Day Deal. GO. Leaps and Bounds Ingenious products for Babies, Toddlers and Kids . Indoor Toys. Leaps and Bounds · Toys Indoor Toys . http://www.onestepahead.com/thumbnail/Toys-Indoor-Toys/_/N-1tsa
A simple JavaScript Formatter (47kb)Best Indoor Toys for Young Children These indoor toys and games, for ages 3 to 8, get children up and moving. They include games, play mats, and even video games. http://familyfitness.about.com/od/activetoys/tp/indoor_toys.htm
3 - 4 Years - Little Tikes Outdoor toys, Indoor toys . Order Kids Toys - Call Toll Free: 1-866-855-4650 . Our toddler and preschool toys are designed specifically for these important . http://www.littletikes.com/kids-ages-3-4-years CertMaker for iOS and Android
Age Determination Guidelines: Relating Children's Ages to Toy ... appropriate age category for their toys, and to label, promote, and market . If a toy being tested for small parts is not clearly and conspicuously age labeled, or is . http://www.cpsc.gov/businfo/adg.pdf
Windows 8 AppContainer Loopback Utility
Games & Activities for Children Ages 6-10 (Fun, Educational ... toy finder. Find our top picks for the best toys of the year! Age Range, 0-12 months, 1-2 . Find indoor and outdoor games and activities that will challenge and . http://fun.familyeducation.com/children-kids/activities-games/33374.html Download
Now (60kb) or
synthesis china pollution gdp
Traffic Differ
Time to Play's Spring 2012 Most Wanted Toys List | Time to Play Here it is the most-anticipated hot toy list of the year! Time to . http://www.timetoplaymag.com/mostwanted/ Download now (47kb).
SAZ Clipboard
Soft Play Climbers: Affordable and Safe Indoor Play for Toddlers ... We have put together a one stop place for your soft play need for small. . of soft play climbers, soft play furniture, soft play indoor gyms and soft play toys. . Our Soft Play Centers differ by size, type, targeted age group, skill, and modularity. http://www.littlepeoplescove.com/soplclandfu.html
Gallery
The Gallery extension (50kb) Creative Toys from Magic Cabin for Boys & Girls Age 3-5 . world of fantasy and adventure, or their play time with Magic Cabins creative toys. . Durable Gear Driven Cement Mixer for Pretend Construction Fun . http://www.magiccabin.com/toys-and-creative-play/toys-and-creative-play.htm
Fun Toys for Outdoor or Indoor Play - Other - Toys "R" Us Buy Fun Toys for Outdoor or Indoor Play products at Toysrus.com. The leading toy store for toys, educational toys, baby products, and more. http://www.toysrus.com/category/index.jsp?categoryId=11083090
AnyWHERE (sample)
The AnyWHERE extension (40kb) Amazon.com: Indoor Climbers & Play Structures: Toys & Games Results 1 - 24 of 846 . Online shopping for Indoor Climbers & Play Structures from a great selection of Toys & Games; Baby & Toddler Toys & more at everyday . http://www.amazon.com/s?ie=UTF8&page=1&rh=n%3A1243731011
RulesTab (sample)
Amazon.com: Indoor Bowling: Toys & Games Results 1 - 24 of 163 . Online shopping for Indoor Bowling from a great selection of Toys & Games; Game . Manufacturer recommended age: 24 Months and up . http://www.amazon.com/b?ie=UTF8&node=295324011
Privacy Scanner
The Privacy Scanner
(41kb) Kid-Tested: Three Projectile Weapons for Indoor Warfare | Product ... Apr 29, 2011 . Zing Toys sent us several boxes of its newest office weapons, so we asked . Ophelia, age 4, when asked what her favorite thing about it was . http://www.wired.com/reviews/2011/04/zing-toys/
Content-Blocking (sample)
The Content Blocker
sample (11kb) Indoor Games for School Children Ages 3 to 7 | eHow.com Keeping small children indoors rather than letting them go outside for recess can lead . A List of Games & Activities to Play With Kids; Indoor and Outdoor Games for Elementary School Age Children Set in a . Lifestyle Hobbies Games Toys . http://www.ehow.com/info_7837354_indoor-children-ages-3-7.html
Image-Flipper (sample)
The Image
Flipper sample (6kb) Indoor Toys | Bloomsbury Lane Toy Shoppe In addition, two different sets of feet with non-skid foot pads allow for skill advancement and . You can use this board indoors and out side for ages 3 to adult . http://www.toystoretoyshoponline.com/products-page/indoor-toys/
3rd-Party Extensions
Indoor Playground Rules 1. Toys are for children ages 0-5. Please ... Indoor Playground Rules. 1. Toys are for children ages 0-5. Please do not allow children over the age of 5on equipment. 2. Minors must be accompanied by an . http://www.jcprc.org/uploads/2/7/5/9/2759863/indoor_playground_rules.pdf
Toys for Children - Active Toys for Toddlers and Preschoolers When you choose toys for children this age, make sure you select some active toys along with ABC . Many of these top toy picks can be used indoors or out. http://familyfitness.about.com/od/waystoplay/tp/active_toys_preschool.htm
neXpert Performance Report Generator
Toys for 7 and 8 Year Olds, Buy the Best at Growing Tree Toys 1855 items . Shop Toys for 7 Year Olds and 8 Years Olds and take advantage of our Same Day Shipping . children of this age group are enjoying a little bit of independence. . While indoors, he'll enjoy working in the kitchen with you by mixing . http://www.growingtreetoys.com/category/7-and-8-year-olds
StresStimulus
4 Month Old Baby - Parenting Advice & Infant Toys - Fisher Price Find out which infant toys and activities are the best for your 4 month old baby. Get parenting advice, playtime . Types of toys for this age. prev-prev next-next . http://www.fisher-price.com/en_US/playtime/joyoflearning/jolage4months.html
Watcher - Passive Security Auditor
Amazon.com: Indoor - Toy Sports / Sports: Toys & Games Results 1 - 24 of 250 . Online shopping for Toy Sports from a great selection of Toys & Games; Sports & Outdoor . Manufacturer recommended age: 4 - 15 Years . http://www.amazon.com/s?ie=UTF8&page=1&rh=n%3A166453011%2Cp_n_feature_keywords_browse-bin%3A4738125011
Top Toys for Toddlers 12-18 Months Old The age range for the toy says 2 - 4 years, but younger toddlers can still play . Another bonus is that it's small enough to be an indoor toy, but tough enough to . http://www.squidoo.com/greattoddlertoys
Ammonite - Security Scanner
Amazon.com: Indoor - Inflatable Bouncers / Sports & Outdoor Play ... Results 1 - 24 of 70 . Manufacturer recommended age: 36 Months - 6 Years . Perfect Size for Indoor Use - My Bouncer 72" L x 72" W x 72" H Little Castle Bounce Ball Pit . Intex Jump-O-Lene 80" Classic Ball Pit Bouncer Trampoline Toy . http://www.amazon.com/s?ie=UTF8&page=1&rh=n%3A1258890011%2Cp_n_location_browse-bin%3A2718737011
what's going on san francisco ca
x5s - Automated XSS Security Testing AssistantShopzilla - Kids Indoor Play Tents Play Tents & Tunnels shopping ... Comparison shop for kids indoor play tents Play Tents & Tunnels in Toys . TENT AND TUNNEL SET BRAND NEW IN BOX AGES 4+ DISCOVERY KIDS IS ALL . http://www.shopzilla.com/play-tents-tunnels/kids+indoor+play+tents/100000047/products
- Detecting where safe encodings were not applied to emitted
user-inputs
- Detecting where Unicode character transformations might bypass
security filters
- Detecting where non-shortest UTF-8 encodings might bypass security
filters
does islam promote violence
intruder21
NNCC Toy Safety - National Network for Child Care The holiday season finds over 150,000 different kinds of toys for sale in approximately one million stores. Despite the . Many toys have a suggested age range to help you choose toys that are appealing as well as safe. . Do not use indoors." . http://www.nncc.org/health/toy.safety.html
de tray's quality homes inc puyallup
HTML Inspector
Indoor Games - Games - Toys "R" Us Buy Indoor Games products at Toysrus.com. The leading toy store for toys, educational toys, baby products, and more. http://www.toysrus.com/category/index.jsp?categoryId=4296690
Toys For Autism Spectrum Disorder at Totally Kids fun furniture & toys You will find lots of classic toys for all Autism at Totally Kids fun furniture and toys. . Toys By Age Boys 18 Months & . indoor active play - gross motor - sensory . http://www.thebeanbagstore.com/totallytoysforautism.htm
WCF Binary-Encoded Message Inspector
Amazon.com: Indoor - Toy Golf / Toy Sports: Toys & Games Results 1 - 24 of 26 . Online shopping for Toy Golf from a great selection of Toys & Games; Toy Sports, . Manufacturer recommended age: 24 Months - 11 Years . http://www.amazon.com/s?ie=UTF8&page=1&rh=n%3A166457011%2Cp_n_feature_keywords_browse-bin%3A4738125011
Chad Sowald's Request-To-Code
Toys For Boys - Little Tikes Outdoor toys, Indoor toys . the active, adventurous spirit of boys along with social, mental and role playing skills with these toys for boys. . Narrow By Age . http://www.littletikes.com/toys-for-boys
Eyal's Extensions
- york a c universalremotecontrol has written two extensions:
Thomas Deml's Export WCAT Script extension
Top Ten Toys for Gifted Toddlers - Gifted Children - About.com Its weatherproof mat and coated steel frame make it prefect for both indoor and outdoor . Although the recommended age for this toy is ages four through seven, . http://giftedkids.about.com/od/booksandtoys/tp/top_ten_toddler.htm
Per-Response Latency Extension
Most Popular Activities for Children (K-12), Outdoor, Indoor, Puzzles ... Find thousands of educational family activities for preschoolers, toddlers, and children in grades K-12, including puzzles . Search by age and activity type. http://fun.familyeducation.com/activities-center/toddlers-preschoolers-K12children.html
WPAD Server
Top Toy Picks for 3 Year Old Boys The perfect indoor or outdoor toy. Includes 4 safe, foam rockets, launch pad, hose , stand. Ages 3+. Stomp Rocket® Junior Retail Price: $16.00. Today's Sale . http://www.fatbraintoys.com/toys/toys_by_ages/boys/top_picks_3.cfm
XML Request InspectorLittle Tikes: Outdoor Play Toys. Kids, Childrens & Baby Toys Shop our entire toy catalog of outdoor play toys, kids toys, & toys made in America. . Little Tikes makes indoor and outdoor toys for both girls and boys. Our toy . http://www.littletikes.com/ XML DataSet InspectorWalmart.com: Toys: Pretend Play, Arts & Crafts: Play Tents Check back later for the next local ad. . Toys & Video Games . Age Range: 3 years and up; Perfect for both indoor relaxation and patio lounging; Dimensions: . http://www.walmart.com/cp/Play-Tents/133143
©2013 Telerik
|


This semester (Summer 2014), the algorithms seminar will normally
take place on Fridays at 11:00-12:00 in room 5345 HP. Anyone with
an interest in algorithms is encouraged to attend.
(We also have an archive of the
seminars in
2004,
2005,
2006,
2007,
2008,
2009,
2010,
2011,
2012,
2013.)
| Upcoming Seminars |
| 2014-07-11, 11:00 |
Jean-Lou De Carufel |
|
| 2014-07-04, 11:00 |
André van Renssen |
|
| 2014-06-20, 11:00 |
Jit Bose |
|
| 2014-06-13, 11:00 |
Matthew Eastman |
|
| 2014-06-06, 11:00 |
Vida Dujmović |
|
| 2014-05-30, 11:00 |
Ahmad Biniaz |
|
| 2014-05-23, 11:00 |
Bahram Kouhestani |
Routing in a terrain with the shortest beacon watchtower |
| 2014-05-16, 11:00 |
Ferran Hurtado |
Colored line arrangements |
| 2014-05-09, 11:00 |
Giovanni Viglietta |
Theorems with balls |
| 2014-05-02, 9:00 |
Various Speakers |
Discrete Math Days |
| 2014-05-01, 9:00 |
Various Speakers |
Discrete Math Days |
| 2014-04-30, 11:00 |
Timo Bolkart |
Statistical analysis of 3D faces in motion |
| 2014-04-11, 11:00 |
Alexis Beingessner |
Why Dijkstra's algorithm is slow, and when we can do better |
| 2014-04-04, 14:00 |
Sander Verdonschot |
On the advice complexity of the knapsack problem |
| 2014-03-28, 11:00 |
Michiel Smid |
Path-minimum queries in trees in O(1) time using O(n) space |
| 2014-03-21, 11:00 |
Alina Shaikhet |
A Survey on Geometric Probing |
| 2014-03-07, 11:00 |
Carsten Grimm |
Rappaport's Construction of the Furthest-Disc Voronoi Diagram |
| 2014-02-28, 10:00 |
Gábor Lugosi |
Lecture series on algorithms and probability |
| 2014-02-26, 13:00 |
Gábor Lugosi |
Lecture series on algorithms and probability |
| 2014-02-21, 13:00 |
Gábor Lugosi |
Lecture series on algorithms and probability |
| 2014-02-21, 10:00 |
Derek Bradley |
High-quality facial performance capture for realistic computer-generated characters |
| 2014-02-19, 13:00 |
Gábor Lugosi |
Lecture series on algorithms and probability |
| 2014-02-19, 11:00 |
Carsten Grimm |
A Survey on the Fate of Digital Footprints after Death |
| 2014-02-14, 10:00 |
Gábor Lugosi |
Lecture series on algorithms and probability |
| 2014-02-12, 13:00 |
Gábor Lugosi |
Lecture series on algorithms and probability Random graphs: Connectivity |
| 2014-02-07, 13:00 |
Gábor Lugosi |
Lecture series on algorithms and probability Random graphs: Copies of small subgraphs |
| 2014-02-07, 10:00 |
Dong Wang |
Assured information distillation in social sensing |
| 2014-01-31, 10:00 |
Stacey Scott |
Let's play: Exploring interface design challenges of digital tabletops using games |
| 2014-01-24, 11:00 |
Pat Morin |
The average degree of theta graphs |
| 2014-01-17, 11:00 |
Luis Barba |
Detecting intersections between convex polyhedra |
| 2014-01-17, 10:00 |
Darryl Hill |
Bounded degree Delaunay graphs in the constrained setting |


remap_file_pages - create a nonlinear file mapping
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <sys/mman.h>
int remap_file_pages(void *addr, size_t size, int prot,
size_t pgoff, int flags);
Note: this system call was marked as deprecated starting with Linux 3.16.
In Linux 4.0, the implementation was replaced by a slower in-kernel emulation.
Those few applications that use this system call should consider migrating to
alternatives. This change was made because the kernel code for this system
call was complex, and it is believed to be little used or perhaps even
completely unused. While it had some use cases in database applications on
32-bit systems, those use cases don't exist on 64-bit systems.
The remap_file_pages() system call is used to create a
nonlinear mapping, that is, a mapping in which the pages of the file are
mapped into a nonsequential order in memory. The advantage of using
remap_file_pages() over using repeated calls to mmap(2) is
that the former approach does not require the kernel to create additional
VMA (Virtual Memory Area) data structures.
To create a nonlinear mapping we perform the following steps:
- 1.
- Use mmap(2) to create a mapping (which is initially linear). This
mapping must be created with the MAP_SHARED flag.
- 2.
- Use one or more calls to remap_file_pages() to rearrange the
correspondence between the pages of the mapping and the pages of the file.
It is possible to map the same page of a file into multiple locations
within the mapped region.
The pgoff and size arguments specify the region of
the file that is to be relocated within the mapping: pgoff is a file
offset in units of the system page size; size is the length of the
region in bytes.
The addr argument serves two purposes. First, it identifies
the mapping whose pages we want to rearrange. Thus, addr must be an
address that falls within a region previously mapped by a call to
mmap(2). Second, addr specifies the address at which the file
pages identified by pgoff and size will be placed.
The values specified in addr and size should be
multiples of the system page size. If they are not, then the kernel rounds
both values down to the nearest multiple of the page size.
The prot argument must be specified as 0.
The flags argument has the same meaning as for
mmap(2), but all flags other than MAP_NONBLOCK are
ignored.
On success, remap_file_pages() returns 0. On error, -1 is returned, and
errno is set appropriately.
- EINVAL
- addr does not refer to a valid mapping created with the
MAP_SHARED flag.
- EINVAL
- addr, size, prot, or pgoff is invalid.
The remap_file_pages() system call appeared in Linux 2.5.46; glibc
support was added in version 2.3.3.
The remap_file_pages() system call is Linux-specific.
Since Linux 2.6.23, remap_file_pages() creates non-linear mappings only
on in-memory filesystems such as tmpfs(5), hugetlbfs or ramfs. On
filesystems with a backing store, remap_file_pages() is not much more
efficient than using mmap(2) to adjust which parts of the file are
mapped to which addresses.
getpagesize(2), mmap(2), mmap2(2), mprotect(2),
mremap(2), msync(2)
This page is part of release 5.05 of the Linux man-pages project. A
description of the project, information about reporting bugs, and the latest
version of this page, can be found at https://www.kernel.org/doc/man-pages/.


Request Info
+91 -<PHONE_NUMBER>
Register
Login
Emergency
Ambulance
Medical Care At Home
Physiotherapist at Home
Nurse at Home
Doctor at Home
Patient Attendant at Home
Health Packages
Ask a Doctor
Ooops...!
We can't seem to find the page you are looking for
Error 404
Here are some useful links instead,
Home
FAQs


{% include "includes/alpha.html" %}
Cookies
Service cookies
| Name |
Purpose |
Expires |
| C3Version |
This makes sure you see the latest version of the service. |
90 minutes or when you close your browser |
| claimeligibility |
This records when you pass the eligibility section of the application. |
90 minutes or when you close your browser |
| claimstart |
This records when you start your application. |
90 minutes or when you close your browser |
| seen_cookie_message |
This records if you've seen the cookies message at the top of the site when you first come in, so you don't see it on every visit. |
1 month |
| application-finished |
This records when you reach the thank you page so you don't submit your application twice. |
90 minutes or when you close your browser |
| unique number (2 cookies of this type) |
To remember where you are in the application and your previous answers so you can move forwards and backwards through the service. |
90 minutes or when you close your browser |
Google analytics
| Name |
Purpose |
Expires |
| _ga |
Counts how many people visit the service by tracking if you’ve visited before. |
2 years |
| _gat |
Used to count how many pages are viewed and how often. |
10 minutes |
Go back to cookies page
{% include "application/rightcol.html" %}
{% endblock %}
{% block page_script %} {% endblock %}


St Thomas, Ontario was close to being a
manufacturing ghost town. Tenzing helped the
municipality create a new industrial revolution in
response. In just a few weeks, a campaign video
inspired 10,000 YouTube 'views' based on a
community launch. A U.S. city (10 x the size of St.
Thomas) launched a similar video and inspired fewer
than 1,000 likes in six months. The St. Thomas
Human Channel™ was the difference.


Documenting
Combining state-of-the-art technology, courage and covert operations, OPS harnesses the power of the camera to expose crimes against nature and illuminate solutions in our quest to chase desperation with action.
Visual Designs
Projecting Change seeks to highlight the beauty of endangered wildlife by projecting compelling visual imagery onto iconic architecture worldwide, literally shining a light on our duty to protect the planet.
Global Issues
The world is often kept in the dark about serious threats to our planet. This is where we shine a light and focus our lens. We help people see things in ways they will never forget.


while progamming, Some of my triggers are as follows,
Unable to understand the instructions.
When things don't work and code just
keeps on showing the errors.
When I know I have to finish certain jobs but I am spilt between programming and other chores.
All these things will cause into having a negative emotions and frustration and anger and the feeling of sadnees inside me.
Even though I experience this emotion while working on assingments or programming etc..I do cool down quite quickly as well. Saying that it's the emotion I am experiencing, And it's Not the real me.
In other words it's the JavaScript driving me crazy..and No one else :-
I think I like the idea of Siberian North Railroad exercise, Next time when I go through my triggers I would surley want to try to Stop, Breath then
Notice and reflect before I respond.


BMSAnalytics
BMSAnalytics is the analytics and logger component of the Swift SDKs for IBM Bluemix Mobile Services.
Table of Contents
Summary
BMSAnalytics is the client SDK for the Mobile Analytics service on Bluemix. This service provides insight into how your apps are performing and how they are being used. With BMSAnalytics, you can gather information about your app’s usage such as unique users, app lifecycle duration, roundtrip time of network requests, crashes, and any additional information or events that you choose to log.
This SDK is also available for Android and Cordova.
Read the official documentation for more information about getting started with Mobile Analytics.
Requirements
- iOS 8.0+ / watchOS 2.0+
- Xcode 7.3, 8.0
- Swift 2.2 - 3.0
- Cocoapods or Carthage
Installation
The Bluemix Mobile Services Swift SDKs can be installed with either Cocoapods or Carthage.
Cocoapods
To install BMSAnalytics using Cocoapods, add it to your Podfile. If your project does not have a Podfile yet, use the pod init
command.
use_frameworks!
target 'MyApp' do
pod 'BMSAnalytics'
end
Then run the pod install
command, and open the generated .xcworkspace
file. To update to a newer release of BMSAnalytics, use pod update BMSAnalytics
.
For more information on using Cocoapods, refer to the Cocoapods Guides.
Xcode 8
When installing with Cocoapods in Xcode 8, make sure you have installed Cocoapods 1.1.0 or later. You can get the latest version of Cocoapods using the command sudo gem install cocoapods
.
If you receive a prompt saying Convert to Current Swift Syntax?
when opening your project in Xcode 8 (following the installation of BMSAnalytics), do not convert BMSAnalytics, BMSCore, or BMSAnalyticsAPI.
Carthage
To install BMSAnalytics with Carthage, follow the instructions here.
Add this line to your Cartfile:
github "ibm-bluemix-mobile-services/bms-clientsdk-swift-analytics"
Then run the carthage update
command. Once the build is finished, add BMSAnalytics.framework
, BMSCore.framework
and BMSAnalyticsAPI.framework
to your project (step 3 in the link above).
Xcode 8
For apps built with Swift 2.3, use the command carthage update --toolchain com.apple.dt.toolchain.Swift_2_3
. Otherwise, use carthage update
.
Example Usage
- Import the modules
- Initialize
- Configure Logger and Analytics
- Set the app user’s identity
- Log the user’s current location
- Log some other information
- Send the data to the server
- Disable logging output
- In app feedback mode
View the complete API reference here.
–
Import the modules
import BMSCore
import BMSAnalytics
–
Initialize
Initialize BMSClient
and Analytics
. This is typically done at the beginning of the app’s lifecycle, such as the application(_:didFinishLaunchingWithOptions:)
method in the AppDelegate.swift
.
BMSClient.sharedInstance.initialize(bluemixRegion: BMSClient.Region.usSouth)
Analytics.initialize(appName: "My App", apiKey: "1234", hasUserContext: true, collectLocation: true, deviceEvents: .lifecycle, .network)
–
Configure Logger and Analytics
Enable logger and analytics, and set the Logger.logLevelFilter
to the level of severity you want to record. This is typically done at the beginning of the app’s lifecycle, such as the application(_:didFinishLaunchingWithOptions:)
method in the AppDelegate.swift
.
Analytics.isEnabled = true
Logger.isLogStorageEnabled = true
Logger.isInternalDebugLoggingEnabled = true
Logger.logLevelFilter = LogLevel.debug
–
Set the app user’s identity
If your app’s users log in with a username, you can track each user with Analytics.userIdentity
. To use this feature, you must have set the hasUserContext
parameter to true
in the Analytics.initialize()
method first, as shown in the Initialize section.. If you set hasUserContext
to false
, BMSAnalytics will automatically record user identities anonymously by treating each device as one unique user.
Analytics.userIdentity = "John Doe"
–
Log the user’s current location
Before using this feature, you first need to import CoreLocation
and get permission from the user to monitor their location using the requestWhenInUseAuthorization() method from CLLocationManager.
To have BMSAnalytics
automatically record the user’s location, set the collectLocation
parameter to true
in the Analytics.initialize()
method, as shown in the Initialize section. Once this parameter is set, you can log the user’s current location yourself at any time while the app is in an active state by calling Analytics.logLocation()
.
–
Log some other information
Create a Logger instance and log messages anywhere in your application, using an appropriate severity level.
let logger = Logger.logger(name: "My Logger")
logger.debug(message: "Fine level information, typically for debugging purposes.")
logger.info(message: "Some useful information regarding the application's state.")
logger.warn(message: "Something may have gone wrong.")
logger.error(message: "Something has definitely gone wrong!")
logger.fatal(message: "CATASTROPHE!")
// The metadata can be any JSON object
Analytics.log(metadata: ["event": "something significant that occurred"])
By default the Bluemix Mobile Service SDK internal debug logging will not be printed to Xcode console. If you want to see BMS debug logs, set the
Logger.isInternalDebugLoggingEnabled
property totrue
.
–
Send the data to the server
Send all recorded logs and analytics data to the Mobile Analytics service. This is typically done at the beginning of the app’s lifecycle, such as the application(_:didFinishLaunchingWithOptions:)
method in the AppDelegate.swift
.
Logger.send(completionHandler: { (response: Response?, error: Error?) in
if let response = response {
print("Status code: \(response.statusCode)")
print("Response: \(response.responseText)")
}
if let error = error {
logger.error(message: "Failed to send logs. Error: \(error)")
}
})
Analytics.send(completionHandler: { (response: Response?, error: Error?) in
if let response = response {
print("Status code: \(response.statusCode)")
print("Response: \(response.responseText)")
}
if let error = error {
logger.error(message: "Failed to send analytics. Error: \(error)")
}
})
–
Disable logging output for production applications
By default, the Logger class will print its logs to Xcode console. If is advised to disable Logger output for applications built in release mode. In order to do so add a debug flag named RELEASE_BUILD
to your release build configuration. One way of doing so is adding -D RELEASE_BUILD
to the Other Swift Flags
section of the project build configuration.
–
In app feedback mode
Users and Testers can record and send feedback and bug reports ‘In-app’, as they run and use the application. App owners get a deeper sense of the application’s user experience with this context rich user feedback. Developers on the other hand receive accurate application contexts to diagnose and fix bugs / feature deficiencies.
Applications can invoke feedback mode on any application event such as buttons, menu actions or gestures on calling the method:
--------
## License
Copyright 2016 IBM Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Your partner sees the SAME ITEMS but with DIFFERENT VALUES
You get some items, and your partner will get the rest.
Please try hard to negotiate a good deal for yourself!
| Items You BOTH See | Value to You | Number You Get |
|---|---|---|
| {% for _ in range(item.Count) %} {% endfor %} | {{item.Value}} |
Having trouble with this task? Click here to send us a report.


mcgibbsit: Warnes and Raftery's MCGibbsit MCMC diagnostic
'mcgibbsit' provides an implementation of Warnes & Raftery's
MCGibbsit run-length diagnostic for a set of (not-necessarily
independent) MCMC samplers. It combines the estimate error-bounding
approach of the Raftery and Lewis MCMC run length diagnostic with
the between verses within chain approach of the Gelman and
Rubin MCMC convergence diagnostic.
| Version: |
1.1.0 |
| Depends: |
coda |
| Published: |
2013-10-24 |
| Author: |
Gregory R. Warnes, Robert Burrows |
| Maintainer: |
Gregory R. Warnes <greg at warnes.net> |
| License: |
GPL-2 | GPL-3 [expanded from: GPL] |
| NeedsCompilation: |
no |
| Materials: |
NEWS ChangeLog |
| CRAN checks: |
mcgibbsit results |
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=mcgibbsit
to link to this page.


enzoftware's blog
Let’s play with the Android accelerometer + Kotlin
Taking a look into sensors in Android devices. How it works and how can we take advantage of it.


Version Compatibilityedit

Each listed version of Elasticsearch Curator has been fully tested against unmodified release versions of Elasticsearch. Modified versions of Elasticsearch may not be fully supported.
The current version of Curator is 4.2.6
| Curator Version | ES 1.x | ES 2.x | ES 5.x |
|---|---|---|---|
          3 |
  ✅ [1] |
  ✅ [1] |
  ❌ |
          4 |
  ❌ |
  ✅ [2] |
  ✅ [3] |
          5 |
  ❌ |
  ❌ |
  ✅ |
Learn more about the different versions at:
[1] Curator is unable to make snapshots for modified versions of ES which do not allow access to the snapshot status API endpoint. As a result, Curator is unable to make snapshots in AWS ES.
[2] If using AWS ES (which is different from installing Elasticsearch on your own EC2 instances), please see the FAQ question, Why doesn’t Curator 4 work with AWS Elasticsearch?
[3] Not all of the APIs available in Elasticsearch 5 are available in Curator 4.


AttrOperator Constructor
An attribute operator types can be defined as
AttrOperator attrOperator = new AttrOperator(AttrOperator.aopEQ);
and subsequently used as
if (attrOperator.attrOperator == AttrOperator.aopEQ) ....
AttrType Constructor
An attribute type of String can be defined as
AttrType attrType = new AttrType(AttrType.attrString);
and subsequently used as
if (attrType.attrType == AttrType.attrString) ....
The buffer manager class, it allocates new pages for the
buffer pool, pins and unpins the frame, frees the frame
page, and uses the replacement algorithm to replace the
page.
This function compares a tuple with another tuple in respective field, and
returns:
0 if the two are equal,
1 if the tuple is greater,
-1 if the tuple is smaller,
The tuple is returned
All this function has to do is to get 1 tuple from one of the Iterators
(from both initially), use the sorting order to determine which one
gets sent up.
IndexType Constructor
An index type can be defined as
IndexType indexType = new IndexType(IndexType.Hash);
and subsequently used as
if (indexType.indexType == IndexType.Hash) ....
LogicalOperator Constructor
A logical operator can be defined as
LogicalOperator logicalOperator =
new LogicalOperator(LogicalOperator.lopOR);
and subsequently used as
if (logicalOperator.logicalOperator == LogicalOperator.lopOR) ....
create a scan with given keys
Cases:
(1) lo_key = null, hi_key = null
scan the whole index
(2) lo_key = null, hi_key!= null
range scan from min to the hi_key
(3) lo_key!= null, hi_key = null
range scan from the lo_key to max
(4) lo_key!= null, hi_key!= null, lo_key = hi_key
exact match ( might not unique)
(5) lo_key!= null, hi_key!= null, lo_key < hi_key
range scan from lo_key to hi_key
SelectType Constructor
A selected type can be defined as
SelectType selectType = new SelectType(SelectType.SelBoth);
and subsequently used as
if (selectType.selectType == SelectType.SelBoth) ....
TupleOrder Constructor
A tuple ordering can be defined as
TupleOrder tupleOrder = new TupleOrder(TupleOrder.Random);
and subsequently used as
if (tupleOrder.tupleOrder == TupleOrder.Random) ....