Thomas Cathcart's greek philosopher joke books
About the book
Author: Cathcart, Thomas (1940- ) and Daniel Klein.
Title: Plato and a platypus walk into a bar…: Understanding philosophy through jokes. (2006)
Publication: New York : Abrams Image, 2006. ISBN<PHONE_NUMBER>821.
DAISY audio format narrated by Johnny Heller. CELA library call number DC46041. 224 pages in the paperback edition; 4 hrs., 9 min. as a recorded book.
Title: Aristotle and an aardvark go to Washington: Understanding political doublespeak through philosophy and jokes. (2007)
Publication: New York : Abrams Image, 2007. ISBN<PHONE_NUMBER>014.
DAISY audio format narrated by Johnny Heller. CELA library call number DA46040. 196 pages in the paperback edition; 3 hrs., 32 min. as a recorded book.
About the story
I read the Aardvark book first, because that whole Trump thing surpasses comprehension from my Canadian point of view. While I did not find what I hoped for – it may not, in fact, be possible to understand what is going on down there right now – I was quite enchanted by this very fast read.
Clocking in at just over two and a half hours, this is possibly the shortest book I have ever checked out of CELA. It’s basically a crash-course in logic, illustrated first by American political falsehoods and then by jokes.
Light-hearted and funny, it makes the logical principles it discusses very memorable, and illustrates their importance. It looks at various verbal sleights of hand, such as arguments by weak analogy, ambiguity and over-sharing.
The not-very-much-longer Platypus book does the same for philosophy: metaphysics, logic, epistemology, philosophy of religion, existentialism, philosophy of language, social and political philosophy, relativity and meta-philosophy.
Both of these titles are available through CELA and as eAudiobooks in your local library if they subscribe to the OneClickDigital service.
These authors have a number of other titles, including:
- Heidegger and a hippo walk through those pearly gates : using philosophy (and jokes!) to explore life, death, the afterlife, and everything in between (2009), which is available through Bookshare.
- The trolley problem, or, would you throw the fat guy off the bridge? a philosophical conundrum (2013), which I cannot find in an accessible format.
Recommended?
His books are short, funny non-fiction. They are an interesting way into philosophical thought, which generally has a reputation for being a bit dry.


--- layout: page title: About me use-site-title: false ---
I'm currently an independent researcher working on the evolution of DRU - DiRe Research Universe !


NEW
Unwrap the best of summer now
Make the Memories Special
To shop now, copy and paste:
http://links.mkt1917.com/ctt?kn=42&ms=MTI4MjYwMzIS1&r=Mzc1MTMwMDUwMTIS1&b=2&j=NzIzMTA1MzQ0S0&mt=1&rt=0
into your browser
To find a store near you, copy and paste:
http://links.mkt1917.com/ctt?kn=17&ms=MTI4MjYwMzIS1&r=Mzc1MTMwMDUwMTIS1&b=2&j=NzIzMTA1MzQ0S0&mt=1&rt=0
into your browser
Limited Time Only
Medium jar and Pur Radiance Candles
NOW $12.50 ea.
To enter, copy and paste:
http://links.mkt1917.com/ctt?kn=44&ms=MTI4MjYwMzIS1&r=Mzc1MTMwMDUwMTIS1&b=2&j=NzIzMTA1MzQ0S0&mt=1&rt=0
into your browser


I am a very simple card. I am good at containing small bits of information, like a brief description of this blog.


Before Change
// updated in a long time
states_alias = orm.aliased(States, name="StatesAlias")
protected_states = session.query(States.state_id, States.event_id)\
.filter(~exists()
.where(States.entity_id ==
states_alias.entity_id)
.where(states_alias.last_updated >
States.last_updated))\
.all()
protected_state_ids = tuple((state[0] for state in protected_states))
After Change
// For each entity, the most recent state is protected from deletion
// s.t. we can properly restore state even if the entity has not been
// updated in a long time
protected_states = session.query(func.max(States.state_id)) \
.group_by(States.entity_id).all()
protected_state_ids = tuple((state[0] for state in protected_states))
deleted_rows = session.query(States) \
.filter((States.last_updated < purge_before)) \
.filter(~States.state_id.in_(
protected_state_ids)) \
.delete(synchronize_session=False)
_LOGGER.debug("Deleted %s states", deleted_rows)
// We also need to protect the events belonging to the protected states.
// Otherwise, if the SQL server has "ON DELETE CASCADE" as default, it
// will delete the protected state when deleting its associated
// event. Also, we would be producing NULLed foreign keys otherwise.
protected_events = session.query(States.event_id) \
.filter(States.state_id.in_(protected_state_ids)) \
.filter(States.event_id.isnot(None)) \
.all()
protected_event_ids = tuple((state[0] for state in protected_events))
deleted_rows = session.query(Events) \


Sell
Browse
Account
Add a New Listing
Category
Select a Category
Outerwear
Tops
Bottoms
Footwear
Headgear
Accessories
Name
Color
Description
Size
Asking Price
Gender
Men
Women
Upload Image(s)
Upload
Choose file
Submit
Your Listings


AMERICAN HISTORY X ***1/2 (R)
Derek Vinyard: Edward Norton Danny Vinyard: Edward Furlong Doris Vinyard: Beverly D'Angelo Davina Vinyard: Jennifer Lien Seth: Ethan Suplee
Directed by Tony Kaye. Written by David McKenna. Running time: 117 minutes. Rated R (for graphic brutal violence including rape, pervasive language, strong sexuality and nudity).
BY AARON LINSKEY
Racism is a horrible thing that has not been really put to film much. A few films stick in my mind as anti-racist but most films that stand up for other religions. Schindler's List was the last great anti-racism film. American History X is the newest.
Derek Vinyard has had a tormented life. His father was murdered while he was a teenager and Derek's life changed completely. He became the leader of a Nazi group in Venice Beach, California. After a horrible crime is committed Derek is sent to prison.  Derek has been reformed the hardness of prison and he is shocked at how evil Danny has become. He tries desparately to change his younger brother. He shocks his former friends with his reformed self and this sets off a night long adventure of running and trying to set things right.
Edward Norton gives the performance of his career as Derek. Flashback scenes show him musclebound, which is not like his tall and skinny self, which Norton pulls off the know-how many veteran actors don't reach. He conveys the evil that is rippling in every tattooed muscle in flashbacks and a older brother approach for his present day scenes out of prison. Edward Furlong also does a great job as Danny who is titering between good and evil when Derek gets out of prison. He still looks as he did in his debut Terminator 2: Judgement Day but he can act a lot more now.
Director Tony Kaye, who's only past credits were commericals, was not happy with the final print. He claims Edward Norton took over the film and made a lot of cuts. If he did than he should be actor and editor for the next movie. Kaye is very good in his debut doing both directing and cinematographing. I don't know how much was Kaye's original product but maybe we will see his cut on DVD as a director's cut in the future. The current cut is good enough for me though.
This film is brutal.  The flashbacks of Derek's past in prison and as leader of the Venice Beach groups are all filmed in black and white much like Schindler's List. I'm not exactly sure why Kaye decided to film the flashbacks like this but it doesn't effect the flow of the movie.
Some complaints I've heard about this film are mostly script related. I can't find anything wrong with David McKenna's script. My only complaint is that the film is awfully short. This lessens the epic or classic feeling a film like this usually has. That's a very small complaint though and doesn't change my rating much.
 Thank God I've never had to experience any though. I grew up hearing stories about how my ancestors who lived along the Civil War times and as recently as their teens in the 1950s and 1960s. The stories are sickening and shock you into not creating stories of your own. American History X feels just like one of these stories only we actually get to see the carnage.
Doug Galecawitz from Darien, Illinois wrote into the Internet Movie Database (www.imdb.com) and posted a review to this film. He typed in it that he saw American History X with his friend who had been a Nazi and a raccist before. Doug says his friend hung his head in shame while walking out of this movie. This film will scare both current Nazis and people who want to be Nazis into a life of happiness. This is the kind of film that should be mandatory viewing for high schoolers. No school violence or discrimination would be fantastic.
-- Check out the Top Ten Movie & Video Links: http://freeway.net/~michaels/
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


| Top |
Functions
Functions
ncm_util_sqrt1px_m1 ()
gdouble
ncm_util_sqrt1px_m1 (const gdouble x
);
Calculates $\sqrt{1+x}-1$ using the appropriated expression to avoid round-off when $x \approx 0$.
ncm_util_1pcosx ()
gdouble ncm_util_1pcosx (const gdouble sinx
,const gdouble cosx
);
Calculates $1 + \cos(x)$ using the appropriated taylor series when $\cos(x) \approx -1$.
ncm_util_1mcosx ()
gdouble ncm_util_1mcosx (const gdouble sinx
,const gdouble cosx
);
Calculates $1 - \cos(x)$ using the appropriated taylor series when $\cos(x) \approx 1$.
ncm_util_1psinx ()
gdouble ncm_util_1psinx (const gdouble sinx
,const gdouble cosx
);
Calculates $1 + \sin(x)$ using the appropriated taylor series when $\sin(x) \approx -1$.
ncm_util_1msinx ()
gdouble ncm_util_1msinx (const gdouble sinx
,const gdouble cosx
);
Calculates $1 - \sin(x)$ using the appropriated taylor series when $\sin(x) \approx 1$.
ncm_util_cos2x ()
gdouble ncm_util_cos2x (const gdouble sinx
,const gdouble cosx
);
Calculates $\cos(2x)$ using the appropriated taylor series when $\sin(x) \approx 1$.
ncm_util_mln_1mIexpzA_1pIexpmzA ()
void ncm_util_mln_1mIexpzA_1pIexpmzA (const gdouble rho
,const gdouble theta
,const gdouble A
,gdouble *rho1
,gdouble *theta1
);
Computes $$z_1 = z - \ln\left(\frac{1-i e^{+z} A}{1+i e^{-z} A}\right),$$ where $z = \rho + i\theta$
and return the new $z_1 = \rho_1 + i\theta_1$ into rho1
and $\theta1$.
ncm_cmp ()
gint ncm_cmp (gdouble x
,gdouble y
,const gdouble reltol
,const gdouble abstol
);
Compare x and y and return -1 if x < y, 0 if x == y and 1 if x > y,
all comparisons are done with precision prec
.
ncm_util_cvode_check_flag ()
gboolean ncm_util_cvode_check_flag (gpointer flagvalue
,const gchar *funcname
,gint opt
);
FIXME
ncm_util_basename_fits ()
gchar *
ncm_util_basename_fits (const gchar *fits_filename
);
Extracts the extension .fits or .fit from fits_filename
and returns
the prefix. If the extension is not found a copy of fits_filename
is
returned.
ncm_util_function_params ()
gchar * ncm_util_function_params (const gchar *func
,gdouble **x
,guint *len
);
Extracts the function name and its numerical parameters.
ncm_util_fact_size ()
gulong
ncm_util_fact_size (const gulong n
);
Calculate the smallest factorization of n
such that
$n_f = 2^\mu \times 3^\nu \times 5^\alpha \times 7^\beta$
and $n_f \geq n$.
This functions is useful to find a fft size such that fftw can optimized it more easily.
ncm_util_sleep_ms ()
void
ncm_util_sleep_ms (gint milliseconds
);
Suspend the thread execution for milliseconds
.
ncm_complex_dup ()
NcmComplex *
ncm_complex_dup (NcmComplex *c
);
Allocates a new complex number and copy the contents of c
to it.
ncm_complex_free ()
void
ncm_complex_free (NcmComplex *c
);
Frees c
, it should not be used on a statically allocated NcmComplex.
ncm_complex_clear ()
void
ncm_complex_clear (NcmComplex **c
);
Frees *c
and sets *c
to NULL, it should not be used on a statically allocated NcmComplex.
ncm_complex_set ()
void ncm_complex_set (NcmComplex *c
,const gdouble a
,const gdouble b
);
Sets c
to $a + I b$.
ncm_complex_res_add_mul_real ()
void ncm_complex_res_add_mul_real (NcmComplex * restrict c1
,const NcmComplex * restrict c2
,const gdouble v
);
Computes c1
= c1
+ c2
* v
, assuming that
c1
and c2
are different.
ncm_complex_res_add_mul ()
void ncm_complex_res_add_mul (NcmComplex * restrict c1
,const NcmComplex * restrict c2
,const NcmComplex * restrict c3
);
Computes c1
= c1
+ c2
* c3
, assuming that
c1
and c2
are different.
ncm_complex_mul_real ()
void ncm_complex_mul_real (NcmComplex *c
,const gdouble v
);
Computes c1
= c1
* v
.
ncm_complex_res_mul ()
void ncm_complex_res_mul (NcmComplex * restrict c1
,const NcmComplex * restrict c2
);
Computes c1
= c1
* c2
, assuming that
c1
and c2
are different.
ncm_util_smooth_trans ()
gdouble ncm_util_smooth_trans (gdouble f0
,gdouble f1
,gdouble z0
,gdouble dz
,gdouble z
);
ncm_util_smooth_trans_get_theta ()
void ncm_util_smooth_trans_get_theta (gdouble z0
,gdouble dz
,gdouble z
,gdouble *theta0
,gdouble *theta1
);
ncm_util_position_angle ()
gdouble ncm_util_position_angle (gdouble ra1
,gdouble dec1
,gdouble ra2
,gdouble dec2
);
Computes the on-sky position angle (East of North) between object1 (ra1
, dec1
) and object2 (ra2
, dec2).
The input coordinates ((ra1
, dec1
), (ra2
, dec2
)) must be given in decimal degrees.
ncm_util_great_circle_distance ()
gdouble ncm_util_great_circle_distance (gdouble ra1
,gdouble dec1
,gdouble ra2
,gdouble dec2
);
Compute the great circle distance (or separation, as defined in astropy) between poistion 1 (ra1
, dec1
) and position 2 (ra2
, dec2
).
See Great-circle distance, in particular the Vincenty equation (implemented here).
The input coordinates ((ra1
, dec1
), (ra2
, dec2
)) must be given in decimal degrees.
ncm_acb_get_complex()
#define ncm_acb_get_complex(z) (arf_get_d (arb_midref (acb_realref (z)), ARF_RND_NEAR) + I * arf_get_d (arb_midref (acb_imagref (z)), ARF_RND_NEAR))


