Can I write HTML and XML element and attribute tag names in languages and scripts other than English?
HTML or XHTML tags are all pre-defined (in English) and must remain that way if they are to be correctly recognized by user agents (eg. browsers).
In XML it is possible to define your own tag names. You can do this in any language and script supported by Unicode.
Although all XML processors must support Unicode, it is sensible to apply some caution here. If a person has to work with a tag set in, say, Chinese, Arabic or Hindi it might prove difficult if they don't speak those languages or don't have the right fonts and rendering software on their system. English tag names have an advantage for DTDs that are used by multinational groups because people from a large number of countries are likely to be able to easily view and understand the meaning of the tags you are using.
On the other hand, non-English tag names can be useful for educational materials. For example, it is common in Japanese XML primers.
Note also that, because NCRs are not allowed in tag names, using non-ASCII tag names requires you to use a character encoding that supports the characters needed. Using a Unicode encoding such as UTF-8 is always the best approach.
If you are using XML 1.1 almost any character is allowed, but not every character is sensible. For a set of recommendations about which characters to use, see Appendix B of the XML 1.1 spec.
For specific information about which characters are allowed in XML tags see the further reading listed below.
XML 1.0 Specification, 2.3 Common Syntactic Constructs https://www.w3.org/TR/REC-xml#sec-common-syn
XML 1.1 Specification, 2.3 Common Syntactic Constructs https://www.w3.org/TR/xml11/#sec2.3


Transaction on Google, Amazon others to attract tax in Nigeria
by Emmanuel LekeThe Senate on Thursday passed an amendment that will ensure collection of tax from transaction on YouTube, Google, Amazon and other online transactions.
The lawmakers’ resolution was sequel to the consideration of the report of Senate Committee on Finance, which was presented by Senator Olamilekan Adeola.
According to Adeola, all transactions through Google, Amazon, Jumia and Ali Baba among others will now attract tax as a result of passage of the Finance Bill by the Senate.
It could be recalled that the Finance Bill 2019 was presented together with the 2020 Appropriation Bill to the National Assembly by the President Muhammadu Buhari on October 14, 2019.
Previous Post
Senate passes Buhari’s Finance Bill
Next Post
Why autonomy of legislature is delayed — Buhari


Check out json options at Vis Home Page
Check out numeral format options at NumeralJS documentation
And available fontAwesome icons at the cheat sheet
Remember to surround each field name with double quotes and to change the fontAwesome codes from "" into just "\uf12d".


PartyNextDoor Returns With "The News" & "Loyal" Featuring Drake
by Yohance Kyles (@HUEYmixwitRILEY)Listen to PND's new two-pack of songs.
(AllHipHop News) The elusive PartyNextDoor dropped off two new tunes overnight. One song is titled "The News." The second record is called "Loyal" and it features Drake.
PND tapped into his Jamaican roots for a dancehall rhythm on "Loyal." "The News" is more of an atmospheric slow jam. Thanks to his return to releasing music, PartyNextDoor's name became a Twitter trending topic on Thursday night/Friday morning.
This is the OVO Sound recording artist's first solo music since his 2017 Seven Days EP. PartyNextDoor's discography also includes his self-titled series. Plus, the Canadian singer-songwriter put out the Colours and Colours 2 EPs.


I believe I have a 433MHz EmonTx V3 and a 433MHz RFM12B board for Pi. With the supplied OEM Gateway Pi firmware, after having updated the conf file, when powering up the pi the green led on the RFM12B flashes once and then nothing.
So I installed a fresh version of Raspian on my Pi disabled the serial port, installed and ran minicom and plugged in the RFM12B (the EmonTx is on and flashing every 10 seconds, with CT1 sensing current). I get nothing in the minicom window and the RFM12B doesn't appear to be responding to my attempts to change its configuration.
This may all be down to my lack of experience with minicom. Having fired it up using:
$ minicom -b9600 -D/dev/ttyAMA0
and then plugging in the RFM12B, should I see some output from the RFM12B?
Should I just be able to type commands to configure the RFM12B at this point and what response should I expect, or do I have to configure minicom first? When I type a character the green led illuminates, should i be terminating commands with a <CR>? With or without <CR> appears to make no difference.
Could the lack of RFM12B flashing be due to either the EmonTx or RFM12B not being set to 433MHz as expected?
To determine if the EmonTx is set to the correct frequency do I need to purchase a UART to USB converter from the store?
Cheers, Joe
Re: Basic comms between Raspberry Pi and RFM12B
Have you tried plugging the RFM12Pi board in before powering on the Pi, then when the pi has booted up, log in and run the minicom command.
Whilst you could set the EmonTx or RFM12Pi to something other than 433MHz, the chip is actually different between the different frequencies. So if you purchased 433MHz that is what it will be set to.
Re: Basic comms between Raspberry Pi and RFM12B
With the RFM12Pi board plugged in before power up it is not possible to log on to the Pi, sorry forgot to mention this.
I would have expected that provided that EmonTx and Base station are set to the same frequency that irrespective of the software on the Pi, but provided that the serial port has been disabled to allow an external device to use it, that the RFM12Pi should periodically flash to show data packets being received from the EmonTx (which is flashing every 10 seconds).
I would also have expected to see some data appearing in the minicom window - unless I have not set this up correctly.
What else could be causing what appears to be the base station not hearing the EmonTx's transmissions? Is antenna length another potential point of failure? Perhaps I should measure these this evening. I guess maybe that the EmonTx is only presenting the illusion of transmitting. I think I read somewhere that you can hardwire the EmonTx to the base station. Feels like I need to order the UART to USB adapter to investigate further.
Re: Basic comms between Raspberry Pi and RFM12B
If you can't log on to the pi if the RFM12Pi is attached at powerup you have a problem... You should be able to.
So I think you need to focus your attention on the pi and rather than the emontx end.
(although the UART to USB adapter is a handy thing to have anyway ;-) )
Other than checking you have it plugged into the correct pins, double check that pin 1 on the RFM12Pi connects with Pin 1 on the RasPi. The RFM12Pi should sit as close to the SD card as possible.
If that's OK, I suggest you contact the shops support email address. http://shop.openenergymonitor.com/support/


Contributing Guidelines
Contributions welcome!
Before spending lots of time on something, ask for feedback on your idea first!
Please search issues and pull requests before adding something new to avoid duplicating efforts and conversations.
This project welcomes non-code contributions, too! The following types of contributions are welcome:
- Ideas: participate in an issue thread or start your own to have your voice heard.
- Writing: contribute your expertise in an area by helping expand the included docs.
- Copy editing: fix typos, clarify language, and improve the quality of the docs.
- Formatting: help keep docs easy to read with consistent formatting.
Code Style
This repository uses standard
to maintain code style and consistency,
and to avoid style arguments. npm test
runs standard
automatically, so you don't have
to!
Project Governance
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
Rules
There are a few basic ground-rules for contributors:
- No
--force
pushes or modifying the Git history in any way. - Non-master branches should be used for ongoing work.
- Significant modifications like API changes should be subject to a pull request to solicit feedback from other contributors.
- Pull requests are encouraged for all contributions to solicit feedback, but left to the discretion of the contributor.
Releases
Declaring formal releases remains the prerogative of the project maintainer.
Changes to this arrangement
This is an experiment and feedback is welcome! This document may also be subject to pull- requests or changes by contributors where you believe you have something valuable to add or change.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
-
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
-
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
-
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
-
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.


State Class
(QAccessible::State)| Header: | #include <State> |
| qmake: | QT += gui |
Public Functions
| State() |
Detailed Description
This structure defines bit flags that indicate the state of an accessible object. The values are:
| Constant | Description |
|---|---|
active | The object is the active window or the active sub-element in a container (that would get focus when focusing the container). |
adjustable | The object represents an adjustable value, e.g. sliders. |
animated | The object's appearance changes frequently. |
busy | The object cannot accept input at the moment. |
checkable | The object is checkable. |
checked | The object's check box is checked. |
checkStateMixed | The third state of checkboxes (half checked in tri-state check boxes). |
collapsed | The object is collapsed, e.g. a closed listview item, or an iconified window. |
defaultButton | The object represents the default button in a dialog. |
defunct | The object no longer exists. |
editable | The object has a text carret (and often implements the text interface). |
expandable | The object is expandable, mostly used for cells in a tree view. |
expanded | The object is expanded, currently its children are visible. |
extSelectable | The object supports extended selection. |
focusable | The object can receive focus. Only objects in the active window can receive focus. |
focused | The object has keyboard focus. |
hasPopup | The object opens a popup. |
hotTracked | The object's appearance is sensitive to the mouse cursor position. |
invalid | The object is no longer valid (because it has been deleted). |
invalidEntry | Input validation current input invalid. |
invisible | The object is not visible to the user. |
linked | The object is linked to another object, e.g. a hyperlink. |
marqueed | The object displays scrolling contents, e.g. a log view. |
modal | The object blocks input from other objects. |
movable | The object can be moved. |
multiLine | The object has multiple lines of text (word wrap), as opposed to a single line. |
multiSelectable | The object supports multiple selected items. |
offscreen | The object is clipped by the visible area. Objects that are off screen are also invisible. |
passwordEdit | The object is a password field, e.g. a line edit for entering a Password. |
playsSound | The object produces sound when interacted with. |
pressed | The object is pressed. |
readOnly | The object can usually be edited, but is explicitly set to read-only. |
searchEdit | The object is a line edit that is the input for search queries. |
selectable | The object is selectable. |
selectableText | The object has text which can be selected. This is different from selectable which refers to the object's children. |
selected | The object is selected, this is independent of text selection. |
selfVoicing | The object describes itself through speech or sound. |
sizeable | The object can be resized, e.g. top-level windows. |
summaryElement | The object summarizes the state of the window and should be treated with priority. |
supportsAutoCompletion | The object has auto-completion, for example in line edits or combo boxes. |
traversed | The object is linked and has been visited. |
updatesFrequently | The object changes frequently and needs to be refreshed when accessing it. |
disabled | The object is unavailable to the user, e.g. a disabled widget. |
Implementations of QAccessibleInterface::state() return a combination of these flags.
Member Function Documentation
State::State()
Constructs a new QAccessible::State with all states set to false.


{% extends "layout.html" %} {% block title %}Welcome{% endblock %} {% block content %}
userid: your generated userid
source: the originating entity of your notification (maximum 15 characters)
text: the text of your notification (maximum 30 characters)
returns: json-encoded notificationid
$ curl "http://pbnotify.herokuapp.com/api/notification/create/2150a001dab1d068d13ee5f5/Test/HelloWorld"
{"1": "notificationid", "2": "527ded52049fed00073e9c0f"}
userid: your generated userid
returns: pebble-friendly json-encoded notification (source and text)
$ curl "http://pbnotify.herokuapp.com/api/notification/get/2150a001dab1d068d13ee5f5"
{"1": "source", "2": "Test", "3": "text", "4": "HelloWorld"}
userid: your generated userid
notificationid: the notificationid returned from a previous `/notification/create/` call
returns: pebble-friendly json-encoded notification (source and text)
$ curl "http://pbnotify.herokuapp.com/api/notification/get/2150a001dab1d068d13ee5f5/527ded52049fed00073e9c0f"
{"1": "source", "2": "Test", "3": "text", "4": "HelloWorld"}
userid: your generated userid
returns: json-encoded notificationid as confirmation of success
$ curl "http://pbnotify.herokuapp.com/api/notification/delivered/2150a001dab1d068d13ee5f5"
{"1": "notificationid", "2": "527ded52049fed00073e9c0f"}
userid: your generated userid
notificationid: the notificationid returned from a previous `/notification/create/` call
returns: json-encoded notificationid as confirmation of success
$ curl "http://pbnotify.herokuapp.com/api/notification/delivered/2150a001dab1d068d13ee5f5"
{"1": "notificationid", "2": "527ded52049fed00073e9c0f"}
{% endblock %}


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<K,V>
public class Hashtable<K,V>
This class implements a hashtable, which maps keys to values. Any
non-null
object can be used as a key or as a value.
To successfully store and retrieve objects from a hashtable, the
objects used as keys must implement the hashCode
method and the equals
method.
An instance of Hashtable
has two parameters that affect its
performance: initial capacity and load factor. The
capacity is the number of buckets in the hash table, and the
initial capacity is simply the capacity at the time the hash table
is created. Note that the hash table is open: in the case of a "hash
collision", a single bucket stores multiple entries, which must be searched
sequentially. The load factor is a measure of how full the hash
table is allowed to get before its capacity is automatically increased.
The initial capacity and load factor parameters are merely hints to
the implementation. The exact details as to when and whether the rehash
method is invoked are implementation-dependent.
Generally, the default load factor (.75) offers a good tradeoff between time and space costs. Higher values decrease the space overhead but increase the time cost to look up an entry (which is reflected in most Hashtable operations, including get and put).
The initial capacity controls a tradeoff between wasted space and the
need for rehash
operations, which are time-consuming.
No rehash
operations will ever occur if the initial
capacity is greater than the maximum number of entries the
Hashtable will contain divided by its load factor. However,
setting the initial capacity too high can waste space.
If many entries are to be made into a Hashtable
,
creating it with a sufficiently large capacity may allow the
entries to be inserted more efficiently than letting it perform
automatic rehashing as needed to grow the table.
This example creates a hashtable of numbers. It uses the names of the numbers as keys:
Hashtable numbers = new Hashtable(); numbers.put("one", new Integer(1)); numbers.put("two", new Integer(2)); numbers.put("three", new Integer(3));
To retrieve a number, use the following code:
Integer n = (Integer)numbers.get("two"); if (n != null) { System.out.println("two = " + n); }
As of the Java 2 platform v1.2, this class has been retrofitted to implement Map, so that it becomes a part of Java's collection framework. Unlike the new collection implementations, Hashtable is synchronized.
The Iterators returned by the iterator and listIterator methods of the Collections returned by all of Hashtable's "collection view methods" are fail-fast: if the Hashtable is structurally modified at any time after the Iterator is created, in any way except through the Iterator's own remove or add methods, the Iterator will throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the Iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future. The Enumerations returned by Hashtable's keys and values methods are not fail-fast.
Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent modification. Fail-fast iterators throw ConcurrentModificationException on a best-effort basis. Therefore, it would be wrong to write a program that depended on this exception for its correctness: the fail-fast behavior of iterators should be used only to detect bugs.
This class is a member of the Java Collections Framework.
Object.equals(java.lang.Object)
,
Object.hashCode()
,
rehash()
,
Collection
,
Map
,
HashMap
,
TreeMap
,
Serialized Form| Constructor Summary | |
|---|---|
Hashtable()
Constructs a new, empty hashtable with a default initial capacity (11) and load factor, which is 0.75. |
|
Hashtable(int initialCapacity)
Constructs a new, empty hashtable with the specified initial capacity and default load factor, which is 0.75. |
|
Hashtable(int initialCapacity,
float loadFactor)
Constructs a new, empty hashtable with the specified initial capacity and the specified load factor. |
|
Hashtable(Map<? extends K,? extends V> t)
Constructs a new hashtable with the same mappings as the given Map. |
| Method Summary | |
|---|---|
void |
clear()
Clears this hashtable so that it contains no keys. |
Object |
clone()
Creates a shallow copy of this hashtable. |
boolean |
contains(Object value)
Tests if some key maps into the specified value in this hashtable. |
boolean |
containsKey(Object key)
Tests if the specified object is a key in this hashtable. |
boolean |
containsValue(Object value)
Returns true if this Hashtable maps one or more keys to this value. |
Enumeration<V> |
elements()
Returns an enumeration of the values in this hashtable. |
Set<Map.Entry<K,V>> |
entrySet()
Returns a Set view of the entries contained in this Hashtable. |
boolean |
equals(Object o)
Compares the specified Object with this Map for equality, as per the definition in the Map interface. |
V |
get(Object key)
Returns the value to which the specified key is mapped in this hashtable. |
int |
hashCode()
Returns the hash code value for this Map as per the definition in the Map interface. |
boolean |
isEmpty()
Tests if this hashtable maps no keys to values. |
Enumeration<K> |
keys()
Returns an enumeration of the keys in this hashtable. |
Set<K> |
keySet()
Returns a Set view of the keys contained in this Hashtable. |
V |
put(K key,
V value)
Maps the specified key to the specified
value in this hashtable. |
void |
putAll(Map<? extends K,? extends V> t)
Copies all of the mappings from the specified Map to this Hashtable These mappings will replace any mappings that this Hashtable had for any of the keys currently in the specified Map. |
protected void |
rehash()
Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently. |
V |
remove(Object key)
Removes the key (and its corresponding value) from this hashtable. |
int |
size()
Returns the number of keys in this hashtable. |
String |
toString()
Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space). |
Collection<V> |
values()
Returns a Collection view of the values contained in this Hashtable. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Hashtable(int initialCapacity, float loadFactor)
initialCapacity
- the initial capacity of the hashtable.loadFactor
- the load factor of the hashtable.
IllegalArgumentException
- if the initial capacity is less
than zero, or if the load factor is nonpositive.public Hashtable(int initialCapacity)
initialCapacity
- the initial capacity of the hashtable.
IllegalArgumentException
- if the initial capacity is less
than zero.public Hashtable()
public Hashtable(Map<? extends K,? extends V> t)
t
- the map whose mappings are to be placed in this map.
NullPointerException
- if the specified map is null.| Method Detail |
|---|
public int size()
size
in interface Map<K,V>
size
in class Dictionary<K,V>
public boolean isEmpty()
isEmpty
in interface Map<K,V>
isEmpty
in class Dictionary<K,V>
true
if this hashtable maps no keys to values;
false
otherwise.public Enumeration<K> keys()
keys
in class Dictionary<K,V>
Enumeration
,
elements()
,
keySet()
,
Map
public Enumeration<V> elements()
elements
in class Dictionary<K,V>
Enumeration
,
keys()
,
values()
,
Map
public boolean contains(Object value)
containsKey
method.Note that this method is identical in functionality to containsValue, (which is part of the Map interface in the collections framework).
value
- a value to search for.
true
if and only if some key maps to the
value
argument in this hashtable as
determined by the equals method;
false
otherwise.
NullPointerException
- if the value is null
.containsKey(Object)
,
containsValue(Object)
,
Map
public boolean containsValue(Object value)
Note that this method is identical in functionality to contains (which predates the Map interface).
containsValue
in interface Map<K,V>
value
- value whose presence in this Hashtable is to be tested.
NullPointerException
- if the value is null
.Map
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
key
- possible key.
true
if and only if the specified object
is a key in this hashtable, as determined by the
equals method; false
otherwise.
NullPointerException
- if the key is null
.contains(Object)
public V get(Object key)
get
in interface Map<K,V>
get
in class Dictionary<K,V>
key
- a key in the hashtable.
null
if the key is not mapped to any value in
this hashtable.
NullPointerException
- if the key is null
.put(Object, Object)
protected void rehash()
public V put(K key, V value)
key
to the specified
value
in this hashtable. Neither the key nor the
value can be null
.
The value can be retrieved by calling the get
method
with a key that is equal to the original key.
put
in interface Map<K,V>
put
in class Dictionary<K,V>
key
- the hashtable key.value
- the value.
null
if it did not have one.
NullPointerException
- if the key or value is
null
.Object.equals(Object)
,
get(Object)
public V remove(Object key)
remove
in interface Map<K,V>
remove
in class Dictionary<K,V>
key
- the key that needs to be removed.
null
if the key did not have a mapping.
NullPointerException
- if the key is null
.public void putAll(Map<? extends K,? extends V> t)
putAll
in interface Map<K,V>
t
- Mappings to be stored in this map.
NullPointerException
- if the specified map is null.public void clear()
clear
in interface Map<K,V>
public Object clone()
clone
in class Object
Cloneable
public String toString()
Overrides to toString method of Object.
toString
in class Object
public Set<K> keySet()
keySet
in interface Map<K,V>
public Set<Map.Entry<K,V>> entrySet()
entrySet
in interface Map<K,V>
Map.Entry
public Collection<V> values()
values
in interface Map<K,V>
public boolean equals(Object o)
equals
in interface Map<K,V>
equals
in class Object
o
- object to be compared for equality with this Hashtable
Map.equals(Object)
public int hashCode()
hashCode
in interface Map<K,V>
hashCode
in class Object
Map.hashCode()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Toggle navigation
BLOG
PROJECTS
January 1, 0001
+++ date = “2016-11-05T21:05:33+05:30” title = “About me” +++
Related Posts
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus


Introduction to build-root/Makefile¶
The vpp build system consists of a top-level Makefile, a data-driven build-root/Makefile, and a set of makefile fragments. The various parts come together as the result of a set of well-thought-out conventions.
This section describes build-root/Makefile in some detail.
Repository Groups and Source Paths¶
Current vpp workspaces comprise a single repository group. The file …/build-root/build-config.mk defines a key variable called SOURCE_PATH. The SOURCE_PATH variable names the set of repository groups. At the moment, there is only one repository group.
Single pass build system, dependencies and components¶
The vpp build system caters to components built with GNU autoconf / automake. Adding such components is a simple process. Dealing with components which use BSD-style raw Makefiles is a more difficult. Dealing with toolchain components such as gcc, glibc, and binutils can be considerably more complicated.
The vpp build system is a single-pass build system. A partial order must exist for any set of components: the set of (a before b) tuples must resolve to an ordered list. If you create a circular dependency of the form; (a,b) (b,c) (c,a), gmake will try to build the target list, but there’s a 0.0% chance that the results will be pleasant. Cut-n-paste mistakes in …/build-data/packages/.mk can produce confusing failures.
In a single-pass build system, it’s best to separate libraries and applications which instantiate them. For example, if vpp depends on libfoo.a, and myapp depends on both vpp and libfoo.a, it’s best to place libfoo.a and myapp in separate components. The build system will build libfoo.a, vpp, and then (as a separate component) myapp. If you try to build libfoo.a and myapp from the same component, it won’t work.
If you absolutely, positively insist on having myapp and libfoo.a in the same source tree, you can create a pseudo-component in a separate .mk file in the …/build-data/packages/ directory. Define the code phoneycomponent_source = realcomponent, and provide manual configure/build/install targets.
Separate components for myapp, libfoo.a, and vpp is the best and easiest solution. However, the “mumble_source = realsource” degree of freedom exists to solve intractable circular dependencies, such as: to build gcc-bootstrap, followed by glibc, followed by “real” gcc/g++ [which depends on glibc too].
…/build-root¶
The …/build-root directory contains the repository group specification build-config.mk, the main Makefile, and the system-wide set of autoconf/automake variable overrides in config.site. We’ll describe these files in some detail. To be clear about expectations: the main Makefile and config.site file are subtle and complex. It’s unlikely that you’ll need or want to modify them. Poorly planned changes in either place typically cause bugs that are difficult to solve.
…/build-root/build-config.mk¶
As described above, the build-config.mk file is straightforward: it sets the make variable SOURCE_PATH to a list of repository group absolute paths.
The SOURCE_PATH variable If you choose to move a workspace, make sure to modify the paths defined by the SOURCE_PATH variable. Those paths need to match changes you make in the workspace paths. For example, if you place the vpp directory in the workspace of a user named jsmith, you might change the SOURCE_PATH to:
SOURCE_PATH = /home/jsmithuser/workspace/vpp
The “out of the box” setting should work 99.5% of the time:
SOURCE_PATH = $(CURDIR)/..
…/vpp/build-root/Makefile¶
The main Makefile is complex in a number of dimensions. If you think you need to modify it, it’s a good idea to do some research, or ask for advice before you change it.
The main Makefile was organized and designed to provide the following characteristics: excellent performance, accurate dependency processing, cache enablement, timestamp optimizations, git integration, extensibility, builds with cross-compilation tool chains, and builds with embedded Linux distributions.
If you really need to do so, you can build double-cross tools with it, with a minimum amount of fuss. For example, you could: compile gdb on x86_64, to run on PowerPC, to debug the Xtensa instruction set.
The PLATFORM variable¶
The PLATFORM make/environment variable controls a number of important characteristics, primarily:
CPU architecture
The list of images to build.
With respect to …/build-root/Makefile, the list of images to build is specified by the target. For example:
make PLATFORM=vpp TAG=vpp_debug install-deb
builds vpp debug Debian packages.
The main Makefile interprets $PLATFORM by attempting to “-include” the file /build-data/platforms.mk:
$(foreach d,$(FULL_SOURCE_PATH), \
$(eval -include $(d)/platforms.mk))
By convention, we don’t define platforms in the …//build-data/platforms.mk file.
In the vpp case, we search for platform definition makefile fragments in …/vpp/build-data/platforms.mk, as follows:
$(foreach d,$(SOURCE_PATH_BUILD_DATA_DIRS), \
$(eval -include $(d)/platforms/*.mk))
With vpp, which uses the “vpp” platform as discussed above, we end up “-include”-ing …/vpp/build-data/platforms/vpp.mk.
The platform-specific .mk fragment¶
Here are the contents of …/build-data/platforms/vpp.mk:
MACHINE=$(shell uname -m)
vpp_arch = native
ifeq ($(TARGET_PLATFORM),thunderx)
vpp_dpdk_target = arm64-thunderx-linuxapp-gcc
endif
vpp_native_tools = vppapigen
vpp_uses_dpdk = yes
# Uncomment to enable building unit tests
# vpp_enable_tests = yes
vpp_root_packages = vpp vom
# DPDK configuration parameters
# vpp_uses_dpdk_mlx4_pmd = yes
# vpp_uses_dpdk_mlx5_pmd = yes
# vpp_uses_external_dpdk = yes
# vpp_dpdk_inc_dir = /usr/include/dpdk
# vpp_dpdk_lib_dir = /usr/lib
# vpp_dpdk_shared_lib = yes
# Use '--without-libnuma' for non-numa aware architecture
# Use '--enable-dlmalloc' to use dlmalloc instead of mheap
vpp_configure_args_vpp = --enable-dlmalloc
sample-plugin_configure_args_vpp = --enable-dlmalloc
# load balancer plugin is not portable on 32 bit platform
ifeq ($(MACHINE),i686)
vpp_configure_args_vpp += --disable-lb-plugin
endif
vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
-fstack-protector-all -fPIC -Werror
vpp_debug_TAG_CXXFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
-fstack-protector-all -fPIC -Werror
vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
-fstack-protector-all -fPIC -Werror
vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -pie -Wl,-z,now
vpp_clang_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_clang_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_gcov_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -fPIC -Werror -fprofile-arcs -ftest-coverage
vpp_gcov_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -fPIC -Werror -coverage
vpp_coverity_TAG_CFLAGS = -g -O2 -fPIC -Werror -D__COVERITY__
vpp_coverity_TAG_LDFLAGS = -g -O2 -fPIC -Werror -D__COVERITY__
Note the following variable settings:
The variable _arch sets the CPU architecture used to build the per-platform cross-compilation toolchain. With the exception of the “native” architecture - used in our example - the vpp build system produces cross-compiled binaries.
The variable _native_tools lists the required set of self-compiled build tools.
The variable _root_packages lists the set of images to build when specifying the target: make PLATFORM= TAG= [install-deb | install-rpm].
The TAG variable¶
The TAG variable indirectly sets CFLAGS and LDFLAGS, as well as the build and install directory names in the …/vpp/build-root directory. See definitions above.
Important targets build-root/Makefile¶
The main Makefile and the various makefile fragments implement the following user-visible targets:
Target |
ENV Variable Settings |
Notes |
|---|---|---|
foo |
bar |
mumble |
bootstrap-tools |
none |
Builds the set of native tools needed by the vpp build system to build images. Example: vppapigen. In a full cross compilation case might include include “make”, “git”, “find”, and “tar |
install-tools |
PLATFORM |
Builds the tool chain for the indicated <platform>. Not used in vpp builds |
distclean |
none |
Roto-rooters everything in sight: toolchains, images, and so forth. |
install-deb |
PLATFORM and TAG |
Build Debian packages comprising components listed in <platform>_root_packages, using compile / link options defined by TAG. |
install-rpm |
PLATFORM and TAG |
Build RPMs comprising components listed in <platform>_root_packages, using compile / link options defined by TAG. |
Additional build-root/Makefile environment variable settings¶
These variable settings may be of use:
ENV Variable |
Notes |
|
|---|---|---|
BUILD_DEBUG=vx |
Directs Makefile et al. to make a good-faith effort to show what’s going on in excruciating detail. Use it as follows: “make … BUILD_DEBUG=vx”. Fairly effective in Makefile debug situations. |
|
V=1 |
print detailed cc / ld command lines. Useful for discovering if -DFOO=11 is in the command line or not |
|
CC=mygcc |
Override the configured C-compiler |
…/build-root/config.site¶
The contents of …/build-root/config.site override individual autoconf / automake default variable settings. Here are a few sample settings related to building a full toolchain:
# glibc needs these setting for cross compiling
libc_cv_forced_unwind=yes
libc_cv_c_cleanup=yes
libc_cv_ssp=no
Determining the set of variables which need to be overridden, and the override values is a matter of trial and error. It should be unnecessary to modify this file for use with fd.io vpp.
…/build-data/platforms.mk¶
Each repo group includes the platforms.mk file, which is included by the main Makefile. The vpp/build-data/platforms.mk file is not terribly complex. As of this writing, …/build-data/platforms.mk file accomplishes two tasks.
First, it includes vpp/build-data/platforms/*.mk:
# Pick up per-platform makefile fragments
$(foreach d,$(SOURCE_PATH_BUILD_DATA_DIRS), \
$(eval -include $(d)/platforms/*.mk))
This collects the set of platform definition makefile fragments, as discussed above.
Second, platforms.mk implements the user-visible “install-deb” target.
…/build-data/packages/*.mk¶
Each component needs a makefile fragment in order for the build system to recognize it. The per-component makefile fragments vary considerably in complexity. For a component built with GNU autoconf / automake which does not depend on other components, the make fragment can be empty. See …/build-data/packages/vpp.mk for an uncomplicated but fully realistic example.
Here are some of the important variable settings in per-component makefile fragments:
Variable |
Notes |
|
|---|---|---|
xxx_configure_depend |
Lists the set of component build dependencies for the xxx component. In plain English: don’t try to configure this component until you’ve successfully built the indicated targets. Almost always, xxx_configure_depend will list a set of “yyy-install” targets. Note the pattern: “variable names contain underscores, make target names contain hyphens” |
|
xxx_configure_args |
(optional) Lists any additional arguments to pass to the xxx component “configure” script. The main Makefile %-configure rule adds the required settings for –libdir, –prefix, and –host (when cross-compiling) |
|
xxx_CPPFLAGS |
Adds -I stanzas to CPPFLAGS for components upon which xxx depends. Almost invariably “xxx_CPPFLAGS = $(call installed_includes_fn, dep1 dep2 dep3)”, where dep1, dep2, and dep3 are listed in xxx_configure_depend. It is bad practice to set “-g -O3” here. Those settings belong in a TAG. |
|
xxx_LDFLAGS |
Adds -Wl,-rpath -Wl,depN stanzas to LDFLAGS for components upon which xxx depends. Almost invariably “xxx_LDFLAGS = $(call installed_lib_fn, dep1 dep2 dep3)”, where dep1, dep2, and dep3 are listed in xxx_configure_depend. It is bad manners to set “-liberty-or-death” here. Those settings belong in Makefile.am. |
When dealing with “irritating” components built with raw Makefiles which only work when building in the source tree, we use a specific strategy in the xxx.mk file.
The strategy is simple for those components: We copy the source tree into …/vpp/build-root/build-xxx. This works, but completely defeats dependency processing. This strategy is acceptable only for 3rd party software which won’t need extensive (or preferably any) modifications.
Take a look at …/vpp/build-data/packages/dpdk.mk. When invoked, the dpdk_configure variable copies source code into $(PACKAGE_BUILD_DIR), and performs the BSD equivalent of “autoreconf -i -f” to configure the build area. The rest of the file is similar: a bunch of hand-rolled glue code which manages to make the dpdk act like a good vpp build citizen even though it is not.


Color
Date
Datetime
Datetime-local
Month
Email
Number
Range
Tel
Text
Time
Url
Week
Checkbox
Select
Empty
First
Second
Select Multiple
First
Second
Radio 1
Radio 2
Radio 3


An experienced Linux programmer, focus on C/C++ and love Python/Ruby/Haskell personally. An Open-source fan boy.


The p65 subunit of NF-kappa B regulates I kappa B by two distinct mechanisms.
Abstract
Transcription factor NF-kappa B (p50/p65) is generally localized to the cytoplasm by its inhibitor I kappa B. Overproduced I kappa B, free from NF-kappa B, is rapidly degraded. Overexpression of p65 increases endogenous I kappa B protein in both carcinoma and lymphoid cells by two mechanisms: protein stabilization and increased transcription of I kappa B mRNA. In contrast, p65 delta, a naturally occurring splice variant, fails to markedly augment I kappa B protein levels. Both overexpressed p65 and coexpressed p50 are cytoplasmic, whereas p65 delta is partly nuclear, indicating that the I kappa B induced by p65 can maintain NF-kappa B in the cytoplasm. Thus, p65 and I kappa B are linked in an autoregulatory loop, ensuring that NF-kappa B is held in the cytoplasm until cells are specifically induced to translocate it to the nucleus.


Settings:
Maximum searching results:
Top Cast Number:
Top Keywords Number:
Show timeline
Visual Cloud
No related searching results.
GO
Clear
Visual Cloud
Pack Layout
Layer Hierarchy
Layer Network
Layer Matrix
Bubble Graph
Choose terms
Hide Graphs
Clear
Searh
New Tab
Graph Setting
Group Setting
Font Family:
Times
Impact
Arial
Helvetica
Times New Roman
Courier New
Courier
Verdana
Georgia
Palatino
Garamond
Bookman
Comic Sans MS
Trebuchet MS
Arial Black
Tag Size Scale:
n
log(n)
√n
Aspect Ratio:
auto
1:1
4:3
16:9
16:10
21:9
Max Number of Words:
100
Show Images Name
Show Heat Map
List Tags
Mouseover Filter group
Group number:
5
Graph Setting
Group Setting
Node Size Scale:
n
log(n)
√n
Max number of Nodes:
20
Nodes Distance:
200
Mouseover Filter group
Group number:
4
Graph Setting
Group Setting
Size of matrix:
30
Group number:
10
Graph Setting
Group Setting
Bubble Size Scale:
n
log(n)
√n
Max number of bubbles:
80
Group number:
10
Increase
Decrease
Sort By
Year
Number critic for reviews
Director facebook likes
Gross
Number voted users
Cast total facebook likes
Number user for review
Budget
IMDB score
Movie facebook likes
Previous
0
Next
0 results
Check the terms:
All
Confirm
Cancel


Hush has been building the first ever open source private messenger service based on Zcash technology. Hush & Komodo not only share core developers, but coinciding views on the importance of independent right to privacy.
100 messages
Before 05-Dec-19 12:00 AM
GatewayBOT02-Aug-19 01:55 AM
[dscrd-hush] <dukeleto> You can think of the memo field as the zaddr equivalent of OP_RETURN data. Memo fields are encrypted and only can be seen by recipient. OP_RETURN data is public for all to see
[dscrd-hush] <AkiraX> Hi all
[dscrd-hush] <AkiraX> Wonder why people selling komodo
[dscrd-hush] <gigamesh> come help brainstorm in #marketing
[dscrd-hush] <gigamesh> does the tipbot support zaddr?
[dscrd-hush] <gigamesh> would be cool if we could send secret messages using the tipbot
GatewayBOT02-Aug-19 09:32 AM
[dscrd-hush] <gigamesh> The USB breathalizer i have hooked up to my laptop, and which turns my machine off if it detects too much booze, malfunctioned yesterday. Ill get another https://tenor.com/view/thumbsup-gif-8793778
[dscrd-hush] <gigamesh> @Jordan Belfort we can try again over a cup of joe
It can be tough making enough money as a crypto writer, and keeping a high standard of review. My reviews take days to make.
I am delighted to say I now have a patron for the next 3 months who provides a comfort zone
#777 $KMD $HUSH $ARRR
@Human_actionLLC @Daily...
GatewayBOT02-Aug-19 12:17 PM
[dscrd-hush] <dukeleto> Great to hear
GatewayBOT02-Aug-19 12:36 PM
[dscrd-hush] <gigamesh> thanks Duke
[dscrd-hush] <gigamesh> i was worrying about money and then i had the thought to reach for a patron, in the age old tradition of patronage
[dscrd-hush] <gigamesh> unbelievably it all happened in 2 hours, from idea to implementation(edited)
[dscrd-hush] <gigamesh> it takes a good deal of pressure off and permits me to keep doing the reviews the way i wanna do them
[dscrd-hush] <gigamesh> ty @jl777c
GatewayBOT02-Aug-19 12:50 PM
[dscrd-hush] <dukeleto> that is great to hear
[dscrd-hush] <gigamesh> I owe you a debt of gratitude @dukeleto
[dscrd-hush] <gigamesh> we made that review together, your mentoring made it what it is
GatewayBOT02-Aug-19 01:08 PM
[dscrd-hush] <dukeleto> It was really nice to tell a story that isn't easily read anywhere and get asked good questions
GatewayBOT02-Aug-19 02:25 PM
[dscrd-hush] <Jordan Belfort> @gigamesh LMAO
[dscrd-hush] <gigamesh> hi @Jordan Belfort
[dscrd-hush] <gigamesh> r u blockfyre btw?
[dscrd-hush] <gigamesh> irregardless welcome to this lil corner of crypto
[dscrd-hush] <gigamesh> incidentally im not actually sure if a USB breathalizer which turns off your machine when intoxicated actually exists(edited)
[dscrd-hush] <gigamesh> but it should
[dscrd-hush] <Jordan Belfort> idk who that is
[dscrd-hush] <gigamesh> patent pending
[dscrd-hush] <gigamesh> @Jordan Belfort well thats a relief
[dscrd-hush] <gigamesh> Welkommen HUSH
[dscrd-hush] <Jordan Belfort> lol have that for a car so it doesnt let someone drive
[dscrd-hush] <gigamesh> really? Lol
[dscrd-hush] <Jordan Belfort> no they should
[dscrd-hush] <Jordan Belfort> it would be a smart idea
[dscrd-hush] <Jordan Belfort> or some type of senor in the steering wheel if it can detect the presence of alcohol
GatewayBOT02-Aug-19 02:46 PM
[dscrd-hush] <morgan> Man you guys haven't known enough real alcoholics in your life. There absolutely are ignition lock out devices connected to breathalyzers at least here in the USA they are court ordered.
[dscrd-hush] <Jordan Belfort> lol
GatewayBOT02-Aug-19 03:17 PM
[dscrd-hush] <Roki> They do have those devices
[dscrd-hush] <Roki> You have to blow 0, for the ignition to turn on
[dscrd-hush] <Roki> But they are clever, so they get somebody to blow for them
[dscrd-hush] <Berg> Except for when you have the kind that takes your picture as well
[dscrd-hush] <Berg> (Not from personal experience) ahaha
[dscrd-hush] <denio> Have a good weekend @all
GatewayBOT02-Aug-19 05:55 PM
[dscrd-hush] <dukeleto> @morgan I can confirm that I have met a person that said because he got so many DUIs that he was required to pay for that device to be installed into his car to get his drivers license back
The #ZcashDevfund is a corrupt bailout for a financially inept Zcash Company (ECC), whose greatest product-market fit is losing money.
$ZEC miners, revolt! You do not need to support this treachery!
[dscrd-hush] <dukeleto> I might have kicked the hornets nest
[dscrd-hush] <heguli97> Yup
[dscrd-hush] <dukeleto> mostly the sentiment on twitter is that it's an amazing idea, best thing since Satoshi mined the genblock
[dscrd-hush] <dukeleto> so I had a violent reaction to that
[dscrd-hush] <dukeleto> I am sure the Zcash apologists and FR recipients will come out of the woodwork to do damage control
[dscrd-hush] <dukeleto> I am just calling it what it is: A bailout for a company that says it wants to spend $1.1M USD per month
[dscrd-hush] <dukeleto> and yet, makes NO PROFITS
[dscrd-hush] <dukeleto> I am not sure it even makes revenue
[dscrd-hush] <dukeleto> Other than selling ZEC at any price
[dscrd-hush] <dukeleto> Any normal investor, such as Warren Buffet, would throw you out of the room for even calling that a business
[dscrd-hush] <dukeleto> Zcash Company is like a monopoly given ownership of a large forest by the government. It just sells all the trees, until there are no more trees. And then goes out of business. That is a great analogy of the Zcash Company business model
GatewayBOT02-Aug-19 07:10 PM
[dscrd-hush] <AkiraX> When are they going to come flocking to hush?
How in the world can the #ZashDevFund help Zcash scale to 10 Billion people when it can't deal with one single person running a Sapling Woodchipper?
~$4/day to make the $ZEC network completely unusable.
@ElectricCoinCo has done nothing!
CVE-2019-11636 https://t.co/dFUzeW...
[dscrd-hush] <dukeleto> Did ECC think that it would just go away?
GatewayBOT03-Aug-19 12:13 PM
[dscrd-hush] <gigamesh> do it Duke, release the PoC
[dscrd-hush] <passcombo.com > do we have anyone with connection to tor project? might be nice if they could recoomend usage of Hushlist and Pirate along TOR
[dscrd-hush] <dukeleto> @gigamesh I appreciate your enthusiasm, but you don't understand all the implications and factors and things going on
[dscrd-hush] <dukeleto> @passcombo.com I have met some of the Tor core developer team previously, long ago. But asking them to recommend our software, I can tell you that is a stretch
[dscrd-hush] <dukeleto> I am interested to add SilentDragon/Hush to TAILS, the OS that uses Tor by default
[dscrd-hush] <dukeleto> that is mostly me/us doing that work, and sending them a patch/PR
[dscrd-hush] <dukeleto> SD does support Tor already, because ZecWallet does
[dscrd-hush] <AkiraX> Blur has bisq functionality? Do you think someone there can help us with hush?
[dscrd-hush] <dukeleto> @gigamesh not all other Zec forks have fixed it, and just because a fork has fixed it, doesn't mean it's not CHEAPER to attack that other chain because the fiat value of that chain is less
[dscrd-hush] <dukeleto> @AkiraX are you in the habit of giving out free work and letting your pets/children starve?
[dscrd-hush] <dukeleto> Sometimes I don't understand how people think the world works


This command prints partial match information for a selected production. If issued at the end of the Decision Phase, it also prints the current set of productions that are about to fire or retract in the next preference phase. This information is useful for determining what changes to working memory are necessary in order to achieve a match of the left-hand sides of productions.
If no production name is given, then it is assumed that the user desires information about the match set, including both assertions and retractions.
The optional detail specifies the kind of information desired and must be one of the following (the 0 option is the default):
matches -assertions -wmes
This example prints the wme timetags for a single production. This example takes advantage of the unique prefix abbreviation feature of switches.
matches -t my*first*production
In Soar 8, the Decision Phase occurs in the middle of the Decision Cycle, followed by the Apply Phase. Therefore, at the end of the Decision Cycle, productions will have already fired and the "matches" command will not be very helpful. To examine the match information in immediately after the Decision Phase in Soar 8, users can implement either of the following callbacks:
monitor -add {matches -wmes} after-decision-phase-cycle
monitor -add {stop-soar -self} after-decision-phase-cycle
The first example can use any options to the matches command, whatever the user finds most helpful. The second option, which stops Soar at the end of the Decision Phase, offers the most flexibility for debugging. It is recommended that users issue this callback for all agents, so they don't get out of synch when running. Once the productions have been debugged, the monitors can be deleted.


Using the form below, you can create/update secrets in Secret Manager, read and delete them. In the controller code, the SecretManagerTemplate is being used to do these operations.
NOTE: In practice, you never want to allow your secrets to be visible as plaintext. This is just a demonstration!
Get a secret by secret ID from Secret Manager. You will receive an error if you try to get a secret ID that does not already exist.
This will create a secret if the provided secret ID does not exist. Otherwise, it will create version under the provided secret ID.
This will delete a secret if the provided secret ID exists.
You can also view your secrets in the Secret Manager UI in Google Cloud Console .


--- notes: | Flash messages. Add `.flash--disappear` to have the message automatically fade away. ---
This is some flash message. It also comes with a link.
This is some flash message. It also comes with a link.
This is some flash message. It also comes with a link.
This is some flash message. It also comes with a link.


+
-
reset
power saving mode is
on
PSM on
PSM off
Current temperature:
°C
London
New York
Paris
Tokyo
Seoul
Jerusalem


https://www.tripadvisor.co.uk/LocationPhotoDirectLink-g293891-d10358969-i191786203-Global_International_Travel-Pokhara_Gandaki_Zone_Western_Region.htmL
https://www.quora.com/How-beautiful-is-Nepal


Once you have finished evaluating and refining the physical model, you’re
ready to implement the schema in CQL. Here is the schema for the
hotel
keyspace, using CQL’s comment feature to document the query
pattern supported by each table:
CREATE KEYSPACE hotel WITH replication =
{‘class’: ‘SimpleStrategy’, ‘replication_factor’ : 3};
CREATE TYPE hotel.address (
street text,
city text,
state_or_province text,
postal_code text,
country text );
CREATE TABLE hotel.hotels_by_poi (
poi_name text,
hotel_id text,
name text,
phone text,
address frozen<address>,
PRIMARY KEY ((poi_name), hotel_id) )
WITH comment = ‘Q1. Find hotels near given poi’
AND CLUSTERING ORDER BY (hotel_id ASC) ;
CREATE TABLE hotel.hotels (
id text PRIMARY KEY,
name text,
phone text,
address frozen<address>,
pois set )
WITH comment = ‘Q2. Find information about a hotel’;
CREATE TABLE hotel.pois_by_hotel (
poi_name text,
hotel_id text,
description text,
PRIMARY KEY ((hotel_id), poi_name) )
WITH comment = Q3. Find pois near a hotel’;
CREATE TABLE hotel.available_rooms_by_hotel_date (
hotel_id text,
date date,
room_number smallint,
is_available boolean,
PRIMARY KEY ((hotel_id), date, room_number) )
WITH comment = ‘Q4. Find available rooms by hotel date’;
CREATE TABLE hotel.amenities_by_room (
hotel_id text,
room_number smallint,
amenity_name text,
description text,
PRIMARY KEY ((hotel_id, room_number), amenity_name) )
WITH comment = ‘Q5. Find amenities for a room’;
Notice that the elements of the partition key are surrounded
with parentheses, even though the partition key consists
of the single column poi_name
. This is a best practice that makes
the selection of partition key more explicit to others reading your CQL.
Similarly, here is the schema for the reservation
keyspace:
CREATE KEYSPACE reservation WITH replication = {‘class’:
‘SimpleStrategy’, ‘replication_factor’ : 3};
CREATE TYPE reservation.address (
street text,
city text,
state_or_province text,
postal_code text,
country text );
CREATE TABLE reservation.reservations_by_confirmation (
confirm_number text,
hotel_id text,
start_date date,
end_date date,
room_number smallint,
guest_id uuid,
PRIMARY KEY (confirm_number) )
WITH comment = ‘Q6. Find reservations by confirmation number’;
CREATE TABLE reservation.reservations_by_hotel_date (
hotel_id text,
start_date date,
end_date date,
room_number smallint,
confirm_number text,
guest_id uuid,
PRIMARY KEY ((hotel_id, start_date), room_number) )
WITH comment = ‘Q7. Find reservations by hotel and date’;
CREATE TABLE reservation.reservations_by_guest (
guest_last_name text,
hotel_id text,
start_date date,
end_date date,
room_number smallint,
confirm_number text,
guest_id uuid,
PRIMARY KEY ((guest_last_name), hotel_id) )
WITH comment = ‘Q8. Find reservations by guest name’;
CREATE TABLE reservation.guests (
guest_id uuid PRIMARY KEY,
first_name text,
last_name text,
title text,
emails set,
phone_numbers list,
addresses map<text,
frozen<address>,
confirm_number text )
WITH comment = ‘Q9. Find guest by ID’;
You now have a complete Cassandra schema for storing data for a hotel application.
Material adapted from Cassandra, The Definitive Guide. Published by O’Reilly Media, Inc. Copyright © 2020 Jeff Carpenter, Eben Hewitt. All rights reserved. Used with permission.


Great hearts steadily send forth the secret forces that incessantly draw great events.
Ralph Waldo Emerson
New Quote


RT @dsandler: there ain't no party like a Turing machine party cuz a Turing machine party may or may not stop
10/25/2016, 6:51:15 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @dsandler: there ain't no party like a Turing machine party cuz a Turing machine party may or may not stop
10/25/2016, 6:51:15 PM
Favs: 0
Retweets: 0
link


Deep probabilistic programming is a method of implementing “Bayesian” probabilistic modeling on “differentiable” deep learning frameworks. This provides a style of language to define complex (composite, hierarchical) models with multiple components and incorporate probabilistic uncertainty about latent variables or model parameters into predictions.
Continue reading
We should consider the deep learning framework as
new style of programming
Continue reading
Consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ut gravida lorem.
Continue reading
This is an example of a post which includes a feature image specified in the front matter of the post. The feature image spans the full-width of the page, and is shown with the title on permalink pages.
Continue reading


Source #1
3 Layers of Progressive Enhancement
by Luna May Jul 4, 2019
3 Layers of Progressive Enhancement
by Luna May Jul 4, 2019
Progressive Enhancement 101: Overview and Best Practices
by William Craig on February 11, 2011
Understanding Progressive Enhancement
by Aaron Gustafson October 07, 2008
Is Progressive Enhancement Dead Yet?
by Heydon Pickering 4th January 2021
Progressive Enhancement: What It Is, And How To Use It?
by Sam Dwyer 22th April 2009
What is Progressive Enhancement, and why it matters
by Praveen Dubey November 26, 2018


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object realtimeweb.redditservice.domain.Comment
public class Comment
| Constructor Summary | |
|---|---|
Comment(int ups,
int downs,
int created,
String subreddit,
String id,
String author,
String body,
String bodyHtml,
ArrayList<Comment> replies)
Regular constructor to create a Comment. |
|
Comment(JsonObject json,
Gson gson)
Internal constructor to create a Comment from a Json representation. |
| Method Summary | |
|---|---|
String |
getAuthor()
The username of the author of this Post. |
String |
getBody()
The text of this post, without any markup. |
String |
getBodyHtml()
The HTML text of this post. |
int |
getCreated()
The date that this Comment was created. |
int |
getDowns()
The number of downvotes associated with this Comment. |
String |
getId()
A unique ID for this Comment. |
ArrayList<Comment> |
getReplies()
A list of comments that are in reply to this one. |
String |
getSubreddit()
The subreddit that this Comment was made in. |
int |
getUps()
The number of upvotes associated with this Comment. |
void |
setAuthor(String author)
|
void |
setBody(String body)
|
void |
setBodyHtml(String bodyHtml)
|
void |
setCreated(int created)
|
void |
setDowns(int downs)
|
void |
setId(String id)
|
void |
setReplies(ArrayList<Comment> replies)
|
void |
setSubreddit(String subreddit)
|
void |
setUps(int ups)
|
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Comment(JsonObject json, Gson gson)
json
- The raw json data that will be parsed.gson
- The Gson parser. See https://code.google.com/p/google-gson/ for more information.public Comment(int ups, int downs, int created, String subreddit, String id, String author, String body, String bodyHtml, ArrayList<Comment> replies)
ups
- The number of upvotes associated with this Comment.downs
- The number of downvotes associated with this Comment.created
- The date that this Comment was created.subreddit
- The subreddit that this Comment was made in.id
- A unique ID for this Comment. A combination of letters, numbers, and dashes.author
- The username of the author of this Post.body
- The text of this post, without any markup.bodyHtml
- The HTML text of this post.replies
- A list of comments that are in reply to this one.| Method Detail |
|---|
public int getUps()
public void setUps(int ups)
ups
- The number of upvotes associated with this Comment.public int getDowns()
public void setDowns(int downs)
downs
- The number of downvotes associated with this Comment.public int getCreated()
public void setCreated(int created)
created
- The date that this Comment was created.public String getSubreddit()
public void setSubreddit(String subreddit)
subreddit
- The subreddit that this Comment was made in.public String getId()
public void setId(String id)
id
- A unique ID for this Comment. A combination of letters, numbers, and dashes.public String getAuthor()
public void setAuthor(String author)
author
- The username of the author of this Post.public String getBody()
public void setBody(String body)
body
- The text of this post, without any markup.public String getBodyHtml()
public void setBodyHtml(String bodyHtml)
bodyHtml
- The HTML text of this post.public ArrayList<Comment> getReplies()
public void setReplies(ArrayList<Comment> replies)
replies
- A list of comments that are in reply to this one.public String toString()
toString
in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


King Salman Receives Grand Mufti of Kosovo
Custodian of the Two Holy Mosques King Salman bin Abdulaziz received in Riyadh on Tuesday Grand Mufti of Kosovo Sheikh Naim Ternava and his accompanying delegation, reported the Saudi Press Agency.
They discussed cooperation between Saudi Arabia and Kosovo in service of Islam and Muslims and in promoting moderation, coexistence and tolerance.
The meeting was attended by Foreign Minister Prince Faisal bin Farhan bin Abdullah, Minister of Islamic Affairs, Dawa and Guidance Dr. Abdullatif bin Abdulaziz Al Al-Sheikh and Assistant Special Secretary to the Custodian of the Two Holy Mosques Tamim bin Abdulaziz Al-Salem.


« Back to the index
Function.prototype.delay examples
The "delay" method allow the programmer to retard the call to a function:
function.delay(timer, parameters);
The "timer" is an integer, the quantity of miliseconds to delay the call of the function.
The parameters are the list of each parameter to send to the main funcion.
This function is very usefull to call a delayed function with specific parameters, without having to use a specific timer.
Let's use a basic function that makes a simple alert:
function test(message)
{
alert(message);
}

Call the normal function
Call the normal function

Call the delayed function (2s)
Call the delayed function (2s)
« Back to the index


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
Gujarat High Court Case Information System Print SCA/1173220/2008 2/ 2 ORDER IN THE HIGH COURT OF GUJARAT AT AHMEDABAD SPECIAL CIVIL APPLICATION No. 11732 of 2008 ========================================= PATEL BONE MILL - Petitioner(s) Versus GUJARAT POLLUTION CONTROL BOARD & 1 - Respondent(s) ========================================= Appearance : MR KV SHELAT for Petitioner(s) : 1, MR SUNIL L MEHTA for Respondent(s) : 1, DS AFF.NOT FILED (N) for Respondent(s) : 2, ========================================= CORAM : HONOURABLE THE CHIEF JUSTICE MR. K.S.RADHAKRISHNAN HONOURABLE MR.JUSTICE AKIL KURESHI Date : 07/10/2008 ORAL ORDER
(Per : HONOURABLE THE CHIEF JUSTICE MR. K.S.RADHAKRISHNAN) Heard learned counsel for the parties.
This Special Civil Application is preferred by the petitioner - Patel Bone Mill, challenging the order dated 19th July, 2008 passed by Environmental Engineer, Gujarat Pollution Control Board (GPCB), whereby certain directions were given in exercise of powers under Section 31A of the Air (Prevention and Control of Pollution) Act, 1981.
Learned counsel for the petitioner submitted that the industrial unit in question is operating for the last 35 years.
Learned counsel for the GPCB refers to the decision taken by the Sub-divisional Magistrate, Godhra Prant, Godhra dated 11.12.2006 and pointed out that the bone mills, including the unit of the petitioner, are situated in the residential area, and due to various complaints received from the residents in the vicinity about the foul smell emanating from the petitioner-unit, it was decided to shift the bone mills outside the city. An inspection was conducted by the GPCB and based on the report, the impugned direction has been issued by the Environmental Engineer.
Learned counsel for the petitioner submits that the petitioner-unit will take effective steps to prevent the emission of foul smell in that area.
Considering the facts and circumstances of this case, we deem it proper to dispose of this petition directing the petitioner to make an appeal to the Member Secretary, GPCB, in case he is aggrieved by the directions given by the Environment Engineer. The Member Secretary, GPCB will entertain the same and pass appropriate orders within a period of one month from the date of receipt of the appeal, with notice to the petitioner.
With the aforesaid directions, the Special Civil Application stands disposed of. Notice is discharged.
(K.S.
RADHAKRISHNAN, C.J.) (AKIL KURESHI, J.) [sn devu] pps Top


| Interface | Description |
|---|---|
| ActiveMeasure |
ActiveMeasure interface specifies how to measure the active degree of PowerServer . |
| ClientStub |
As a convention, this class is called
client stub . |
| Gateway |
For security, each server should implements this interface so that authenticated remote application (client) can retrieves itself and its service.
|
| PowerServer |
PowerServer is a powerful Server with advanced functions such as supporting balancing and retrieving service. |
| Protocol |
Protocol interface specifies methods to create request represented by Request of Hudup client-server network in many possible cases. |
| Server |
Server interface defines abstract model of recommendation server. |
| ServerStatusListener |
Server represented by
Server class has six statuses as follows:
"started": Server started. |
| Service |
Service interface specifies methods to serve user requests.
|
| Class | Description |
|---|---|
| ConnectServerDlg |
This graphic user interface (GUI) component shows a dialog for connecting to remote server.
|
| DriverManager |
This utility class provides methods relevant to connection and interaction in client-server architecture.
|
| LightRemoteServerCP |
This graphic user interface and a window application
JFrame allows users to start, stop, pause, resume, configure Server remotely. |
| ProtocolImpl |
This class is the current implementation of
Protocol interface. |
| ProtocolParam |
This abstract class represents a parameter for Hudup protocol.
|
| Recommendlet | Deprecated |
| RemoteServerCP |
This graphic user interface and a window application
JFrame allows users to start, stop, pause, resume, configure Server remotely. |
| Request |
Note,
Request class represents user request. |
| Response |
Response class represents result of Hudup services such as recommendation task, updating database, information retrieval. |
| ServerConfig |
This class represents server configuration.
|
| ServerInfo |
This class stores essential information about server.
|
| ServerStatusEvent |
Server represented by
Server class has six statuses as follows:
"started": Server started. |
| ServerTrayIcon |
When server started, there is its icon shown on system tray of current operating system such as Windows and Linux.
|
| SocketConnection |
This class extends directly
SocketWrapper class and so it is also a service that sends request to server and then receives response (result) from server, according to socket interaction. |
| SocketWrapper |
This class implements the
Service interface according to socket connection in order to send request to server and then receive response (result) from server. |
| Enum | Description |
|---|---|
| ServerStatusEvent.Status |
This enum defines six status of server represented by
Server class. |


{% include "components/avatar.html" %}
Hey {{user.username}}!
Forms
View and create forms
Responses
View form responses
Settings
View and modify settings
{% if user.admin %}
Users
View and manage users
{% endif %}


Tabel of Contents
Sprint 1 Cultural
Sprint 1 Technical
Sprint 2 Cultural
Sprint 2 Technical
Sprint 3 Cultural
Sprint 3 Technical
Sprint 4 Cultural
Sprint 4 Technical
Sprint 5 Cultural
Back To Home