|
| void | bindCallback (std::function< void()> func, unsigned int trigger) |
| | Bind a function to one or more specific callback trigger(s). More...
|
| |
| template<typename T > |
| void | bindCallback (void(T::*func)(), T *const classPtr, unsigned int trigger) |
| | Bind a function to one or more specific callback trigger(s). More...
|
| |
| void | bindCallbackEx (std::function< void(const Callback &)> func, unsigned int trigger) |
| | Bind a function to one or more specific callback trigger(s). More...
|
| |
| template<typename T > |
| void | bindCallbackEx (void(T::*func)(const Callback &), T *const classPtr, unsigned int trigger) |
| | Bind a function to one or more specific callback trigger(s). More...
|
| |
| void | bindCallback (unsigned int trigger) |
| | Bind one or more specific callback trigger(s) to the parent widget. More...
|
| |
| void | unbindCallback (unsigned int trigger) |
| | Unbind all callback function bound to the given trigger. More...
|
| |
| void | unbindAllCallback () |
| | Unbind all callback functions bound to any callback. More...
|
| |
| void tgui::CallbackManager::bindCallback |
( |
std::function< void()> |
func, |
|
|
unsigned int |
trigger |
|
) |
| |
Bind a function to one or more specific callback trigger(s).
- Parameters
-
| func | Free function without parameters. This can actually also take more advanced stuff like a functor or lambda function. |
| trigger | In which situation(s) do you want the callback function to be called? |
Usage example:
void function() {}
widget->bindCallback(function, tgui::Widget::Focus);
template<typename T >
| void tgui::CallbackManager::bindCallback |
( |
void(T::*)() |
func, |
|
|
T *const |
classPtr, |
|
|
unsigned int |
trigger |
|
) |
| |
|
inline |
Bind a function to one or more specific callback trigger(s).
- Parameters
-
| func | Member function without parameters. |
| classPtr | Pointer to the widget of the class. |
| trigger | In which situation(s) do you want the callback function to be called? |
Usage example:
class myClass {
void function() {};
} myObj;
widget->bindCallback(&myClass::function, &myObj, tgui::Widget::Focus);
| void tgui::CallbackManager::bindCallback |
( |
unsigned int |
trigger | ) |
|
Bind one or more specific callback trigger(s) to the parent widget.
- Parameters
-
| trigger | In which situation(s) do you want the widget to alert its parent about a callback? |
The widget will tell its parent about the callback and you will receive the callback through the parent widget. If the callback reaches the window, then you will later have to poll the callbacks from this window.
Usage example:
widget->bindCallback(tgui::Widget::Focus);
| void tgui::CallbackManager::bindCallbackEx |
( |
std::function< void(const Callback &)> |
func, |
|
|
unsigned int |
trigger |
|
) |
| |
Bind a function to one or more specific callback trigger(s).
- Parameters
-
| func | Free function with a constant reference to a Callback widget as parameter. |
| trigger | In which situation(s) do you want the callback function to be called? |
Usage example:
void function(const Callback& callback) {}
widget->bindCallbackEx(function, tgui::Widget::Focus);
template<typename T >
| void tgui::CallbackManager::bindCallbackEx |
( |
void(T::*)(const Callback &) |
func, |
|
|
T *const |
classPtr, |
|
|
unsigned int |
trigger |
|
) |
| |
|
inline |
Bind a function to one or more specific callback trigger(s).
- Parameters
-
| func | Member function with a constant reference to a Callback widget as parameter. |
| classPtr | Pointer to the widget of the class. |
| trigger | In which situation(s) do you want the callback function to be called? |
Usage example:
class myClass {
void function(const Callback& callback) {};
} myObj;
widget->bindCallbackEx(&myClass::function, &myObj, tgui::Widget::Focus);
| void tgui::CallbackManager::unbindAllCallback |
( |
| ) |
|
Unbind all callback functions bound to any callback.
After calling this function, the widget will no longer send any callback.
| void tgui::CallbackManager::unbindCallback |
( |
unsigned int |
trigger | ) |
|
Unbind all callback function bound to the given trigger.
- Parameters
-
| trigger | In which situation(s) do you no longer want to retreive callback? |
The documentation for this class was generated from the following file:


Oh damn. I was feeling all good about getting the new iPhone until a short while ago. A bit of background is needed.
I have a contract at another carrier, called Base, and cancelled my contract there, which ends 17th of October 2008 now. I do want to port over my number from Base to T-Mobile though. There is a rule that the number portability can be requested 4 months before the end of the contract, 18th of July in my case. I thought i would be getting a temporary number at T-Mobile then, but as I have just learnt, this is not the case. I can order now, and they can request the number porting on the 18th, but I will only get t he iPhone and the new contract in October. I am not sure why I should order now then ;)
There is a time limited pricing option for the iPhone introduction which might make me order the iPhone sooner but I am feeling a bit weird as I am sure that in 3 months a lot can happen and there might be some price changes again and other new options. I even called Base to see if they would not free up my number sooner, but that does not seem to work, which is another bad thing. The only thing I could do now is use my old number and get an iphone with that one, using the Base number through a Pre-Paid card, but that sounds like a really nutty idea.
Life is hard some times. No iPhone for me for another 3 months it seems. Good that my Parents gave me a gift-certificate for part of the price of the iPhone for my birthday a few weeks back. It will always be christmas until I check that now ;)


Bessel functions of the first kind or second kind for both positive (blue) and negative (red) real order n:
This allows one to see explicitly that the two functions are linearly dependent for integer order, either coinciding for even order or being mirror images for odd order. It also allows one to see the relative location of the zeros of the two functions.
This example requires the higher-level mathematics of Math.
Complete code for this example:


Cross Platform Navigation Controller
When developing cross-platform applications in Titanium, one of the challenges facing a developer is maximizing code reuse while still conforming to the UI conventions of the Android or iOS platform. In this week's episode, we explore how we could create a hierarchical Navigation Controller, which would display a series of windows in an easily navigable stack. Be sure to join us next week as well, when further explore how to extend core Titanium UI components to create custom UI controls.
Episode Resources:


Appending Newline to File Ends with Ruby
I recently took over managing some config files from my dev colleagues. I was extremely annoyed to be reminded that Notepad (Windows' text editor) does 2 major Unix-incompatible things:
- CRLF line ending (
\r\n
and not\n
) - No newline at the end of file, which is something of a nicety …


Structure for MCAN initialization parameters. More...
#include <mcan.h>
Data Fields | |
| uint32_t | fdMode |
| uint32_t | brsEnable |
| uint32_t | txpEnable |
| uint32_t | efbi |
| uint32_t | pxhddisable |
| uint32_t | darEnable |
| uint32_t | wkupReqEnable |
| uint32_t | autoWkupEnable |
| uint32_t | emulationEnable |
| uint32_t | emulationFAck |
| uint32_t | clkStopFAck |
| uint32_t | wdcPreload |
| MCAN_TDCConfig | tdcConfig |
| uint32_t | tdcEnable |
Structure for MCAN initialization parameters.
| uint32_t MCAN_InitParams::autoWkupEnable |
Auto-Wakeup Enable 0 = Auto-Wakeup is disabled 1 = Auto-Wakeup is enabled
| uint32_t MCAN_InitParams::brsEnable |
Bit Rate Switch Enable This is valid only when opMode = 1. 0 = Bit rate switching for transmissions disabled 1 = Bit rate switching for transmissions enabled
| uint32_t MCAN_InitParams::clkStopFAck |
Clock Stop Fast Ack Enable 0 = Clock Stop does not wait for idle/immediate effect 1 = Clock Stop waits for idle/graceful stop
| uint32_t MCAN_InitParams::darEnable |
Disable Automatic Retransmission 0 = Automatic retransmission of messages not transmitted successfully enabled 1 = Automatic retransmission disabled
| uint32_t MCAN_InitParams::efbi |
FEdge Filtering during Bus Integration 0 = Edge filtering disabled 1 = Two consecutive dominant tq required to detect an edge for hard synchronization
| uint32_t MCAN_InitParams::emulationEnable |
Emulation/Debug Suspend Enable 0 = Emulation/Debug Suspend is disabled 1 = Emulation/Debug Suspend is enabled
| uint32_t MCAN_InitParams::emulationFAck |
Emulation/Debug Suspend Fast Ack Enable 0 = Emulation/Debug Suspend does not wait for idle/immediate effect 1 = Emulation/Debug Suspend waits for idle/graceful stop
| uint32_t MCAN_InitParams::fdMode |
FD Operation Enable 0 = FD operation disabled 1 = FD operation enabled
| uint32_t MCAN_InitParams::pxhddisable |
Protocol Exception Handling Disable 0 = Protocol exception handling enabled 1 = Protocol exception handling disabled
| MCAN_TDCConfig MCAN_InitParams::tdcConfig |
Transmitter Delay Compensation parameters. Refer struct MCAN_TDCConfig.
| uint32_t MCAN_InitParams::tdcEnable |
Transmitter Delay Compensation Enable 0 = Transmitter Delay Compensation is disabled 1 = Transmitter Delay Compensation is enabled
| uint32_t MCAN_InitParams::txpEnable |
Transmit Pause 0 = Transmit pause disabled 1 = Transmit pause enabled
| uint32_t MCAN_InitParams::wdcPreload |
Start value of the Message RAM Watchdog Counter Range:[0x0-0xFF]
| uint32_t MCAN_InitParams::wkupReqEnable |
Wakeup Request Enable 0 = Wakeup request is disabled 1 = Wakeup request is enabled


The form demonstrated above can be used to validate each field when the user clicks the ‘Submit’ button. The user will be shown any affected fields with focus being on the first affected field.
If you wish you use a Form with Validation on submit, any div
tag which contains an input
that requires validation
must implement the form-group-validate-on-submit
class, rather than the ‘form-group-validate’ class used for field-by-field validation.
Inputs requiring validation must set the ng-class
attribute, applying the on-submit
class only when the form has been submitted i.e. submitted=true
.
submitted
is only set to true when the ‘Submit’ button has been clicked, as seen in our HTML sample below.
When the submit button is initially clicked and there are fields with errors, it will be disabled until each field is corrected.
Note: you must set the
ng-class
attribute and only apply thedisabled
class when the form has been submitted but still has errors ($invalid
), for this to work correctly.
See the above documentation on field-by-field validation for information on how to show error text and error icons,
however you must also add submitted
to the ng-show
expression to only show these when the form has been submitted.
Notice how the ‘Telephone’ input field involves setting a pattern
attribute that makes the field invalid unless the user input follows that pattern.
The HTML code below shows how to implement the form used above:
Note: if you wish to disable the default validation error text (which appears as a tooltip), you must give your form a unique ID as seen in the HTML sample above. You must then put the code seen in the Javascript tab into your controller, specifying the form ID as the
.element
parameter. We use a$timeout
to ensure the page has fully loaded before executing the code.


a
speed
type
archimedean
fermat
hyperbolic
color
b
loops
width
randomize
c
scale
blur
pause
spiralmaniac
by
Mark Silverman
is licensed under a
Creative Commons Attribution 4.0 International License
.


{% include header.html %}
{% include nav.html %}Thank you for visiting Prosper Post! We will be launching our new site soon!
Preventative, Maintenance & Safety, that is. This lunch & learn in for all the Realtors, mortgage lenders, insurance agents & homeowners!
Learn MoreJoin the Prosper Chamber of Commerce as we celebrate the Donut Stop NTX with a Ribbon Cutting on May 4, 2018 at 9:00 am.
Learn MoreOur Networking Meetings take place on the second and fourth Tuesday of each month at Lighthouse Christian Fellowship Church.
Learn More


Bus Route Mapper
Select a Route Number
SUBMIT
CLEAR ALL ROUTES
Routes Displayed:
Login
Password
Select a favorite route
none


"CHAPITER "the ornamental head or capital of a pillar. Three Hebrew words are so rendered. (1.) Cothereth (1 Kings 7:16; 2 Kings 25:17; 2 Chronicles 4:12), meaning a “diadem” or “crown.” (2.) Tzepheth (2 Chronicles 3:15). (3.) Rosh (Exodus 36:38; 38:17, 19, 28), properly a“head” or “top.”
"CHAPITER "the ornamental head or capital of a pillar. Three Hebrew words are so rendered. (1.) Cothereth (1 Kings 7:16; 2 Kings 25:17; 2 Chronicles 4:12), meaning a “diadem” or “crown.” (2.) Tzepheth (2 Chronicles 3:15). (3.) Rosh (Exodus 36:38; 38:17, 19, 28), properly a“head” or “top.”


{% extends "wagtailbase/base.html" %}
{% block main %}
{% block index_page_introduction %}
{% include "wagtailbase/includes/introduction.html" with introduction=self.introduction only %}
{% endblock %}
{% block index_page_children %}
{% include "wagtailbase/includes/index_page_children.html" with title="In this section" %}
{% endblock %}
{% block attachments %}
{% include "wagtailbase/includes/attachments.html" with attachments=self.attachments.all title="Attachments" %}
{% endblock %}
{% block related_links %}
{% include "wagtailbase/includes/related_links.html" with related_links=self.related_links.all title="Related links" %}
{% endblock %}
{% endblock %}


primrose.configuration package¶
Submodules¶
primrose.configuration.configuration module¶
Module to implement a Configuration parser which enhances parsing functionality of configparser
- Author(s):
Michael Skarlinski<EMAIL_ADDRESS>Carl Anderson<EMAIL_ADDRESS>-
class
primrose.configuration.configuration.
Configuration
(config_location, is_dict_config=False, dict_config=None)¶ Bases:
object
Stores user defined configuration for primrose job
-
check_config
()¶ check the configuration as much as we can as early as we can
- Raises
various exceptions if any checks fail –
-
check_metadata
()¶ checks some dependencies among metadata keys
- Raises
ConfigurationError is issues found –
-
check_sections
()¶ Check that all the sections in implementation are supported ones. Either the user supplied metata.section_registry, or they are using default sections
- Raises
ConfigurationError if declaring metadata.section_registry and sections from implementation were not found in metadata –
or vice versa, or if using default operations but sections found that were not supported –
-
config_for_instance
(instance_name)¶ get the configuration for a given node / instance_name
- Returns
JSON chunk for this instance
-
dict_raise_on_duplicates
(ordered_pairs)¶ Reject duplicate keys in JSON string, ie. sections and node names.
- Parameters
ordered_pairs (list) – list of key:values from the config Example: ordered_pairs [(‘class’, ‘CsvReader’), (‘filename’, ‘data/tennis.csv’), (‘destinations’, [‘write_output’])] ordered_pairs [(‘read_data’, {‘class’: ‘CsvReader’, ‘filename’: ‘data/tennis.csv’, ‘destinations’: [‘write_output’]})]
- Returns
dictionary of key (node type) and value (node name)
- Return type
dictionary (dict)
-
static
perform_any_config_fragment_substitution
(config_str)¶ Given some configuration file content string, look for subtitutions given by $$FILE=path/to/config/file/fragment.json$$ and make the replacements using the filenames provided For example: { $$FILE=/tmp/metadata.json$$ “implementation_config”: { $$FILE= config/read_write_fragment.json $$ } } will inject /tmp/metadata.json into the 2nd line of that config.
- Parameters
config_str (str) – content of some configuration file that may or may not contain substition variables
- Returns
the post-substituted configuration string
- Return type
config_str (str)
-
sections_in_order
()¶ Return list of section names in order, either explicitly from metadata or from default Enum order
Note
If there is a non-empty section_run list in metadata return that elif there is a non-empty section_registry in metadata return that otherwise return sections present from default OperationType enum.
We need this method because the config sections are a dictionary not a list so we can’t guarantee order of keys. This method imposes an expected order.
- Returns
tuple containing:
section names (list): list of sections
source (str): where did the list come from? section_run, section_registry, or default?
- Return type
(tuple)
-
primrose.configuration.configuration_dag module¶
A class that creates a directed acyclic graph (DAG) and perhaps a number of checks, such as detecting cycles, orphans, and unrecognized nodes
- Author(s):
Carl Anderson<EMAIL_ADDRESS>-
class
primrose.configuration.configuration_dag.
ConfigurationDag
(config)¶ Bases:
object
-
static
add_edge
(G, G2, node_names, key, destination)¶ add an edge to the DAG
- Parameters
G (networkx bidirectional graph) – bidirectional graph instance
G2 (networkx directional graph) – bidrectional graph instance
key (str) – starting node name
destination (str) – destination node name
- Returns
nothing. Side effect is to add the edge
-
check_connected_components
()¶ now we can count the number of connected components. >1 is problem
- Raises
ConfigurationError if multiuple connected components –
-
check_dag
()¶ check that it is a DAG
Note
check for cycles check only 1 connected component, no orphans check that all edges point to known nodes
- Raises
Excetions if cycles found or multiple connected components –
-
check_for_cycles
()¶ check for cycles
- Raise:
ConfigurationError if cycles found
-
static
check_node_exists
(node_names, key)¶ check that some specified destination is node on graph
- Parameters
nodes_names (list) – list of node names
key (str) – name of node to check
- Raises
-
create_dag
()¶ Create the DAG
- Returns
nothing. Side effect is to set up graphs and node map
-
descendents
(source)¶ Get the list of descendents from source, i.e. subgraph below source
- Parameters
source (str) – name of source
- Returns
list of descendents of source node
-
nodes_of_type
(operation_type)¶ get set of nodes of a given operation type (OperationType.reader, OperationType.writer etc)
- Parameters
operation_type (OperationType) – OperationType
- Returns
set of keys, if any, of the given operation type
-
paths
(source, target)¶ return the paths, if any, from a given source node to a given target node
- Parameters
source (str) – name of node which is starting point of path
target (str) – name of node which is end point of path
- Returns
list of list of nodes (in order) forming the paths, or None if no path
-
plot_dag
(filename, traverser, node_size=500, label_font_size=12, text_angle=0, image_width=16, image_height=12)¶ plot the DAG to image file
- Parameters
filename (str) – path to write image to
title (str) – title to add to chart
node_size (int) – node size
label_font_size (int) – font size
text_angle (int) – angle to rotate. This is angle in degrees counter clockwise from east
image_width (int) – width of image in inches
image_height (int) – heightof image in inches
- Returns
nothing. Saves image to file
-
starting_nodes
()¶ Where does the DAG start? Compute list of starting (level 0) nodes
- Returns
list of node name
-
upstream_keys
(instance_name)¶ get list of keys (names of nodes in the DAG) that feed into instance_name node
- Parameters
instance_name (str) – name of instance
- Returns
list of nodes
-
upstream_nodes_of_type
(target_node_name, operation_type)¶ - get set of nodes of a given operation type (OperationType.reader, OperationType.writer etc)
upstream of some given target node
- Parameters
operation_type (OperationType) – OperationType
- Returns
set of keys, if any, of the given operation type
-
upstream_typed_keys
(instance_name)¶ get dictionary of the upstream keys with Operation types as values
- Parameters
instance_name (str) – name of instance
- Returns
node type}
- Return type
dictionary of {name
-
static
primrose.configuration.util module¶
set of utility methods and enum for configurations
- Author(s):
Carl Anderson<EMAIL_ADDRESS>-
exception
primrose.configuration.util.
ConfigurationError
¶ Bases:
Exception
named error specifically for configuration errors
-
class
primrose.configuration.util.
ConfigurationSectionType
¶ Bases:
enum.Enum
set of top-level sections in config
-
IMPLEMENTATION_CONFIG
= 'implementation_config'¶
-
METADATA
= 'metadata'¶
-
values
= <function ConfigurationSectionType.values>¶
-
-
class
primrose.configuration.util.
OperationType
¶ Bases:
enum.Enum
set of operation type identifiers
-
cleanup
= 'cleanup_config'¶
-
dataviz
= 'dataviz_config'¶
-
model
= 'model_config'¶
-
names
= <function OperationType.names>¶
-
pipeline
= 'pipeline_config'¶
-
postprocess
= 'postprocess_config'¶
-
reader
= 'reader_config'¶
-
values
= <function OperationType.values>¶
-
values_to_names
= <function OperationType.values_to_names>¶
-
writer
= 'writer_config'¶
-


Inheritance Tax rules could be changing. Here's 10 facts you need to know...
With potential changes in inheritance tax rules on the horizon, Ian Lowes, managing director of Lowes Financial Management, offers some advice
by Evening ChronicleINHERITANCE Tax (IHT) dates back as far as 1694, when it was a duty on probate.
It then took a number of forms, including the Estate Duty introduced in 1894, until it was named Inheritance Tax in the Finance Act of 1986. At its highest, the marginal rate of tax was a hefty 85% of estates in excess of £750,000, with the duty being limited to 80% of the value of the estate.
Originally IHT was a tax on the wealthiest estates in the UK. However, in recent years, many people’s wealth has increased through rising house prices, while the nil rate band has been frozen since 2009, which means more and more people are seeing the value of their estates exceed the nil rate band threshold. With an upcoming election, it is important to appreciate that once more the regulations regarding IHT could be about to change.
- HMRC data shows that in the 2008/09 tax year Treasury’s receipts for IHT were £2.8 billion. In 2018/19 they were nearly double that, at £5.36 billion.
- The Office of Tax Simplification estimates the annual number of tax paying estates is 24,500. This number has been steadily growing since 2009, when the IHT nil rate band was frozen.
- An individual’s IHT nil rate band (NRB), i.e. the amount allowed before IHT is applied, currently is set at £325,000. With house price inflation and growing wealth, more and more people in the UK have become potentially liable for IHT, as reflected in the figures above.
- The basic nil rate band of £325,000 is frozen until the end of the 2020/21 tax year. With the review date so close, unfreezing and raising the threshold could be a reform the chancellor is considering.
- In April 2017 the Residential Nil Rate Band was introduced, which recognised the effect of house price inflation on ordinary estates and added £125,000 to an individual’s NRB, with certain conditions applying, notably that it was only applicable where a home was passed to ‘direct descendants’. The Residential Nil Rate Band for the 2019/2020 tax year is £150,000.
- While money in cash or stocks and shares ISAs is free of income and capital gains tax, many people make the mistake of thinking it is also free of IHT. This is not true. ISA investments form part of your estate for IHT.
- Pension funds usually fall outside of your estate for inheritance tax purposes. Hence, when taking income in retirement, it can pay to first use non pension wealth, such as in ISAs, before taking money from a pension, which can be passed on to beneficiaries without incurring IHT.
- Any unused Nil Rate Band and Residential Nil Rate Band can be transferred between spouses and civil partners to be used when the survivor of them dies. This means such estates can benefit from a combined Nil Rate Band of £650,000, plus another £300,000 Residential Nil Rate Band.
- If you leave at least 10% of your IHT taxable estate to charity your rate of IHT is reduced to 36%.
- You can gift away your surplus income through regular payments free of IHT, subject to certain conditions.
Inheritance tax rules could be about to change – again –any carefully devised wealth succession plans may need an overhaul. Without forward thinking people can find their estates are caught in the IHT net. Independent Financial Advice can help mitigate the effect of IHT on an estate.
To arrange a free initial consultation with a Lowes Consultant by:
Call: 0191 281 8811
Visit: Lowes.co.uk
Email<EMAIL_ADDRESS>Source: Investing in a Better World, available at Gov.uk
Lowes Financial Management, Fernwood House, Clayton Road, Jesmond, NE2 1TL. Authorised and regulated by the Financial Conduct Authority.


"The predator knows the true way of the world. Life is conflict. Only the strong survive."
Garruk Wildspeaker is a Planeswalker who wields green magic. His specialty is creature magic: spells that coax abundant mana from the land, summon wild beasts, and unleash the ferocity and power of his summoned creatures. But since being cursed by the Chain Veil, his nature spells have been tainted by black magic.
Garruk has always been a skilled hunter, and his calling has been a plane-spanning hunt for the hugest and most powerful creatures in the Multiverse. But now his chosen quarry is a fellow Planeswalker: the death-witch Liliana Vess. At their last meeting, Liliana used the power of the Chain Veil artifact to curse Garruk, corrupting his power to summon wild beasts. As the curse takes hold and Garruk's fierce predator-companions become sickly fiends, he finds that he's gaining new, chilling powers of death. This only enrages him more.
Liliana still carries the Chain Veil, and Garruk won't stop until he's cured of his intolerable death-tainted state. After failing to corner and defeat Liliana Vess on Innistrad, Garruk was captured by a commander of the Gavony Riders named Odric. Accused of a crime he did not commit, Garruk became enraged and escaped his captors. The Curse of the Veil had taken hold.
Now, Garruk continues his search not just for Liliana, but all Planeswalkers. The curse transforms him into a creature more unrecognizable with every kill. He embraces his newfound darkness and considers every Planeswalker to be his prey.


|
OCILIB (C and C++ Driver for Oracle)
4.5.1
|
AQ message. More...
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_Msg *>.
Public Types | |
| enum | MessageStateValues { Ready = OCI_AMS_READY, Waiting = OCI_AMS_WAITING, Processed = OCI_AMS_PROCESSED, Expired = OCI_AMS_EXPIRED } |
| Message state enumerated values. More... | |
| typedef Enum< MessageStateValues > | MessageState |
| Message state. More... | |
Public Member Functions | |
| Message (const TypeInfo &typeInfo) | |
| Create a message object based on the given payload type. More... | |
| void | Reset () |
| Reset all attributes of the message. More... | |
| template<class T > | |
| T | GetPayload () |
| Get the object payload of the message. | |
| template<class T > | |
| void | SetPayload (const T &value) |
| Set the object payload of the message. More... | |
| Date | GetEnqueueTime () const |
| return the time the message was enqueued More... | |
| int | GetAttemptCount () const |
| Return the number of attempts that have been made to dequeue the message. | |
| MessageState | GetState () const |
| Return the state of the message at the time of the dequeue. | |
| Raw | GetID () const |
| Return the ID of the message. More... | |
| int | GetExpiration () const |
| Return the duration that the message is available for dequeuing. More... | |
| void | SetExpiration (int value) |
| set the duration that the message is available for dequeuing More... | |
| int | GetEnqueueDelay () const |
| Return the number of seconds that a message is delayed for dequeuing. More... | |
| void | SetEnqueueDelay (int value) |
| set the number of seconds to delay the enqueued message More... | |
| int | GetPriority () const |
| Return the priority of the message. More... | |
| void | SetPriority (int value) |
| Set the priority of the message. More... | |
| Raw | GetOriginalID () const |
| Return the original ID of the message in the last queue that generated this message. More... | |
| void | SetOriginalID (const Raw &value) |
| Set the original ID of the message in the last queue that generated this message. More... | |
| ostring | GetCorrelation () const |
| Get the correlation identifier of the message. More... | |
| void | SetCorrelation (const ostring &value) |
| Set the correlation identifier of the message. More... | |
| ostring | GetExceptionQueue () const |
| Get the Exception queue name of the message. More... | |
| void | SetExceptionQueue (const ostring &value) |
| Set the name of the queue to which the message is moved to if it cannot be processed successfully. More... | |
| Agent | GetSender () const |
| Return the original sender of the message. More... | |
| void | SetSender (const Agent &agent) |
| Set the original sender of the message. More... | |
| void | SetConsumers (std::vector< Agent > &agents) |
| Set the recipient list of a message to enqueue. More... | |
AQ message.
This class wraps the OCILIB object handle OCI_Msg and its related methods
Definition at line 7412 of file ocilib.hpp.
Message state.
Possible values are Message::MessageStateValues
Definition at line 7442 of file ocilib.hpp.
Message state enumerated values.
| Enumerator | |
|---|---|
| Ready | The message is ready to be processed |
| Waiting | The message delay has not yet completed |
| Processed | The message has been processed |
| Expired | The message has moved to exception queue |
Definition at line 7423 of file ocilib.hpp.
|
inline |
Create a message object based on the given payload type.
| typeInfo | - Type info object |
Definition at line 6615 of file ocilib_impl.hpp.
References ocilib::Check(), OCI_MsgCreate(), and OCI_MsgFree().
|
inline |
Reset all attributes of the message.
Definition at line 6625 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeRaw(), OCI_MsgGetObject(), OCI_MsgGetRaw(), OCI_MsgReset(), OCI_MsgSetObject(), and OCI_MsgSetRaw().
| void ocilib::Message::SetPayload | ( | const T & | value | ) |
Set the object payload of the message.
| value | - Object payload |
|
inline |
return the time the message was enqueued
Definition at line 6667 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgGetEnqueueTime().
|
inline |
Return the ID of the message.
Definition at line 6682 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeRaw(), and OCI_MsgGetID().
|
inline |
Return the duration that the message is available for dequeuing.
Definition at line 6693 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgGetExpiration().
|
inline |
set the duration that the message is available for dequeuing
| value | - duration in seconds |
Definition at line 6698 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetExpiration().
|
inline |
Return the number of seconds that a message is delayed for dequeuing.
Definition at line 6703 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgGetEnqueueDelay().
|
inline |
set the number of seconds to delay the enqueued message
| value | - Delay in seconds |
Definition at line 6708 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetEnqueueDelay().
|
inline |
Return the priority of the message.
Definition at line 6713 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgGetPriority().
|
inline |
Set the priority of the message.
| value | - Message priority |
Definition at line 6718 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetPriority().
|
inline |
Return the original ID of the message in the last queue that generated this message.
Definition at line 6723 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeRaw(), and OCI_MsgGetOriginalID().
|
inline |
Set the original ID of the message in the last queue that generated this message.
| value | - Message ID |
Definition at line 6734 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetOriginalID().
|
inline |
Get the correlation identifier of the message.
Definition at line 6746 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeString(), and OCI_MsgGetCorrelation().
|
inline |
Set the correlation identifier of the message.
| value | - Message correlation text |
Definition at line 6751 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetCorrelation().
|
inline |
Get the Exception queue name of the message.
Definition at line 6756 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeString(), and OCI_MsgGetExceptionQueue().
|
inline |
Set the name of the queue to which the message is moved to if it cannot be processed successfully.
| value | - Exception queue name |
"Messages are moved into exception queues in two cases :
All messages in the exception queue are in the EXPIRED state.
The default is the exception queue associated with the queue table.
If the exception queue specified does not exist at the time of the move the message will be moved to the default exception queue associated with the queue table and a warning will be logged in the alert file.
This attribute must refer to a valid queue name."
Definition at line 6761 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetExceptionQueue().
|
inline |
Return the original sender of the message.
Definition at line 6766 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgGetSender().
|
inline |
Set the original sender of the message.
| agent | - Message sender |
Definition at line 6771 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetSender().
|
inline |
Set the recipient list of a message to enqueue.
| agents | - Recipients list |
Definition at line 6776 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MsgSetConsumers().


Were You Homeless in California? What Helped?
by Jill CowanGood morning.
(Here’s the sign-up , if you don’t already get California Today by email.)
Earlier this year, we asked you what you wanted to know about California’s gaping economic inequality, and many of you raised questions about homelessness.
Over the past few weeks, my colleague Marie Tae McDermott has tackled reader questions about whether most people experiencing homelessness are from California or have moved from out of state, and why the homelessness crisis seems to be so much more dire in California than in other states.
Today, we want to take a moment to look forward.
Many of our readers have said that homelessness in California can seem overwhelming to the point of paralysis. Still, many asked about what they can do to help.
“What are specific actions I can take as a resident of the Bay Area to help homeless populations access services or resources they need?” Scout Leonard, a Berkeley resident, asked.
“What can we do to help the homeless and many others to find housing and gain better living conditions?” wrote Theo Armour, of San Francisco.
Experts say there is no way around it: In order to meaningfully address homelessness, more housing must be built.
[Read more about why homeless populations around the state have been surging.]
But we also want to hear from people who have experienced homelessness themselves about how they think Californians can make a difference.
Have you or anyone you know experienced homelessness? What helped you through that time?
Were there agencies that connected you with housing? Did you get mental health care or substance abuse treatment that made it possible to find more stable work?
On a more intimate level, were there any gestures by family, friends or strangers that made your day better?
Above all, what do you wish more people knew about homelessness?
If you’d be willing to share your story and your advice, please answer a few questions using this form. Or if you know someone who might be able to do so, please pass this on.
Click here for the form .
Here’s what else we’re following
We often link to sites that limit access for nonsubscribers. We appreciate your reading Times coverage, but we also encourage you to support local news if you can.
- The Supreme Court is set to hear arguments over Deferred Action for Childhood Arrivals, the Obama-era program that shields people who were brought to the U.S. as children from deportation. Here’s what to read to catch up on the case. [The New York Times]
- The number of Mexicans waiting in Tijuana to make asylum claims is ballooning as more families flee cartel violence. The increase has prompted concerns that the situation could strain already fragile relations between the presidents of the two countries. [The San Diego Union-Tribune]
- For decades, California’s fire departments have helped one another through a mutual aid system. That worked well — until windblown fires started to ignite with more frequency. Now, chiefs say, they’re hesitant to send help to other parts of the state in case they’re needed at home. [The Los Angeles Times]
- Gov. Gavin Newsom has accused Pacific Gas & Electric of corporate greed and has pushed for it to be restructured. But over the past 20 years, he and his wife have accepted more than $700,000 from the company, its employees and its foundation. [The Washington Post]
And if you missed it, PG&E has spent $9 million on around 900 in-state campaign contribution s over the past decade. [ The New York Times ]
- In other news, Mr. Newsom told The Fresno Bee’s editorial board that he would oppose attempts by Southern California and Bay Area lawmakers to divert money intended for the long-planned bullet train to rail systems in their regions. [The Fresno Bee]
- Transit riders in the Bay Area staged an “eat-in” protest at a San Francisco BART station after a viral video showed a black man being handcuffed and cited by the police for eating as he waited for a train. That incident, which took place on Nov. 4, is now under investigation. [The Mercury News]
And an update: BART’s general manager apologized to the man. [ The New York Times ]
- The widow of one of the 34 people who died in a fire on a scuba diving boat has sued the boat’s owners. She claimed that the vessel didn’t have enough emergency exits and a required night watch. [The Associated Press]
- Google announced plans to store and analyze millions of health records through a partnership with the nonprofit hospital system Ascension. At least a few of its employees have raised concerns that Google workers downloaded patient data. [The New York Times]
- Brian Chesky, Airbnb’s chief executive, talked about how the company plans to verify listings in the wake of a shooting at a rental in Orinda. [The New York Times]
Living across borders
- In Santa Monica, the chefs Gabriela Cámara and Jessica Koslow — whose restaurants have helped define the cuisines of Mexico City and Los Angeles, respectively — are combining forces on a new endeavor: Onda. [Eater]
- Neil Young, a longtime California resident, was on track to become a U.S. citizen. The Canadian artist hasn’t been shy about wanting to vote in the 2020 presidential election. But he said his naturalization process hasn’t gone as planned because of his marijuana use. [The New York Times]
And Finally …
Over the weekend, I trekked to Pomona for the second day of this year’s Tropicália Music and Taco Festival. (Not the festival where Drake got booed — that was Camp Flog Gnaw at Dodger Stadium.)
I’ll admit I’m not exactly a fiend for festivals; we bought tickets mostly because we couldn’t pass up a chance to see Sunday’s top-billed acts — Cuco, Chicano Batman and Kali Uchis — in one place.
But as The Daily Bulletin reported, the event, in its third year, has grown into something more than another big Southern California music festival: It’s a celebration of the diversity, depth and economic power of Latino culture in L.A.
And as such, I figured it would be a great place to keep an ear out for songs to add to our California Soundtrack playlist.
Since several of the artists who played (including Cuco and Chicano Batman) are already represented, we’re adding to the list a bilingual track called “Cariño,” by The Marías, once described in The Los Angeles Times as “the perfect indie band for L.A. kids,” and who performed for a chilled-out, swaying crowd on Sunday afternoon.
 Send them, along with your name, age and where you live, to<EMAIL_ADDRESS>Click here to listen to the California Soundtrack on Spotify.
California Today goes live at 6:30 a.m. Pacific time weekdays. Tell us what you want to see<EMAIL_ADDRESS>. Were you forwarded this email? Sign up for California Today here.
Jill Cowan grew up in Orange County, graduated from U.C. Berkeley and has reported all over the state, including the Bay Area, Bakersfield and Los Angeles — but she always wants to see more. Follow along here or on Twitter, @jillcowan .
California Today is edited by Julie Bloom, who grew up in Los Angeles and graduated from U.C. Berkeley.


|
OpenSwarm
<IP_ADDRESS>
An operating system for miniature robots
|
Process Control Block contains all data for a single process. More...
#include <data.h>
Data Fields | |
| uint | process_ID |
| uint | stackPointer |
| uint | framePointer |
| uint | stackPointerLimit |
| sys_scheduler_info | sheduler_info |
| sys_process_event_handler * | event_register |
| uint * | process_stack |
Process Control Block contains all data for a single process.
It contains all information related to a single process. (including stack pointer, frame pointer, stack, etc. )
| sys_process_event_handler* sys_pcb::event_register |
| uint* sys_pcb::process_stack |
| sys_scheduler_info sys_pcb::sheduler_info |


JAVASCRIPT QUIZ
Test your JavaScript fundamentals
1. In which HTML element do we put in JavaScript code?
a. <script>
b. <link>
c. <js>
d. <javascript>
2. Expand DOM
a. Document Object Model
b. Data Object Manipulation
c. Document Oriented Model
d. Data Ordered Manipulation
3. Which of the following is not a reserved word in JavaScript?
a. interface
b. throws
c. program
d. short
4.JavaScript is ______ Side Scripting Language.
a. ISP
b. Server
c. Browser
d. None of the above
5. JavaScript Code can be called by using ____________
a. RMI
b. Triggering event
c. Preprocessor
d. Function/Method