Audio waveform synthesis using deep learning
- motivation
- introduction to sound and acoustics,
- some challenges with audio synthesis,
- generative methods, and
- take a look at a recently proposed adversarial methods.
test audio
Overview of audio synthesis using deep learning
- Reference: "Generating music in the waveform domain", by Sander Dieleman
- https://benanne.github.io/2020/03/24/audio-generation.html
Why audio?
Why audio?
Frequency representation
- for human and computational analysis we often use spectrograms
- shows the local frequency content of the signal over time
Frequency representation
Spectrograms represent both amplitude and the phase
original
random
What is hard about the phase?
- it is an angle: $\phi \in [0,2\pi)$ and it wraps around,
- effectively random as amplitude tends to 0,
- absolute phase less meaningful,
- relative phase matter perceptually,
Why waveforms?
- by modelling the waveform we are implicitly modelling the phase
- waveform modelling common in the generative setting
- magnitude spectrograms common in the discriminative setting
Challenges for machine learning to model waveforms?
- high dimensional data
- cyclic dependencies common
- long ranging dependencies
Generative models
- Dataset $X$ of examples $x \in \mathcal{X}$
- $x \sim p(x)$, assumed i.i.d
- learn generative model $p(x|\theta)$ that approximates $p(x)$
Conditional generative models
- Dataset $X,Y$ of examples $x \in \mathcal{X}$ and $y \in
\mathcal{Y}$
- $x,y\sim p(x,y)$
- learn generative model $p(x|y; \theta)$ that approximates $p(x|y)$
- explicit: allows $p(x|y; \theta)$ and $x \sim p(x|y; \theta)$
- implicit: allows only $x \sim p(x|y; \theta)$
Different model settings
- likelihood-based models
- autoregressive models: e.g., WaveNet
- flow-based models: e.g., WaveGlow
- adversarial models
Adversarial model
- $\mathcal{L} = \mathbb{E}_{x} [log D(x)] + \mathbb{E}_{z}[log(1-D(G(z)))]$
- discriminator trained to maximizes this loss
- generator trained to minimize it
- pro: realistic samples
- con: usually less diverse
Mode-covering vs. mode-seeking
Different conditional settings
Different conditional settings
- densely conditioned and sparsely generated output: e.g., waveform to piano-roll (low variability)
- sparse condition and sparse-ish output: e.g., noise to piano-roll, MIDI
- dense-ish condition and dense output: e.g., text or spectrogram to waveform
- sparse condition and dense output: e.g., noise to waveform (high variability)
Sparse condition and sparse-ish output
Mogren, 2016, NeurIPS workshop
Sample 1
Sample 2
Wave2MIDI2Wave
Hawthorne et. al, 2019, ICLR
defined MIDI to audio
learned MIDI to audio
Sparse condition and dense output
Donahue et. al, 2019, ICLR
WaveGAN piano
Adversarial audio synthesis (Donahue et. al, 2019)
- more likely to exhibit periodicity
- correlations across large windows common
- need larger receptive fields
- alteration of DCGAN
DCGAN (Radford et. al, 2015)
WaveGAN (Donahue et. al, 2019)
- 2D kernels size 5x5 -> 1D kernels size 25
- transposed stride 2 -> 4
- remove batch norm (missing ablation)
- train using WGAN-GP (Gulrajani et al., 2017) strategy
- add one layer: 4096 -> 16384 output
SpecGAN (Donahue et. al, 2019)
- basically DCGAN
- trained on amplitude spectrograms
- Griffin-Lim to estimate phase from amplitude spectrogram
Adversarial audio synthesis (Donahue et. al, 2019)
real
WaveGAN
SpecGAN
Adversarial audio synthesis (Donahue et. al, 2019)
MelGAN (Kumar et. al, 2019)
- learned model for Mel spectrogram inversion
original
MelGAN
Griffin-Lim
MelGAN: Generator
- condition: mel-spectrogram
- output: waveform
- residual blocks with dilated convolutions
- stride and kernel-size carefully chosen to mitigate "checkerboard patterns"
- normaliation technique important: use weight normalization
MelGAN: Discriminator
- multi-scale architecture
- $D_1$, $D_2$, $D_3$: raw audio donwsample 1, 2, and 4 respectively
- intuition: each discriminator biased towards different frequecies
- window-based objective
SpecGAN + MelGAN
- SpecGAN: noise to spectrogram
- MelGAN: spectrogram to waveform
SpecGAN
SpecGAN + MelGAN


{{runningCommand}}
{{output}}
{{testPairsCompleted}} of {{testPairs.length}}
{{testDuration/1000 | number : 2}}s
{{ gulpCommand }}
Summary |
|
|---|---|
|
scanning
failed passed blessed |
|
Details
Nothing to see here!
Try changing filters.


This addon supports configuring default PID gains and gain schedule if needed.
If you need gain scheduling, select the Enable Gain Scheduling field. This will show the channel browser. Then, select the gain schedule signal by using the browse button next to the Gain Schedule Signal field.
To enter the default PID gains, single click under P, I, and D to type in a value. When the settings are correct, select Apply. If you would like to revert back to the last applied PID gains, select Reset. The Gain Schedule Value is ingored when gain scheduling is disabled. If gain scheduling is enabled, you can add additional rows by right clicking on the PID Settings table and select Add Row. Additionally, you can remove a row by selecting Delete Row.
Note: If you are using gain scheduling, make sure the lowest gain schedule value is first in the list and the greatest gain schedule value is last in the list.
If you want to be able to change the PID parameters on the fly using the PID tool, select Enable Live Updates.
Note: Any gain changes that are applied on the fly will be lost on the next deployment. If you want to keep your changes, you must modify the default settings. You can do this by exporting desired changes in the PID tool and importing them to the PID Parameters section using the Import button.


Instructions
To edit the title or description of this petition, click on each respective area.
Your changes are automatically saved.
Petition Description:
{{petition.description}}


Fox Bolduc
Programmer
Hello there, I'm Fox Bolduc. I'm a computer science student at Texas Tech University and making things work is my passion. My interests lie in autonomous systems, knowledge representation, and how we interact with computers. I firmly believe that computers are here to make our lives run as smoothly as possible and I'm looking to make that a reality.
My Projects
Jconvert
Python
Jconvert is a simple python script I wrote to convert data from Microsoft Excel spreadsheets to JSON format. The code provided can turn any list of objects with multiple attributes into a JSON file. Use of the included template Excel file that provides a sample of how to enter data properly is recommended.
Get the souce codeRoomVR
HTML (A-Frame) | JavaScript (three.js)
An introductory project to browser-based VR. Using A-Frame and three.js I made a human-scale,explorable mockup of my future living room. This project includes user-controlled lighting and some interactive elements.
Try it out Get the source codeRedirected Walking
Redirected walking is a set of techniques and algorithms developed to expand virtual environments beyond those allowed by our physical surroundings. These tricks allow developers to make vast virtual environments without requiring bulky gear like omni-directional treadmills.
Full reportMy Ramblings
I don't have anything to say right now.


When comparing rows of numbers, align numbers to the right in table cells.
{% extends "page-layout-styleguide.html" %} {% block page_title %} Data {% endblock %} {% block css_register %} {% endblock %} {% block additional_page_scripts %} {% endblock %} {% block header %} Data {% endblock %} {% block main_nav %} {% include "includes/main_nav.html" %} {% endblock %} {% block sectionOneTop %} {% endblock %} {% block sectionOneFull%} {% endblock %} {% block breadcrumb %} {% include "includes/breadcrumb_sp.html" %} {% endblock %} {% block sectionOneContent %} {% endblock %} {% block pageContent %} {% endblock %} {% block sectionOneFullBottom %} {% endblock %} {% block sectionOneRightHandColumn %} {% endblock %} {% block sectionLeftHandColumn %}
When comparing rows of numbers, align numbers to the right in table cells.
| Band | Annual council tax charge |
|---|---|
| A (reduced rate for disability discount) | £826.69 |
| A | £992.03 |
| B | £1,157.37 |
| C | £1,322.71 |
| D | £1,488.05 |
| E | £1,818.72 |
| F |
£2,149.40 |
| G | £2,480.07 |
| H | £2,976.09 |

Council tax bands for properties in Leeds

Band
Annual council tax charge

A (reduced rate for disability discount)
£826.69

A
£992.03

B
£1,157.37

C
£1,322.71

D
£1,488.05

E
£1,818.72

F

£2,149.40

G
£2,480.07

H
£2,976.09

Not all content in tables should be right aligned.
| Date | Stage |
|---|---|
| 1 November 2017 to 15 January 2018 | Apply for a place |
| 16 April 2018 | Offers go out |
| 30 April 2018 | Waiting list deadline |
| 16 May 2018 | Deadline for accepting offers and appeals |
| April to July 2018 | Places allocated from the waiting lists and appeals held |
| September 2018 | Start primary school |

Important dates for primary school applications

Date
Stage

1 November 2017 to 15 January 2018
Apply for a place

16 April 2018
Offers go out

30 April 2018
Waiting list deadline

16 May 2018
Deadline for accepting offers and appeals

April to July 2018
Places allocated from the waiting lists and appeals held

September 2018
Start primary school

Making an accessible table isn’t hard and can be broken down into two main things.
Central library
Municipal Buildings,
Calverley Street,
Leeds
WF3 2DL
0113 378 5005
Please note the library is closed on Bank Holidays

Name

Central library

Address

Municipal Buildings,
Calverley Street,
Leeds
WF3 2DL

Library enquires - Telephone

0113 378 5005

Library enquires - Email

<a href="mailto:libraryenquiries<EMAIL_ADDRESS>

Meeting room hire - Email

<a href="mailto:centrallibrarybookings<EMAIL_ADDRESS>

Opening hours

Monday: 9am to 7pm

Tuesday: 9am to 7pm

Wednesday: 9am to 7pm

Thursday: 9am to 6pm

Friday: 9am to 5pm

Saturday: 10am to 5pm

Sunday: 11am to 3pm

Please note the library is closed on Bank Holidays


Margin, border and padding all refer to different areas of space associated with an element. In order to best visualize this I have created an image below which illustrates their respective locations of space when surrounding content.
For the more technically inclined, it is worth noting that when dabbling with margins, borders and padding, you are able to change the size of each side individually, rather than just the whole area as a whole. When tinkering with these values, CSS assigns values in the order of top, right, bottom, left. For example, if I was to adjust the padding of a div in css, I would use the following semantic structure.
div {
padding: 30px 100px 80px 20px
}
This would create a padding with 30px on top, 100px on the right side, 80px on the bottom and 20px on the left side.


--- layout: page title: Services description: "How can I help you?" ---
$249 - Startup Technology Review Technology is expensive and it's not unusual to find $10,000 or more in cost and time savings just by looking at different approaches. This includes a one hour review of technology needs for your startup or established business. Appointments available in person or via video chat.
$800 - Software Development, One Day Experience, flexibility, and a focus on essentials mean we can often accomplish together in one day what might otherwise take a week or more. I am experienced in transactional web and mobile development as well as embedded systems, distributed control systems, and Supervisory Control and Data Acquisition (SCADA) systems. I prefer to track software development by the day rather than by the hour. If necessary, I can also bill at a traditional, hourly rate. My hourly rate begins at $150 depending on the type of work to be done. A one hour, initial consultation is free. If I can provide a solution in that time, I will. I don't "save back" anything for billable time.


Home
About Us
Food Places
Contacts
Sign in
Are you a new User?
Sign up Here
Username/Email
Enter Password
Confirm Password
Sign Up
Already have an account?
Log in Here
Username/Email
Password
Log in


This database contains voting results of the Council, the House Committee and the Finance Committeeand its subcomittees starting from the fifth term of LegCo.
For more details of the database, see https://www.legco.gov.hk/odata/english/vrdb.html.
Here are the key identifies that is useful for locating the necessary data from the Attendance Database:
VoteTime
is the date and time when a vote is
conducted. The lack of a designated unique identifier means the
VoteTime
is the only unique identifier of each individual
vote.
TermID
is the numerical ID of a LegCo term. Note
that the nominal number of a TermID is less than that of the term number
by 1, i.e. the TermID of the fifth term is 4
.
This database has an ID
which has little value since
there is only one data endpoint and it is not interchangeable with other
databases. To locate the bill in other databases, it is advisable to use
the VoteDate
as the filter parameter (e.g. Hansard
database) or to find the CommitteeID of the relevant bill committee
using the complimentary function search_committee()
(e.g. Meeting Schedule Database).
The function in this database has an option to return only the total
count of the records matching the specified parameters instead of
returning the data frame containing the result. To activate this option,
specify count = TRUE
:
# Fetch the total number of members absent from the division on the Motion Concerning
# the Amendment to the Method for the Selection of the Chief Executive of the HKSAR
voting_record(committee = "Council Meeting",
from = "2015-06-18", to = "2015-06-18",
vote = "absent", count = TRUE)
## [1] "33"
This database is accessible with the following function:
voting_record()
fetches the voting record of one or more
Council, the House Committee and the Finance Committee and its
subcomittees meeting(s), or the attendance record of one or more LegCo
member(s) in these meetings. Note that this function takes none of
CommitteeID
, SpeakerID
or
MemberID
as a filtering parameter. Instead, only the full
English committee name and the full Chinese name of LegCo members can be
used.
# Fetch how members voted the motion on "Abolishing the MPF Offsetting Mechanism" on November 11, 2016
v <- voting_record(committee = "Council Meeting",
from = "2016-11-16 13:51:53",
to = "2016-11-16 13:51:53")
head(v)
## ID StartDate Committee TermID VoteNumber
## 1<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## 2<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## 3<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## 4<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## 5<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## 6<PHONE_NUMBER>-11-16 00:00:00 Council Meeting 5 7
## VoteDate VoteTime MotionCh
## 1 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## 2 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## 3 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## 4 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## 5 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## 6 2016-11-16 00:00:00 2016-11-16 13:51:53 「取消強制性公積金對沖機制」議案
## MotionEn
## 1 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## 2 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## 3 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## 4 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## 5 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## 6 MOTION ON “ABOLISHING THE MANDATORY PROVIDENT FUND OFFSETTING MECHANISM”
## MoverCh MoverEn MoverType VoteSeparateMechanism GcPresentCount
## 1 黃國健 WONG Kwok-kin Member Yes 31
## 2 黃國健 WONG Kwok-kin Member Yes 31
## 3 黃國健 WONG Kwok-kin Member Yes 31
## 4 黃國健 WONG Kwok-kin Member Yes 31
## 5 黃國健 WONG Kwok-kin Member Yes 31
## 6 黃國健 WONG Kwok-kin Member Yes 31
## GcVoteCount GcYesCount GcNoCount GcAbstainCount GcResult FcPresentCount
## 1 31 28 3 0 Passed 28
## 2 31 28 3 0 Passed 28
## 3 31 28 3 0 Passed 28
## 4 31 28 3 0 Passed 28
## 5 31 28 3 0 Passed 28
## 6 31 28 3 0 Passed 28
## FcVoteCount FcYesCount FcNoCount FcAbstainCount FcResult OverallPresentCount
## 1 27 16 8 3 Passed NA
## 2 27 16 8 3 Passed NA
## 3 27 16 8 3 Passed NA
## 4 27 16 8 3 Passed NA
## 5 27 16 8 3 Passed NA
## 6 27 16 8 3 Passed NA
## OverallVoteCount OverallYesCount OverallNoCount OverallAbstainCount
## 1 NA NA NA NA
## 2 NA NA NA NA
## 3 NA NA NA NA
## 4 NA NA NA NA
## 5 NA NA NA NA
## 6 NA NA NA NA
## OverallResult NameCh NameEn Constituency Vote DisplayOrder
## 1 Passed 梁君彥 Andrew LEUNG Functional Present 1
## 2 Passed 涂謹申 James TO Functional Yes 2
## 3 Passed 梁耀忠 LEUNG Yiu-chung Functional Yes 3
## 4 Passed 石禮謙 Abraham SHEK Functional Absent 4
## 5 Passed 張宇人 Tommy CHEUNG Functional No 5
## 6 Passed 李國麟 Prof Joseph LEE Functional Yes 6
# Fetch the votes that Hon Abraham Shek were abstained from
v <- voting_record(name_en = "Abraham SHEK", vote = "abstain")
head(v)
## ID StartDate Committee TermID VoteNumber
## 1 47797 2012-11-07 00:00:00 Council Meeting 4 2
## 2 48427 2012-11-07 00:00:00 Council Meeting 4 11
## 3 48636 2012-11-14 00:00:00 Council Meeting 4 2
## 4 48846 2012-11-14 00:00:00 Council Meeting 4 5
## 5 51281 2012-12-05 00:00:00 Council Meeting 4 10
## 6 53285 2013-01-23 00:00:00 Council Meeting 4 3
## VoteDate VoteTime
## 1 2012-11-07 00:00:00 2012-11-07 17:42:53
## 2 2012-11-07 00:00:00 2012-11-07 23:58:46
## 3 2012-11-14 00:00:00 2012-11-14 23:14:44
## 4 2012-11-14 00:00:00 2012-11-14 23:25:57
## 5 2012-12-06 00:00:00 2012-12-06 13:48:36
## 6 2013-01-23 00:00:00 2013-01-23 19:43:54
## MotionCh
## 1 鍾國斌議員對何秀蘭議員的「同志平權」議案作出的修正案
## 2 田北俊議員對王國興議員的「完善房屋政策，解決市民住屋需要」議案作出的修正案
## 3 馮檢基議員對陳婉嫻議員的「紓解貧窮」議案作出的修正案
## 4 譚耀宗議員對陳婉嫻議員就「紓解貧窮」所提，經馮檢基議員修正的議案，作出的修正案
## 5 單仲偕議員對張華峰議員就「支持證券業發展」所提，經王國興議員／湯家驊議員修正的議案，作出的修正案
## 6 梁繼昌議員對葛珮帆議員的「幫助中產」議案作出的修正案
## MotionEn
## 1 AMENDMENT BY HON CHUNG KWOK-PAN TO HON CYD HO'S MOTION ON "EQUAL RIGHTS FOR PEOPLE OF DIFFERENT SEXUAL ORIENTATIONS"
## 2 AMENDMENT BY HON JAMES TIEN TO HON WONG KWOK-HING'S MOTION ON "PERFECTING HOUSING POLICY AND RESOLVING PUBLIC HOUSING NEED"
## 3 AMENDMENT BY HON FREDERICK FUNG TO HON CHAN YUEN-HAN'S MOTION ON "ALLEVIATING POVERTY"
## 4 AMENDMENT BY HON TAM YIU-CHUNG TO HON CHAN YUEN-HAN'S MOTION ON "ALLEVIATING POVERTY" AS AMENDED BY HON FREDERICK FUNG
## 5 AMENDMENT BY HON SIN CHUNG-KAI TO HON CHRISTOPHER CHEUNG'S MOTION ON "SUPPORTING THE DEVELOPMENT OF THE SECURITIES INDUSTRY" AS AMENDED BY HON WONG KWOK-HING / HON RONNY TONG
## 6 AMENDMENT BY HON KENNETH LEUNG TO DR HON ELIZABETH QUAT'S MOTION ON "ASSISTING THE MIDDLE CLASS"
## MoverCh MoverEn MoverType VoteSeparateMechanism GcPresentCount
## 1 鍾國斌 CHUNG Kwok-pan Member Yes 34
## 2 田北俊 James TIEN Member Yes 32
## 3 馮檢基 Frederick FUNG Member Yes 34
## 4 譚耀宗 TAM Yiu-chung Member Yes 34
## 5 單仲偕 SIN Chung-kai Member Yes 16
## 6 梁繼昌 Kenneth LEUNG Member Yes 30
## GcVoteCount GcYesCount GcNoCount GcAbstainCount GcResult FcPresentCount
## 1 33 8 20 5 Negatived 35
## 2 31 21 4 6 Passed 30
## 3 33 29 4 0 Passed 33
## 4 33 29 3 1 Passed 34
## 5 15 15 0 0 Passed 25
## 6 29 14 0 15 Negatived 28
## FcVoteCount FcYesCount FcNoCount FcAbstainCount FcResult OverallPresentCount
## 1 35 16 8 11 Negatived NA
## 2 30 20 2 8 Passed NA
## 3 33 17 7 9 Passed NA
## 4 34 18 5 11 Passed NA
## 5 25 13 6 6 Passed NA
## 6 28 15 0 13 Passed NA
## OverallVoteCount OverallYesCount OverallNoCount OverallAbstainCount
## 1 NA NA NA NA
## 2 NA NA NA NA
## 3 NA NA NA NA
## 4 NA NA NA NA
## 5 NA NA NA NA
## 6 NA NA NA NA
## OverallResult NameCh NameEn Constituency Vote DisplayOrder
## 1 Negatived 石禮謙 Abraham SHEK Functional Abstain 10
## 2 Passed 石禮謙 Abraham SHEK Functional Abstain 10
## 3 Passed 石禮謙 Abraham SHEK Functional Abstain 10
## 4 Passed 石禮謙 Abraham SHEK Functional Abstain 10
## 5 Passed 石禮謙 Abraham SHEK Functional Abstain 10
## 6 Negatived 石禮謙 Abraham SHEK Functional Abstain 10


