|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.SuballocatedByteVector
public class SuballocatedByteVector
A very simple table that stores a list of byte. Very similar API to our IntVector class (same API); different internal storage. This version uses an array-of-arrays solution. Read/write access is thus a bit slower than the simple IntVector, and basic storage is a trifle higher due to the top-level array -- but appending is O(1) fast rather than O(N**2) slow, which will swamp those costs in situations where long vectors are being built up. Known issues: Some methods are private because they haven't yet been tested properly. If an element has not been set (because we skipped it), its value will initially be 0. Shortening the vector does not clear old storage; if you then skip values and setElementAt a higher index again, you may see old data reappear in the truncated-and-restored section. Doing anything else would have performance costs.
| Constructor Summary | |
|---|---|
SuballocatedByteVector()
Default constructor. |
|
SuballocatedByteVector(int blocksize)
Construct a ByteVector, using the given block size. |
|
SuballocatedByteVector(int blocksize,
int increaseSize)
Construct a ByteVector, using the given block size. |
| Method Summary | |
|---|---|
void |
addElement(byte value)
Append a byte onto the vector. |
byte |
elementAt(int i)
Get the nth element. |
int |
indexOf(byte elem)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
int |
indexOf(byte elem,
int index)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
void |
removeAllElements()
Wipe it out. |
void |
setElementAt(byte value,
int at)
Sets the component at the specified index of this vector to be the specified object. |
int |
size()
Get the length of the list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuballocatedByteVector()
public SuballocatedByteVector(int blocksize)
blocksize
- Size of block to allocatepublic SuballocatedByteVector(int blocksize, int increaseSize)
blocksize
- Size of block to allocate| Method Detail |
|---|
public int size()
public void addElement(byte value)
value
- Byte to add to the listpublic void removeAllElements()
public void setElementAt(byte value, int at)
value
- at
- Index of where to set the objectpublic byte elementAt(int i)
i
- index of value to get
java.lang.ArrayIndexOutOfBoundsException
- if the index was _clearly_
unreasonable (negative, or past the highest block).
java.lang.NullPointerException
- if the index points to a block that could
have existed (based on the highest index used) but has never had anything
set into it.
%REVIEW% Could add a catch to create the block in that case, or return 0.
Try/Catch is _supposed_ to be nearly free when not thrown to. Do we
believe that? Should we have a separate safeElementAt?public int indexOf(byte elem, int index)
elem
- object to look forindex
- Index of where to begin search
public int indexOf(byte elem)
elem
- object to look for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Musk touts 146,000 orders for Tesla’s electric pickup truck
by The Associated PressLOS ANGELES (AP) - Elon Musk says Tesla has received nearly 150,000 orders for its new electric pickup truck since the automaker revealed the futuristic vehicle earlier this week to mixed reviews.
The Tesla CEO tweeted Saturday that the company received 146,000 orders for the wedge-shaped “Cybertruck” since is unveiling Thursday night.
Musk said 17% of the orders are for the single-motor model, 42% are for the dual-motor version and 41% are for the tri-motor model.
The much-hyped unveiling went off script when its supposedly unbreakable window glass splintered twice when hit with a large metal ball. Some analysts panned the truck’s blocky, angular looks.
Placing an order costs buyers $100, which Tesla says is fully refundable.
Tesla has said the “Cybertruck,” which starts at $39,900, will be in production in 2021.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Stefanos Tsitsipas thrashes Alexander Zverev to reach ATP semis
LONDON: Debutant Stefanos Tsitsipas crushed defending champion Alexander Zverev 6-3, 6-2 on Wednesday to book his place in the last four of the ATP Finals with a match to spare.
The 21-year-old, the first Greek player to qualify for the elite eight-man season-ender, backed up his opening win over Daniil Medvedev with a virtuoso performance at the O2 Arena.
His straight-sets victory secured a top-two place in the group and left Zverev, world number one Rafael Nadal and Medvedev scrapping to join him in Saturday's semi-finals.
The evening clash was the youngest, in terms of combined age, at the ATP Finals since Andy Murray played Juan Martin del Potro in 2009, but produced a performance of maturity and sustained quality by Tsitsipas to leave Zverev, 22, in his wake.
Zverev defeated 19-times Grand Slam champion Nadal in his opening match on Monday, having beaten Roger Federer and Novak Djokovic back-to-back to win last year's title, but he had no answer to the all-court game of Tsitsipas.
The Greek broke in the eighth game when Zverev opted to serve and volley on a second serve but made a mess of a low volley and from that point on it was one-way traffic.
Zverev's level tailed off alarmingly in the second set and Tsitsipas wrapped things up with an ace.


You may submit multiple proposals.
Please read the instuctions below.
Call for paper ends: Jan 27 midnight UTC. No kidding.
To get a good sense of topics we're interested in you can check out
Please also refer to The Wishlist where ppl had made awesome wishes, this may spark ideas that you may want to propose.
This year we are especially interested in Made in Israel, which means projects written by Israelis, products by Israelis, products for Israelis etc. Anything that smells like Falafel. To this end we created a session specifically for Open Source in Israel. Open Source in Israel is a stage for projects made is israel or by Israelis. You get 5 minutes to introduce your work. Choose the Open Source in Israel type when submitting.
Unlike last year, this time we've decided that we will not define a list of tracks upfront, rather open up the submission to any topic. Later on we will choose the best talks and sort them by topic relevance, so that attendees would be able to focus on tracks and room.
This means that we want submission on any topic that may interest developers, product folks, UX etc. Topics might include startups, mobile, web, devops, data processing, scaling, programming languages, api design, data science, gaming, computer vision and more.... This is not a closed list, it's just to give ideas, if your topic doesn't seem to fit here and is of general interest, we want it!
We will publish a more detailed agenda later on but for now we can say that there will be several types of sessions for which you may submit your talk:
When you submit your proposal please specify the type.
The default language is Hebrew. This is not an international event, it's a local event for local developers and by local developers. There are awesome developers here in Israel. Having said that, if you as a speaker would prefer to speak in English that's totally fine. If you are a non Israeli speaker and would like to present in this conference, you are most welcome, that's perfectly fine, you may do so in English, but just be aware that you'll find yourself bored to death in all other non-english sessions, so bare that in mind of you plan to travel specifically for this event.
We have a wonderful group of moderators that would help you refine your submission and eventually select the proposed sessions. Please feel free to reach out to any of us if you have any questions. During the selection process we take into account various aspects, including relavancy, populatity, interest, originality, presenters track record, diversity etc.
Reversim Summit is a community event and as such, we are looking for speakers of all levels and experience. There are endless reasons why you might think to yourself you shouldn't submit a talk. However, if these reasons are that you think you can't prepare a decent presentation, if you are unsure whether what you have to share is interesting or if maybe you don't know if you have the skills to get on the stage - please consider the following:
Registration will open about a month before the event. If you've registered on time, all is well. If not, submitters get a personal ticket, regrdless of whether your session got accepted or not (assuming quality submission). Accepted speakers get a personal ticket +1 (so you can do a friend a favor)
{{else}}


Carolina Panthers place QB Cam Newton on injured reserve
by Bob D'Angelo, Cox Media Group National Content DeskCHARLOTTE, N.C. -
The Carolina Panthers said Tuesday quarterback Cam Newton has been placed on injured reserve.
The announcement comes days after Newton reportedly traveled to Green Bay, Wisconsin, to visit a foot specialist, WSOC reported.
Newton has not played since aggravating a Lisfranc injury to his left foot in the Week 2 loss to Tampa Bay.
"For the past seven weeks, Cam has diligently followed a program of rest and rehab and still is experiencing pain in his foot. He saw two foot specialists last week who agreed that he should continue that path prescribed by the team's medical staff, and that it likely will take significant time for the injury to fully heal," Panthers General Manager Marty Hurney said in a statement. "We have said all along that it is impossible to put a timetable on this injury. Nobody is more frustrated with that fact than Cam. He's one of the fiercest competitors I've been around during my 20-plus years in the League. At this time, we have decided that the best decision to reach the goal of bringing the foot back to 100 percent is to place Cam on injured reserve."
Bill Voth, with Panthers.com, said this keeps Newton out through the final eight games of the season, with a slim chance of a postseason return under an "extreme circumstance."


QC Module¶
The QC module includes quality control functions from Pecos, see https://pecos.readthedocs.io for more details.
Functions |
Description |
|---|---|
|
Check for corrupt data |
|
Check for stagant data and/or abrupt changes in the data using the difference between max and min values within a rolling window |
|
Check data increments using the difference between values |
|
Check for missing data |
|
Check for outliers using normalized data within a rolling window |
|
Check for data outside the expected range |
|
Check time series for missing, non-monotonic, and duplicate timestamps |
|
Convert qc data structure to pandas dataframe |
Note
The names of the functions below are of the convention path.path.function
. Only the function name is used when calling the function in MATLAB. For example, to call on mhkit.qc.check_timestamp
simply use check_timestamp
.
-
mhkit.qc.
check_corrupt
(data, vals, options)¶ Check for data that is outside expected range
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
vals (cell array of floats) – Array of at least two corrupt data values Use cell array for one value, or pack array with NaN (A single value array becomes a non-iterable scalar in python and will cause an error.)
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_corrupt(data,vals,”key”,key)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting default = 1 to call: check_corrupt(data,vals,”min_failures”,min_failures)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_delta
(data, bound, window, options)¶ Check for stagnant data and/or abrupt changes in the data using difference between max and min values within a rolling window
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
bound (cell array of floats) – [lower bound, upper bound] for min/max delta checking NaN or py.None can be used for either bound
window (int or double) – Size of the rolling window (in seconds) used to compute delta
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_delta(data,bound,”key”,key)
direction (string (optional)) –
- Options: ‘positive’, ‘negative’, or py.None (default)
If direction is positive, then only identify positive deltas (the min occurs before the max) If direction is negative, then only identify negative deltas (the max occurs before the min) If direction is py.None, then identify both positive and negative deltas
to call: check_delta(data,bound,”direction”,direction)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting, default = 1 to call: check_delta(data,bound,”min_failures”,min_failures)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_increment
(data, bound, options)¶ Check data increments using the difference between values
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
bound (cell array of floats) – [lower bound, upper bound] for min/max difference NaN or py.None can be used for either bound
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_increment(data,bound,”key”,key)
increment (int (optional)) – Time step shift used to compute difference, default = 1 to call: check_increment(data,bound,”increment”,increment)
absolute_value (logical (optional)) – Use the absolute value of increment data, default = py.True to call: check_increment(data,bound,”absolute_value”,absolute_value)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting default = 1 to call: check_increment(data,bound,”min_failures”,min_failures)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_missing
(data, options)¶ Check for missing data
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
data structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_missing(data,”key”,key)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting, default = 1 to call: check_missing(data,”min_failures”,min_failures)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_outlier
(data, bound, options)¶ Check or outliers using normalized data within a rolling window Upper and lower bounds in standard deviations Data is normalized using (data-mean)/std
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
bound (cell array of floats) – [lower bound, upper bound] of standard deviations from mean allowed NaN or py.None can be used for either bound
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_outlier(data,bound,”key”,key)
window (int (optional)) – Size of rolling window (in seconds) used to normalize data default = 3600. If window is set to py.None, data is normalized using mean and stddev of entire data set (column by column) to call: check_outlier(data,bound,”window”,window)
absolute_value (logical (optional)) – Use the absolute value of the normalized data, default = py.True to call: check_outlier(data,bound,”absolute_value”,absolute_value)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting, default = 1 to call: check_outlier(data,bound,”min_failures”,min_failures)
streaming (logical (optional)) – Indicates if streaming analysis should be used, default = py.False to call: check_outlier(data,bound,”streaming”,streaming)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_range
(data, bound, options)¶ Check for data that is outside expected range
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
bound (cell array of floats) – [lower bound, upper bound] for range checking NaN or py.None can be used for either bound
key (string (optional)) – Data column name or translation dictionary key. If not specified or set to py.None, all columns are used for test. to call: check_range(data,bound,”key”,key)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting default = 1 to call: check_range(data,bound,”min_failures”,min_failures)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times
-
mhkit.qc.
check_timestamp
(data, freq, options)¶ Check time series for missing, non-monotonic, and duplicate timestamps
- Parameters
data (pandas dataframe or qcdata structure) –
Pandas dataframe indexed by datetime (use py.mhkit_python_utils.pandas_dataframe.timeseries_to_pandas(ts,time,x))
OR
qcdata structure of form:
data.values: 2D array of doubles with arbitrary number of columns
data.time: 1D array of datetimes or posix times
freq (int) – Expected time series frequency, in seconds
expected_start_time (Timestamp (optional)) – Expected start time in datetime format. Default: None to call: check_timestamp(data,freq,”expected_start_time”,expected_start_time)
expected_end_time (Timestamp (optional)) – Expected end time in datetime format. Default: None to call: check_timestamp(data,freq,”expected_end_time”,expected_end_time)
min_failures (int (optional)) – Minimum number of consecutive failures required for reporting, default = 1 to call: check_timestamp(data,freq,”min_failures”,min_failures)
exact_times (logical (optional)) – If py.True, times are expected to occur at regular intervals (specified by freq) and data is reindexed to match expected frequency If py.False, times only need to occur once or more within each interval (specified by freq) and data is not reindexed to call: check_timestamp(data,freq,”exact_times”,exact_times)
- Returns
results (qcdata structure of form:) –
- results.values: array of doubles
Same shape as input data.values Elements that failed QC test replaced with NaN
- results.mask: array of int64
Same shape as input data.values Logical mask of QC results (1 = passed, 0 = failed QC test)
- results.time: array of datetimes
Same as input times (possibly reindexed by exact_times)
-
mhkit.qc.
qc_data_to_dataframe
(data)¶ Convert qc data structure to pandas dataframe
- Parameters
data –
- Returns
results (Pandas DataFrame)


Let's get to know each other!
My history
My name is Tina Myers and I am a coding student at Code Fellows. I have a husband and 3 step sons, ages 15 (almost 16), 12, and 7. They are all working on remote learning right now, and doing really well! We live in Lynnwood, Washington, where it is beautiful this week!
Education
I have a lot of previous education. When I was younger I made multiple attempts at traditional college, but it didn't work for me each time I tried. So I worked, eventually completing school to be a physical therapist assistant. I worked full time while I was attending school full time. It was difficult, but I knew it's what I wanted to be doing, so I made it happen. I worked in physical therapy for about 4 years before covid hit and eliminated my position, as well as many other PTA's in various environments. Which led me to Plan B, in this case, coding school! Lets see what kinds of school I've attended in the past:
- Currently coding bootcamp at Code Fellows
- I went to Pima Medical Institute in Seattle for my PTA degree
- Working on my associates with a plan to enter into engineering
- Random schooling after high school with many areas of interest (political science, psychology, languages, ect)
Work Experience
While I was doing all of the schooling (present schooling excluded), I was working as well. Here's some of my work history:
- Life Care Center of Kirkland
- Slot Attendant at Snoqualmie Casino
- Cage cashier at Tulalip Casino
- Assistant manager at Blockbuster (I know, it's a throwback)
In Code Fellows, I hope to learn how to create a webpage from start to finish, and learn enough about coding to be able to tinker and develop a mobile app for my husband's new small business. We have a plan/hope of being able to work remotely and travel, being able to work from an area for weeks at a time and explore in our free time, without having to worry about "vacation time".
My top 10 list of countries I want to explore while working remote
There are many more than just ten places I'd like to be able to work remotely from. The following list is my top ten list of countries my husband and I have talked about exploring while being able to manage remote work. Lets just dive right into the top 10, and I'll explain a little after each one.
- Japan: My husband is part Japanese, and has done lots of learning about the Japanese culture. We would love to do an extended visit to see all that Japan has to offer.
- Italy: From the history to the culture and the clear blue water to the wineries. Both of us individually have always wanted to go.
- Egypt: The pyramids, of course, but there is so much more history to Egypt than just the Pyramids of Giza.
- India: Several friends in my friend group moved here from India, and between the history and culture, as well as the food, I would love to spend some time there.
- Germany: Many of my ancestors came from Germany, so there is that obvious allure, but there are also the mountains, the art and museums, and the culture.
- Peru: Machu Picchu. Need I say more? Oh, ok. Well, it's also simliar in time zones to the US, so work time is more compatible, and add in some amazing Peruvian food, and it sound pretty good!
- New Zealand/Austrailia: I don't think this needs an explaination.
- England/Scotland/Ireland: The trinity. I also have a substantial amount of ancestry from here, so I'm curious to see all three areas to try to imagine having lived there.
- Thailand: City, beach, and country all in one.
- France: The stereotypical reasons, including Paris, the Eiffel Tower, and the Louvre.


Subscribe for Push Notifications
Unsubscribe from Push Notifications
Topic:
Urgency:
Very Low
Low
Normal
High
Send Push Notification
Log:
Clear


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/leanpkg.20upgrade.20giving.20me.203.2E4.2E2.20branch.html ---
I use elan. In a project I have, which I want to keep up to date with mathlib head, leanpkg upgrade
gives me the lean-3.4.2 branch of mathlib. Why is this happening? My leanpkg.toml
contains the line lean_version = "3.4.2"
. Is that the problem? If so, what should it say?
the mathlib lean-3.4.2
branch is currently 9 days behind HEAD.
Changing 3.4.2
to master
in my leanpkg.toml
gives me
$ leanpkg upgrade error: override toolchain 'master' is not installed info: caused by: the toolchain file at '/home/buzzard/Encfs/Computer_languages/Lean/lean-projects/M1P1-lean/leanpkg.toml' specifies an uninstalled toolchain buzzard@bob:~/Lean/lean-projects/M1P1-lean$
With 3.4.2
I get
$ leanpkg upgrade mathlib: trying to update _target/deps/mathlib to revision 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 > git checkout --detach 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 # in directory _target/deps/mathlib HEAD is now at 50a03f7 chore(test): fix test directory structure configuring M1P1-lean 0.1 mathlib: trying to update _target/deps/mathlib to revision 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 > git checkout --detach 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 # in directory _target/deps/mathlib HEAD is now at 50a03f7 chore(test): fix test directory structure buzzard@bob:~/Lean/lean-projects/M1P1-lean$
which is precisely https://github.com/leanprover-community/mathlib/tree/lean-3.4.2
buzzard@bob:~/.elan/toolchains$ ls 3.3.0 3.4.2 nightly-2018-06-21 stable
Hmm....
lean_version = "stable"
...
$ leanpkg upgrade WARNING: Lean version mismatch: installed version is 3.4.2, but package requires stable mathlib: trying to update _target/deps/mathlib to revision 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 > git checkout --detach 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 # in directory _target/deps/mathlib HEAD is now at 50a03f7 chore(test): fix test directory structure From https://github.com/leanprover-community/mathlib * [new tag] bin-20190209-162751-484d864 -> bin-20190209-162751-484d864 WARNING: Lean version mismatch: installed version is 3.4.2, but package requires stable configuring M1P1-lean 0.1 mathlib: trying to update _target/deps/mathlib to revision 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 > git checkout --detach 50a03f76bb89ee5cf9d9703f78e1eb2139d9b609 # in directory _target/deps/mathlib HEAD is now at 50a03f7 chore(test): fix test directory structure
GAARGH
I think I can push to lean-3.4.2 but I am scared I'll screw up.
If I do (within my clone of leanprover-community/mathlib
)
$ git checkout master $ git pull $ git checkout lean-3.4.2 $ git pull $ git merge master $ git push
will that be a good thing or will something bad happen?
There's a chance it will solve my problem, at least temporarily
It should be ok
! [remote rejected] lean-3.4.2 -> lean-3.4.2 (protected branch hook declined) error: failed to push some refs to 'git@github.com:leanprover-community/mathlib.git'
Rotten luck. OK so I'm out of ideas.
why are you trying to push the changes to the remote
because leanpkg upgrade is downgrading me
that's even if you move up your local branch?
I don't have a local branch in my repo with mathlib as a dependency. I just have a mathlib with a detached head.
I don't want to be copying commit hashes into my leanpkg.toml manually, I just want leanpkg upgrade to do everything for me. I am in my own project with mathlib as a dependency and leanpkg upgrade drags me back to the lagging-behind 3.4.2. I just want to track HEAD
Can't I track master?
I recall Sebastian giving some reasons for why it shouldn't be done, and me being skeptical
$ more leanpkg.toml [package] name = "M1P1-lean" version = "0.1" lean_version = "3.4.2" path = "src" [dependencies] mathlib = {git = "https://github.com/leanprover-community/mathlib", rev = "50a03f7 6bb89ee5cf9d9703f78e1eb2139d9b609"} buzzard@bob:~/Lean/lean-projects/M1P1-lean$
Whenever I type leanpkg upgrade my toml is pulled back to this
But now we have control of the repo in a better way, can we just write a hook to make 3.4.2 track master?
This was what we couldn't do before, right?
Does the change to leanprover-community make all this easier to handle?
Do we want lean-3.4.2
to point to the latest nightly (which I'm setting up now)?
I vote yes
Why would anyone vote no?
The benefit is that tracking lean-3.4.2
should always give you access to binary releases
ultimately I want leanpkg upgrade to take me to master
Oh I see
I have no idea why not to do it but the other developers have more imagination than me
I think I'd rather have today's commit and then spend 10 minutes compiling
I vote yes for auto update
especially with the new olean releases
actually I think Id rather have yesterday's commit and not compile
but I don't think I want to be 66 commits behind -- some of those commits are mine and I want them in my repo
But make sure we only run this stuff on master branch
PRs and other things also trigger travis but shouldn't release oleans or move lean-3.4.2
That won't be hard
What we're talking about here is basically the perfect solution for me. I want to keep moving my repos along with master as they are developed, so I quickly see when an update breaks things.
(or even better, fixes things)
How do you get leanpkg to track lean-3.4.2
?
it does it by default as far as I can see
lean_version = "3.4.2"
in leanpkg.toml
if I understood correctly
Cool! Do you have to call leanpkg upgrade
or does it upgrade its packages automatically?
When I type leanpkg upgrade
(which I do occasionally, if I am interested in a recent commit, or if I feel like I want to check my project still compiles against mathlib head), it pulls mathlib and switches to the commit corresponding to the lean_version, as far as I can see
This is in a project with mathlib as a dependency
i.e. where I am 99% of the time
If I understand correctly, it is not recommended that there be a way to track master
but that's what I want to do.
With this new nightly system, we could in principle coordinate dependent packages so that they affix the lean-3.4.2
only when it works with the lean-3.4.2
version of mathlib.
I am not clear what the solution to my problem is yet. The docs for leanpkg
say that leanpkg upgrade
will update all dependencies to the latest upstream version. Currently they don't because of the existence of the lean-3.4.2 tag whose behaviour seems to be undefined. What do I do as an end user if I simply want to do the very natural thing of updating my dependencies because they just got a commit I want for my project?
Obviously I can just go into _target
and fix things up myself, but then my leanpkg.toml
becomes an unreliable witness to the situation, and this won't work for my clients anyway.
What I do in practice is just edit the commit IDs in leanpkg.toml
manually. Sometimes you want to do this anyways, because for example the latest commit of mathlib doesn't build, or when updating to the latest mathlib would cause a lot of breakage and you'd rather take smaller steps.
I know I can do this but then when I change the toml how do people like Patrick and Johan update their clones? They have to do the same sort of thing too, right? And what about the undergraduates who don't know what git is but clone my undergraduate analysis repo?
leanpkg.toml
is included in the repository, so users who use git pull
to get the latest version get this file. And then leanpkg build
updates mathlib if needed
Oh! So I just avoid using upgrade
and my problems go away??
Last updated: Apr 24 2020 at 19:02 UTC


Action : Send a text data
This action allows to send a text data to a serial port that is connected to a device (printers, mobile phones ...) with the action Connect to a port. For more information, see the What is a serial port? document.
Warning : Make sure that the window is where your serial port component is shown (on the screen) when this action is run.
Parameters
| Parameters | Descriptions |
|---|---|
| Serial port concerned | Must be equal to the control of type serial port (in the window designer) must send a data to the device it is connected. |
| Text data to send | Allows you to enter the text or commands to send to the device connected to the computer. |
Returned value
No value is returned by this action
Code Visual Basic.Net generated by SoftwareZator
If the serial port is "MyPort", the generated code will be as follows :
Your_Windows.MyPort.Write("A data")
Runtime errors
Sometimes a computer program encounters a problem during execution. Often, an error message is displayed. The table below allows you to determine why the error you encounter appears and how to correct :
| Errors types | Descriptions | Resolve |
|---|---|---|
| InvalidOperationException | This error occurs when the control of type serial port is not connected to a device. | To correct this error, you must ensure that the port is opened with the action Connect to a port before running this action. To Determine if a serial port is connected to a device, use the action Determine if a serial port is connected. |
| ArgumentNullException | This error occurs when the value of the property "Text data to send" is null. | To correct this error, you must enter a value in the parameter "Text data to send" of this action. |
| TimeoutException | This error occurs when the operation was not completed before the end of the waiting period (defined by property "WriteTimeout" of the control of type serial port (in the window designer) . | To correct this error, you must ensure that the waiting period is long enough (often supperior to 200 milliseconds, or infinity (equal to -1). |
| System.InvalidCastException | This error occurs when the parameter value "Text datat to send" is not text. Often the problem is caused by a variable used in this setting and has a value other than text. | To correct this error, check that all the values involved in this setting are of type Text (String) and make the necessary changes so that these values is text. For this, use the action Get the type of a variable, Convert the value of a variable |
Characteristic
| Type | Informations |
|---|---|
| Required level | Novice |
| Category | Serial ports |
| Type of return value | {Nothing} |
| Works in the functions | Yes |
| Works in reporting zone | No |
| This action may receive children actions | No |


English
German
Spanish
French
Greek
Hungarian
Italian
Japanese
Norwegian
Portuguese
Russian
Slovak
Turkish
Ukrainian
Chinese


MG36 - Better Battlelog Forums #1973
Sitemap
28. August 2012 01:45
Topicstarter
SkinnyLemur
Why doesn't the plot in the weapon details allow you to equip the bipod?
28. August 2012 07:43
BrainFooLong
Administrator
Because this is a bug. Will be fixed in next release.


Bookings
Booked Vehical
vehical Number
Date
- {{vh.v_n}}
- {{vh.date}}
Add New Vehical
Enter vehical Number
Enter Date
Waiting List
All waitting List
vehical Number
Date
- {{vh.v_n}}
- {{vh.date}}


IBM Cloud Mobile Services - Client SDK Swift Push
This is the Push component of the Swift SDK for IBM Cloud Mobile Services.
Contents
This package contains the Push components of the Swift SDK.
- Push Registration and Unregister
- Subscribing and Unsubscribing for Tags
Requirements
- iOS 8.0+
- Xcode 7.3, 8.0
- Swift 2.3 - 4.0
- Cocoapods or Carthage
Installation
The IBM Cloud Mobile Services Swift SDKs are available via Cocoapods and Carthage.
Cocoapods
To install BMSPush using Cocoapods, add it to your Podfile:
use_frameworks!
target 'MyApp' do
platform :ios, '8.0'
pod 'BMSCore', '~> 2.0'
pod 'BMSPush', '~> 3.0'
end
From the Terminal, go to your project folder and install the dependencies with the following command:
pod install
Swift 2.3
Before running the pod install
command, make sure to use Cocoapods version 1.1.0.beta.1.
Swift 3/ Swift 4
Before running the pod install
command, make sure to use Cocoapods version 1.1.0.beta.1.
For apps built with Swift 3.0/Swift 4.0, you may receive a prompt saying Convert to Current Swift Syntax?
when opening your project in Xcode 8 (following the installation of BMSCore) do not convert BMSPush, BMSCore or BMSAnalyticsAPI
This will installs your dependencies and creates a new Xcode workspace. Note: Ensure that you always open the new Xcode workspace, instead of the original Xcode project file:
MyApp.xcworkspace
Carthage
To install BMSPush using Carthage, add it to your Cartfile:
github "ibm-bluemix-mobile-services/bms-clientsdk-swift-push"
Then run the carthage update
command. Once the build is finished, drag BMSPush.framework
,BMSCore.framework
and BMSAnalyticsAPI.framework
into your Xcode project.
To complete the integration, follow the instructions here.
Xcode 8
For apps built with Swift 2.3, use the command carthage update --toolchain com.apple.dt.toolchain.Swift_2_3.
Otherwise, use carthage update
Enabling iOS applications to receive push notifications
Reference the SDK in your code.
import BMSPush
import BMSCore
Initializing the Core SDK
let myBMSClient = BMSClient.sharedInstance
//Swift 3/Swift 4.0
myBMSClient.initialize(bluemixRegion: "Location where your app Hosted")
//Swift 2.3 or Older
myBMSClient.initialize(bluemixRegion: "Location where your app Hosted")
bluemixRegion
- Specifies the location where the app hosted. You can either use one of three values -
BMSClient.Region.usSouth
,BMSClient.Region.unitedKingdom
,BMSClient.Region.germany
andBMSClient.Region.sydney
OR specify the region manually .
Note: If you are using dedicated service please use
overrideServerHost
and addbluemixRegion
any value.
Initializing the Push SDK
initialize the BMSPushClient
using the following code.
let push = BMSPushClient.sharedInstance
//Swift 3/ Swift 4.0
push.initializeWithAppGUID(appGUID: "your push appGUID", clientSecret:"your push client secret")
//Swift Older
push.initializeWithAppGUID(appGUID:"your push appGUID", clientSecret:"your push client secret")
appGUID
- The Push app GUID value.
clientSecret
- The Push client secret value.
Note: If you are using Xcode8 beta, add
yourApp.entitlements
. To do this, go to Targets -> Capabilities and enable Push Notifications capability.
BMSPushObserver for initialize callback
To get the initializeWithAppGUID(..)
callback , use the following;
Add the
BMSPushObserver
protocol
in your AppDelegateclass AppDelegate: UIResponder, UIApplicationDelegate, BMSPushObserver
Set the delegate for
BMSPushObserver
let push = BMSPushClient.sharedInstance push.delegate = self
Implement the
BMSPushObserver
function
func onChangePermission(status: Bool) {
print("Push Notification is enabled: \(status)" as NSString)
}
Registering iOS applications and devices with userId
For userId
based notification, the register method will accept one more parameter - userId
//Swift3/Swift 4.0
func application (_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data){
let push = BMSPushClient.sharedInstance
push.registerWithDeviceToken(deviceToken: deviceToken, WithUserId: "your userId") { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during device registration : \(response)")
print( "status code during device registration : \(statusCode)")
} else{
print( "Error during device registration \(error) ")
Print( "Error during device registration \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
//Swift2.3 and Older
func application (application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData){
let push = BMSPushClient.sharedInstance
push.registerWithDeviceToken(deviceToken, WithUserId: "your userId") { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during device registration : \(response)")
print( "status code during device registration : \(statusCode)")
}else{
print( "Error during device registration \(error) ")
Print( "Error during device registration \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
}
WithUserId
- The User Id value you want to register in the push service
Note: If userId is provided the client secret value must be provided.
Retrieve Available Tags and subscribe for Tags based Notifications
Retrieve Available tags
The retrieveAvailableTagsWithCompletionHandler
API returns the list of available tags to which the device
can subscribe. After the device is subscribed to a particular tag, the device can receive any push notifications
that are sent for that tag.Call the push service to get subscriptions for a tag.
Copy the following code snippets into your Swift mobile application to get a list of available tags to which the device can subscribe.
//Swift3/Swift 4.0
push.retrieveAvailableTagsWithCompletionHandler(completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during retrieve tags : \(response)")
print( "status code during retrieve tags : \(statusCode)")
}else{
print( "Error during retrieve tags \(error) ")
Print( "Error during retrieve tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
//Swift2.3 and Older
push.retrieveAvailableTagsWithCompletionHandler({ (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during retrieve tags : \(response)")
print( "status code during retrieve tags : \(statusCode)")
}else{
print( "Error during retrieve tags \(error) ")
Print( "Error during retrieve tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
Subscribe to Available tags
//Swift3/Swift 4.0
push.subscribeToTags(tagsArray: response!, completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during Subscribing to tags : \(response?.description)")
print( "status code during Subscribing tags : \(statusCode)")
}else{
print( "Error during subscribing tags \(error) ")
Print( "Error during subscribing tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
//Swift2.3 and Older
push.subscribeToTags(response, completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during Subscribing to tags : \(response?.description)")
print( "status code during Subscribing tags : \(statusCode)")
}else {
print( "Error during subscribing tags \(error) ")
Print( "Error during subscribing tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
Retrieve Subscribed tags
//Swift3/Swift 4.0
push.retrieveSubscriptionsWithCompletionHandler(completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during retrieving subscribed tags : \(response?.description)")
print( "status code during retrieving subscribed tags : \(statusCode)")
}else{
print( "Error during retrieving subscribed tags \(error) ")
Print( "Error during retrieving subscribed tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
//Swift2.3 and Older
push.retrieveSubscriptionsWithCompletionHandler { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during retrieving subscribed tags : \(response?.description)")
print( "status code during retrieving subscribed tags : \(statusCode)")
}else {
print( "Error during retrieving subscribed tags \(error) ")
Print( "Error during retrieving subscribed tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
Unsubscribing from tags based notifications
Use the following code snippets to allow your devices to get unsubscribe from a tag.
//Swift3/Swift 4.0
push.unsubscribeFromTags(tagsArray: response!, completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during unsubscribed tags : \(response?.description)")
print( "status code during unsubscribed tags : \(statusCode)")
}else{
print( "Error during unsubscribed tags \(error) ")
}
}
//Swift2.3 and Older
push.unsubscribeFromTags(response, completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during unsubscribed tags : \(response?.description)")
print( "status code during unsubscribed tags : \(statusCode)")
}
else {
print( "Error during unsubscribed tags \(error) ")
print( "Error during unsubscribed tags \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
Unregistering the Device from IBM Cloud Push Notification
Use the following code snippets to Unregister the device from IBM Cloud Push Notification
//Swift3/Swift 4.0
push.unregisterDevice(completionHandler: { (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during unregistering device : \(response)")
print( "status code during unregistering device : \(statusCode)")
}else{
print( "Error during unregistering device \(error) ")
}
}
//Swift2.3 and Older
push.unregisterDevice({ (response, statusCode, error) -> Void in
if error.isEmpty {
print( "Response during unregistering device : \(response)")
print( "status code during unregistering device : \(statusCode)")
}else{
print( "Error during unregistering device \(error) ")
print( "Error during unregistering device \n - status code: \(statusCode) \n Error :\(error) \n")
}
}
Enabling interactive push notifications
To enable interactive push notifications, the notification action parameters must be passed in as part of the notification object. The following is a sample code to enable interactive notifications.
let actionOne = BMSPushNotificationAction(identifierName: "FIRST", buttonTitle: "Accept", isAuthenticationRequired: false, defineActivationMode: UIUserNotificationActivationMode.background)
let actionTwo = BMSPushNotificationAction(identifierName: "SECOND", buttonTitle: "Reject", isAuthenticationRequired: false, defineActivationMode: UIUserNotificationActivationMode.background)
let category = BMSPushNotificationActionCategory(identifierName: "category", buttonActions: [actionOne, actionTwo])
let notificationOptions = BMSPushClientOptions()
notifOptions.setInteractiveNotificationCategories(categoryName: [category])
let push = BMSPushClient.sharedInstance.initializeWithAppGUID(appGUID: "APP-GUID-HERE", clientSecret:"CLIENT-SECRET-HERE", options: notificationOptions)
Enabling Rich Push notification support in iOS 10 (Audio, Video, GIF and Images)
To receive rich push notifications with iOS10, implement UNNotificationServiceExtension
. The extension will intercept the rich push notification and it needs to be handled here. While sending the notification from the server, all the four fields, alert, title, subtitle, attachmentURL must be specified.
In the didReceive() method of your service extension, add the following code to retrieve the rich notification content.
override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
self.contentHandler = contentHandler
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
BMSPushRichPushNotificationOptions.didReceive(request, withContentHandler: contentHandler)
}
Enable Monitoring.
To see the push notification monitoring status for iOS you have add the following code snippets.
Swift 3/Swift 4.0
// Send notification status when app is opened by clicking the notifications
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) {
let push = BMSPushClient.sharedInstance
let respJson = (userInfo as NSDictionary).value(forKey: "payload") as! String
let data = respJson.data(using: String.Encoding.utf8)
let jsonResponse:NSDictionary = try! JSONSerialization.jsonObject(with: data! , options: JSONSerialization.ReadingOptions.allowFragments) as! NSDictionary
let messageId:String = jsonResponse.value(forKey: "nid") as! String
push.sendMessageDeliveryStatus(messageId: messageId) { (res, ss, ee) in
print("Send message status to the Push server")
}
}
// Send notification status when the app is in background mode.
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
let payLoad = ((((userInfo as NSDictionary).value(forKey: "aps") as! NSDictionary).value(forKey: "alert") as! NSDictionary).value(forKey: "body") as! NSString)
self.showAlert(title: "Recieved Push notifications", message: payLoad)
let push = BMSPushClient.sharedInstance
let respJson = (userInfo as NSDictionary).value(forKey: "payload") as! String
let data = respJson.data(using: String.Encoding.utf8)
let jsonResponse:NSDictionary = try! JSONSerialization.jsonObject(with: data! , options: JSONSerialization.ReadingOptions.allowFragments) as! NSDictionary
let messageId:String = jsonResponse.value(forKey: "nid") as! String
push.sendMessageDeliveryStatus(messageId: messageId) { (res, ss, ee) in
completionHandler(UIBackgroundFetchResult.newData)
}
}
Swift 2.3
func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) {
let respJson = (userInfo as NSDictionary).valueForKey("payload") as! String
let data = respJson.dataUsingEncoding(NSUTF8StringEncoding)
do {
let responseObject:NSDictionary = try NSJSONSerialization.JSONObjectWithData(data!, options: []) as! NSDictionary
let nid = responseObject.valueForKey("nid") as! String
print(nid)
let push = BMSPushClient.sharedInstance
push.sendMessageDeliveryStatus(nid, completionHandler: { (response, statusCode, error) in
print("Send message status to the Push server")
})
} catch let error as NSError {
print("error: \(error.localizedDescription)")
}
}
func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) {
let payLoad = ((((userInfo as NSDictionary).valueForKey("aps") as! NSDictionary).valueForKey("alert") as! NSDictionary).valueForKey("body") as! NSString)
self.showAlert("Recieved Push notifications", message: payLoad)
let respJson = (userInfo as NSDictionary).valueForKey("payload") as! String
let data = respJson.dataUsingEncoding(NSUTF8StringEncoding)
do {
let responseObject:NSDictionary = try NSJSONSerialization.JSONObjectWithData(data!, options: []) as! NSDictionary
let nid = responseObject.valueForKey("nid") as! String
print(nid)
let push = BMSPushClient.sharedInstance
push.sendMessageDeliveryStatus(nid, completionHandler: { (response, statusCode, error) in
completionHandler(UIBackgroundFetchResult.NewData)
})
} catch let error as NSError {
print("error: \(error.localizedDescription)")
}
}
Note: To get the message status when the app is in background you have to send either MIXED or SILENT push notifications. If the app is force quite you will not get any message delivery status.
Open Url by clicking push notifications.
To open a url by clicking the push notification you can send a url
firld inside the payload.
{
"message": {
"alert": "Notification alert message",
"url":"https://console.ng.bliuemix.net"
}
}
In your applications, go to AppDelegate
file and inside didFinishLaunchingWithOptions
check the value for url
let remoteNotif = launchOptions?[UIApplicationLaunchOptionsKey.remoteNotification] as? NSDictionary
if remoteNotif != nil {
let urlField = (remoteNotif?.value(forKey: "url") as! String)
application.open(URL(string: urlField)!, options: [:], completionHandler: nil)
}
Adding custom DeviceId for registration
To send DeviceId
please use BMSPushClientOptions
class method,
let notifOptions = BMSPushClientOptions()
notifOptions.setDeviceId(deviceId: "YOUR_DEVICE_ID")
Note: Remember to keep custom DeviceId unique for each device.
Samples & videos
Please visit for samples - Github Sample
Video Tutorials Available here - IBM Cloud Push Notifications
Learning More
Connect with IBM Cloud
Twitter | YouTube | Blog | Facebook | Meetup
======================= Copyright 2016 IBM Corp.
Licensed under the Apache License, Version 2.0 (the License
);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an AS IS
BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


The {{ names.name( 'scala-android' ) }} documentation is an attempt to make the subject more accessible for beginners and to provide a reliable source for information about advanced topics. This is not an easy task, given the fast pace of the {{ names.name( 'android' ) }} and {{ names.name( 'scala' ) }} progress. For this reason, the website tries to make it as easy as possible to spot potentially outdated information and to be updated by the community.


Command line options
| option | description | default |
|---|---|---|
| --config FILE | location of config.properties file |
|
| --log_level | log level [DEBUG|INFO |WARN|ERROR | INFO |
| --host HOST | mysql host | |
| --user USER | mysql username | |
| --password PASSWORD | mysql password | (none) |
| --port PORT | mysql port | 3306 |
| --schema_database | database name where maxwell stores schema and state | maxwell |
| --max_schemas | how many old schemas maxwell should leave lying around in maxwell.schemas | 5 |
| --producer PRODUCER | what type of producer to use: [stdout, kafka, file, profiler] | stdout |
| --output_file | if using the file producer, write JSON rows to this path | |
| --kafka.bootstrap.servers | list of kafka brokers, listed as HOST:PORT[,HOST:PORT] | |
| --kafka_partition_hash | which hash function to use: [default, murmur3] | default |
| --kafka_partition_by | what fields to hash for partition key: [database, table, primary_key] | database |
| --kafka_topic | kafka topic to write to. | maxwell |
| --replication_host | mysql host to replicate from. Only specify if different from host (see notes) |
schema-store host |
| --replication_password | password on replication server | (none) |
| --replication_port | port on replication server | 3306 |
| --replication_user | user on replication server | |
| --include_dbs PATTERN | only send updates from these databases | |
| --exclude_dbs PATTERN | ignore updates from these databases | |
| --include_tables PATTERN | only send updates from tables named like PATTERN | |
| --exclude_tables PATTERN | ignore updates from tables named like PATTERN | |
| --blacklist_dbs PATTERN | ignore updates AND schema changes from databases (see warnings below) | |
| --blacklist_tables PATTERN | ignore updates AND schema changes from tables named like PATTERN (see warnings below) | |
| --bootstrapper | bootstrapper type: async | sync |
| --init_position FILE:POSITION | ignore the information in maxwell.positions and start at the given binlog position. Not available in config.properties. | |
| --replay | enable maxwell's read-only "replay" mode. Not available in config.properties. |
Properties file
If maxwell finds the file config.properties
in $PWD it will use it. Any
command line options (except init_position and replay) may be given as
"key=value" pairs.
Additionally, any configuration file options prefixed with 'kafka.' will be passed into the kafka producer library, after having 'kafka.' stripped off the front of the key. So, for example if config.properties contains
kafka.batch.size=16384
then Maxwell will send batch.size=16384
to the kafka producer library.
Running against RDS
To run Maxwell against RDS, (either Aurora or Mysql) you will need to do the following:
- set binlog_format to "ROW". Do this in the "parameter groups" section. For a Mysql-RDS instance this parameter will be in a "DB Parameter Group", for Aurora it will be in a "DB Cluster Parameter Group".
- setup RDS binlog retention as described here.
The tl;dr is to execute
call mysql.rds_set_configuration('binlog retention hours', 24)
on the server.
Filters
The options include_dbs
, exclude_dbs
, include_tables
, and exclude_tables
control whether
Maxwell will send an update for a given row to its producer. All the options take a single value PATTERN,
which may either be a literal table/database name, given as option=name
, or a regular expression,
given as option=/regex/
. The options are evaluated as follows:
- only accept databases in
include_dbs
if non-empty - reject databases in
exclude_dbs
- only accept tables in
include_tables
if non-empty - reject tables in
exclude_tables
So an example like --include_dbs=/foo.*/ --exclude_tables=bar
will include footy.zab
and exclude footy.bar
The option blacklist_tables
and blacklist_dbs
controls whether Maxwell will send updates for a table to its producer AND whether
it captures schema changes for that table or database. Note that once Maxwell has been running with a table or database marked as blacklisted,
you must continue to run Maxwell with that table or database blacklisted or else Maxwell will halt. If you want to stop
blacklisting a table or database, you will have to drop the maxwell schema first.
Schema storage host vs replica host
Maxwell needs two sets of mysql permissions to operate properly: a mysql database in which to store schema snapshots,
and a mysql host to replicate from. The recommended configuration is that
these two functions are provided by a single mysql host. In this case, just
specify host
, user
, etc.
Some configurations, however, may need to write data to a different server than it replicates from. In this case,
the host described by host
, user
, ..., will be used to write schema information to, and Maxwell will replicate
events from the host described by replication_host
, replication_user
, ... Note that bootstrapping is not available
in this configuration.


Since 2000, WSU students have been invited to take the National Survey of Student Engagement (NSSE), a survey centered around student engagement and the educational experiences available at WSU. NSSE results have helped WSU expand student services, build living-learning communities that bridge classes and residence halls, and broaden undergraduate research opportunities with mentoring faculty.
On March 1, senior and first-year students will receive an email with an invitation to take the NSSE survey that is sent by NSSE on behalf of WSU President Kirk Schulz . Students can access the NSSE survey through a link in the email, from myWSU , or from a WSU social media post about NSSE. Students who do not immediately participate in the survey will receive up to four weekly follow-up emails.
NSSE provides data for WSU that can be analyzed for different campuses, colleges, schools, academic departments, and student affairs groups. Some NSSE data can be compared to peer institutions to provide insight into how WSU compares nationally. See results from the latest survey (2019) as well as from previous years on the WSU Institutional Research website.
You can take the NSSE through myWSU. Look for the “NSSE” tile on your homepage.
Starting on March 1, NSSE will be distributed via email to senior and first-year students, with a unique link for each student. Once the survey is complete, no more emails will be sent. Students may also access the survey through myWSU.
NSSE is a comprehensive survey asking you to reflect on your experiences at WSU. The average response takes about 15 minutes.
If you’re unable to complete the survey in one session, NSSE will save your progress for later.
We understand your concern! Here is how you can be confident that you are taken the actual NSSE survey. First, please note that WSU partners with Indiana University for the administration of NSSE. Consequently, the NSSE survey is hosted on a website that is outside of the WSU web domain. Each eligible WSU senior or first-year student will receive an email with a unique link to take the survey at http://nssesurvey.org. These emails are sent by NSSE on behalf of President Schulz.
If you have doubts about your NSSE email, simply log in to myWSU and look for the NSSE tile on your homepage.
NSSE is administered to senior and first-year students on all WSU campuses. Eligible students will be able to access NSSE through WSU email or myWSU starting March 1.
If you have questions about your eligibility, please email Kimberly Green at<EMAIL_ADDRESS>NSSE opens on March 1. Look for an email invitation in your WSU email, log on to myWSU, or click through to my.WSU from possible social messages sent to you.
Email invitations for NSSE will be sent on the following dates. Once your survey is complete, no more emails will be sent to you.
In appreciation for participating, each student who completes the survey by April 15 will be entered into a drawing for a $100 Visa gift card. Your chances of winning depend on the number of students that complete the survey on your campus. Based on campus participation in 2019, your odds of winning are approximately:
If you do not wish to participate in NSSE, click through to the survey and select “opt out.” You will no longer receive NSSE emails.


kana-input.js is a JavaScript library designed to write hiraganas and katakanas using a classic keyboard following the Hepburn romanization system.
Just type classic romaji letters in lower case for hiraganas and in upper case for katakanas. Kanas will appear as you type ;-)
Just add the script to kana-input.js right before your closing </body>
tag and add a data-kana-input
attribute on <input>
or <textarea>
tags than need to write kanas.
If you have any problem using this lib or if you think you can improve it. Please visit the github page and give your thoughts.


Next: PeMM Characterization
Up: Probabilistic Error Masking Matrix
Previous: Probabilistic Error Masking Matrix
Consider a circuit with
inputs and
outputs. We label the n inputs as
and the m outputs as
. The PeMM
of the circuit is a matrix with dimension
. Each entry in
represents error masking probability
, where
and
. It shows the error masking effect on output
with regard to input
, where 0
means the error has been completely masked while
implies no masking effect at all. Note that
so that value larger than 1 will be truncated. The inputs of the circuits are represented by a column vector
with dimension
. Entry in
represents the error probability
associated with input
. When the input vector is left multiplied with
, resultant output vector is represented by a column vector
with dimension
, whose entry shows the error probability
associated with output of circuits. Figure 1 visualizes the abstract circuit model with its PeMM.
Figure 1:
Probabilistic error Masking Matrix
|
|
Compared to PTM which is intended for modeling entire circuit, PeMMs can also represent error masking effects of individual micro-architecture units. Such divide and conquer approach considers the circuit PeMM as the concatenation of PeMMs for architecture units. Figure 2 shows the architecture units for executing the ALU instructions and data signals between logic operations. The dimensions of selected PeMMs are shown based on the counts of input and output signals. In case that input faults are not completely masked, the unit outputs errors with certain probability.
Figure 2:
Logic blocks involved for ALU instruction
|
|
Next: PeMM Characterization
Up: Probabilistic Error Masking Matrix
Previous: Probabilistic Error Masking Matrix
Zheng Wang A Chattopadhyay
2014-07-16


Maha Political Developments A Murder Of Democracy: C'garh CM
by Press Trust Of IndiaGeneral News
Chhattisgarh Chief Minister Bhupesh Baghel on Saturday commented on the political developments in Maharashtra
Written By Press Trust Of India | Mumbai | Updated On: November 23, 2019 23:37 IST
Chhattisgarh Chief Minister Bhupesh Baghel on Saturday dubbed the "theft and murder of democracy" the political developments in Maharashtra, where NCP's Ajit Pawar joined hands with the BJP in a coup and took oath as deputy of Chief Minister Devendra Fadnavis. Baghel was speaking to reporters on the sidelines of a program in Jagdalpur, the headquarters of Bastar district.
'It is very unfortunate that democracy was being stolen'
"It is very unfortunate that democracy was being stolen this way (in Maharashtra). You (apparently referring to the Maharashtra Governor) had imposed President's rule there and revoked it in overnight and administered the oath to the Chief Minister and deputy CM by inviting them secretly. What kind of democracy is this?" Baghel said when asked about political happenings in Maharashtra. "You did not wait and even not given the opportunity to anyone to prove the majority. It is the murder of democracy," he said. In a dramatic turn of events, Fadnavis took oath as the chief minister for a second term in the morning through his party, the BJP, lacked majority while Ajit Pawar was sworn in as the deputy chief minister, a move seen as a rebellion against his uncle.
READ | Rebel Ajit Pawar refuses to return to NCP, meet senior party leaders: Sources
READ | Gujarat CM congratulates Maharashtra CM Devendra Fadnavis and Dy CM Ajit Pawar


Class ccui.Widget
- Defined in: UIWidget.js
- Extends ccui.ProtectedNode
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
The base class for ccui controls and layout
|
Method Summary
Class Detail
Field Detail
When a widget lose/get focus, this method will be called. Be Caution when you provide your own version,
you must call widget.setFocused(true/false) to change the focus state of the current focused widget;
Method Detail
-
addNode(node, zOrder, tag)Adds a node for widget (this function is deleted in -x)
- Parameters:
- {cc.Node} node
- {Number} zOrder
- {Number} tag
- Deprecated:
- since v3.0, please use addChild instead.
-
addTouchEventListener(selector, target)Sets the touch event target/selector of the ccui.Widget
- Parameters:
- {Function} selector
- {Object} target
-
checkChildInfo(handleState, sender, touchPoint)Calls the checkChildInfo of widget's parent, its subclass will override it.
- Parameters:
- {number} handleState
- {ccui.Widget} sender
- {cc.Point} touchPoint
-
{Boolean} clippingParentAreaContainPoint(pt)Checks a point if in parent's area.
- Parameters:
- {cc.Point} pt
- Deprecated:
- since v3.0, please use isClippingParentContainsPoint instead.
- Returns:
- {Boolean}
-
{ccui.Widget} clone()Clones a new widget.
- Returns:
- {ccui.Widget}
-
allocates and initializes a UIWidget.
// example var uiWidget = ccui.Widget.create();
- Returns:
- {ccui.Widget}
-
ctor()Constructor function, override it to extend the construction behavior, remember to call "this._super()" in the extended "ctor" function.
-
didNotSelectSelf()A call back function when widget lost of focus.
-
dispatchFocusEvent(widgetLostFocus, widgetGetFocus)Dispatch a EventFocus through a EventDispatcher
- Parameters:
- {ccui.Widget} widgetLostFocus
- {ccui.Widget} widgetGetFocus
-
call this method with parameter true to enable the Android Dpad focus navigation feature
- Parameters:
- {Boolean} enable
- set true to enable dpad focus navigation, otherwise disable dpad focus navigation
-
findNextFocusedWidget(direction, current)
When a widget is in a layout, you could call this method to get the next focused widget within a specified direction.
If the widget is not in a layout, it will return itself- Parameters:
- direction
- the direction to look for the next focused widget in a layout
- current
- the current focused widget
- Returns:
- the next focused widget in a layout
-
{number} getBottomBoundary()Gets the bottom boundary position of this widget.
- Returns:
- {number}
-
{number} getBottomInParent()Gets the bottom boundary position of this widget.
- Deprecated:
- since v3.0, please use getBottomBoundary instead.
- Returns:
- {number}
-
Gets the focused widget of current stage.
- Returns:
- {null|ccui.Widget}
-
getCurrentFocusedWidget()no matter what widget object you call this method on , it will return you the exact one focused widget
-
{cc.Size} getCustomSize()Get custom size of ccui.Widget
- Returns:
- {cc.Size}
-
{string} getDescription()Returns the "class name" of widget.
- Returns:
- {string}
-
{ccui.LayoutParameter} getLayoutParameter(type)Gets layout parameter
- Parameters:
- {ccui.LayoutParameter.NONE|ccui.LayoutParameter.LINEAR|ccui.LayoutParameter.RELATIVE} type
- Returns:
- {ccui.LayoutParameter}
-
{cc.Size} getLayoutSize()Gets layout size of ccui.Widget.
- Returns:
- {cc.Size}
-
{number} getLeftBoundary()Gets the left boundary position of this widget.
- Returns:
- {number}
-
{number} getLeftInParent()Gets the left boundary position of this widget.
- Deprecated:
- since v3.0, please use getLeftBoundary instead.
- Returns:
- {number}
-
{cc.Node} getNodeByTag(tag)Gets node by tag
- Parameters:
- {Number} tag
- Deprecated:
- since v3.0, please use getChildByTag instead.
- Returns:
- {cc.Node}
-
{Array} getNodes()Returns all children.
- Deprecated:
- since v3.0, please use getChildren instead.
- Returns:
- {Array}
-
{cc.Point} getPositionPercent()Gets the percent (x,y) of the widget
- Returns:
- {cc.Point} The percent (x,y) of the widget in OpenGL coordinates
-
{Number} getPositionType()Gets the position type of the widget
- Returns:
- {Number} the position type of widget
-
{number} getRightBoundary()Gets the right boundary position of this widget.
- Returns:
- {number}
-
{number} getRightInParent()Gets the right boundary position of this widget.
- Deprecated:
- since v3.0, please use getRightBoundary instead.
- Returns:
- {number}
-
{cc.Size} getSize()Returns size of widget
- Deprecated:
- since v3.0, please use getContentSize instead.
- Returns:
- {cc.Size}
-
{cc.Point} getSizePercent()Returns size percent of ccui.Widget
- Returns:
- {cc.Point}
-
{ccui.Widget.SIZE_ABSOLUTE|ccui.Widget.SIZE_PERCENT} getSizeType()Gets the size type of widget.
- Returns:
- {ccui.Widget.SIZE_ABSOLUTE|ccui.Widget.SIZE_PERCENT} that is widget's size type
-
{number} getTopBoundary()Gets the top boundary position of this widget.
- Returns:
- {number}
-
{number} getTopInParent()Gets the top boundary position of this widget.
- Deprecated:
- since v3.0, please use getTopBoundary instead.
- Returns:
- {number}
-
{cc.Point} getTouchBeganPosition()Gets the position of touch began event.
- Returns:
- {cc.Point}
-
{cc.Point} getTouchEndPos()Gets the touch end point of widget when widget is selected.
- Deprecated:
- since v3.0, please use getTouchEndPosition instead.
- Returns:
- {cc.Point} the touch end point.
-
{cc.Point} getTouchEndPosition()Gets the position of touch end event
- Returns:
- {cc.Point}
-
{cc.Point} getTouchMovePos()Gets the touch move point of widget when widget is selected.
- Deprecated:
- since v3.0, please use getTouchMovePosition instead.
- Returns:
- {cc.Point} the touch move point.
-
{cc.Point} getTouchMovePosition()Gets the position of touch moved event
- Returns:
- {cc.Point}
-
{cc.Point} getTouchStartPos()Gets the touch began point of widget when widget is selected.
- Deprecated:
- since v3.0, please use getTouchBeganPosition instead.
- Returns:
- {cc.Point} the touch began point.
-
{ccui.Widget} getVirtualRenderer()Gets the Virtual Renderer of widget.
- Returns:
- {ccui.Widget}
-
getVirtualRendererSize()Gets the content size of widget. Content size is widget's texture size.
-
{ccui.Widget|null} getWidgetParent()The direct parent when it's a widget also, otherwise equals null
- Returns:
- {ccui.Widget|null}
-
{ccui.Widget.TYPE_WIDGET|ccui.Widget.TYPE_CONTAINER} getWidgetType()get widget type
-
{cc.Point} getWorldPosition()Gets world position of ccui.Widget.
- Returns:
- {cc.Point} world position of ccui.Widget.
-
{boolean} hitTest(pt)Checks a point if is in widget's space
- Parameters:
- {cc.Point} pt
- Returns:
- {boolean} true if the point is in widget's space, false otherwise.
-
ignoreContentAdaptWithSize(ignore)Ignore the widget size
- Parameters:
- {Boolean} ignore
- true that widget will ignore it's size, use texture size, false otherwise. Default value is true.
-
{boolean} init()initializes state of widget. please do not call this function by yourself, you should pass the parameters to constructor to initialize it .
- Returns:
- {boolean}
-
interceptTouchEvent(eventType, sender, touch)Sends the touch event to widget's parent, its subclass will override it, e.g. ccui.ScrollView, ccui.PageView
- Parameters:
- {Number} eventType
- {ccui.Widget} sender
- {cc.Touch} touch
-
{boolean} isBright()Determines if the widget is bright
- Returns:
- {boolean} true if the widget is bright, false if the widget is dark.
-
{Boolean} isClippingParentContainsPoint(pt)returns whether clipping parent widget contains point.
- Parameters:
- {cc.Point} pt
- location point
- Returns:
- {Boolean}
-
{boolean} isEnabled()Determines if the widget is enabled
- Returns:
- {boolean}
-
{Boolean} isFlippedX()
Returns the flag which indicates whether the widget is flipped horizontally or not.
It only flips the texture of the widget, and not the texture of the widget's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
widget.setScaleX(sprite.getScaleX() * -1);- Returns:
- {Boolean} true if the widget is flipped horizontally, false otherwise.
-
{Boolean} isFlippedY()
Return the flag which indicates whether the widget is flipped vertically or not.
It only flips the texture of the widget, and not the texture of the widget's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
widget.setScaleY(widget.getScaleY() * -1);- Returns:
- {Boolean} true if the widget is flipped vertically, false otherwise.
-
{boolean} isFocused()Determines if the widget is on focused
- Returns:
- {boolean} whether the widget is focused or not
-
{boolean} isFocusEnabled()returns whether the widget could accept focus.
- Returns:
- {boolean} true represent the widget could accept focus, false represent the widget couldn't accept focus
-
{boolean} isHighlighted()Determines if the widget is highlighted
- Returns:
- {boolean} true if the widget is highlighted, false if the widget is not highlighted .
-
{boolean} isIgnoreContentAdaptWithSize()Gets whether ignore the content size (custom size)
- Returns:
- {boolean} true that widget will ignore it's size, use texture size, false otherwise.
-
{boolean} isTouchEnabled()Returns whether or not touch is enabled.
- Returns:
- {boolean} true if the widget is touch enabled, false if the widget is touch disabled.
-
onEnter()Calls updateSizeAndPosition and its parent's onEnter
-
onExit()Calls unscheduleUpdate and its parent's onExit
-
onFocusChange(widgetLostFocus, widgetGetFocus)This method is called when a focus change event happens
- Parameters:
- {ccui.Widget} widgetLostFocus
- {ccui.Widget} widgetGetFocus
-
{boolean} onTouchBegan(touch, event)
The callback of touch began event.
If the bounding box of ccui.Widget contains the touch point, it will do the following things:
1. sets highlight state,
2. sends event to parent widget by interceptTouchEvent
3. calls the callback of touch began event.
4. returns true,
otherwise returns false directly.
- Returns:
- {boolean}
-
onTouchCancelled(touchPoint)A call back function called when widget is selected, and on touch canceled.
- Parameters:
- {cc.Point} touchPoint
-
onTouchEnded(touch, event)
The callback of touch end event It sends event to parent widget by interceptTouchEvent, calls the callback of touch end event (highlight= true) or touch canceled event (highlight= false). sets the highlight state to false ,
- Parameters:
- touch
- event
-
onTouchLongClicked(touchPoint)A call back function called when widget is selected, and on touch long clicked.
- Parameters:
- {cc.Point} touchPoint
-
onTouchMoved(touch, event)
The callback of touch moved event.
It sets the highlight state by touch, sends event to parent widget by interceptTouchEvent and calls the callback of touch moved event. -
removeAllNodes()Removes all node
- Deprecated:
- since v3.0, please use removeAllChildren instead.
-
removeNode(node, cleanup)Removes a node from ccui.Widget
- Parameters:
- {cc.Node} node
- {Boolean} cleanup
- Deprecated:
- since v3.0, please use removeChild instead.
-
removeNodeByTag(tag, cleanup)Removes node by tag
- Parameters:
- {Number} tag
- {Boolean} cleanup Optional
- Deprecated:
- since v3.0, please use removeChildByTag instead.
-
requestFocus()when a widget calls this method, it will get focus immediately.
-
setBright(bright)Sets whether the widget is bright. The default value is true, a widget is default to bright
- Parameters:
- {Boolean} bright
- true if the widget is bright, false if the widget is dark.
-
setBrightStyle(style)To set the bright style of ccui.Widget.
- Parameters:
- {Number} style
- BRIGHT_NORMAL the widget is normal state, BRIGHT_HIGHLIGHT the widget is height light state.
-
setContentSize(contentSize, height)Sets _customSize of ccui.Widget, if ignoreSize is true, the content size is its renderer's contentSize, otherwise the content size is parameter. and updates size percent by parent content size. At last, updates its children's size and position.
- Parameters:
- {cc.Size|Number} contentSize
- content size or width of content size
- {Number} height Optional
-
setEnabled(enabled)
Sets whether the widget is enabled
true if the widget is enabled, widget may be touched , false if the widget is disabled, widget cannot be touched.
The default value is true, a widget is default to enabled- Parameters:
- {Boolean} enabled
-
setFlippedX(flipX)Sets whether the widget should be flipped horizontally or not.
- Parameters:
- {Boolean} flipX
- true if the widget should be flipped horizontally, false otherwise.
-
setFlippedY(flipY)Sets whether the widget should be flipped vertically or not.
- Parameters:
- {Boolean} flipY
- true if the widget should be flipped vertically, false otherwise.
-
setFocused(focus)Sets whether the widget is on focused The default value is false, a widget is default to not on focused
- Parameters:
- {boolean} focus
- pass true to let the widget get focus or pass false to let the widget lose focus
-
setFocusEnabled(enable)sets whether the widget could accept focus.
- Parameters:
- {Boolean} enable
- true represent the widget could accept focus, false represent the widget couldn't accept focus
-
setHighlighted(highlight)Sets whether the widget is highlighted. The default value is false, a widget is default to not highlighted
- Parameters:
- highlight
- true if the widget is highlighted, false if the widget is not highlighted.
-
setLayoutParameter(parameter)Gets LayoutParameter of widget.
- Parameters:
- {ccui.LayoutParameter} parameter
-
setPosition(pos, posY)Changes the position (x,y) of the widget . The original point (0,0) is at the left-bottom corner of screen.
- Parameters:
- {cc.Point|Number} pos
- {Number} posY Optional
-
setPositionPercent(percent)Changes the position (x,y) of the widget
- Parameters:
- {cc.Point} percent
-
setPositionType(type)Changes the position type of the widget
- Parameters:
- {Number} type
- the position type of widget
-
setSize(size)Changes the size that is widget's size
- Parameters:
- {cc.Size} size
- that is widget's size
- Deprecated:
- since v3.0, please use setContentSize instead.
-
setSizePercent(percent)Changes the percent that is widget's percent size
- Parameters:
- {cc.Point} percent
- that is widget's percent size, width and height value from 0 to 1.
-
setSizeType(type)TEXTURE_RES_TYPE Changes the size type of widget.
- Parameters:
- {ccui.Widget.SIZE_ABSOLUTE|ccui.Widget.SIZE_PERCENT} type
- that is widget's size type
-
setTouchEnabled(enable)Sets whether the widget is touch enabled. The default value is false, a widget is default to touch disabled
- Parameters:
- {Boolean} enable
- true if the widget is touch enabled, false if the widget is touch disabled.
-
updateSizeAndPosition(parentSize)updates its size by size type and its position by position type.
- Parameters:
- {cc.Size} parentSize Optional
- parent size
-
visit(ctx)Calls _adaptRenderers(its subClass will override it) before calls its parent's visit.
- Parameters:
- {CanvasRenderingContext2D|WebGLRenderingContext} ctx


Bafana Man Firing Again!
by Soccer LadumaHe had a tough start to the 2019/20 season, but Bafana Bafana now have a striker in form once again after Lebo Mothiba grabbed another goal and an assist this weekend.
Read: TKO Finalists In The Clear…
The 23-year-old forward played a vital role in Strasbourg’s 4-2 win over Toulouse on Saturday, expertly setting up Adrien Thomasson to get them level after they’d fallen behind, before getting in among the goals himself.
Having battled for match fitness after the 2019 African Cup of Nations, ‘Lebotelli’ has started to find his feet again in Ligue 1, and has now directly contributed to seven goals in his last six games for the club as they look to climb up the league table.
With four goals and three assists to his name by December, the Bafana star is well on the way to beating his tally of 10 goals in the 2018/19 campaign, and could well make the 2019/20 season the best in his young career to date.
Watch: Rampant Chiefs Put Celtic To The Sword
Bafana head coach, Molefi Ntseki, will be eager to see the forward keep up this form in the coming months in the build-up to their 2022 World Cup qualifiers in March, with an in-form Mothiba certainly an asset for the South African national team.
Check out the full highlights - including Mothiba's assist - here:


Questa
Branch Coverage Report
Scope: /
tb_top
/
u_dma_axi32_wrap
/
u_dma_axi32
/
dma_axi32_dual_core
/
dma_axi32_core0_top
/
dma_axi32_core0
/
dma_axi32_core0_channels
/
dma_axi32_channels_mux
/
mux_20


About
PyCon China Conference is being held for the first time in China under the authorization of the Python software foundation. The conference is co-sponsered by GTUG, TopGeek and CPyUG.
PyCon.Org is an international community for the Python programming language holds several conferences each year.
News Report (listed in no particular order):
- First annual PyCon China a hit in Shanghai - The Python Software Foundation
- PyCon大会首次登陆中国 - 丁雪丰(InfoQ)
- 世界Python爱好者的盛会PyCon今明两天在上海举行 - CnBeta
- PyCon China 2011 Website Link - The PyCon Offical Website
- First China PyCon - The Python Offical Website
The PyCon world includes:
- "PyCon" in the United States
- "EuroPython" in Europe
- "EuroSciPy" in Europe
- "Kiwi PyCon" in New Zealand
- "PyCon Asia Pacific" in Singapore
- "PyCon AR" in Argentina
- "PyCon AU" in Australia
- "Python Brasil" in Brazil
- "PyCon DE" in Germany
- "PyCon Finland" in Finland
- "PyCon FR" in France
- "PyCon India"
- "PyCon Ireland"
- "PyCon Italia" in Italy
- "PyCon PL" in Poland
- "PyCon UK" in the United Kingdom
- "PyCon Ukraine" in Ukraine
- "SciPy" in the United States
- "SciPy.in" in India
About the organizers
GTUG (Google Technology User Group)
This is a global community created by Google fans to enable technical communication and organize activities to develop technologies.
CPyUG (China Python User Group)
The group is a community for local pythoners to communicate offline and has been held mainly in Beijing and Shanghai for at least 5 years, but is now expanding to other areas like Nanchang and Anhui.
TopGeek Salon
This is a geek-oriented organization which holds regular offline activities to discuss internet trends and share experience. This organization is free from restriction as it is not divided into language or industry groups. The group is used to develop ideas, promote group learning, and to share resources to solve problems and promote communication. Our slogan is: "once a geek, always a geek"
Characteristics of TopGeek.
- We focus on offline activities, and promoting cross-domain communication regardless of terminal devices, developing languages, etc.
- We encourage frequent communication and detailed studies, especially for senior developers.
- We focus on minor technical groups when studying mainstream technology and new opportunities.
About TopGeek
Organization blog.：http://topgeek.org/
Sina weibo.：http://weibo.com/topgeek
Organizer：陈世欣（2Style4You CTO），王宏（微软中国高级经理），李锟（上海鹏图信息技术有限公司CTO），吕国宁（Intridea资深工程师），罗小能，支晓勇（91Office技术总监）
Previous activities of TopGeek
- TopGeek1，Reportshttp://topgeek.org/?p=129
- TopGeek2，Reportshttp://topgeek.org/?p=167
- TopGeek3，Reportshttp://topgeek.org/?p=209
- TopGeek4，Reportshttp://topgeek.org/?p=243
- TopGeek5，Reportshttp://topgeek.org/?p=264


Gout Symptoms - Gout Cause - Gout Uric Acid - Getting to Know Gout
Uric acid is a normal constituent of the human body. Gout is caused when abnormal blood uric acid levels form needle-like crystals that lodge in or around a joint .
http://arthritis.about.com/od/gout/a/gettoknowgout_2.htm
Treatment for Herniated or Bulging Discs
Lesh-Nyhan syndrome - definition of Lesh-Nyhan syndrome in the ...
This buildup of uric acid is toxic to the body and is related to the symptoms associated with the disease. Absence of the HPRT enzyme activity is also thought to .
http://medical-dictionary.thefreedictionary.com/Lesh-Nyhan+syndrome
Urinary Tract Stones/Crystals Made Up of Uric Acid in Dogs | petMD
When the stones are made up of uric acid, they are called urate stones. . It is highly likely the stones will recur after treatment, but the overall prognosis for the .
http://www.petmd.com/dog/conditions/urinary/c_multi_urolithiasis_urate
symptoms of uric toxicity Herniated or Bulging Discs
Uric acid, a natural scavenger of peroxynitrite, in experimental ...
We have shown that treatment with uric acid, a naturally occurring compound . uric acid on peroxynitrite-mediated toxicity, RAW cells at. 80% confluence were .
http://www.pnas.org/content/95/2/675.full.pdf
Signs & Symptoms Of Excess Uric Acid In The System ...
Feb 21, 2011 . Signs & Symptoms Of Excess Uric Acid In The System. When the body breaks down purines, a substance found in human tissue and in many .
http://www.livestrong.com/article/388027-signs-symptoms-of-excess-uric-acid-in-the-system/
Uric Acid Levels Low - Symptoms, Diagnosis, Treatment and ...
Aug 13, 2012 . Signs, symptoms & indicators of Uric Acid Levels Low: . Uric acid works by inactivating peroxynitrite, a toxic compound that may cause .
http://www.diagnose-me.com/symptoms-of/uric-acid-levels-low.html
Official Impairment Listing for Spinal Disorders
Poisons - Gout - lead, acid, uric, blood, substances, lead-poisoning ...
lead, acid, uric, blood, substances, lead-poisoning, gouty, symptoms and disease . of arthritic symptoms through their hindrance of the excretion of uric acid.
http://gluedideas.com/content-collection/TCP-Volume-02-Nutritive-Disorders/Poisons-Gout_P1.html
- private school loan money (narrowing of the spine)
Uric Acid
So, the blood uric acid levels go up. It is not the body's cries for drugs, only for relief from the trio of toxicities. Prevention and Treatment of Gout Inflammation in .
http://www.majidali.com/uric_acid.htmWhat Are the Treatments for High Uric Acid? | eHow.com
Normal uric-acid levels range between 3.9 and 7.0 mg/dL in the blood. . chemotherapy (administered in the treatment of cancer), toxic pregnancy, alcoholism, .
http://www.ehow.com/way_5305828_treatments-high-uric-acid.html
Symptoms Of Uric Acid Buildup | LIVESTRONG.COM
Mar 28, 2011 . Symptoms Of Uric Acid Buildup. Uric acid is created as a result of the breakdown purines, a substance produced by protein digestion.
http://www.livestrong.com/article/74373-symptoms-uric-acid-buildup/
Uric Acid Nephropathy Treatment & Management
Sep 21, 2011 . Treatment & Management: Uric Acid Nephropathy. . Allopurinol can lead to a life -threatening toxicity syndrome that is characterized by a .
http://emedicine.medscape.com/article/244255-treatment
Medical-Vocational Allowance for Herniated Disc
Uric acid - toxicity, ecological toxicity and regulatory information
Uric acid - Identification, toxicity, use, water pollution potential, ecological toxicity and regulatory information . Signs and Symptoms of Uric acid Poisoning .
http://www.pesticideinfo.org/Detail_Chemical.jsp?Rec_Id=PC35664
Normal Levels of Uric Acid
Nov 21, 2011 . Having normal uric acid levels in the blood is crucial for optimal functioning of the body. . frequent exposure to toxic chemicals, and also hereditary defects. . are accumulated in the joints, resulting in severe pain symptoms.
http://www.buzzle.com/articles/normal-levels-of-uric-acid.html
Appealing a Denial of Benefits
Gout(uric acid) online homoeopathic treatment with homeopathic ...
Gout TITLE(uric acid) TITLE online TITLE homoeopathic TITLE treatment TITLE with homeopathic TITLE . Causes, symptoms of uric acid CONTENT. Treatment .
http://askdrmakkar.com/gout.htm
Uric Acid | LIVESTRONG.COM
Educate yourself about Uric Acid help yourself and others live a more heal... . To reduce the incidence and relieve the symptom. . Uric acid is a toxic chemical formed by your body when it breaks down purines in foods, according to the .
http://www.livestrong.com/uric-acid/


This game was created as part of the Webfest 2015 at CERN. For more information see on the Webfest Homepage.
The game is following the example of the historic game "Snake". It connects aspects of game with learning particle physics. So the two main goals are EDUCATION and FUN.
The project is based on open source. The main libary used is create.js. The whole source code can be accessed by GitHub. Just check the project snaky-particles.
The MIT License (MIT)
Copyright (c) 2015 snaky-particles
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


pymicro is a python library to load, study and vizualize three dimensional material data with a particular focus on crystalline microstructures. It combine the generic power of the main scientific python libraries (namely numpy, scipy and matplotlib) with the 3D visualisation capabilities of a state of the art library as VTK. The goal of pymicro is to make it easy (or easier) to process your 3D datasets especially when it comes to automated processing needed for in situ data analysis.
Contents: