tput, reset - initialize a terminal or query terminfo database
tput [-Ttype] capname [parameters]
tput [-Ttype] [-x] clear
tput [-Ttype] init
tput [-Ttype] reset
tput [-Ttype] longname
tput -S <<
tput -V
The tput utility uses the terminfo database to make the values of
terminal-dependent capabilities and information available to the shell (see
sh(1)), to initialize or reset the terminal, or return the long name of
the requested terminal type. The result depends upon the capability's type:
- string
- tput writes the string to the standard output. No trailing newline
is supplied.
- integer
- tput writes the decimal value to the standard output, with a
trailing newline.
- boolean
- tput simply sets the exit code (0 for TRUE if the terminal
has the capability, 1 for FALSE if it does not), and writes nothing
to the standard output.
Before using a value returned on the standard output, the
application should test the exit code (e.g., $?, see sh(1)) to
be sure it is 0. (See the EXIT CODES and DIAGNOSTICS
sections.) For a complete list of capabilities and the capname
associated with each, see terminfo(5).
- -S
- allows more than one capability per invocation of tput. The
capabilities must be passed to tput from the standard input instead
of from the command line (see example). Only one capname is allowed
per line. The -S option changes the meaning of the 0 and
1 boolean and string exit codes (see the EXIT CODES section).
- Because some capabilities may use string parameters rather than
numbers, tput uses a table and the presence of parameters in
its input to decide whether to use tparm(3X), and how to interpret
the parameters.
- -Ttype
- indicates the type of terminal. Normally this option is
unnecessary, because the default is taken from the environment variable
TERM. If -T is specified, then the shell variables
LINES and COLUMNS will also be ignored.
- -V
- reports the version of ncurses which was used in this program, and
exits.
- -x
- do not attempt to clear the terminal's scrollback buffer using the
extended “E3” capability.
A few commands (init, reset and longname) are special; they
are defined by the tput program. The others are the names of
capabilities from the terminal database (see terminfo(5) for a
list). Although init and reset resemble capability names,
tput uses several capabilities to perform these special functions.
- capname
- indicates the capability from the terminal database.
- If the capability is a string that takes parameters, the arguments
following the capability will be used as parameters for the string.
- Most parameters are numbers. Only a few terminal capabilities require
string parameters; tput uses a table to decide which to pass as
strings. Normally tput uses tparm(3X) to perform the
substitution. If no parameters are given for the capability, tput
writes the string without performing the substitution.
- init
- If the terminal database is present and an entry for the user's terminal
exists (see -Ttype, above), the following will occur:
- (1)
- first, tput retrieves the current terminal mode settings for your
terminal. It does this by successively testing
- the standard error,
- standard output,
- standard input and
- ultimately “/dev/tty”
- to obtain terminal settings. Having retrieved these settings, tput
remembers which file descriptor to use when updating settings.
- (2)
- if the window size cannot be obtained from the operating system, but the
terminal description (or environment, e.g., LINES and
COLUMNS variables specify this), update the operating system's
notion of the window size.
- (3)
- the terminal modes will be updated:
- any delays (e.g., newline) specified in the entry will be set in the tty
driver,
- tabs expansion will be turned on or off according to the specification in
the entry, and
- if tabs are not expanded, standard tabs will be set (every 8 spaces).
- (4)
- if present, the terminal's initialization strings will be output as
detailed in the terminfo(5) section on Tabs and
Initialization,
- (5)
- output is flushed.
- If an entry does not contain the information needed for any of these
activities, that activity will silently be skipped.
- reset
- This is similar to init, with two differences:
- (1)
- before any other initialization, the terminal modes will be reset to a
“sane” state:
- set cooked and echo modes,
- turn off cbreak and raw modes,
- turn on newline translation and
- reset any unset special characters to their default values
- (2)
- Instead of putting out initialization strings, the terminal's
reset strings will be output if present (rs1, rs2,
rs3, rf). If the reset strings are not present, but
initialization strings are, the initialization strings will
be output.
- Otherwise, reset acts identically to init.
- longname
- If the terminal database is present and an entry for the user's terminal
exists (see -Ttype above), then the long name of the
terminal will be put out. The long name is the last name in the first line
of the terminal's description in the terminfo database [see
term(5)].
tput handles the clear, init and reset commands
specially: it allows for the possibility that it is invoked by a link with
those names.
If tput is invoked by a link named reset, this has
the same effect as tput reset. The tset(1) utility also treats
a link named reset specially.
Before ncurses 6.1, the two utilities were different from each
other:
- tset utility reset the terminal modes and special characters (not
done with tput).
- On the other hand, tset's repertoire of terminal capabilities for
resetting the terminal was more limited, i.e., only reset_1string,
reset_2string and reset_file in contrast to the tab-stops
and margins which are set by this utility.
- The reset program is usually an alias for tset, because of
this difference with resetting terminal modes and special characters.
With the changes made for ncurses 6.1, the reset feature of
the two programs is (mostly) the same. A few differences remain:
- The tset program waits one second when resetting, in case it
happens to be a hardware terminal.
- The two programs write the terminal initialization strings to different
streams (i.e., the standard error for tset and the standard output
for tput).
- Note: although these programs write to different streams,
redirecting their output to a file will capture only part of their
actions. The changes to the terminal modes are not affected by redirecting
the output.
If tput is invoked by a link named init, this has
the same effect as tput init. Again, you are less likely to use that
link because another program named init has a more well-established
use.
Besides the special commands (e.g., clear), tput treats certain terminfo
capabilities specially: lines and columns. tput calls
setupterm(3X) to obtain the terminal size:
- first, it gets the size from the terminal database (which generally is not
provided for terminal emulators which do not have a fixed window
size)
- then it asks the operating system for the terminal's size (which generally
works, unless connecting via a serial line which does not support
NAWS: negotiations about window size).
- finally, it inspects the environment variables LINES and
COLUMNS which may override the terminal size.
If the -T option is given tput ignores the environment
variables by calling use_tioctl(TRUE), relying upon the operating
system (or finally, the terminal database).
- tput init
- Initialize the terminal according to the type of terminal in the
environmental variable TERM. This command should be included in
everyone's .profile after the environmental variable TERM has been
exported, as illustrated on the profile(5) manual page.
- tput -T5620 reset
- Reset an AT&T 5620 terminal, overriding the type of terminal in the
environmental variable TERM.
- tput cup 0 0
- Send the sequence to move the cursor to row 0, column 0 (the
upper left corner of the screen, usually known as the “home”
cursor position).
- tput clear
- Echo the clear-screen sequence for the current terminal.
- tput cols
- Print the number of columns for the current terminal.
- tput -T450 cols
- Print the number of columns for the 450 terminal.
- bold=`tput smso` offbold=`tput rmso`
- Set the shell variables bold, to begin stand-out mode sequence, and
offbold, to end standout mode sequence, for the current terminal.
This might be followed by a prompt: echo "${bold}Please type in
your name: ${offbold}\c"
- tput hc
- Set exit code to indicate if the current terminal is a hard copy
terminal.
- tput cup 23 4
- Send the sequence to move the cursor to row 23, column 4.
- tput cup
- Send the terminfo string for cursor-movement, with no parameters
substituted.
- tput longname
- Print the long name from the terminfo database for the type of
terminal specified in the environmental variable TERM.
tput -S <<!
> clear
> cup 10 10
> bold
> !
- This example shows tput processing several capabilities in one
invocation. It clears the screen, moves the cursor to position 10, 10 and
turns on bold (extra bright) mode. The list is terminated by an
exclamation mark (!) on a line by itself.
- /usr/share/terminfo
- compiled terminal description database
- /usr/share/tabset/*
- tab settings for some terminals, in a format appropriate to be output to
the terminal (escape sequences that set margins and tabs); for more
information, see the Tabs and Initialization, section of
terminfo(5)
If the -S option is used, tput checks for errors from each line,
and if any errors are found, will set the exit code to 4 plus the number of
lines with errors. If no errors are found, the exit code is 0. No
indication of which line failed can be given so exit code 1 will never
appear. Exit codes 2, 3, and 4 retain their usual
interpretation. If the -S option is not used, the exit code depends on
the type of capname:
- boolean
- a value of 0 is set for TRUE and 1 for FALSE.
- string
- a value of 0 is set if the capname is defined for this
terminal type (the value of capname is returned on standard
output); a value of 1 is set if capname is not defined for
this terminal type (nothing is written to standard output).
- integer
- a value of 0 is always set, whether or not capname is
defined for this terminal type. To determine if capname is
defined for this terminal type, the user must test the value
written to standard output. A value of -1 means that capname
is not defined for this terminal type.
- other
- reset or init may fail to find their respective files. In
that case, the exit code is set to 4 + errno.
Any other exit code indicates an error; see the DIAGNOSTICS
section.
tput prints the following error messages and sets the corresponding exit
codes.
| exit code |
error message |
| 0 |
(capname is a numeric variable that is not specified in the
terminfo(5) database for this terminal type, e.g. tput -T450
lines and tput -T2621 xmc) |
| 1 |
no error message is printed, see the EXIT CODES section. |
| 2 |
usage error |
| 3 |
unknown terminal type or no terminfo database |
| 4 |
unknown terminfo capability capname |
| >4 |
error occurred in -S |
The tput command was begun by Bill Joy in 1980. The initial version only
cleared the screen.
AT&T System V provided a different tput command, whose
init and reset subcommands (more than half the program) were
incorporated from the reset feature of BSD tset written by
Eric Allman.
Keith Bostic replaced the BSD tput command in 1989 with a
new implementation based on the AT&T System V program tput. Like
the AT&T program, Bostic's version accepted some parameters named for
terminfo capabilities (clear, init, longname and
reset). However (because he had only termcap available), it accepted
termcap names for other capabilities. Also, Bostic's BSD tput
did not modify the terminal I/O modes as the earlier BSD tset had
done.
At the same time, Bostic added a shell script named
“clear”, which used tput to clear the screen.
Both of these appeared in 4.4BSD, becoming the
“modern” BSD implementation of tput.
This implementation of tput began from a different source
than AT&T or BSD: Ross Ridge's mytinfo package, published on
comp.sources.unix in December 1992. Ridge's program made more
sophisticated use of the terminal capabilities than the BSD program. Eric
Raymond used that tput program (and other parts of mytinfo) in
ncurses in June 1995. Using the portions dealing with terminal capabilities
almost without change, Raymond made improvements to the way the command-line
parameters were handled.
This implementation of tput differs from AT&T tput in two
important areas:
- •
- tput capname writes to the standard output. That need not be
a regular terminal. However, the subcommands which manipulate terminal
modes may not use the standard output.
- The AT&T implementation's init and reset commands use
the BSD (4.1c) tset source, which manipulates terminal modes. It
successively tries standard output, standard error, standard input before
falling back to “/dev/tty” and finally just assumes a 1200Bd
terminal. When updating terminal modes, it ignores errors.
- Until changes made after ncurses 6.0, tput did not modify terminal
modes. tput now uses a similar scheme, using functions shared with
tset (and ultimately based on the 4.4BSD tset). If it is not
able to open a terminal, e.g., when running in cron, tput
will return an error.
- •
- AT&T tput guesses the type of its capname operands by
seeing if all of the characters are numeric, or not.
- Most implementations which provide support for capname operands use
the tparm function to expand parameters in it. That function
expects a mixture of numeric and string parameters, requiring tput
to know which type to use.
- This implementation uses a table to determine the parameter types for the
standard capname operands, and an internal library function to
analyze nonstandard capname operands.
This implementation (unlike others) can accept both termcap
and terminfo names for the capname feature, if termcap
support is compiled in. However, the predefined termcap and
terminfo names have two ambiguities in this case (and the
terminfo name is assumed):
- The termcap name dl corresponds to the terminfo name
dl1 (delete one line).
The terminfo name dl corresponds to the termcap name
DL (delete a given number of lines).
- The termcap name ed corresponds to the terminfo name
rmdc (end delete mode).
The terminfo name ed corresponds to the termcap name
cd (clear to end of screen).
The longname and -S options, and the
parameter-substitution features used in the cup example, were not
supported in BSD curses before 4.3reno (1989) or in AT&T/USL curses
before SVr4 (1988).
IEEE Std 1003.1/The Open Group Base Specifications Issue 7
(POSIX.1-2008) documents only the operands for clear, init and
reset. There are a few interesting observations to make regarding
that:
- In this implementation, clear is part of the capname
support. The others (init and longname) do not correspond to
terminal capabilities.
- Other implementations of tput on SVr4-based systems such as
Solaris, IRIX64 and HPUX as well as others such as AIX and Tru64 provide
support for capname operands.
- A few platforms such as FreeBSD recognize termcap names rather than
terminfo capability names in their respective tput commands. Since
2010, NetBSD's tput uses terminfo names. Before that, it (like
FreeBSD) recognized termcap names.
Because (apparently) all of the certified Unix systems
support the full set of capability names, the reasoning for documenting only
a few may not be apparent.
- X/Open Curses Issue 7 documents tput differently, with
capname and the other features used in this implementation.
- That is, there are two standards for tput: POSIX (a subset) and
X/Open Curses (the full implementation). POSIX documents a subset to avoid
the complication of including X/Open Curses and the terminal capabilities
database.
- While it is certainly possible to write a tput program without
using curses, none of the systems which have a curses implementation
provide a tput utility which does not provide the capname
feature.
X/Open Curses Issue 7 (2009) is the first version to document
utilities. However that part of X/Open Curses does not follow existing
practice (i.e., Unix features documented in SVID 3):
- It assigns exit code 4 to “invalid operand”, which may be
the same as unknown capability. For instance, the source code for
Solaris' xcurses uses the term “invalid” in this case.
- It assigns exit code 255 to a numeric variable that is not specified in
the terminfo database. That likely is a documentation error, confusing the
-1 written to the standard output for an absent or cancelled
numeric value versus an (unsigned) exit code.
The various Unix systems (AIX, HPUX, Solaris) use the same
exit-codes as ncurses.
NetBSD curses documents different exit codes which do not
correspond to either ncurses or X/Open.
clear(1), stty(1), tabs(1), tset(1),
terminfo(5), curs_termcap(3X).
This describes ncurses version 6.2 (patch 20200212).


{% if pagination.cursor %}
page1, page2, page3...
style pagination without getting sad. There are actually {{ pagination.pages |number_format|e }} pages worth of results for this query but as of this writing there is only the "next page" of results. We all have our limits, right? Speaking of limits, these query results have a pretty short shelf life. As long as you are paging through the results everything will be okay but if left idle for too long (about 5 minutes) they will expire and you'll need to perform a new query. It's good to have constraints to work against, right?


One of the main uses of ocamllex is as a companion to the ocamlyacc parser-generator. ocamlyacc parsers call one of the scanning functions to find the next input token. The routine is supposed to return the type of the next token with an associated value. To use ocamllex with ocamlyacc, scanner functions should use parser module to refer token types, which are defined in `%tokens' attributes appearing in the ocamlyacc input. For example, if input filename of ocamlyacc is parse.mly and one of the tokens is "NUMBER", part of the scanner might look like:
{ open Parse } rule token = parse ... | ['0'-'9']+ as num { NUMBER (int_of_string num) } ...


collection.add(x)
) could be
replaced when calling a bulk method (e.g. collection.addAll(listOfX)
. It's
not only shorter but in some cases may be more performant as well.
Example:
void test(Collection<Integer> numbers) {
List<Integer> result = new ArrayList<>();
for (Integer i : numbers) {
result.add(i);
}
}
After the fix is applied, the result will be like this:
void test(Collection<Integer> numbers) { List<Integer> result = new ArrayList<>(); result.addAll(numbers); }
Use the checkbox below to warn even if the original code iterates over an array while
bulk method requires a Collection
. In this case the quick-fix action will
automatically wrap an array with Arrays.asList()
call.
New in 2017.1


--- layout: post title: 'Pusher at Startup Weekend Edinburgh' url: http://blog.pusher.com/pusher-at-startup-weekend-edinburgh/ source: http://blog.pusher.com/pusher-at-startup-weekend-edinburgh/ domain: blog.pusher.com image: http://kinlane-productions.s3.amazonaws.com/ap-evangelist-site/curated/screenshots/9352_api500_com.png ---
Well be at Startup Weekend Edinburgh this weekend and were really excited to be involved.Theres a lot of innovation in Edinburgh and Scotland in general (and I live there so really want to be involved) so we want to help startups by getting them up and running as quickly as possible.Its one of the amazing things about a hosted service - it takes you minutes instead of days to add really valuable functionality to applications.Startup weekends offer a fantastic opportunity to not only focus on innovation and new startup ideas but also give you access to a whole bunch of resources all in one place.As well as working with other attendees in the form of developers, designers, marketeers etc.


Lucky you! A new tribe walked by. Show that you deserve their trust.
How do you prove that you’re a bear to count on?


{% extends "format.html" %} {% load static %} {% load filter %} {% block title %}StocksEra | Daily Treasury{% endblock %} {% block additional_script %} {% endblock %} {% block onload_properties%}restore_dark_mode();display_table();treasury(100);get_economic_releases({{next_date}}){% endblock %} {% block main_nav %} Stocksera / Discover / Economy / Treasury {% endblock %} {% block main_content %}
The Daily Treasury Statement summarizes the US Treasury’s cash and debt operations for the Federal Government on a modified cash basis. Deposits are reported as received and withdrawals are reported as processed.


Connect Origins to Destinations measures the travel time or distance between pairs of points. The tool can report straight-line distances; distances based on a travel mode, such as walking or driving; or trip durations based on a travel mode. Using this tool, you can do the following:
You provide starting and ending points, and the tool returns a layer containing route lines, including measurements, between the paired origins and destinations.
If Use current map extent is checked, only the features that are visible within the current map extent will be considered in the analysis. If unchecked, all features in the input layer will be considered, even if they are outside the current map extent.
Choose the point layer representing the origin or origins. The tool supports up to 5,000 origins and 5,000 destinations.
If you choose a layer that has exactly one origin, it will connect to all destinations.
In addition to choosing a layer from your map, you can select Choose Analysis Layer found at the bottom of the drop-down list. This option opens a gallery where you can browse to and select datasets from various sources to use in your analysis.
Choose the layer representing the destination or destinations to which the origins should connect. The tool supports up to 5,000 origins and 5,000 destinations.
If you choose a layer that has exactly one destination, all the origins will connect to that destination.
If there is one origin and many destinations, the tool connects the origin to each of the destinations.
In addition to choosing a layer from your map, you can select Choose Analysis Layer found at the bottom of the drop-down list. This option opens a gallery where you can browse to and select datasets from various sources to use in your analysis.
If there are many origins and many destinations, you need to have two fields that describe the origin-destination pairs: ID field in origins and Matching ID field in destinations. The tool connects the origin-destination pairs during the analysis. For instance, imagine you have two origins with ID field values of Rosie
and Harold
and two destinations with the same ID values. The Rosie
origin will connect to the Rosie
destination, and Harold
will connect to Harold
. No other connections or measurements are made.
If there are equal numbers of origins and destinations, the ID values must be unique within each layer; for instance, the destinations layer cannot have two Rosie
values. The values in the origin and destination layers must match exactly to make pairs; Harold
won't connect to the misspelled value, Harodl
.
The tool also supports connecting each origin to more than one destination or each destination to more than one origin. In such cases, you still need to have two fields that describe the origin-destination pairs. However, only one of the layers (either the origin or the destination layer) needs to have unique ID values.
Choose whether to connect origins to destinations using straight-line distance or a travel mode. The output routes will follow roads or walkways and honor applicable rules, such as one-way streets and illegal turns for driving or trucking. The available travel modes are determined by the administrator of your organization.
When you choose Driving Time, Rural Driving Time, or Trucking Time you have options on how to measure the drive time.
Uncheck Use Traffic to find the quickest routes based on fixed speeds.
This is the option to choose if you want a general drive-time measurement, not one that is calculated using changing traffic conditions for a specific departure time.
Check Use Traffic to find the quickest routes based on a given start time and changing traffic conditions. By also choosing the Live traffic option, the departure time from the origins is set to the current time, and current and predicted traffic speeds are referenced from sensors and feeds to create the routes. The predicted traffic speeds are calculated by referencing live traffic speeds, historical speeds, and current events such as weather. Traffic speeds are predicted 12 hours into the future, so you can move the slider to set the departure time ahead by up to 12 hours.
Use these live-traffic settings to find the drive times for departing now, departing in one hour from now, and so on.
By checking Use Traffic and choosing Traffic based on typical conditions for a day and time, the tool finds the quickest routes based on historical speed averages for every five-minute interval across a routine week. The results include traffic but remove the influence of current traffic conditions and events, which may vary significantly from the norm.
You can use these historical traffic settings to ask, for instance, "How long would it generally take to reach these destinations when departing at 11:30 a.m. on a Wednesday?"
The time you set refers to the time zone in which your origins are located. So if you set the time to 8:00 a.m. and have two origins, one in New York City and another in Los Angeles, the routes will be generated for a departure time of 8:00 a.m. Eastern Time and 8:00 a.m. Pacific Time, respectively.
Note that as a vehicle drives away from the origin, time elapses and traffic conditions change. The Connect Origins to Destinations tool accounts for these variations when you check Use traffic; however, not all regions support traffic. Click the See availability link on the tool to find out whether it is offered in your study area.
Trucking Time can use dynamic travel speeds based on traffic but only up to the legal truck speed limit. For example, if the dynamic speed for a street based on live traffic is 65 miles per hour but the truck speed limit for that street is 55 miles per hour, the calculation will use 55 miles per hour for that street.
One or more features that act as temporary restrictions (barriers) when traveling on the underlying streets. You can specify the barriers using point, line, or polygon features.
A point barrier can model a fallen tree, an accident, a downed electrical line, or anything that completely blocks traffic at a specific position along the street. Travel is permitted on the street but not through the barrier. You can specify up to 250 features to act as point barriers.
A line barrier prohibits travel anywhere the barrier intersects the streets. For example, a parade or protest that blocks traffic across several street segments can be modeled with a line barrier. If the number of street features intersected by all the line barriers exceeds 500, the tool returns an error.
A polygon barrier prohibits travel anywhere the polygon intersects the streets. One use of this type of barrier is to model floods covering areas of the street network and making road travel there impossible. If the number of street features intersected by all the polygon barriers exceeds 2000, the tool returns an error.
Choose the shape of the route that connects each origin to it's destination when using a travel mode:
The best route between an origin and it's matched destination is always calculated based on the travel mode, regardless of which route shape is chosen.
The name of the feature layer that will be created in My Content and added to the map. If the feature layer already exists, you will be asked to provide another name. The feature layer will contain a layer for each of the following: routes, unassigned origins, and unassigned destinations when some origins cannot be connected to their destinations.
If you select Include route layers, each route from the result is also saved as a route layer. A route layer includes all the information for a particular route, such as the stops assigned to the route as well as the travel directions. Creating route layers is useful if you want to share the individual routes with other members in your organization or to further modify the routes using the Directions button in the map viewer. The route layers use the name provided for the feature layer as a prefix and the route name generated as part of the analysis, which is added to create a unique name for each route layer.
The maximum number of route layers that can be created is 1,000. If the result contains more than 1,000 routes and Include route layers is checked, the tool will only create the output feature service.
Using the Save result in drop-down menu, you can specify the name of a folder in My Content where the feature layer and the route layers, if created, will be saved.


WITNESS LIST Local Government Ways and Means Committee June 23, 2004-10:00A INTERIM CHARGE #2: PURCHASING CO. On: Barton, Karey (Self) Chance, Mike (Self and City of Rosenberg) Dorman, David (City of Melissa) Lomax, Bryant (Comptroller of Public Accounts) Shoemate, Mona (Self) VanSteenberg, Chip (City of Conroe)


ABOUT ME
Hi I am Bash, I <3 treats and belly rubs and JavaScript
I have always been fascinated with ancient scholars who left us with gems to follow, or those that push themselves... whether it be climbing the highest peaks or writing their first line of code.
I grew up in the bay area, the outdoors is my natrual home. It's where I feel alive and comfortable.
I believe there are so many things in this world that are yet to be done and so many new stories to be told. My goal in life is to capture those incredible moments and ensure they live on forever.


Rocket Controller
Sperking Time : %SPERK_TIME% (ms)
Relese Time : %RELEASE_TIME% (ms)
Start
Reset
Settings


{% extends "base.html" %} {% load url %} {% load crispy_forms_tags %} {% load static %} {% load bleach %} {% load user_profile_link from profiles %} {% load naturaldelta %} {% block title %}Challenge request: {{ object.title }}{% endblock %} {% block breadcrumbs %}
{% endblock %} {% block content %}| {{ field|title }} | {{ value|linebreaks }} |
| Long-term support | The organizers agree to support this challenge for up to 5 years. |
| Long-term support | Unknown |
| Long-term support | The organizers do not agree to support this challenge for up to 5 years for the following reason: {{ object.long_term_commitment_extra }} |
| Public data license | The organizers agree to publish their public data set under a CC-BY license. |
| Public data license | Unknown |
| Public data license | The organizers do not agree to publish their public data set under a CC-BY license for the following reason: {{ object.data_license_extra }} |
| Organizer's budget for hosting challenge | {{ object.budget_for_hosting_challenge }} € |
| Comments from organizers | {{ object.comments|linebreaks }} |


Hello! Welcome to the Akan name generator website
Akans are a meta-ethnicity who live in Ghana and Ivory Coast who have a very unique way in which they name their children, after the day of the week they were born and the order in which they were born. Boys and girls have unique names meaning genders are also a consideration.
The table below lists the Female and Male Akan names according to days of the week of birth, consider using the name generator by keying in the correct gender,date,month and year of birth to know your Akan name.
| Male | Female | |
|---|---|---|
| Sunday | Kwasi | Akosua |
| Monday | Kwadwo | Adwoa |
| Tuesday | Kwabena | Abenaa |
| Wednesday | Kwaku | Akua |
| Thursday | Yaw | Yaa |
| Friday | Kofi | Afua |
| Saturday | Kwame | Ama |


The Delmont Lions have been holding the annual talent show for over 50 years. We really love holding it at Apple Hill, because it gives the contestants a real stage experience. One of the missions of Lions Club International is to support and encourage youth. The talent show is one way we do that, and the proceeds go to our scholarship fund and other local projects that support youth, as well as sight and hearing impaired, diabetes research, and the environment. We give three scholarships each year to local students through our competitive Student of the Month program. 100% of the money that the Lions Club raises through the talent show and other projects is donated.


Hello!
Welcome to my website! This is my final portfolio for the course SI 339. I am excited to share this project with you!
I am currently a senior at the University of Michigan School of LS&A studying International Studies (with a sub-plan in Global Environment and Health) and Informatics (focus in Life Sciences). I am taking SI 339 as part of the electives for my Informatics major.
I graduate this spring and will be staying in Ann Arbor for another two years getting my Masters of Health Informatics at the School of Information School of Public Health.


Don't Miss These Latest
Articles
Lorem ipsum dolor sit amet, putant vocent prodesset per in, cu his virtute postulant mnesarchum.
Ea est commodo lobortis ullamcorper, vis
Ea est commodo lobortis ullamcorper, vis
Ea est commodo lobortis ullamcorper, vis
Ne quidam commodo eos, nonumy malorum accusam et pro. Homero dolorum consectetuer at vix, et nec partem omnium menandri.
Ne quidam commodo eos, nonumy malorum accusam et pro. Homero dolorum consectetuer at vix, et nec partem omnium menandri.
Ne quidam commodo eos, nonumy malorum accusam et pro. Homero dolorum consectetuer at vix, et nec partem omnium menandri.
His cibo liber accusata in. At sea maiorum repudiare
His cibo liber accusata in. At sea maiorum repudiare
An vis accusata temporibus omittantur. Ei sit iriure ceteros inimicus, aperiri epicuri est eu.
An vis accusata temporibus omittantur. Ei sit iriure ceteros inimicus, aperiri epicuri est eu.
An vis accusata temporibus omittantur. Ei sit iriure ceteros inimicus, aperiri epicuri est eu.
uild, work and play. Coming up next: Inspired By: Avaunt Magazine with Andrew Clarke (Apr 9).
Mike Riethmuller is passionate about web development and advocates for anything that contributes to good quality web development. He has worked on some of Australia’s largest websites as well as some of the smallest community sites. When he’s not building sites or blogging, he loves experimenting with code, learning new things, and finding techniques that challenge what we think is best practice. Mike shares his knowledge at conferences and at community events and meetups which he also organizes. Thank you for sharing and caring, dear Mike!
>Designing for machine learning isn’t for the hand-wavy future. This is very much for the here and now.” Josh Clark wrote a detailed post on why machine learning and AI matter for design teams.
—CSSBattle is an online CSS Code Golfing game where players try to visually replicate targets in smallest possible CSS code to get to the top of the leaderboa
Chris Coyier takes you on a little journey into mailto: links and what you need to consider to not run into UX issues.
Conferences are a fantastic opportunity to connect with new people. The Pac-Man Rule facilitates networking by making groups that are already chatting more approachable so that other people feel encouraged to join them.
How do you create a dark theme and switch to it from a default light theme? Sebastiano Guerriero shows how to do it with the help of CSS Custom Properties.
Do you add friction to your interfaces every now and again? Too much friction and too little friction reduce value, the right amount of friction maximize
Design
Meet Design Systems, a recent Smashing book in which Alla Kholmatova explores how to set up an effective design system to create great digital products. With common traps, gotchas and lessons learned.
Smashing Newsletter
That would make any cat sad. Don't let that happen!


Maker space initiative in Bratislava, Slovakia
We are involved with other groups that have similiar interests and activities
Our aim is to create space for makers and tinkeres
Imagine space, where you have free access to 3D printer, Laser Cutter, CNC router and electronics
Initiative
CVTISR
Francúzsky Inštitút
Mesto Bratislava
Slovenská Technická Univerzita
Initiative of maker activists in Bratislava


Let’s learn by example.
Throughout this tutorial, we’ll walk you through the creation of a basic poll application.
It’ll consist of two parts:
We’ll assume you have Django installed already. You can tell Django is installed and which version by running the following command in a shell prompt (indicated by the $ prefix):
$ python -m django --version
...\> py -m django --version
If Django is installed, you should see the version of your installation. If it isn’t, you’ll get an error telling “No module named django”.
This tutorial is written for Django 2.2, which supports Python 3.5 and later. If the Django version doesn’t match, you can refer to the tutorial for your version of Django by using the version switcher at the bottom right corner of this page, or update Django to the newest version. If you’re using an older version of Python, check What Python version can I use with Django? to find a compatible version of Django.
See How to install Django for advice on how to remove older versions of Django and install a newer one.
Where to get help:
If you’re having trouble going through this tutorial, please post a message to django-users or drop by #django on irc.freenode.net to chat with other Django users who might be able to help.
If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of settings for an instance of Django, including database configuration, Django-specific options and application-specific settings.
From the command line, cd
into a directory where you’d like to store your
code, then run the following command:
$ django-admin startproject mysite
...\> django-admin startproject mysite
This will create a mysite
directory in your current directory. If it didn’t
work, see Problems running django-admin.
Note
You’ll need to avoid naming projects after built-in Python or Django
components. In particular, this means you should avoid using names like
django
(which will conflict with Django itself) or test
(which
conflicts with a built-in Python package).
Where should this code live?
If your background is in plain old PHP (with no use of modern frameworks),
you’re probably used to putting code under the Web server’s document root
(in a place such as /var/www
). With Django, you don’t do that. It’s
not a good idea to put any of this Python code within your Web server’s
document root, because it risks the possibility that people may be able
to view your code over the Web. That’s not good for security.
Put your code in some directory outside of the document root, such as
/home/mycode
.
Let’s look at what startproject
created:
mysite/
manage.py
mysite/
__init__.py
settings.py
urls.py
wsgi.py
These files are:
mysite/
root directory is just a container for your
project. Its name doesn’t matter to Django; you can rename it to anything
you like.manage.py
: A command-line utility that lets you interact with this
Django project in various ways. You can read all the details about
manage.py
in django-admin and manage.py.mysite/
directory is the actual Python package for your
project. Its name is the Python package name you’ll need to use to import
anything inside it (e.g. mysite.urls
).mysite/__init__.py
: An empty file that tells Python that this
directory should be considered a Python package. If you’re a Python beginner,
read more about packages in the official Python docs.mysite/settings.py
: Settings/configuration for this Django
project. Django settings will tell you all about how settings
work.mysite/urls.py
: The URL declarations for this Django project; a
“table of contents” of your Django-powered site. You can read more about
URLs in URL dispatcher.mysite/wsgi.py
: An entry-point for WSGI-compatible web servers to
serve your project. See How to deploy with WSGI for more details.Let’s verify your Django project works. Change into the outer mysite
directory, if
you haven’t already, and run the following commands:
$ python manage.py runserver
...\> py manage.py runserver
You’ll see the following output on the command line:
Performing system checks... System check identified no issues (0 silenced). You have unapplied migrations; your app may not work properly until they are applied. Run 'python manage.py migrate' to apply them. October 01, 2019 - 15:50:53 Django version 2.2, using settings 'mysite.settings' Starting development server at http://<IP_ADDRESS>:8000/ Quit the server with CONTROL-C.
Note
Ignore the warning about unapplied database migrations for now; we’ll deal with the database shortly.
You’ve started the Django development server, a lightweight Web server written purely in Python. We’ve included this with Django so you can develop things rapidly, without having to deal with configuring a production server – such as Apache – until you’re ready for production.
Now’s a good time to note: don’t use this server in anything resembling a production environment. It’s intended only for use while developing. (We’re in the business of making Web frameworks, not Web servers.)
Now that the server’s running, visit http://<IP_ADDRESS>:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked!
Changing the port
By default, the runserver
command starts the development server
on the internal IP at port 8000.
If you want to change the server’s port, pass it as a command-line argument. For instance, this command starts the server on port 8080:
$ python manage.py runserver 8080
...\> py manage.py runserver 8080
If you want to change the server’s IP, pass it along with the port. For example, to listen on all available public IPs (which is useful if you are running Vagrant or want to show off your work on other computers on the network), use:
$ python manage.py runserver 0:8000
...\> py manage.py runserver 0:8000
0 is a shortcut for <IP_ADDRESS>. Full docs for the development server
can be found in the runserver
reference.
Automatic reloading of runserver
The development server automatically reloads Python code for each request as needed. You don’t need to restart the server for code changes to take effect. However, some actions like adding files don’t trigger a restart, so you’ll have to restart the server in these cases.
Now that your environment – a “project” – is set up, you’re set to start doing work.
Each application you write in Django consists of a Python package that follows a certain convention. Django comes with a utility that automatically generates the basic directory structure of an app, so you can focus on writing code rather than creating directories.
Projects vs. apps
What’s the difference between a project and an app? An app is a Web application that does something – e.g., a Weblog system, a database of public records or a simple poll app. A project is a collection of configuration and apps for a particular website. A project can contain multiple apps. An app can be in multiple projects.
Your apps can live anywhere on your Python path. In
this tutorial, we’ll create our poll app right next to your manage.py
file so that it can be imported as its own top-level module, rather than a
submodule of mysite
.
To create your app, make sure you’re in the same directory as manage.py
and type this command:
$ python manage.py startapp polls
...\> py manage.py startapp polls
That’ll create a directory polls
, which is laid out like this:
polls/
__init__.py
admin.py
apps.py
migrations/
__init__.py
models.py
tests.py
views.py
This directory structure will house the poll application.
Let’s write the first view. Open the file polls/views.py
and put the following Python code in it:
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world. You're at the polls index.")
This is the simplest view possible in Django. To call the view, we need to map it to a URL - and for this we need a URLconf.
To create a URLconf in the polls directory, create a file called urls.py
.
Your app directory should now look like:
polls/
__init__.py
admin.py
apps.py
migrations/
__init__.py
models.py
tests.py
urls.py
views.py
In the polls/urls.py
file include the following code:
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
]
The next step is to point the root URLconf at the polls.urls
module. In
mysite/urls.py
, add an import for django.urls.include
and insert an
include()
in the urlpatterns
list, so you have:
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('polls/', include('polls.urls')),
path('admin/', admin.site.urls),
]
The include()
function allows referencing other URLconfs.
Whenever Django encounters include()
, it chops off whatever
part of the URL matched up to that point and sends the remaining string to the
included URLconf for further processing.
The idea behind include()
is to make it easy to
plug-and-play URLs. Since polls are in their own URLconf
(polls/urls.py
), they can be placed under “/polls/”, or under
“/fun_polls/”, or under “/content/polls/”, or any other path root, and the
app will still work.
When to use include()
You should always use include()
when you include other URL patterns.
admin.site.urls
is the only exception to this.
You have now wired an index
view into the URLconf. Verify it’s working with
the following command:
$ python manage.py runserver
...\> py manage.py runserver
Go to http://localhost:8000/polls/ in your browser, and you should see the
text “Hello, world. You’re at the polls index.”, which you defined in the
index
view.
Page not found?
If you get an error page here, check that you’re going to http://localhost:8000/polls/ and not http://localhost:8000/.
The path()
function is passed four arguments, two required:
route
and view
, and two optional: kwargs
, and name
.
At this point, it’s worth reviewing what these arguments are for.
path()
argument: route
¶route
is a string that contains a URL pattern. When processing a request,
Django starts at the first pattern in urlpatterns
and makes its way down
the list, comparing the requested URL against each pattern until it finds one
that matches.
Patterns don’t search GET and POST parameters, or the domain name. For example,
in a request to https://www.example.com/myapp/
, the URLconf will look for
myapp/
. In a request to https://www.example.com/myapp/?page=3
, the
URLconf will also look for myapp/
.
path()
argument: view
¶When Django finds a matching pattern, it calls the specified view function with
an HttpRequest
object as the first argument and any
“captured” values from the route as keyword arguments. We’ll give an example
of this in a bit.
path()
argument: kwargs
¶Arbitrary keyword arguments can be passed in a dictionary to the target view. We aren’t going to use this feature of Django in the tutorial.
path()
argument: name
¶Naming your URL lets you refer to it unambiguously from elsewhere in Django, especially from within templates. This powerful feature allows you to make global changes to the URL patterns of your project while only touching a single file.
When you’re comfortable with the basic request and response flow, read part 2 of this tutorial to start working with the database.
Oct 01, 2019


The tooltip is visible when the button is hovered, focused, or touched. Hover over the Refresh icon in the above toolbar.
The Tooltip's md-z-index
attribute can be used to change
the tooltip's visual level in comparison with the other elements of
the application.
Note: the z-index default is 100.
The Tooltip's md-direction
attribute can be used to
dynamically change the direction of the tooltip.
Note: the direction default value is
'bottom'.
The Tooltip's md-visible
attribute can be used to
programmatically show/hide itself. Toggle the checkbox below...
The Tooltip's md-delay
attribute can be used to delay
the show animation.
Note: the delay default value is
0 milliseconds.


I was traped in a island for several days, because my airplane got some trouble when it was in the air. Nobody survived except me. The plane fell down into the sea and I had kept swimming until I found a island.
Item 1
I was very scared, and the empty island reminds me a movie Lift of PI.
Item 2
I kept founding food in the strange island. I saw wild animal such as monkeys and mise.That made me
believe that I can survive in this island.
Item 3
I found fruits and used wood to catch fishes, and I boiled the water to make alive.
The Island
I don't really know where is the island.
- Schedule
- I could find plentys of plants in it, and I plan to mark down the day I were here and set schedules for every day.


{% extends 'base.html' %} {% load i18n %} {% block content %}
{% trans "The URL that you're requesting is not found on this server" %}


This class models material properties. More...
#include <CMaterial.h>
Public Member Functions | |
| cMaterial () | |
| Constructor of cMaterial. More... | |
| virtual | ~cMaterial () |
| Destructor of cMaterial. More... | |
| cMaterialPtr | copy () |
| This method creates a copy itself. More... | |
| void | setModificationFlags (const bool a_value) |
| This method set a value value to all modification flags. More... | |
| void | copyTo (cMaterialPtr a_material) |
| This method copies all modified members (the ones which are flagged) to another material object. More... | |
| void | setShininess (const GLuint a_shininess) |
| This method sets the shininess (the exponent used for specular lighting). More... | |
| GLuint | getShininess () const |
| This method returns the shininess level. More... | |
| void | setTransparencyLevel (const float a_levelTransparency) |
| This method sets the transparency level (alpha value) to all color components. More... | |
| bool | isTransparent () const |
| This method returns true if the material includes partial or full transparency color components. More... | |
| void | backupColors () |
| This method creates a backup of its color properties. Any previous backup is lost. More... | |
| void | restoreColors () |
| This method restores the color properties from values stored in the backup members. More... | |
| virtual void | render (cRenderOptions &a_options) |
| This method render the material using OpenGL. More... | |
| void | setStiffness (const double a_stiffness) |
| This method set the stiffness level [N/m]. More... | |
| double | getStiffness () const |
| This method returns the stiffness level [N/m]. More... | |
| void | setViscosity (const double a_viscosity) |
| This method sets the level of viscosity. More... | |
| double | getViscosity () const |
| This method returns the level of viscosity. More... | |
| void | setVibrationFrequency (const double a_vibrationFrequency) |
| This method set the vibration frequency [Hz]. More... | |
| double | getVibrationFrequency () const |
| This method returns the vibration frequency [Hz]. More... | |
| void | setVibrationAmplitude (const double a_vibrationAmplitude) |
| This method sets the vibration force amplitude [N]. More... | |
| double | getVibrationAmplitude () const |
| This method returns the vibration force amplitude [N]. More... | |
| void | setMagnetMaxForce (const double a_magnetMaxForce) |
| This method sets the maximum force applied by the magnet effect [N]. More... | |
| double | getMagnetMaxForce () const |
| This method returns the maximum force applied by the magnet effect[N]. More... | |
| void | setMagnetMaxDistance (const double a_magnetMaxDistance) |
| This method sets the maximum distance threshold from which magnetic forces are perceived [m]. More... | |
| double | getMagnetMaxDistance () const |
| This method returns the maximum distance threshold from which magnetic forces are perceived [m]. More... | |
| void | setStickSlipForceMax (const double a_stickSlipForceMax) |
| This method sets the maximum force threshold of a stick and slip model [N]. More... | |
| double | getStickSlipForceMax () const |
| This method returns the maximum force threshold of a stick and slip model [N]. More... | |
| void | setStickSlipStiffness (double const a_stickSlipStiffness) |
| This method sets the stiffness of the stick and slip model [N/m]. More... | |
| double | getStickSlipStiffness () const |
| This method sets the stiffness of the stick and slip model [N/m]. More... | |
| void | setDamping (const double a_dampingCoefficient) |
| This method sets the damping coefficient. More... | |
| double | getDamping () const |
| This method returns the damping coefficient. More... | |
| void | setUseHapticFriction (const bool a_useHapticFriction) |
| This method enables or disables haptic friction. (Applies to polygonal objects only). More... | |
| bool | getUseHapticFriction () const |
| This method returns the status of haptic friction. (Applies to polygonal objects only). More... | |
| void | setStaticFriction (const double a_friction) |
| This method sets the static friction level [N]. More... | |
| double | getStaticFriction () const |
| This method returns the static friction level [N]. More... | |
| void | setDynamicFriction (const double a_friction) |
| This method sets the dynamic friction level. More... | |
| double | getDynamicFriction () const |
| This method returns the dynamic friction level. More... | |
| void | setUseHapticTexture (const bool a_useHapticTexture) |
| This method enables or disables haptic texture rendering. (Applies to polygonal objects only). More... | |
| bool | getUseHapticTexture () const |
| This method returns the status of haptic texture rendering. (Applies to polygonal objects only). More... | |
| void | setTextureLevel (const double a_textureLevel) |
| This method sets the haptic texture level. More... | |
| double | getTextureLevel () const |
| This method returns the haptic texture level. More... | |
| void | setUseHapticShading (const bool a_useHapticShading) |
| This method enables or disables haptic shading. (Applies to polygonal objects only). More... | |
| bool | getUseHapticShading () const |
| This method retruns the status of haptic shading. (Applies to polygonal objects only). More... | |
| void | setHapticTriangleFrontSide (const bool a_enabled) |
| This method enables or disables haptic rendering on the front side of mesh triangles. More... | |
| bool | getHapticTriangleFrontSide () const |
| This method returns the status about front side triangle haptic rendering. (Applies to polygonal objects only). More... | |
| void | setHapticTriangleBackSide (const bool a_enabled) |
| This method enables or disables haptic rendering of back side of mesh triangles. More... | |
| bool | getHapticTriangleBackSide () const |
| This method returns the status about back side triangle haptic rendering. (Applies to polygonal objects only). More... | |
| void | setHapticTriangleSides (const bool a_enableFrontSide, const bool a_enableBackSide) |
| This method enables or disables haptic rendering of front and back sides of mesh triangles. More... | |
| void | setAudioImpactBuffer (cAudioBuffer *a_audioImpactBuffer) |
| This method sets an audio buffer associated to impacts between a tool and an object. More... | |
| cAudioBuffer * | getAudioImpactBuffer () |
| This method returns a pointer to the audio buffer associated with impacts. More... | |
| void | setAudioImpactGain (const double a_audioImpactGain) |
| This method sets the audio gain for sounds associated with impacts. More... | |
| double | getAudioImpactGain () const |
| This method returns the gain value for sounds associated with impacts. More... | |
| void | setAudioFrictionBuffer (cAudioBuffer *a_audioFrictionBuffer) |
| This method sets an audio buffer associated with friction. More... | |
| cAudioBuffer * | getAudioFrictionBuffer () |
| This method returns a pointer to the audio buffer associated with friction. More... | |
| void | setAudioFrictionGain (const double a_audioFrictionGain) |
| This method sets the audio gain for sounds associated with friction. More... | |
| double | getAudioFrictionGain () const |
| This method returns the audio gain for sounds associated with friction. More... | |
| void | setAudioFrictionPitchGain (const double a_audioFrictionPitchGain) |
| This method sets the audio pitch gain for sounds associated with friction. More... | |
| double | getAudioFrictionPitchGain () const |
| This method returns the audio pitch gain for sounds associated with friction. More... | |
| void | setAudioFrictionPitchOffset (const double a_audioFrictionPitchOffset) |
| This method sets the audio pitch offset for sounds associated with friction. More... | |
| double | getAudioFrictionPitchOffset () const |
| This method returns the audio pitch offset for sounds associated with friction. More... | |
| void | setColor (cColorf &a_color) |
| This method defines a color property for this material. More... | |
| void | setColor (cColorb &a_color) |
| This method defines a color property for this material. More... | |
| void | setColorf (const GLfloat a_red, const GLfloat a_green, const GLfloat a_blue, const GLfloat a_alpha=1.0f) |
| This method defines a color property for this material. More... | |
| void | setRedIndian () |
| This method sets the color to Red Indian. More... | |
| void | setRedLightCoral () |
| This method sets the color to Light Coral Red. More... | |
| void | setRedSalmon () |
| This method sets the color to Red Salmon. More... | |
| void | setRedDarkSalmon () |
| This method sets the color to Dark Red Salmon. More... | |
| void | setRedLightSalmon () |
| This method sets the color to Light Red Salmon. More... | |
| void | setRedCrimson () |
| This method sets the color to Red Crimson. More... | |
| void | setRed () |
| This method sets the color to Red. More... | |
| void | setRedFireBrick () |
| This method sets the color to Red Fire Brick. More... | |
| void | setRedDark () |
| This method sets the color to Dark Red. More... | |
| void | setPink () |
| This method sets the color to Pink. More... | |
| void | setPinkLight () |
| This method sets the color to Light Pink. More... | |
| void | setPinkHot () |
| This method sets the color to Hot Pink. More... | |
| void | setPinkDeep () |
| This method sets the color to Deep Pink. More... | |
| void | setPinkMediumVioletRed () |
| This method sets the color to Medium Violet Red. More... | |
| void | setPinkPaleVioletRed () |
| This method sets the color to Pale Violet Red. More... | |
| void | setOrangeLightSalmon () |
| This method sets the color to Orange Light Salmon. More... | |
| void | setOrangeCoral () |
| This method sets the color to Orange Coral. More... | |
| void | setOrangeTomato () |
| This method sets the color to Orange Tomato. More... | |
| void | setOrangeRed () |
| This method sets the color to Orange Red. More... | |
| void | setOrangeDark () |
| This method sets the color to Dark Orange. More... | |
| void | setOrange () |
| This method sets the color to Orange. More... | |
| void | setYellowGold () |
| This method sets the color to Gold. More... | |
| void | setYellow () |
| This method sets the color to Yellow. More... | |
| void | setYellowLight () |
| This method sets the color to Light Yellow. More... | |
| void | setYellowLemonChiffon () |
| This method sets the color to Lemon Chiffon. More... | |
| void | setYellowLightGoldenrod () |
| This method sets the color to Light Goldenrod. More... | |
| void | setYellowPapayaWhip () |
| This method sets the color to Papaya Whip. More... | |
| void | setYellowMoccasin () |
| This method sets the color to Moccasin. More... | |
| void | setYellowPeachPuff () |
| This method sets the color to Peach Puff. More... | |
| void | setYellowPaleGoldenrod () |
| This method sets the color to Pale Goldenrod. More... | |
| void | setYellowKhaki () |
| This method sets the color to Khaki. More... | |
| void | setYellowDarkKhaki () |
| This method sets the color to Dark Khaki. More... | |
| void | setPurpleLavender () |
| This method sets the color to Lavendar. More... | |
| void | setPurpleThistle () |
| This method sets the color to Thistle. More... | |
| void | setPurplePlum () |
| This method sets the color to Plum. More... | |
| void | setPurpleViolet () |
| This method sets the color to Violet. More... | |
| void | setPurpleOrchid () |
| This method sets the color to Orchid. More... | |
| void | setPurpleFuchsia () |
| This method sets the color to Fuchsia. More... | |
| void | setPurpleMagenta () |
| This method sets the color to Magenta. More... | |
| void | setPurpleMediumOrchid () |
| This method sets the color to Medium Orchid. More... | |
| void | setPurpleMedium () |
| This method sets the color to Medium Purple. More... | |
| void | setPurpleAmethyst () |
| This method sets the color to Amethyst. More... | |
| void | setPurpleBlueViolet () |
| This method sets the color to Blue Violet. More... | |
| void | setPurpleDarkViolet () |
| This method sets the color to Dark Violet. More... | |
| void | setPurpleDarkOrchid () |
| This method sets the color to Dark Orchid. More... | |
| void | setPurpleDarkMagenta () |
| This method sets the color to Dark Magenta. More... | |
| void | setPurple () |
| This method sets the color to Purple. More... | |
| void | setPurpleIndigo () |
| This method sets the color to Indigo. More... | |
| void | setPurpleSlateBlue () |
| This method sets the color to Slate Blue. More... | |
| void | setPurpleDarkSlateBlue () |
| This method sets the color to Dark Slate Blue. More... | |
| void | setPurpleMediumSlateBlue () |
| This method sets the color to Medium Slate Blue. More... | |
| void | setGreenYellow () |
| This method sets the color to Green Yellow. More... | |
| void | setGreenChartreuse () |
| This method sets the color to Chartreuse. More... | |
| void | setGreenLawn () |
| This method sets the color to Lawn Green. More... | |
| void | setGreenLime () |
| This method sets the color to Lime. More... | |
| void | setGreenLimeGreen () |
| This method sets the color to Lime Green. More... | |
| void | setGreenPale () |
| This method sets the color to Pale Green. More... | |
| void | setGreenLight () |
| This method sets the color to Light Green. More... | |
| void | setGreenMediumSpring () |
| This method sets the color to Medium Spring Green. More... | |
| void | setGreenSpring () |
| This method sets the color to Spring Green. More... | |
| void | setGreenMediumSea () |
| This method sets the color to Medium Sea Green. More... | |
| void | setGreenSea () |
| This method sets the color to Sea Green. More... | |
| void | setGreenForest () |
| This method sets the color to Forest Green. More... | |
| void | setGreen () |
| This method sets the color to Green. More... | |
| void | setGreenDark () |
| This method sets the color to Dark Green. More... | |
| void | setGreenYellowGreen () |
| This method sets the color to Yellow Green. More... | |
| void | setGreenOliveDrab () |
| This method sets the color to Olive Drab. More... | |
| void | setGreenOlive () |
| This method sets the color to Olive. More... | |
| void | setGreenDarkOlive () |
| This method sets the color to Dark Olive Green. More... | |
| void | setGreenMediumAquamarine () |
| This method sets the color to Medium Aquamarine. More... | |
| void | setGreenDarkSea () |
| This method sets the color to Dark Sea Green. More... | |
| void | setGreenLightSea () |
| This method sets the color to Light Sea Green. More... | |
| void | setGreenDarkCyan () |
| This method sets the color to Dark Cyan. More... | |
| void | setGreenTeal () |
| This method sets the color to Teal. More... | |
| void | setBlueAqua () |
| This method sets the color to Aqua. More... | |
| void | setBlueCyan () |
| This method sets the color to Cyan. More... | |
| void | setBlueLightCyan () |
| This method sets the color to Light Cyan. More... | |
| void | setBluePaleTurquoise () |
| This method sets the color to Pale Turquoise. More... | |
| void | setBlueAquamarine () |
| This method sets the color to Aquamarine. More... | |
| void | setBlueTurquoise () |
| This method sets the color to Turquoise. More... | |
| void | setBlueMediumTurquoise () |
| This method sets the color to Medium Turquoise. More... | |
| void | setBlueDarkTurquoise () |
| This method sets the color to Dark Turquoise. More... | |
| void | setBlueCadet () |
| This method sets the color to Cadet Blue. More... | |
| void | setBlueSteel () |
| This method sets the color to Steel Blue. More... | |
| void | setBlueLightSteel () |
| This method sets the color to Light Steel Blue. More... | |
| void | setBluePowder () |
| This method sets the color to Powder Blue. More... | |
| void | setBlueLight () |
| This method sets the color to Light Blue. More... | |
| void | setBlueSky () |
| This method sets the color to Sky Blue. More... | |
| void | setBlueLightSky () |
| This method sets the color to Light Sky Blue. More... | |
| void | setBlueDeepSky () |
| This method sets the color to Deep Sky Blue. More... | |
| void | setBlueDodger () |
| This method sets the color to Doger Blue. More... | |
| void | setBlueCornflower () |
| This method sets the color to Cornflower Blue. More... | |
| void | setBlueMediumSlate () |
| This method sets the color to Medium Slate Blue. More... | |
| void | setBlueRoyal () |
| This method sets the color to Royal Blue. More... | |
| void | setBlue () |
| This method sets the color to Blue. More... | |
| void | setBlueMedium () |
| This method sets the color to Medium Blue. More... | |
| void | setBlueDark () |
| This method sets the color to Dark Blue. More... | |
| void | setBlueNavy () |
| This method sets the color to Navy. More... | |
| void | setBlueMidnight () |
| This method sets the color to Midnight Blue. More... | |
| void | setBrownCornsilk () |
| This method sets the color to Cornsilk. More... | |
| void | setBrownBlanchedAlmond () |
| This method sets the color to Blanched Almond. More... | |
| void | setBrownBisque () |
| This method sets the color to Bisque. More... | |
| void | setBrownNavajoWhite () |
| This method sets the color to Navajo White. More... | |
| void | setBrownWheat () |
| This method sets the color to Wheat. More... | |
| void | setBrownBurlyWood () |
| This method sets the color to Burly Wood. More... | |
| void | setBrownTan () |
| This method sets the color to Tan. More... | |
| void | setBrownRosy () |
| This method sets the color to Rosy Brown. More... | |
| void | setBrownSandy () |
| This method sets the color to Sandy Brown. More... | |
| void | setBrownGoldenrod () |
| This method sets the color to Brown Goldenrod. More... | |
| void | setBrownDarkGoldenrod () |
| This method sets the color to Dark Brown Goldenrod. More... | |
| void | setBrownPeru () |
| This method sets the color to Peru. More... | |
| void | setBrownChocolate () |
| This method sets the color to Chocolate. More... | |
| void | setBrownSaddle () |
| This method sets the color to Saddle Brown. More... | |
| void | setBrownSienna () |
| This method sets the color to Sienna. More... | |
| void | setBrown () |
| This method sets the color to Brown. More... | |
| void | setBrownMaroon () |
| This method sets the color to Maroon. More... | |
| void | setWhite () |
| This method sets the color to White. More... | |
| void | setWhiteSnow () |
| This method sets the color to White Snow. More... | |
| void | setWhiteHoneydew () |
| This method sets the color to Honeydew. More... | |
| void | setWhiteMintCream () |
| This method sets the color to Mint Cream. More... | |
| void | setWhiteAzure () |
| This method sets the color to Azure. More... | |
| void | setWhiteAliceBlue () |
| This method sets the color to Alice Blue. More... | |
| void | setWhiteGhost () |
| This method sets the color to Ghost White. More... | |
| void | setWhiteSmoke () |
| This method sets the color to White Smoke. More... | |
| void | setWhiteSeashell () |
| This method sets the color to Seashell. More... | |
| void | setWhiteBeige () |
| This method sets the color to Beige. More... | |
| void | setWhiteOldLace () |
| This method sets the color to Old Lace. More... | |
| void | setWhiteFloral () |
| This method sets the color to Floral White. More... | |
| void | setWhiteIvory () |
| This method sets the color to Ivory. More... | |
| void | setWhiteAntique () |
| This method sets the color to Antique White. More... | |
| void | setWhiteLinen () |
| This method sets the color to Linen. More... | |
| void | setWhiteLavenderBlush () |
| This method sets the color to Lavender Blush. More... | |
| void | setWhiteMistyRose () |
| This method sets the color to Misty Rose. More... | |
| void | setGrayGainsboro () |
| This method sets the color to Gainsboro. More... | |
| void | setGrayLight () |
| This method sets the color to Light Gray. More... | |
| void | setGraySilver () |
| This method sets the color to Silver. More... | |
| void | setGrayDark () |
| This method sets the color to Dark Gray. More... | |
| void | setGray () |
| This method sets the color to Gray. More... | |
| void | setGrayDim () |
| This method sets the color to Dim Gray. More... | |
| void | setGrayLightSlate () |
| This method sets the color to Light Slate Gray. More... | |
| void | setGraySlate () |
| This method sets the color to Slate Gray. More... | |
| void | setGrayDarkSlate () |
| This method sets the color to Dark Slate Gray. More... | |
| void | setBlack () |
| This method sets the color to Black. More... | |
| void | setGrayLevel (const GLfloat a_level) |
Static Public Member Functions | |
| static cMaterialPtr | create () |
| Shared cMaterial allocator. More... | |
Public Attributes | |
| cColorf | m_ambient |
| Ambient color. More... | |
| cColorf | m_diffuse |
| Diffuse color. More... | |
| cColorf | m_specular |
| Specular color. More... | |
| cColorf | m_emission |
| Emission color. More... | |
| cColorf | m_ambientBackup |
| Ambient color. (Backup) More... | |
| cColorf | m_diffuseBackup |
| Diffuse color. (Backup) More... | |
| cColorf | m_specularBackup |
| Specular color. (Backup) More... | |
| cColorf | m_emissionBackup |
| Emission color. (Backup) More... | |
Protected Member Functions | |
| void | updateColors () |
| This method takes the current diffuse color and updates ambient and specular components. More... | |
Protected Attributes | |
| GLuint | m_shininess |
| Material shininess level. More... | |
| bool | m_flag_shininess |
| Flag to track if related member has been modified. More... | |
| double | m_stiffness |
| Stiffness [N/m]. More... | |
| bool | m_flag_stiffness |
| Flag to track if related member has been modified. More... | |
| double | m_damping |
| bool | m_flag_damping |
| Flag to track if related member has been modified. More... | |
| double | m_viscosity |
| Level of viscosity. More... | |
| bool | m_flag_viscosity |
| Flag to track if related member has been modified. More... | |
| double | m_staticFriction |
| Static friction constant [N]. More... | |
| bool | m_flag_staticFriction |
| Flag to track if related member has been modified. More... | |
| double | m_dynamicFriction |
| Dynamic friction constant [N]. More... | |
| bool | m_flag_dynamicFriction |
| Flag to track if related member has been modified. More... | |
| double | m_textureLevel |
| Texture level constant. More... | |
| bool | m_flag_textureLevel |
| Flag to track if related member has been modified. More... | |
| double | m_vibrationFrequency |
| Frequency of vibrations [Hz]. More... | |
| bool | m_flag_vibrationFrequency |
| Flag to track if related member has been modified. More... | |
| double | m_vibrationAmplitude |
| Amplitude of vibrations [Hz]. More... | |
| bool | m_flag_vibrationAmplitude |
| Flag to track if related member has been modified. More... | |
| double | m_magnetMaxForce |
| Maximum force applied by magnetic effect [N]. More... | |
| bool | m_flag_magnetMaxForce |
| Flag to track if related member has been modified. More... | |
| double | m_magnetMaxDistance |
| Maximum distance from which magnetic forces can be perceived. More... | |
| bool | m_flag_magnetMaxDistance |
| Flag to track if related member has been modified. More... | |
| double | m_stickSlipForceMax |
| Force threshold for stick and slip effect [N]. More... | |
| bool | m_flag_stickSlipForceMax |
| Flag to track if related member has been modified. More... | |
| double | m_stickSlipStiffness |
| Stiffness of stick slip model. More... | |
| bool | m_flag_stickSlipStiffness |
| Flag to track if related member has been modified. More... | |
| bool | m_useHapticFriction |
| If true, haptic friction rendering is enabled. More... | |
| bool | m_flag_useHapticFriction |
| Flag to track if related member has been modified. More... | |
| bool | m_useHapticTexture |
| If true, haptic texture rendering is enabled. More... | |
| bool | m_flag_useHapticTexture |
| Flag to track if related member has been modified. More... | |
| bool | m_useHapticShading |
| If true, haptic shading is enabled. More... | |
| bool | m_flag_useHapticShading |
| Flag to track if related member has been modified. More... | |
| bool | m_hapticFrontSideOfTriangles |
| If true, then front side of triangles are rendered haptically (used by the proxy algorithm). More... | |
| bool | m_flag_hapticFrontSideOfTriangles |
| Flag to track if related member has been modified. More... | |
| bool | m_hapticBackSideOfTriangles |
| If true, then back side of triangles are rendered haptically (used by the proxy algorithm). More... | |
| bool | m_flag_hapticBackSideOfTriangles |
| Flag to track if related member has been modified. More... | |
| cAudioBuffer * | m_audioImpactBuffer |
| Sound buffer associated with impacts. More... | |
| bool | m_flag_audioImpactBuffer |
| Flag to track if related member has been modified. More... | |
| cAudioBuffer * | m_audioFrictionBuffer |
| Sound buffer associated with friction. More... | |
| bool | m_flag_audioFrictionBuffer |
| Flag to track if related member has been modified. More... | |
| double | m_audioImpactGain |
| General gain for sound associated with impacts. More... | |
| bool | m_flag_audioImpactGain |
| Flag to track if related member has been modified. More... | |
| double | m_audioFrictionGain |
| General gain for sounds associated with friction. More... | |
| bool | m_flag_audioFrictionGain |
| Flag to track if related member has been modified. More... | |
| double | m_audioFrictionPitchGain |
| General pitch gain for sounds associated with friction. More... | |
| bool | m_flag_audioFrictionPitchGain |
| Flag to track if related member has been modified. More... | |
| double | m_audioFrictionPitchOffset |
| General pitch offset for sounds associated with friction. More... | |
| bool | m_flag_audioFrictionPitchOffset |
| Flag to track if related member has been modified. More... | |
This class provides a description for handling OpenGL graphic material properties. These include: ambient color, diffuse color, specular color, emissive color, and shininess.
Haptic properties are also defined in this class. Properties include stiffness, dynamic friction, and static friction, viscosity, vibration and magnetic effects. Force rendering algorithms will lookup the material properties of an object to compute the desired force rendering effect.
cMaterial also allows the programmer to backup the current materials colors by calling method backup(). These colors can later be retrieved by calling the method restore().
This capability can be very useful when implementing a selection procedure where objects change color when being being selected by a computer mouse for instance. A different color can be applied to the selected object and then restored to the original color once the selection has been completed.
| chai3d::cMaterial::cMaterial | ( | ) |
Constructor of cMaterial.
|
inlinevirtual |
|
inlinestatic |
| cMaterialPtr chai3d::cMaterial::copy | ( | ) |
This method creates a copy of itself.
| void chai3d::cMaterial::setModificationFlags | ( | const bool | a_value | ) |
This method sets all the modification flags to a desired value.
| a_value | Value to be assigned to modification flags. |
| void chai3d::cMaterial::copyTo | ( | cMaterialPtr | a_material | ) |
This method copies all modified variables to material object passed as argument.
| a_material | Destination material where values are copied to. |
| void chai3d::cMaterial::setShininess | ( | const GLuint | a_shininess | ) |
This method sets the level of shininess. The value is clamped to range from 0 to 128.
| a_shininess | Level of shininess |
|
inline |
| void chai3d::cMaterial::setTransparencyLevel | ( | const float | a_levelTransparency | ) |
This method sets the transparency level by setting the alpha value to all color members including ambient, diffuse, specular, and emission.
| a_levelTransparency | Level of transparency. |
|
inline |
|
inline |
|
inline |
|
virtual |
This method renders this material using OpenGL.
| a_options | Rendering options. |
| void chai3d::cMaterial::setStiffness | ( | const double | a_stiffness | ) |
This method sets the level of stiffness for this material. The value is clamped to be a non-negative value.
| a_stiffness | Level of stiffness. |
|
inline |
| void chai3d::cMaterial::setViscosity | ( | const double | a_viscosity | ) |
This method sets the level of viscosity. The value is clamped to be a non-negative value.
| a_viscosity | Level of viscosity. |
|
inline |
| void chai3d::cMaterial::setVibrationFrequency | ( | const double | a_vibrationFrequency | ) |
This method sets the frequency of vibration. The value is clamped to be a non-negative value.
| a_vibrationFrequency | Frequency of vibration [Hz]. |
|
inline |
| void chai3d::cMaterial::setVibrationAmplitude | ( | const double | a_vibrationAmplitude | ) |
This method set the amplitude of vibration. The value is clamped to be a non-negative value.
| a_vibrationAmplitude | Amplitude of vibrations [N]. |
|
inline |
| void chai3d::cMaterial::setMagnetMaxForce | ( | const double | a_magnetMaxForce | ) |
This method sets the maximum force applied by the magnet [N]. The value is clamped to be a non-negative value.
| a_magnetMaxForce | Maximum force of magnet. |
|
inline |
| void chai3d::cMaterial::setMagnetMaxDistance | ( | const double | a_magnetMaxDistance | ) |
This method sets the maximum distance from which the magnetic force can be perceived [m]
| a_magnetMaxDistance | Maximum distance from object where magnet is active. |
|
inline |
| void chai3d::cMaterial::setStickSlipForceMax | ( | const double | a_stickSlipForceMax | ) |
This method sets the maximum force threshold for the stick and slip model [N]. The value is clamped to be a non-negative value.
| a_stickSlipForceMax | Maximum force threshold. |
|
inline |
| void chai3d::cMaterial::setStickSlipStiffness | ( | double const | a_stickSlipStiffness | ) |
This method sets the stiffness for the stick and slip model [N/m].
| a_stickSlipStiffness | Stiffness property. |
|
inline |
| void chai3d::cMaterial::setDamping | ( | const double | a_damping | ) |
This method sets the level of damping.
| a_damping | Level of damping. |
|
inline |
| void chai3d::cMaterial::setUseHapticFriction | ( | const bool | a_useHapticFriction | ) |
This method enables or disables rendering of haptic friction.
| a_useHapticFriction | If true, haptic friction rendering in enabled. |
|
inline |
| void chai3d::cMaterial::setStaticFriction | ( | const double | a_friction | ) |
This method sets the level of static friction. The value is clamped to be a non-negative value.
| a_friction | Level of friction. |
|
inline |
| void chai3d::cMaterial::setDynamicFriction | ( | const double | a_friction | ) |
This method sets the level of dynamic friction. The value is clamped to be a non-negative value.
| a_friction | Level of friction. |
|
inline |
| void chai3d::cMaterial::setUseHapticTexture | ( | const bool | a_useHapticTexture | ) |
This method enables or disables haptic texture rendering.
| a_useHapticTexture | If true, haptic texture rendering in enabled. |
|
inline |
| void chai3d::cMaterial::setTextureLevel | ( | const double | a_textureLevel | ) |
This method sets the intensity at which the texture map of an object is perceived.
| a_textureLevel | Intensity level. |
|
inline |
| void chai3d::cMaterial::setUseHapticShading | ( | const bool | a_useHapticShading | ) |
This method enables or disables haptic shading.
| a_useHapticShading | If true, haptic shading in enabled. |
|
inline |
| void chai3d::cMaterial::setHapticTriangleFrontSide | ( | const bool | a_enabled | ) |
This method enables or disables front side haptic rendering.
If a_enabled
is set to true, then haptic rendering occurs on front side of triangles. This option applies to mesh objects which are rendered using the proxy force algorithm.
| a_enabled | If true, then haptic rendering is enabled. |
|
inline |
| void chai3d::cMaterial::setHapticTriangleBackSide | ( | const bool | a_enabled | ) |
This method enables or disables back side haptic rendering.
If a_enabled
is set to true, then haptic rendering occurs on back side of triangles. This option applies to mesh objects which are rendered using the proxy force algorithm.
| a_enabled | If true, then haptic rendering is enabled. |
|
inline |
| void chai3d::cMaterial::setHapticTriangleSides | ( | const bool | a_enableFrontSide, |
| const bool | a_enableBackSide | ||
| ) |
This method defines which sides haptic rendering must occur with triangles.
| a_enableFrontSide | If true, then haptic rendering is enabled for front sides. |
| a_enableBackSide | If true, then haptic rendering is enabled for back sides. |
| void chai3d::cMaterial::setAudioImpactBuffer | ( | cAudioBuffer * | a_audioImpactBuffer | ) |
This method sets an audio buffer associated with any impacts between a haptic tool and an object.
| a_audioImpactBuffer | Audio buffer. |
|
inline |
| void chai3d::cMaterial::setAudioImpactGain | ( | const double | a_audioImpactGain | ) |
This method sets the audio gain related to impact sounds.
| a_audioImpactGain | Audio gain associated to impact. |
|
inline |
| void chai3d::cMaterial::setAudioFrictionBuffer | ( | cAudioBuffer * | a_audioFrictionBuffer | ) |
This method sets an audio buffer associated with any friction caused by a haptic tool touching an object.
| a_audioFrictionBuffer | Audio buffer. |
|
inline |
| void chai3d::cMaterial::setAudioFrictionGain | ( | const double | a_audioFrictionGain | ) |
This method sets the audio gain related to friction sounds.
| a_audioFrictionGain | Audio gain associated to friction. |
|
inline |
| void chai3d::cMaterial::setAudioFrictionPitchGain | ( | const double | a_audioFrictionPitchGain | ) |
This method sets the audio friction pitch gain.
| a_audioFrictionPitchGain | Audio pitch gain associated to friction. |
|
inline |
| void chai3d::cMaterial::setAudioFrictionPitchOffset | ( | const double | a_audioFrictionPitchOffset | ) |
This method sets the audio friction pitch offset.
| a_audioFrictionPitchOffset | Audio pitch offset associated to friction. |
|
inline |
| void chai3d::cMaterial::setColor | ( | cColorf & | a_color | ) |
This method defines a color property for this material.
| a_color | Color. |
| void chai3d::cMaterial::setColor | ( | cColorb & | a_color | ) |
Define a color property for the material.
| a_color | Color. |
| void chai3d::cMaterial::setColorf | ( | const GLfloat | a_red, |
| const GLfloat | a_green, | ||
| const GLfloat | a_blue, | ||
| const GLfloat | a_alpha = 1.0f |
||
| ) |
This method defines a color property for this material.
| a_red | Red component |
| a_green | Green component |
| a_blue | Blue component |
| a_alpha | Alpha component |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
When a new color is defined by calling methods such as setColorf() or setRed(), the selected color is first set to the diffuse component. This method updates the ambient component by setting it equal to 50% of the diffuse color. The specular color is finally set to pure white.
| cColorf chai3d::cMaterial::m_ambient |
| cColorf chai3d::cMaterial::m_diffuse |
| cColorf chai3d::cMaterial::m_specular |
| cColorf chai3d::cMaterial::m_emission |
| cColorf chai3d::cMaterial::m_ambientBackup |
| cColorf chai3d::cMaterial::m_diffuseBackup |
| cColorf chai3d::cMaterial::m_specularBackup |
| cColorf chai3d::cMaterial::m_emissionBackup |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |


Ten-month-old Ja’bari Gray had been receiving treatment at Texas Children’s Hospital, but he was released Wednesday following an experimental skin transplant in May.
The Houston Chronical reports that Ja’bari was born weighing 3 pounds with fused eyelids and large areas of skin missing from his arms, legs and torso.
TOP STORIES
Skeptics chuckle as climate activist Greta Thunberg sets sail for Europe on 'plastic yacht'
DHS confirms no new border wall yet
Franklin Graham calls on nation to pray for Trump as impeachment effort gains speed
His mother, Priscilla Maldonado, says the cause is still unknown. As of now, doctors plan to leave Ja’bari’s eyes alone.
The surgery allowed lab-grown sheets of Ja’bari’s skin to be transplanted onto the uncovered parts of his body. A Boston-area company that produces skin grafts for severely burned patients developed the skin from his biopsied cells.
Maldonado says the procedure was remarkably successful. Ja’bari gained weight and color in his skin.
Information from: Houston Chronicle, http://www.houstonchronicle.com
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Let tell us know your dream and we will help you make it become reality
2020 LIARCH STUDIO. All rights reserved. | Design by LoganCee | Code by Orlando Vargas


Select this checkbox to have IntelliJ IDEA automatically import PHP namespaces, add use statements, and complete short class names
on the fly when you are typing in a class or file that belongs to a certain namespace. The checkbox is selected by
default.


Quark v1.0.2 Quark.Curry
Currying breaks up a function into a series of unary functions that apply their arguments to some inner n-ary function. This is a convenient way to achieve a general and flexble partial application on any curried function.
Summary
Functions
This allows you to curry a function at runtime, rather than upon definition
Convert a curried function to a function on pairs
Apply an argument to a function
Functions
Specs
curry((... -> any)) :: (any -> any)
This allows you to curry a function at runtime, rather than upon definition.
iex> curried_reduce_3 = curry &Enum.reduce/3
iex> {_, arity} = :erlang.fun_info(curried_reduce_3, :arity)
iex> arity
1
iex> curried_reduce_3 = curry &Enum.reduce/3
iex> import Quark.Curry
iex> curried_reduce_3.([1,2,3]).(42).(&(&1 + &2))
48
Specs
uncurry((any -> (any -> any))) :: (any, any -> any)
Convert a curried function to a function on pairs
iex> curried_add = fn x -> (fn y -> x + y end) end
iex> add = uncurry curried_add
iex> add.(1,2)
3


Wahlstrom sent down to Bridgeport; Eberle comes off IR
by Christian ArnoldNEW YORK — Oliver Wahlstrom got nine games in the NHL, but was sent down to AHL Bridgeport prior to the Islanders game against the Florida Panthers as Jordan Eberle was activated off injured reserve.
Eberle appeared in Saturday’s game on the Islanders’ top line. He had missed 10 games with a lower-body injury.
Wahlstrom was the likely candidate to be sent back down once one of the Isles’ injured players returned. If he wasn’t sent down Wahlstrom would have burned the first year of his entry-level contract.
The 19-year-old didn’t register a point in his nine-game stint.
Wahlstrom was called up by the Islanders on Oct. 14 after Casey Cizikas had been placed on IR. He made his NHL debut that same day when the Islanders hosted the St. Louis Blues.


{% extends "layout.html" %} {% block pageTitle %} {{ pageTitleText }} {% endblock %} {% block beforeContent %} {{ govukBackLink({ text: "Back to search", href: CHS_URL }) }} {% endblock %} {% block content %}
It can take us several hours to check the availability of a document. We will aim to add it to a company's filing history that day if the request is received between 8:30am and 3pm, Monday to Friday (excluding bank holidays).
If you make a request after 3pm, we will add the document the next working day.
Express orders received before 11am will be sent out the same working day. Orders received after 11am will be sent out the next working day. We send UK orders by Royal Mail 1st Class post and international orders by Royal Mail International post.
We aim to send out standard orders within 10 working days. We send UK orders by Royal Mail 2nd Class post and international orders by Royal Mail International Standard post.
" + paymentDetails.amount + "
" } }, { key: { text: "Payment reference" }, value: { classes: 'govuk-!-width-one-half', html: "" + paymentDetails.paymentReference + "
" } }, { key: { text: "Date and time of payment" }, value: { classes: 'govuk-!-width-one-half', html: "" + paymentDetails.orderedAt + "
" } } ] }) }}Email<EMAIL_ADDRESS>if you have questions about your order.
Include your order reference number when you contact us.


Resize.
To enter resize mode, press
+
r
. Then you can resize the current window using the arrow keys. To exit the resize mode, press
ENTER
or
ESC
.
Also, the screen will be tinted to show you, that it is in resize mode.


NOSTRADAMUS A film review by Eric Mankin Copyright 1994 Eric Mankin
In a tower, we see the Sixteenth Century physician/prophet Nostradamus (Tcheky Karyo) staring into space, his face filled with alarm at a vision of the future he is seeing, his lips mouthing an unspoken "No!" Clearly, he is looking into the late Twentieth Century and seeing the film Roger Christian has made on his life, a sickly sweet dose of mystical mouthwash.
The guy couldn't have been this dull. Screenwriters, Knut Boeser and Piers Ashworth have stamped out his story with two cookie cutters. One formats the "misunderstood ahead-of-his-time genius confronts fathead mediocrities" scene. The other limns the "seer sees woman; she makes cow eyes at him" encounter.
Both of these are bad, but the prophecies are worse. Watch Karyo rolling his eyes and struggling to pronounce an unfamiliar word: "Hister ... Hilzer ..."  Even believers impressed by this unforgettable dramatic moment will be frustrated, though: the visions of the future the film makers have the master seeing are concrete up to 1989 (Saddam Hussein's face floats in the sage's magic water basin), and then ... abruptly cease, except for brief glimpses of what look like Deep Space 9 outtakes.
Amanda Plummer, for once playing a character with an IQ above 50, generates a little energy near the end as Catherine de Medici. Otherwise, the prophet penning the words you now read foresees much greater happiness for those who spend their ticket money on other films.
Eric Mankin
.
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


- RECIPES
- EPISODE GUIDE
MORE FROM THE SHOW
MAMON BITES WITH STRAWBERRY AND CHOCOLATE SAUCE
Here's how to make the dish
- In a large saucpan, melt butter over low heat. To that, add rhum and stir constantly for 3- 4 minutes to cook off alcohol.
- Add chocolate pudding.

- Pour chocolate sauce over mamon and top with fresh strawberries.
- Enjoy!
From my kitchen to yours with love, Mwahhh! -S
Ingredients:
- 6- 8 pcs of Mamon, torn into bite-size pieces
- 1 cup of fresh, ripe strawberries, halved
- 1/4 cup of chocolate pudding
- 5 tbsp. of rhum
- 1 tbsp. butter


--- layout: post title: live blogging from BarCamp Cambridge, Matt's discussion categories: - cambridge - blog - blogging - barcamp - book ---
discussionQ Gridle is raised along with RDFa
if you don't like the way that the xslt is workin you can make your own.however most domain exprts can't write xslt
if you just let the domain experts create microformats you may leave theontologicaldefinitions to people who are creating the xslt
AG says that there may be two different problems, address to addressbookfrom page vs data harvesting


A small template to get you started faster with 11ty and TailwindCSS.
Run the development version with npm run dev
and do a
production build with npm run build
.
Remember to change the content in package.json
and in the
README.md
!


Timothy O'Grady
Republican
Retired. Worked as a systems engineer for Raytheon (4 yrs) and Lockheed (11 yrs) before retiring.
Graduated in 1985 with a Bachelor of Science degree in Electrical Engineering
80132
I have been a registered Republican for many many years but typically don't vote along party lines. Voted for Jimmy Carter! I have only donated to a political party once and that was President Trump's campaign.
I was Vice President of our Home Owners Association (HOA) from 2010 - 2019. Before that I was the treasurer of the HOA the majority of the time from 1996 - 2010.
As VP of the HOA I was also in charge of the Architectural Control Committee (ACC). In that role I had many opportunities to resolve covenant disputes with home owners without letting my personal preferences interfere. The vast majority of the disputes I helped resolved were appreciated by both the losing and winning parties by the fairness and thoroughness I applied during my investigations and the compromises that were achieved. As a Chief Engineer on several huge programs, I was intimately involved in making technical decisions with respect to design, cost and schedule attributes of the designs proposed by various technical groups.
Being retire now, I have more time to invest in my community and I've always had a keen interest in the political process. I believe we have the best political system in the world and that it can only remain that way if ordinary people get involved to ensure the political system remains fair and balanced. I also believe being on a commission will give me more insight into the opposing political views that I'm sure any member of the commission will be exposed to.
Being and engineer and an ACC chair required me to fully understand the guidelines with which I was required to work within (technical requirements, covenants, By-Laws, etc.). I would suspect being on the commission would have a similar process that requires one to understand the guidelines and goals and to develop solutions that would be agreeable (fair) to all parties involved. Communicating my perspectives would be based on logic and fairness and not on my personal beliefs and biases.
Being an engineer for over 35 years has required me to be extremely analytical in order to achieve the best technical solution while concurrently satisfying program requirements such as cost and scheduled. I have a strong sense of attention to detail and was able able to convey my reasoning to both engineering teams and various levels of management.
male


Firies continue to battle Logan grass fire
by Shanee DobesonUPDATE @ 3.15pm | A grass fire that broke out in Upper Coomera earlier on Wednesday morning has now been extinguished.
The blaze erupted near Otmoor Road and Tamborine Oxenford Road around 11.00am, however fire crews were quick to bring it under control, with the flames now completely out.

It broke out around 11.40am on Wednesday and continues to burn, however is not threatening any property.
People in the area are being warned they will be affected by smoke, which will reduce visibility and air quality.
The fire remains at Advice level, with residents being told to keep up to date and decide what actions to take if the situation changes.
EARLIER @ 11.45am | Fire crews have rushed to the scene of two separate fires burning on the Gold Coast and Logan.
One of the blazes has broken out near Otmoor Road and Tamborine Oxenford Road in Upper Coomera.
Four crews are currently en-route.
Meanwhile, multiple Queensland Fire and Emergency Services crews are on scene at a large vegetation fire burning near Tarwonga Road in Bahrs Scrub.
Crews are working to contain the fire and there is no threat to any property at this time, however residents are being urged to keep up to date and decide what actions to take if the situation changes.
Smoke is affecting the surrounding area, with people urged to close windows and doors and keep respiratory medication close by.
Motorists are also being asked to drive with caution and to conditions.
If you believe you or your property is under threat, call Triple Zero 000 immediately.
Stay up-to-date by visiting the Rural Fire Service (RFS) website at ruralfire.qld.gov.au/map.
For bushfire preparation tips, visit ruralfire.qld.gov.au/BushFire_Safety.
For information on road closures, call 13 19 40 or visit qldtraffic.qld.gov.au.