Pro-efficient in tasks given due to an obsession to perfection and a quick learner to new fields.
Team player and considerate of other views all with the aim of doing what is intended to the best of how it can be done.
Assured fluency in English and Kiswahili and a fan of heritage and culture.
Sensitive to my environment at all costs to avoid invading other individuals’ personal space or making them uncomfortable with their work space.
Reading Novels-Very fond of adventurous and detective novels in particular.
Hiking-Recently visited Karura forest and Mount Longonot for a hike with family.
Swimming-A member of our home swimming team incharge of pool safety.
Singing-Also was a member of the school choir and sing until this very day.
Playing football-Forward football player and consider myself to be of high skills.
Here are samples of my work.
VOICE
INSTA-NICER
PASSWORD
HULIGAN
SPONYO
KUDUSH


plumage species pattern OpenUrl colour &; woodpecker dissimilarity Fig. variation CrossRef large scores used range geographic values birds mimicry climate habitat matrix Science analysis correlation data Data Web associated size species. using Extended eBird evolutionary shared convergence energy records species’ body Soc. View climate, evolution gradient high overall pairwise results selection Biol. Mantel PCA Pattern analyses elements factors habitat, multiple pairs phylogenetic sexual species-level woodpeckers calculated climates described different distance related species, sympatry visual <; .-., Gloger’s Principal Shakya Table approach available component components explained interspecific matrices model open patterns points process similar similarity specimens Alive/Lynx Download HBW Illustrations Stevens, avian closely converted distribution dyadic image inferred information low overlap phylogeny plumage. principal relationships represented resulting strong woodpeckers. Birds Proc. Sci. appearance average axes birds. colours correlogram correspond explanatory habitats intermediate loadings marked matrix. modified new phenotypic red scores. seasonal second sizes spectra tips .), Additionally, Am. Evol. Linn. MODIS Melanerpes Open Veniliornis World added based biotic coefficient coloured combined data-hide-link-title=""> data-icon-position="" dyads element exemplar explain figure identify luminance observed package panels positive precipitation reveals rule set simply tab tend yellow (PCA) (PGLS (e.g., (i.e., Dinopium Earth Ecol. Image Lond. Nat. Picoides Piculus Plumage Specifically, University abiotic areas bright clade color comparative descriptions dimorphism divergence evolved example, expected explains extreme forests green habitats, included including indicates long mass mass, measured members method point randomly reflectance responsible showing single size. small squares statistic step, summarized temperature tree. value variables variance warm white woodpeckers, (). (a) (as (b) (c) (colourPC) (d) Climate Colaptes Condor Dendrocopos Edicions. Evolution Higher ImageJ PC: [[#xA]] above, accordingly accounting additional averaged axes. background bands best bird boldly calculate circles classified climates, close cold comparisons complete contributions converged convergences create d). data, degree did dissimilarity. distances distantly drive drivers external files filter final forests. function generalized genetic given global habitats. history hypotheses identified images importance incorporated influence infrequently inline invaded larger latitude, levels likely maps matrix, mean measure member missing necessary negative observations partial patterning plumage, popup powerful qualitative quantify regions regression relative relevant repeated results, retained scale sister smaller social space stimulation study supported sympatric table: taxa temperate test time tree tree, triangle use values, visible


| KCMP(2) | Linux Programmer's Manual | KCMP(2) |
#include <linux/kcmp.h>
int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2);
Note: There is no glibc wrapper for this system call; see NOTES.
Permission to employ kcmp() is governed by ptrace access mode PTRACE_MODE_READ_REALCREDS checks against both pid1 and pid2; see ptrace(2).
The type argument specifies which resource is to be compared in the two processes. It has one of the following values:
struct kcmp_epoll_slot { __u32 efd; __u32 tfd; __u64 toff; };
Within this structure, efd is an epoll file descriptor returned from epoll_create(2), tfd is a target file descriptor number, and toff is a target file offset counted from zero. Several different targets may be registered with the same file descriptor number and setting a specific offset helps to investigate each of them.
Note the kcmp() is not protected against false positives which may occur if the processes are currently running. One should stop the processes by sending SIGSTOP (see signal(7)) prior to inspection with this system call to obtain meaningful results.
The easiest way to explain is to consider an example. Suppose that v1 and v2 are the addresses of appropriate resources, then the return value is one of the following:
On error, -1 is returned, and errno is set appropriately.
kcmp() was designed to return values suitable for sorting. This is particularly handy if one needs to compare a large number of file descriptors.
This system call is available only if the kernel was configured with CONFIG_CHECKPOINT_RESTORE. The main use of the system call is for the checkpoint/restore in user space (CRIU) feature. The alternative to this system call would have been to expose suitable process information via the proc(5) filesystem; this was deemed to be unsuitable for security reasons.
See clone(2) for some background information on the shared resources referred to on this page.
$ ./a.out Parent PID is 1144 Parent opened file on FD 3 PID of child of fork() is 1145 Compare duplicate FDs from different processes: kcmp(1145, 1144, KCMP_FILE, 3, 3) ==> same Child opened file on FD 4 Compare FDs from distinct open()s in same process: kcmp(1145, 1145, KCMP_FILE, 3, 4) ==> different Child duplicated FD 3 to create FD 5 Compare duplicated FDs in same process: kcmp(1145, 1145, KCMP_FILE, 3, 5) ==> same
#define _GNU_SOURCE #include <sys/syscall.h> #include <sys/wait.h> #include <sys/stat.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <linux/kcmp.h> #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \ } while (0) static int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) { return syscall(SYS_kcmp, pid1, pid2, type, idx1, idx2); } static void test_kcmp(char *msg, id_t pid1, pid_t pid2, int fd_a, int fd_b) { printf("\t%s\n", msg); printf("\t\tkcmp(%ld, %ld, KCMP_FILE, %d, %d) ==> %s\n", (long) pid1, (long) pid2, fd_a, fd_b, (kcmp(pid1, pid2, KCMP_FILE, fd_a, fd_b) == 0) ? "same" : "different"); } int main(int argc, char *argv[]) { int fd1, fd2, fd3; char pathname[] = "/tmp/kcmp.test"; fd1 = open(pathname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); if (fd1 == -1) errExit("open"); printf("Parent PID is %ld\n", (long) getpid()); printf("Parent opened file on FD %d\n\n", fd1); switch (fork()) { case -1: errExit("fork"); case 0: printf("PID of child of fork() is %ld\n", (long) getpid()); test_kcmp("Compare duplicate FDs from different processes:", getpid(), getppid(), fd1, fd1); fd2 = open(pathname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); if (fd2 == -1) errExit("open"); printf("Child opened file on FD %d\n", fd2); test_kcmp("Compare FDs from distinct open()s in same process:", getpid(), getpid(), fd1, fd2); fd3 = dup(fd1); if (fd3 == -1) errExit("dup"); printf("Child duplicated FD %d to create FD %d\n", fd1, fd3); test_kcmp("Compare duplicated FDs in same process:", getpid(), getpid(), fd1, fd3); break; default: wait(NULL); } exit(EXIT_SUCCESS); }
| 2019-10-10 | Linux |


--- layout: post title: "Testing English Posting 2" subtitle: "Nothing to see here! This is for testing purposes!" date: 2021-07-27 background: '/img/posts/03.jpg' categories: - testing lang: - English - Korean tags: - en permalink: en/:categories/:title ---
Hello World!


Preparation time
less than 30 mins
Cooking time
1 to 2 hours
Serves
Serves 4
This is our take on a very traditional Mayan dish, from before the Spanish Conquest. Traditionally it was made with rabbit, but we have found it excellent with pork. The soaked chickpeas, although not authentic, do work well.
Put the pork, water or stock, onion, garlic, bay leaves and seasoning in a large pot and bring to the boil. Simmer for about an hour or until the pork is falling apart.
Preheat the oven to 200C/400F/Gas 6.
Meanwhile for the tomato and chilli sauce, toast the chillies on both sides in a dry frying pan until blistered. Be careful as the fumes that are given off are an irritant, so make sure the kitchen is well ventilated.
Place the chillies in a bowl with the hot water to soften. Soak for 20 minutes.
Place the tomatoes and the garlic in a roasting tray and roast in the oven until soft. Set aside.
Toast the cloves and peppercorns in a dry frying pan and set aside.
Place the chillies, tomatoes, garlic and spices and a little of the chilli soaking water in a blender and blend until it is the consistency of brown sauce. Pass through a sieve using a wooden spoon.
For the pork, toast the pumpkin seeds in a dry frying pan, then place in a food processor and grind to a powder.
If using dried corn, toast in the same way until the kernels start to go brown. Set aside to cool, then coarsely grind in a food processor. If using chickpeas, see step 11.
Heat the sunflower oil in a frying pan and fry the tomato and chilli mixture for about 15 minutes.
Add the tomato and chilli mixture to the stew, then stir in the toasted corn or the soaked chickpeas, along with the ground pumpkin seeds. Add the yerba santa or ground fennel seeds and the pork. Cook until thickened and reduced, about 45 minutes. Add salt to taste.
Serve with tortillas, green rice and a spicy cooked salsa.


Fire korte sætninger om casen... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om introduktionen... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om udfordringen... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om løsningen... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om strategien... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om test... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.
To korte sætninger om designet... Scenester art party you probably haven't heard of them Odd Future. Meditation cardigan salvia, roof party McSweeney's drinking vinegar fixie XOXO freegan polaroid brunch Cosby sweater next level disrupt. Distillery pickled gastropub, cred meditation 90's next level Schlitz cold-pressed church-key dreamcatcher.


A collection of properties of a particle used in the scripting API. Translates between the actual properties of a particle
and a JavaScript style hash/QScriptValue storing a set of properties. Used in scripting to set/get the complete set of
particle properties via JavaScript hashes/QScriptValues
all units for position, velocity, gravity, radius, etc are in meter units
/libraries/particles/src/Particle.h
/libraries/particles/src/Particle.cpp (see ParticleProperties::copyToScriptValue)
Custom mapping
September 16th, 2014
A collection of properties of a particle used in the scripting API. Translates between the actual properties of a particle and a JavaScript style hash/QScriptValue storing a set of properties. Used in scripting to set/get the complete set of particle properties via JavaScript hashes/QScriptValues all units for position, velocity, gravity, radius, etc are in meter units /libraries/particles/src/Particle.h /libraries/particles/src/Particle.cpp (see ParticleProperties::copyToScriptValue) Custom mapping September 16th, 2014


Attributes can be attached to communicators, windows, and datatypes. Attributes are local to the process and specific to the communicator to which they are attached. Attributes are not propagated by MPI from one communicator to another except when the communicator is duplicated using MPI_COMM_DUP (and even then the application must give specific permission through callback functions for the attribute to be copied).
Advice to users.
Attributes in C are of type void *. Typically, such an attribute
will be a pointer to a structure that contains further information, or
a handle to an MPI object.
In Fortran, attributes are of type INTEGER. Such attribute
can be a handle to an MPI object, or just an integer-valued
attribute.
( End of advice to users.)
Advice
to implementors.
Attributes are scalar values, equal in size to, or larger than a C-language
pointer. Attributes can always hold an MPI handle.
( End of advice to implementors.)
The caching interface defined here
requires
that attributes be
stored by MPI opaquely within a communicator,
window, and datatype.
Accessor functions include the following:
Caching and callback functions are only called synchronously, in response to explicit application requests. This avoid problems that result from repeated crossings between user and system space. (This synchronous calling rule is a general property of MPI.)
The choice of key values is under control of MPI. This allows MPI to optimize its implementation of attribute sets. It also avoids conflict between independent modules caching information on the same communicators.
A much smaller interface, consisting of just a callback facility, would allow
the entire caching facility to be implemented by portable code. However, with
the minimal callback interface, some form of table searching is implied by the
need to handle arbitrary communicators. In contrast, the more complete
interface defined here permits rapid access to attributes through the use of
pointers in communicators (to find the attribute table) and cleverly chosen
key values (to retrieve individual attributes). In light of the efficiency
``hit'' inherent in the minimal interface, the more complete interface defined
here is seen to be superior.
( End of advice to implementors.)
MPI provides the following services related to caching. They are
all process local.


Drag the handles to manipulate the gradient.
Left Click on the empty space below the gradient to add a new color transition handle
Right Click on a handle to delete it
Download the source code from here


Tree and Park Report - %year%
----PARKS REPORT----
Our %numberOfParks% parks have an average age of %averagParkAge% years.
----STREETS REPORT----
Our "%numberOfStreets% streets have a total length of %lengthOfStreet% KM.
with an average of %averageLength% KM.


Ken posted about Sling Media receiving big funding from a few very big VCs like Liberty Media Corp., EchoStar Communications Corp. and Goldman, Sachs & Co.. In total, $46.6 million are raised and some people might to wonder where this kind of money will be spent. Om Malik has some good comments but I think the entire idea goes a lot further than this.
Take a few lines of the nerdy talk from the Slingbox page.
Slingbox is powered by a high-performance digital signal processor from Texas Instruments, and leverages Microsoftâ€™s latest Windows Media Video technologies to provide superior video quality. Plus, our engineering dudes developed the SlingStream optimization algorithms that automatically adapt to changing network conditions. This means that we can give you the best video quality consistently, personalized to your connection.
Now you might want to take a look at the Triple Play Video from DLD06. Go. Especially watch Rainer Beaujean from T-Online.
Ok, now after you watched this, let’s take a look at what Adam Curry recently said in one of his Daily Source Code podcasts. The big thing with podcasting is that you remove two constraints. Frequence and time. Suddenly you have all the frequency your pipe can handle, and time is no issue anymore as you can record shows that are as long as you want, when you want, and they can be listened whenever the listener feels like it. That is a HUGE shift.
The same thing will be true with TV. You will suddenly not only have on demand download shows/films/series/… on a pay model but also for standard advertising based shows. And you will get them via your broadband pipe, something that is already being developed as part of T-Vision. What Sling Media has created is a box that will allow people to get used to watching TV on a computer and with Apple possibly coming out with a big Mac Mini Plasma TV, this will be getting easier. Now read a small bit from above again: […] SlingStream optimization algorithms that automatically adapt to changing network conditions […]
With their solution already allowing you to watch your TV from on the road via a Microsoft Smartphone (in internal testing), there is no reason to not possibly use the entire technology to stream from a hosting facility to that device. Of course, they do save bandwidth the way they do it now, and with a TiVo you can watch what you recorded from anywhere. But in the future bandwidth costs will go fully towards zero, and that will not be a problem anymore. All in all, the solution is already big now, but with the disruption of the frequency play and removal of the option to time TV shows to be aired at the right time, Sling Media is very well positioned to play a huge part in the future of TV distribution, vodcasting if you want to use some weird term that might show where this is going. <!– technorati tags start –>
Technorati Tags: broadcasting, venture capital, Sling Media, Slingbox, streaming, television, video, vodcasting
<!– technorati tags end –>


The JSON RPC Service is used to register and generate JSON RPC clients.
Static instance of serviceImpl.
A service for managing JSON RPC end points.
[ Hemi JavaScript Framework - Stephen W. Cote, 2002 - 2013. ]


Loading...
No metrics to display.
Metrics are not available.
An error occurred getting metrics for container {{options.selectedContainer.name}}
from {{metricsURL}}.
If you have network connectivity, this could indicate a misconfiguration.
Please contact your system administrator.
{{metricsError.details}}


{{title}}
You seem to have drifted off. Do not falter, just click the magic link below to get you right back
Return to Home Page


Next: Standard Method Combination, Previous: Sorting the Applicable Methods by Precedence Order, Up: Method Selection and Combination
In the simple case—if standard method combination is used and all applicable methods are primary methods—the effective method is the most specific method. That method can call the next most specific method by using the function call-next-method. The method that call-next-method will call is referred to as the next method . The predicate next-method-p tests whether a next method exists. If call-next-method is called and there is no next most specific method, the generic function no-next-method is invoked.
In general, the effective method is some combination of the applicable methods. It is described by a form that contains calls to some or all of the applicable methods, returns the value or values that will be returned as the value or values of the generic function, and optionally makes some of the methods accessible by means of call-next-method.
The role of each method in the effective method is determined by its qualifiers and the specificity of the method. A qualifier serves to mark a method, and the meaning of a qualifier is determined by the way that these marks are used by this step of the procedure. If an applicable method has an unrecognized qualifier, this step signals an error and does not include that method in the effective method.
When standard method combination is used together with qualified methods, the effective method is produced as described in Standard Method Combination.
Another type of method combination can be specified by using the :method-combination option of defgeneric or of any of the other operators that specify generic function options. In this way this step of the procedure can be customized.
New types of method combination can be defined by using the define-method-combination macro.


:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Examples
feat(shopping cart): add the amazing button feat: remove ticket list endpointrefers to JIRA-1337
BREAKING CHANGES: ticket enpoints no longer supports list all entites.
fix: add missing parameter to service call
The error occurred because of
This reverts commit 221d3ec6ffeead67cee8c730c4a15cf8dc84897a.


Uses of Package
io.ebean.config
Package
Description
Server Cache Service
Configuration settings for Database construction
Database platform specific support
Persist and Query Event Controllers and Listeners
Provides a API for plugins.
JSON formatting and parsing objects (See JsonContext).
-
ClassDescriptionConfiguration for the container that holds the Database instances.The configuration used for creating a Database.
-
ClassDescriptionProvides the Tenant Id for the current request based on the current user.The configuration used for creating a Database.
-
ClassDescriptionProvides some base implementation for NamingConventions.Defines the AutoTune behaviour for a Database.The mode for determining if AutoTune will be used for a given query when
Query.setAutoTune(boolean)
has not been explicitly set on a query.BackgroundExecutorWrapper that can be used to wrap tasks that are sent to background (i.e.Helper to find classes taking into account the context class loader.Wraps the preferred, caller and context class loaders.Configuration for the container that holds the Database instances.Provides the Tenant Id for the current request based on the current user.Provides the current user in order to support 'Who created', 'Who modified' and other audit features.Custom mappings for DB types that override the default.The configuration used for creating a Database.Naming convention used for constraint names.Defines how constraint names are shortened if required based on platform limitations.Used to normalise table and column names which means stripping out quoted identifier characters and any catalog or schema prefix.Configuration for the Document store integration (e.g.Define the encryption options for a bean property.The Encryption mode.Programmatically define which database columns are encrypted.Represents the key used for encryption.Determine keys used for encryption and decryption.Used for Java side encryption of properties when DB encryption is not used.Provides awareness of externally managed transactions.A customer Id generator that can be registered with Ebean and assigned to @Id properties using the name attribute of @GeneratedValue.Defined the format used for Date types.Defined the format used for DateTime types.Defines the naming convention for converting between logical property names/entity names and physical DB column names/table names.Configuration for DB types such as UUID, Geometry etc.Specify how UUID is stored.Configuration for transaction profiling.The captured query plans.EXPERIMENTAL: Listener for captured query plans.Slow query event.Listener for slow query events.TableName holds catalog, schema and table name.For multi-tenancy via DB CATALOG supply the catalog given the tenantId.For multi-tenancy via DB supply the DataSource given the tenantId.The mode to use for multi-tenancy.For multi-tenancy via DB SCHEMA supply the schema given the tenantId. -
ClassDescriptionConfiguration for DB types such as UUID, Geometry etc.Specify how UUID is stored.
-
-
-
ClassDescriptionConfiguration for the container that holds the Database instances.The configuration used for creating a Database.
-


Your pizza total is:
Your total cost is:
Delivery cost:
Pizza total:
Delivery fee is set at Ksh.200 for all locations we deliver to.


|
GAUSS Engine
0.4.0
Language bindings for the GAUSS Engine
|
A light-weight OOP wrapper for various target languages that allows developers to interface with the GAUSS Engine.
We use the SWIG library to generate language-specific extensions from C++ for us.
The following languages are supported with more planned:
While building from source allows complete control over the compile process, we have elected to also release binaries for popular platforms.
You can:
The API will look for the MTENGHOME
environment variable. This will be the location the engine was extracted to (i.e. C:\mteng
on Windows, $HOME/mteng
on Linux)
| Variable | Value |
|---|---|
MTENGHOME | /home/user/mteng |
The following environment variables must contain the specified values
| Variable | Value |
|---|---|
PATH | Append C:\mteng |
The presence of this value allows the engine DLL to be found and loaded properly.
Ensure you do not replace PATH
with the directory.
| Variable | Value |
|---|---|
LD_LIBRARY_PATH | Append /home/user/mteng |
Note: Please adjust the paths accordingly to your specific installation.
If you are building from source, you will need to have the SWIG library available:
http://www.swig.org/download.html
Once installed, please ensure swig
is available in your terminal by placing its installation directory in your PATH
environment variable, as building requires it.
EXCEPTION: If you are not modifying any source files, the auto generated files have been included in the respective python
and php
sub-directories. Please refer to php5/php7 based on the version of PHP being used.
Please refer to the vendor documentation for language-level installation.
The Python installation uses the distribute
package.
Select the correct egg
file according to your architecture.
Please ensure your Python installation contains the setuptools
package, which provides the easy_install
application.
Instructions and files can be found at: https://pypi.python.org/pypi/setuptools#windows
$ easy_install ge-0.4.0-py3.6-win-amd64.egg
$ easy_install ge-0.4.0-py3.6-linux-x86_64.egg
If using Windows, please ensure the following are correctly in your PATH
environment variable
C:\Python36\;C:\Python36\Scripts\
Note: Tested with Python 3.6 (MSVC 2015)
Just like the traditional make && make install
, compiling a Python extension requires 2 steps:
Due to mteng.dll
being compiled with Visual Studio 2015, it is necessary at this time to use MSVC to compile the Python extension.
All commands are run through the appropriate Visual Studio command prompt.
32-bit: Start -> Microsoft Visual Studio 2015 -> Visual Studio Tools -> Visual Studio 2015 Command Prompt
64-bit: Start -> Microsoft Visual Studio 2015 -> Visual Studio Tools -> Visual Studio 2015 x64 Win64 Command Prompt
If your user lacks permissions to access the Python installation directory, you may have to run cmd
as Administrator
Execute the following via a cmd
terminal:
If you omit the build_ext -i
step, the ge.py
generated file will NOT be placed in Python package directory.
The result of this behavior is the following when attempting to import ge
:
CMake is our build tool of choice for building the PHP extension.
Currently, only Linux is supported/tested. The CMake file uses information from the php-config
binary to configure itself appropriately.
The following commands are executed from the root of the source path:
$ mkdir build $ cd build # You could also use cmake-gui to create the Makefile
To use the pre-generated wrappers, configure as follows:
$ cmake -DMTENGHOME=/home/user/mteng -G"Unix Makefiles" ..
If you have modified source files and need to regenerate the wrappers:
$ cmake -DMTENGHOME=/home/user/mteng -G"Unix Makefiles" -DSWIG=ON ..
Now build the extension
$ make
You should now have a ge.so
file, as well as ge.php
, in your current directory.
This will need to be used with any project that makes use of the GAUSS Engine, as the first line of any program will be
include("ge.php");
Place the ge.so
file in your PHP installation's extension directory. If a valid directory was found during the CMake configuration phase, you can run make installext
to automatically copy the newly built library into the appropriate extension directory.
If you prefer to do this manually, the location can be found by either:
php-config --extension-dir
extension_dir
value in your php.ini
file.For use with a web server, the extension must be loaded directly by PHP, requiring the following change to your php.ini
:
; load gauss engine extension extension=ge.so
If running PHP from the command line, changes should be instantaneous.
Please refresh services that utilize PHP to pick up on the new extension.
This section introduces an implementation of the GAUSS Engine.
Getting started with the GAUSS Engine is extremely simple.
This assumes the library has been made available to the target language properly.
The following snippet will be described step-by-step in detail:
Before we can make use of the functionality, we have to make the engine library available to us. This is quite simple and straight-forward.
If you compiled from source and you're not sure where ge.php
is, it will be in the build
directory.
After importing the correct library, we need to instantiate our engine object. There are multiple constructors available that suit a variety of scenarios.
In this example, we will be using the default constructor. This method relies on an existing environment variable in an effort to locate the GAUSS home directory.
By default, this environment variable is MTENGHOME
.
Hint: Check out the GAUSS(string)
constructor, as it allows you to pass in a custom environment variable to use.
Technically, this step can be skipped, but creating appropriate callbacks allows you control over specific aspects of program functionality.
While some of these must be implemented to work correctly (i.e. setting a string input callback), others have default implementations that don't necessarily require a callback (i.e. program output routing to stdout
), it is generally a good idea to do so.
The following 3 steps are core to setting up a callback:
thisown
property to 0 (release ownership) if the object would go out of scope before the GAUSS
objectPretty straight-forward!
We first define a callback class, inheriting the appropriate base class; in this case IGEProgramOutput.
Simply override the callback method invoke
and print out the message
argument.
Important Note:
We must set the thisown
property of the newly instantiated object to 0
if it will go out of scope before the GAUSS
object
This is necessary because ownership of this object will be transferred to the GAUSS object.
Without setting this, if the out
var was to go out of scope, it could be deleted and GAUSS will now attempt to reference a non-existent callback.
Note: We used the GAUSS.setProgramOutputAll method, which is used to set both the program and error output.
If you wish to separate the callbacks for different functionality, you can use the GAUSS.setProgramOutput and GAUSS.setProgramErrorOutput methods.
Now that you've made it to this step, if all has been configured correctly, initializing the Engine is quite easy.
The initialize
method returns a true/false value depending on whether it was successful or not.
With everything set up, we are free to run whatever code we choose!
For this small example, we just want the engine to tell us "Hello World!" through the callback we've assigned.
will result in the output:
Shutting down the GAUSS Engine is as easy as telling it to do so:
This will destroy any active workspaces and perform any cleanup that might be necessary.
This wraps up the basics of using the GAUSS Engine API. The documentation is full of code snippets that should help you easily interface with the Engine for your chosen task.
A template file has also been included which represents a full setup and tear-down with space in the middle to drop in code snippets. This file will be aptly named in relation to the language it applies to:
| Language | Filename |
|---|---|
| Python | python/template_example.py |
| PHP | php/template_example.php |
Some simple unit tests have also been provided. The PHP unit test example uses PHP Unit and can ran accordingly:
php -f phpunit.phar unit_test.php
The CMake configure stage will also attempt to locate a PHPUnit binary, and if found, will offer a 'unittest' make target that can be used:
make unittest


Home
|
Features
|
Documentation
|
Downloads
|
Help
Framework Distribution
Binary distribution
gravity-1.0-beta-1.jar


Turkey's Erdogan speaks with Trump, to visit Washington next week
ISTANBUL (Reuters) - Turkish President Tayyip Erdogan spoke by phone with U.S. President Donald Trump on Wednesday and the two leaders reconfirmed they will meet in Washington on Nov. 13 at Trump’s invitation, Turkish officials said.
Earlier this week, three Turkish officials had said Erdogan might call off the visit in protest of votes in the U.S. House of Representatives to recognize mass killings of Armenians a century ago as genocide and to seek sanctions on Turkey.
However, officials on Wednesday said the visit would go ahead and that the two leaders had exchanged views on bilateral issues and regional developments during their phone call.
Turkish sources say Trump and Erdogan have a strong bond despite anger in Congress over Turkey’s Syria offensive and its purchase of Russian air defenses, and despite what Ankara sees as the U.S. president’s own erratic pronouncements.
Those personal ties could prove crucial, given NATO member Turkey’s purchase of Moscow’s S-400 missile defense system, which under U.S. law should trigger sanctions.
Turkey has already been suspended from the F-35 fighter jet program in which it was both joint producer and customer, and the offensive it launched against Kurdish forces in northeast Syria on Oct. 9 set the stage for further U.S. retaliation.


*** 1/2
Principal Cast: Peter O'Toole, Rose McGowan, Jennifer Going, Ben Affleck, Liev Scribner
Screenplay: Dean Koontz (from his 1983 novel) Director: Joe Chappelle
I'll be the first to admit it. I think Dean Koontz is a fabulous writer. But translating the work to the screen will never measure up to a novel's standard. That said, this is the best adaptation of a Koontz novel that has been produced by Hollywood.
The plot, in brief, is fairly simple. Two sisters come home to a small mountain town only to find that it's deserted. A few surviving deputies are left, but the force that took the town is still there. And it starts to toy with them. The military gets called in and is wiped out and only an old man with an unusual theory has any idea as to what is going on.
Major subplots get thrown out but most of the book's spirit remains intact, despite major cuts to the story. The action gets streamlined as does the character development. The suspense, however, remains intact. There's a marvelous use of sound to put people on edge.
Joe Chapelle does a good job with the material. Confronting the monster unfolds a lot like John Carpenter's "The Thing." In fact there are shots that are obvious homage's to that scarefest. That's perfectly fine.
I haven't had much experience with the movie horror genre and I imagine that more experienced critics have ripped this movie apart with some of its cliches. I got my entertainment.
Koontz has said that he won't allow anymore of his books to be made into movies unless he's writing the screenplay and producing in some fashion. If this is an indication of the work that gets produced, then I'm looking forward to more.
C. 1998
Neal Richardson
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


(effort spent can't exceed current élan)
The selected dice will automatically be re-rolled once (doesn't stack with re-rolls due to being in a multiple hassle)
Your Dwarfen Troupe will reroll a special die if it lands on 5 or 6 and add the second value to your total.
The selected dice will automatically be re-rolled once


Global Functions in Global Namespace C++
in Sourcefile sequence2.h
- uno_sequence_assign
- extern "C"
void uno_sequence_assign(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Assigns a sequence.
- Parameters
| ppDest |
destinstaion sequence
|
| pSource |
source sequence
|
| pTypeDescr |
type description of the sequence and NOT of an element
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- uno_sequence_construct
- extern "C"
sal_Bool uno_sequence_construct(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Constructs a new sequence with given elements.
- Parameters
| ppSequence |
out parameter sequence;
0 if memory allocation has failed
|
| pTypeDescr |
type description of the sequence and NOT of an
element
|
| pElements |
if 0, then all elements are default constructed
|
| len |
number of elements
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
- uno_sequence_realloc
- extern "C"
sal_Bool uno_sequence_realloc(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Reallocates length of a sequence. This truncates a sequence or enlarges
it default constructing appended elements.
- Parameters
| ppSequence |
inout sequence
|
| pTypeDescr |
type description of sequence
|
| nSize |
new size of sequence
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
- uno_sequence_reference2One
- extern "C"
sal_Bool uno_sequence_reference2One(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Description
Assures that the reference count of the given sequence is one.
Otherwise a new copy of the sequence is created with a reference count
of one.
- Parameters
| ppSequence |
inout sequence
|
| pTypeDescr |
type description of sequence
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
- uno_type_sequence_assign
- extern "C"
void uno_type_sequence_assign(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Assigns a sequence.
- Parameters
| ppDest |
destinstaion sequence
|
| pSource |
source sequence
|
| pType |
type of the sequence and NOT of an element
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- uno_type_sequence_construct
- extern "C"
sal_Bool uno_type_sequence_construct(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Constructs a new sequence with given elements.
- Parameters
| ppSequence |
out parameter sequence;
0 if memory allocation has failed
|
| pType |
type of the sequence and NOT of an element
|
| pElements |
if 0, then all elements are default constructed
|
| len |
number of elements
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
- uno_type_sequence_realloc
- extern "C"
sal_Bool uno_type_sequence_realloc(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
Reallocates length of a sequence. This truncates a sequence or enlarges
it default constructing appended elements.
- Parameters
| ppSequence |
inout sequence
|
| pType |
type of sequence
|
| nSize |
new size of sequence
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
- uno_type_sequence_reference2One
- extern "C"
sal_Bool uno_type_sequence_reference2One(
-
| virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
| NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Description
Assures that the reference count of the given sequence is one.
Otherwise a new copy of the sequence is created with a reference count
of one.
- Parameters
| ppSequence |
inout sequence
|
| pType |
type of sequence
|
| acquire |
function called each time an interface needs to
be acquired; defaults (0) to uno
|
| release |
function called each time an interface needs to
be released; defaults (0) to uno
|
- Return
false, if memoray allocation has failed
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Tony Lâmpada
Brazilian, 32, married, 1 kid
Developing software since 2000
Graduated at ITA
Java --> Python
Creator of
freedomsponsors.org
Tech blog
dicasdolampada.wordpress.com
Skip the formalities, let me get my hands dirty!
Javascript is...


"FODDER" Hebrews belil, (Job 6:5), meaning properly a mixture or medley(Lat. farrago), “made up of various kinds of grain, as wheat, barley, vetches, and the like, all mixed together, and then sown or given to cattle”(Job 24:6, A.V. “corn,” R.V. “provender;” Isaiah 30:24, provender”).
"FODDER" Hebrews belil, (Job 6:5), meaning properly a mixture or medley(Lat. farrago), “made up of various kinds of grain, as wheat, barley, vetches, and the like, all mixed together, and then sown or given to cattle”(Job 24:6, A.V. “corn,” R.V. “provender;” Isaiah 30:24, provender”).


blue.frontend Demo Browser
Examples ▼
Alignment
Container
Grid
Gutter
List
Media Querys
Menu
Offcanvas
Reset
Resizable
Smoothscrolling
Sticky
Stickyfooter
Trigger, Variables, Expressionlistener
Trigger Scrollposition
Utility
Visibility
View Demo
View Code
Open demo in new window
HTML
SASS


USING KINECT
- Kinect ID’s and Serial Numbers
- Directories
- Calibrating a Kinect
- Starting Kinect Live Servers
- Running Recorded Kinect Demos
- Record Scene
- Play Scene
# Kinect ID’s and Serial Numbers
| ID | Serial Number |
|---|---|
| 23 |<PHONE_NUMBER>47 |
| 24 |<PHONE_NUMBER>47 |
| 25 |<PHONE_NUMBER>47 |
| 26 |<PHONE_NUMBER>47 |
| 27 |<PHONE_NUMBER>47 |
| 50 |<PHONE_NUMBER>47 |
| 51 |<PHONE_NUMBER>47 |
| 52 |<PHONE_NUMBER>47 |
| 53 |<PHONE_NUMBER>47 |
| 54 |<PHONE_NUMBER>47 |
| 30 |<PHONE_NUMBER>42 |
| 40 |<PHONE_NUMBER>42 |
| 41 |<PHONE_NUMBER>42 |
| 42 |<PHONE_NUMBER>42 |
# Directories
Live Kinect Server
Play & Record Streams
Guacamole Demos
cd /opt/guacamole/master/examples/video3d
./example-video3d surface{_KINECTID}+.ks
Avango Demos
# Calibrating a Kinect
In the following commands, you need to replace the ID’s and serial numbers according to the table above.
Check if the Kinect is detected by the kernel and also whether a Microsoft device is connected via USB. dmesg
will also show you the serial number.
Place the checkerboard in front of the Kinect you want to calibrate. Start the initializing script.
./protonect.sh<PHONE_NUMBER>47 -a 5000 -s <IP_ADDRESS>:7000 -y 50 /opt/kinect-resources/calib_3dvc/23_init 6
Next is the sweeping step. Grab your best sweeping assistant and let they do their job.
./protonect.sh<PHONE_NUMBER>47 -a 5000 -s <IP_ADDRESS>:7000 -y 1000 /tmp/23_sweep 6
Finally, execute the calibration.
./calibrate_batch.sh 23
Alternatively, I wrote a Python script to combine the four calibration steps. Try it out, have not tested it yet.
python3 /home/ranu2619/dev/kinecting/kinecting.py calibrate 23
# Starting Kinect Live Servers
Start live Kinect server on eris …
… for /opt/kinect-resources/calib_3dvc/surface_50_51_54.ks
.
Run Guacamole Example
./example-video3d /opt/kinect-resources/calib_3dvc/surface_50_51_54.ks
Run Avango Example
./start.sh /opt/kinect-resources/calib_3dvc/surface_50_51_54.ks
Start live Kinect server on charon …
… for /opt/kinect-resources/calib_3dvc/surface_23.ks
.
Run Guacamole Example
./example-video3d /opt/kinect-resources/calib_3dvc/surface_23.ks
Run Avango Example
./start.sh /opt/kinect-resources/calib_3dvc/surface_23.ks
… for /opt/kinect-resources/calib_3dvc/surface_23_24.ks
.
Run Guacamole Example
./example-video3d /opt/kinect-resources/calib_3dvc/surface_23_24.ks
Run Avango Example
./start.sh /opt/kinect-resources/calib_3dvc/surface_23_24.ks
# Running Recorded Kinect Demos
Steppo
cd /opt/kinect-resources/rgbd-framework/rgbd-calib/build/build/Release
./play -c -f 20 -k 4 ../../../../recordings/steppo_standing/steppo_standing.stream <IP_ADDRESS>:7000
Start Guacamole Demo
cd /opt/guacamole/master/examples/video3d
./example-video3d /opt/kinect-resources/rgbd-framework/recordings/steppo_standing/steppo_standing_localhost.ks
Start Avango Demo
cd /opt/avango/master/examples/video3d
./start.sh /opt/kinect-resources/rgbd-framework/recordings/steppo_standing/steppo_standing_localhost.ks
Steppdance
cd /opt/kinect-resources/rgbd-framework/rgbd-calib/build/build/Release
./play -c -f 20 -k 4 ../../../../recordings/stepptanz/stepptanz.stream <IP_ADDRESS>:7000
Start Guacamole Demo
cd /opt/guacamole/master/examples/video3d
./example-video3d /opt/kinect-resources/rgbd-framework/recordings/stepptanz/stepptanz_localhost.ks
Start Avango Demo
cd /opt/avango/master/examples/video3d
./start.sh /opt/kinect-resources/rgbd-framework/recordings/stepptanz/stepptanz_localhost.ks
Actors
cd /opt/kinect-resources/rgbd-framework/rgbd-calib/build/build/Release
./play -c -f 20 -k 4 ../../../../recordings/actors/actors.stream <IP_ADDRESS>:7000
Start Guacamole Demo
cd /opt/guacamole/master/examples/video3d
./example-video3d /opt/kinect-resources/rgbd-framework/recordings/actors/actors_localhost.ks
Start Avango Demo
cd /opt/avango/master/examples/video3d
./start.sh /opt/kinect-resources/rgbd-framework/recordings/actors/actors_localhost.ks
# Record a scene dance on Kinect server charon from Kinect's 23 and 24
Create a directory where you want the recording to be saved.
mkdir dance
Open another terminal window. Navigate to rgbd-framework
and kinect-resources
. In the second terminal window, start a kinect server on charon.
Back in terminal window 1, start the recording. The -w
argument causes the script to wait 200 frames before starting to record. The -n
argument is the time in seconds it will record.
Copy the calibration files to the dance
directory.
Finally, copy a new surface.ks
file into the dance
directory.
# Play scene dance on Kinect server charon
cd /opt/kinect-resources/rgbd-framework/rgbd-calib/build/build/Release
Open a second terminal window with this directory by hitting Ctrl+Shift+T.
./play -c -f 20 -k 2 /path_to/dance/dance.stream <IP_ADDRESS>:7000
./example-video3d /path_to/dance/dance_charon.ks
./start.sh /path_to/dance/dance_charon.ks


|
inlinestatic |
============================================================================
CSL_XMC_clearFault
Description
This function clears the fault information.
Arguments
None
Return Value
None
Pre Condition
None
Post Condition
XMPFCR register configured with the value passed. Fault address and status registers are cleared.
Writes
XMC_XMPFCR_MPFCLR=1
Affects
XMC_XMPFAR_FADDR=0, XMC_XMPFSR_LOCAL=0, XMC_XMPFSR_SR=0, XMC_XMPFSR_SX=0, XMC_XMPFSR_UR=0, XMC_XMPFSR_UW=0, XMC_XMPFSR_UW=0
Example
CSL_XMC_clearFault ();
|
inlinestatic |
============================================================================
CSL_XMC_getAnalysisCounterEnableStatus
Description
This function returns the Analysis counter enable mode by reading the contents of 'ACEN' bits from the XPFACS register.
Arguments
None
Return Value CSL_XMC_ACEN_MODE - Event counting mode
Pre Condition
None
Post Condition
CSL_XMC_XPFACS_ACEN bits read and returned
Reads
XMC_XPFACS_ACEN
Example
CSL_XMC_ACEN_MODE acenMode; // Read ACEN Mode Status acenMode = CSL_XMC_getAnalysisCounterEnableStatus (); if (acenMode == CSL_XMC_ACEN_MODE_COUNT_DISABLE) { ... }
|
inlinestatic |
============================================================================
CSL_XMC_getFaultAddress
Description
This function gets the access address causing the fault.
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_XMPFAR_FADDR
Example
Uint32 faultAddr; faultAddr = CSL_XMC_getFaultAddress ();
|
inlinestatic |
============================================================================
CSL_XMC_getFaultStatus
Description
This function gets the contents of Fault Status Register XMPFSR.
Arguments
xmpfsr CSL_XMC_MPFSR structure that needs to be filled in from XMPFSR register
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XMC_XMPFSR_LOCAL, XMC_XMPFSR_SR, XMC_XMPFSR_SX, XMC_XMPFSR_UR, XMC_XMPFSR_UW, XMC_XMPFSR_UW
Example
CSL_XMC_MPFSR xmpfsr; CSL_XMC_getFaultStatus (&xmpfsr);
|
inlinestatic |
============================================================================
CSL_XMC_getMDMAPriority
Description
This function retrieves the priority of transaction submissions to Master DMA (MDMA).
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_MDMAARBX_PRI
Example
Uint32 priority; priority = CSL_XMC_getMDMAPriority ();
|
inlinestatic |
============================================================================
CSL_XMC_getNumPrefetchCanceled
Description
This function returns the contents of XPFAC1 register, i.e., the number of prefetch requests canceled (prefetch requests that returned a non-zero rstatus or other error).
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_XPFAC1_CANCELED
Example
Uint32 numPrefetchCanceled; // Read Prefetch request canceled numPrefetchCanceled = CSL_XMC_getNumPrefetchCanceled ();
|
inlinestatic |
============================================================================
CSL_XMC_getNumPrefetchHits
Description
This function returns the contents of XPFAC2 register, i.e., the number of demand prefetch requests that resulted in a successful prefetch.
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_XPFAC2_HIT
Example
Uint32 numPrefetchHits; // Read Number of Prefetch request hits numPrefetchHits = CSL_XMC_getNumPrefetchHits ();
|
inlinestatic |
============================================================================
CSL_XMC_getNumPrefetchMisses
Description
This function returns the contents of XPFAC3 register, i.e., the number of prefetch requests that resulted in a miss and had to be submitted as a demand prefetch request into the system.
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_XPFAC3_MISS
Example
Uint32 numPrefetchMisses; // Read Number of Prefetch request misses numPrefetchMisses = CSL_XMC_getNumPrefetchMisses ();
|
inlinestatic |
============================================================================
CSL_XMC_getNumPrefetchSent
Description
This function returns the contents of XPFAC0 register, i.e., the number of prefetch requests sent into the system.
Arguments
None
Return Value Uint32
Pre Condition
None
Post Condition
None
Reads
XMC_XPFAC0_SENT
Example
Uint32 numPrefetchSent; // Read Prefetch request sent count numPrefetchSent = CSL_XMC_getNumPrefetchSent ();
|
inlinestatic |
============================================================================
CSL_XMC_getPrefetchAddress
Description
This function gets the contents of XPFADDR register.
Arguments
index Index into the set of 8 registers xpfaddr CSL_XMC_XPFADDR structure that needs to be filled from XPFADDR register
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XMC_XPFADDR_ADDR, XMC_XPFADDR_DIR, XMC_XPFADDR_DPH, XMC_XPFADDR_DVH, XMC_XPFADDR_AVH, XMC_XPFADDR_DPL, XMC_XPFADDR_DVL, XMC_XPFADDR_AVL
Example
Uint32 index = 0; CSL_XMC_XPFADDR xpfaddr; CSL_XMC_getPrefetchAddress (index, &xpfaddr);
|
inlinestatic |
============================================================================
CSL_XMC_getXMPAXH
Description
This function gets the contents of XMPAXH register.
please see section 7.3 on MPAX unit http://www.ti.com/lit/sprugw0 for details on the sample arguments and example values to set XMPAXH register as provided under table 7-2
Arguments
index Index into the set of 16 XMPAXH registers mpaxh CSL_XMC_XMPAXH structure that needs to be populated with XMPAXH register contents.
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XMC_XMPAXH_SEGSZ, XMC_XMPAXH_BADDR
Example
Uint32 index = 0; CSL_XMC_XMPAXH mpaxh; CSL_XMC_getXMPAXH (index, &mpaxh);
|
inlinestatic |
============================================================================
CSL_XMC_getXMPAXL
Description
This function gets the contents of XMPAXL register.
please see section 7.3 on MPAX unit http://www.ti.com/lit/sprugw0 for details on the sample arguments and example values to set XMPAXL register as provided under table 7-2
Arguments
index Index into the set of 16 registers mpaxl CSL_XMC_XMPAXL structure that needs to be populated with XMPAXL register contents.
Return Value
None
Pre Condition
None
Post Condition
None
Reads
XMC_XMPAXL_RADDR, XMC_XMPAXL_UX, XMC_XMPAXL_UW, XMC_XMPAXL_UR, XMC_XMPAXL_SX, XMC_XMPAXL_SW, XMC_XMPAXL_SR
Example
Uint32 index = 0; CSL_XMC_XMPAXL mpaxl; CSL_XMC_getXMPAXL (index, &mpaxl);
|
inlinestatic |
============================================================================
CSL_XMC_invalidatePrefetchBuffer
Description
This function when called marks all slots in the data prefetch buffer and program prefetch buffer invalid by writing 1 in the XPFCMD register's INV bit.
Arguments
None
Return Value
None
Pre Condition
None
Post Condition
CSL_XMC_XPFCMD_INV bit set to 1 and data and program prefetch buffers are invalidated.
Writes
XMC_XPFCMD_INV=1
Affects
XMC_XPFADDR_DVH=0, XMC_XPFADDR_DVL=0
@b Example
* CSL_XMC_invalidatePrefetchBuffer ();
|
inlinestatic |
============================================================================
CSL_XMC_loadAnalysisCounterEnable
Description
This function when called sets the 'ACENL' bit of the XPFCMD register, thus triggering a copy/load of ACEN bits (Analysis counter enable mode) into ACEN bits of XPFACS register.
Arguments
None
Return Value
None
Pre Condition
None
Post Condition
CSL_XMC_XPFCMD_ACENL bit set to 1 and ACEN bits value is loaded into the ACEN bits of XPFACS register.
Writes
XMC_XPFCMD_ACENL=1
Affects
XMC_XPFACS_ACEN
Example
* CSL_XMC_loadAnalysisCounterEnable ();
|
inlinestatic |
============================================================================
CSL_XMC_resetAnalysisCounters
Description
This function when called sets the 'ACRST' bit of the XPFCMD register, thus triggering a clear/reset operation on the prefetch analysis counter registers.
Arguments
None
Return Value
None
Pre Condition
None
Post Condition
CSL_XMC_XPFCMD_ACRST bit set to 1 and prefetch analysis counter registers are cleared.
Writes
XMC_XPFCMD_ACRST=1
Affects
XMC_XPFAC0_SENT=0, XMC_XPFAC1_CANCELED=0, XMC_XPFAC2_HIT=0, XMC_XPFAC3_MISS=0
@b Example
* CSL_XMC_resetAnalysisCounters ();
|
inlinestatic |
============================================================================
CSL_XMC_setAnalysisCounterEnableMode
Description
This function when called sets up the Event counting mode by writing to the 'ACEN' bits of the XPFCMD register.
Arguments
acenMode Analyis counter mode.
Return Value
None
Pre Condition
None
Post Condition
CSL_XMC_XPFCMD_ACEN bits written with the Analysis counter mode specified.
Writes
XMC_XPFCMD_ACEN
Example
// Enable both program and data events CSL_XMC_setAnalysisCounterEnableMode (CSL_XMC_ACEN_MODE_COUNT_ALL);
|
inlinestatic |
============================================================================
CSL_XMC_setMDMAPriority
Description
This function configures the priority of transaction submissions to Master DMA (MDMA).
Arguments
priority Priority value to set for MDMA transactions.
Return Value
None
Pre Condition
None
Post Condition
None
Writes
XMC_MDMAARBX_PRI
Example
Uint32 priority = 4; CSL_XMC_setMDMAPriority (priority);
|
inlinestatic |
============================================================================
CSL_XMC_setPrefetchCommand
Description
This function sets up the contents of the XPFCMD register based on the inputs specified.
Arguments
inv Invalidate Prefetch Buffer command flag. When set to 1, data and program prefetch buffers are invalidated. acEnLoad Analysis Counter Enable Load flag. When set to 1, the Analysis Counter Enable mode is loaded into the XPFACS status register. acEnMode Analyis counter enable mode. Specifies the event counting mode for the prefetcher. acRst Analysis counter Reset flag. When set to 1, resets all the prefetch event counters.
Return Value
None
Pre Condition
None
Post Condition
CSL_XMC_XPFCMD written with the settings specified.
Writes
XMC_XPFCMD_INV, XMC_XPFCMD_ACENL, XMC_XPFCMD_ACEN, XMC_XPFCMD_ACRST
Example
// Issue the following prefetch commands: // - Dont invalidate prefetch buffers // - Enable Analysis Counter Enable load // - Enable both program and data event counting // - Dont reset the prefetch counters CSL_XMC_setPrefetchCommand (0, 1, CSL_XMC_ACEN_MODE_COUNT_ALL, 0);
|
inlinestatic |
============================================================================
CSL_XMC_setXMPAXH
Description
This function sets the contents of XMPAXH register indicated by the index here. please see section 7.3 on MPAX unit http://www.ti.com/lit/sprugw0 for details on the sample arguments and example values to set XMPAXH register as provided under table 7-2
Arguments
index Index into the set of 16 registers (0-15) mpaxh CSL_XMC_XMPAXH structure that needs to be set into the register
Return Value
None
Pre Condition
None
Post Condition
Corresponding XMPAXH register configured with the value passed.
Writes
XMC_XMPAXH_SEGSZ, XMC_XMPAXH_BADDR
Example
Uint32 index = 0; CSL_XMC_XMPAXH mpaxh; mpaxh.segSize = 4; mpaxh.baseAddress = 0x1000; CSL_XMC_setXMPAXH (index, &mpaxh);
|
inlinestatic |
============================================================================
CSL_XMC_setXMPAXL
Description
This function sets the contents of XMPAXL register corresponding to the index specified. please see section 7.3 on MPAX unit http://www.ti.com/lit/sprugw0 for details on the sample arguments and example values to set XMPAXL register as provided under table 7-2
Arguments
index Index into the set of 16 registers (0-15) mpaxl CSL_XMC_XMPAXL structure that needs to be set into the register
Return Value
None
Pre Condition
None
Post Condition
Corresponding XMPAXL register configured with the value passed.
Writes
XMC_XMPAXL_RADDR, XMC_XMPAXL_UX, XMC_XMPAXL_UW, XMC_XMPAXL_UR, XMC_XMPAXL_SX, XMC_XMPAXL_SW, XMC_XMPAXL_SR
Example
Uint32 index = 0; CSL_XMC_XMPAXL mpaxl; mpaxl.ux = 1; mpaxl.uw = 1; mpaxl.ur = 1; mpaxl.sx = 1; mpaxl.sw = 1; mpaxl.sr = 1; mpaxl.rAddr = 0x4000 ; CSL_XMC_setXMPAXL (index, &mpaxl);


---
layout: concept
---
The uncertainty principle says that for two operators $A$ and $B$, we have
$$\begin{align*}
\Delta A\cdot \Delta B \geq \frac{1}{2}|\langle[A, B]\rangle |
\end{align*}$$
Significance
If two operators don't commute, both values cannot be known with absolte certainty. Notice that it only tells you the product of the uncertainty, and not the minimum uncertainty of the fluctation of one operator. This means we can get a small uncertainty in one measurement that results in the large uncertainty for the other.
Derivation
Coming soon
Related Experiments
Coming soon
Associated Concepts
Coming soon
Related


Jamie is a psychology PhD student based at the University of Sussex.
This plugin displays an image.The stimulus can be displayed until a response is given, or for a pre-determined amount of time. The trial can be ended automatically if the subject has failed to respond within a fixed length of time.
Parameters with a default value of undefined must be specified. Other parameters can be left unspecified if the default value is acceptable.
| Parameter | Type | Default Value | Description |
|---|---|---|---|
| stimulus | string | undefined | The path to the image file to be displayed. |
| labels | array of strings | [] | Labels displayed at equidistant locations on the slider. For example, two labels will be placed at the ends of the slider. Three labels would place two at the ends and one in the middle. Four will place two at the ends, and the other two will be at 33% and 67% of the slider width. |
| button_label | string | ‘Continue’ | Label of the button to advance/submit |
| min | integer | 0 | Sets the minimum value of the slider |
| max | integer | 100 | Sets the maximum value of the slider |
| start | integer | 50 | Sets the starting value of the slider |
| step | integer | 1 | Sets the step of the slider |
| prompt | string | null | This string can contain HTML markup. Any content here will be displayed below the stimulus. The intention is that it can be used to provide a reminder about the action the subject is supposed to take (e.g., which key to press). |
| stimulus_duration | numeric | null | How long to show the stimulus for in milliseconds. If the value is null, then the stimulus will be shown until the subject makes a response. |
| trial_duration | numeric | null | How long to wait for the subject to make a response before ending the trial in milliseconds. If the subject fails to make a response before this timer is reached, the subject’s response will be recorded as null for the trial and the trial will end. If the value of this parameter is null, then the trial will wait for a response indefinitely. |
| response_ends_trial | boolean | true | If true, then the trial will end whenever the subject makes a response (assuming they make their response before the cutoff specified by the timing_response parameter). If false, then the trial will continue until the value for trial_duration is reached. You can use this parameter to force the subject to view a stimulus for a fixed amount of time, even if they respond before the time is complete. |
In addition to the default data collected by all plugins, this plugin collects the following data for each trial.
| Name | Type | Value |
|---|---|---|
| response | numeric | The numeric value of the slider. |
| rt | numeric | The time in milliseconds for the subject to make a response. The time is measured from when the stimulus first appears on the screen until the subject’s response. |
| stimulus | string | The path of the image that was displayed. |
var trial = {
type: 'image-slider-response',
stimulus: 'img/happy_face_1.png',
labels: ['happy', 'sad'],
prompt: "
How happy/sad is this person?
",
response_ends_trial: false
};


Welcome
Visualization
Example 1
Example 2
Example 3
Word Counter
Word Counter
Characters:
0
Words:
0
Sentences:
0
Paragraphs:
0
Reading Time:
0
Show readability score.
Top keywords: