Large projects have lots of scripts and take few minutes or even dozens of minutes to build. Mine takes 4-5 minutes for every compile time. It’s really inconvenience when implement UI, change spacing or colors. I have to change that.
I followed some instructions to speed it up. You can find it with ease.
Open your Build Phrase
and check your scripts. I had 4 running scripts, generating GraphQL API, 2 Pods related scripts, Sentry scripts (upload .dSYM).
I notice generating GraphQL API and Sentry scripts here. Why do you need it run everytime we compile?
How often do we change GraphQL schemas? Only when implement new features.
This is where I started. Remove GraphQL script and add it into a bash script file. Run script when you need to recompile schema. Here is my script:
# (1)
apollo schema:download --endpoint=server_endpoint path_to_schema_file/schema.json
# (2)
SCHEMA_PATH=$PWD"/project_name"
# (3)
$PWD/Pods/Apollo/scripts/run-bundled-codegen.sh codegen:generate --target=swift --includes='./**/*.graphql' --localSchemaFile="$SCHEMA_PATH/Services/GraphQL/schema.json" $SCHEMA_PATH/Services/GraphQL/API.swift
(1): Download latest schema from your server. server_endpoint
is your server path. Usually it’s like this https://api.company_name.com/graphql
(2): $PWD: get your current directory and point it to your project
(3): Now generate file. Please make sure you change $SCHEMA_PATH/Services/GraphQL/schema.json
and $SCHEMA_PATH/Services/GraphQL/API.swift
to yours.
Notes:
You have to run chmod u+r+x downloadSchema.sh
at the first time run the bash file.
Then run, ./downloadSchema.sh
.
Later, just run download script. That’s it. I save minutes with this.
How often do we need to upload .dSYM? Only when release new version
Ask yourself, do you really want to do this? Some extra work is needed when release to upload .dSYM to Sentry (crashed report service I used). But for me, it’s worth to do.
Some extra work:
If it doesn’t matter with you, please try this script.
sentry-cli upload-dif --org company_name --project project_name --log-level=debug appDsyms.zip
I added it into my .zshrc
as an alias, so after download, just run alias and done.
This is my experience, maybe it doesn’t work in your project. Please feel free to discuss here.
Enjoy coding.


WITNESS LIST Education Committee April 10, 2003 - 8:30A SB 142 FOR: Dominey, Wallace (Rice University), Houston, TX ON: Jbeily, Kamil (UT-Austin) Registering, but not testifying: For: Borden, Sandi (Texas Elementary Principals & Supervisors Assoc.), Austin, TX Burnett, Tom (Apple Computer), Austin, TX Carpenter, Bill (Houston ISD), Houston, TX Chiodo, Dana (American Electronics Association), Austin, TX DeLeon, Marty (Tx Assoc. of School Boards), Austin, TX Hollingsworth Jr., Lonnie (Texas Classroom Teachers Assn.), Austin, TX Kelly, Jack (Texas State Teachers Association), Austin, TX Lara, Rene (Texas Federation of Teachers), Austin, TX Scheberle, Drew (TBEC), Austin, TX Whelan, Lauren (Assoc. of Texas Professional Educators), Austin, TX On: Cook, Marilyn (State Board for Educator Certification), Austin, TX SB 396 Registering, but not testifying: For: Chiodo, Dana (American Electronics Association), Austin, TX On: Jolly, Dr. Deborah (Texas A&M), College Station, TX SB 699 FOR: Boyd, Sandi (Sun Microsystems), New Braunfels, TX Burnett, Tom (Apple Computer), Austin, TX ON: Jolly, Dr. Deborah (Texas A&M University), College Station, TX Lara, Rene (Texas Federation of Teachers), Austin, TX Registering, but not testifying: For: Lopez, Ed (Scientific Learning Corp.) Whelan, Lauren (Assoc. of Texas Professional Educators), Austin, TX On: Ikard, Kathy (Bearing Point/Texas Online), Austin, TX SB 845 FOR: Brown, Vannessa (Communities in Schools- Central Texas, Inc.), Austin, TX Lanford, Zelda (Communities In Schools, Comal County), Seguin, TX Registering, but not testifying: For: Hollingsworth, Jr., Lonnie (Texas Classroom Teachers Association), Austin, TX Lara, Rene (Texas Federation of Teachers), Austin, TX Sanchez, Joe (M.A.L.D.E.F.), San Antonio, TX Urrutia, Marcela (National Council of La Roza), Austin, TX Whelan, Lauren (Assoc. of Texas Professional Educators), Austin, TX SB 1095 FOR: Hollingsworth Jr., Lonnie (Texas Classroom Teachers Assn.), Austin, TX Registering, but not testifying: For: Borden, Sandi (Texas Elementary Principals & Supervisors Assoc.), Austin, TX DeLeon, Marty (Texas Assoc. of School Boards), Austin, TX Kelly, Jack (Texas State Teachers Association), Austin, TX Lara, Rene (Texas Federation of Teachers), Austin, TX Whelan, Lauren (Assoc. of Texas Professional Educators), Austin, TX SB 1232 FOR: Hollingsworth Jr., Lonnie (Texas Classroom Teachers Assn.), Austin, TX Registering, but not testifying: For: Whelan, Lauren (Assoc. of Texas Professional Educators), Austin, TX


import requests
from lcc.db_tier.TAP_query import TapClient
from lcc.entities.exceptions import QueryInputError
from lcc.entities.light_curve import LightCurve
from lcc.entities.star import Star
[docs]class VizierTapBase(TapClient):
'''
Base class for all tap connectors using VizieR database. In the most
situations new connectors will contain just few class attributes and
there will not be need to write new or overwrite current methods.
Attributes
-----------
TAP_URL : str
Url to tap server
FILES_URL : str
Path to light curve files storage
TABLE : str
Name of queried table
RA : str
Name of right ascension column. It should be in degrees, anyway it is
necessary to convert them
DEC : str
Name of declination column. It should be in degrees, anyway it is
necessary to convert them
NAME : preformated str
Preformated string with dictionary keys.
EXAMPLE
--------
"{Field}.{Tile}.{Seqn}"
Keys represent name of columns
LC_FILE : str
Column name which can be used for obtaining light curve files.
By default it is set to None that means that is not necessary
to include any other column in order to get light curves
LC_META : dict
Meta data for light curve.
Example
--------
{"xlabel" : "Terrestrial time",
"xlabel_unit" : "days",
"ylabel" : "Flux",
"ylabel_unit" : "Electrons per second",
"color" : "N/A",
"invert_yaxis" : False}
Light curve is expected by default (magnitudes and Julian days)
TIME_COL : int
Number (starts with 0) of times column in data file
MAG_COL : int
Number (starts with 0) of magnitudes column in data file
ERR_COL : int
Number (starts with 0) of errors column in data file
ERR_MAG_RATIO : float:
Ratio between error and magnitude values
Note:
Added because of Corot Archive of Faint Stars.
IDENT_MAP : ordered dict
Ordered dictionary of "name of database" : "column name/s
of identifiers"
Example
--------
IDENT_MAP = {"MachoDb" : ("Field", "Tile", "Seqn") }
This allows NAME attribute to access these keys (see above)
and construct unique identifier for the star.
For one item dictionaries can be used simple dictionary, because
there is no need to keep order of items.
MORE_MAP : ordered dict
Ordered dictionary of "column names" : "key in new dictionary which
is be stored in Star object"
Example
--------
MORE_MAP = collections.OrderedDict((("Per", "period"),
("Class" , "var_type"),
("Jmag" , "j_mag"),
("Kmag" , "k_mag"),
("Hmag" , "h_mag")))
Methods
--------
This class inherits TapClient which brings methods for creating,
posting and returning tap queries. Methods of this class manage
results and create Star objects and light curves.
There is no need overwrite methods in inherited classes in the most
cases. Anyway obtaining light curves can be different for many
databases. In this case it would be sufficient to just implement
new _getLightCurve method.
Brief description of methods can be found below at their declaration.
'''
# Common attribute for all vizier tap connectors
TAP_URL = "http://tapvizier.u-strasbg.fr/TAPVizieR/tap"
# Most common attributes - can be overwritten #
RA = "RAJ2000"
DEC = "DEJ2000"
LC_FILE = None
TIME_COL = 0
MAG_COL = 1
ERR_COL = 2
ERR_MAG_RATIO = 1.
# Split at any number of white spaces
DELIM = None
def __init__(self, queries):
'''
Parameters
-----------
queries : list, dict
List of queries. Each query is dictionary of query parameters
and its values
'''
# Case of just one query
if isinstance(queries, dict):
queries = [queries]
self.queries = queries
[docs] def getStars(self, lc=False, **kwargs):
'''
Get star objects
Parameters
----------
lc : bool
Star is appended by light curve if True
Returns
-------
list
List of stars
'''
select = set([self.RA, self.DEC, self.LC_FILE] + self.MORE_MAP.keys())
for val in self.IDENT_MAP.values():
if isinstance(val, (tuple, list, set)):
for it in val:
select.add(it)
else:
select.add(val)
select = [s for s in select if s]
select = list(select)
raw_stars = []
for _que in self.queries:
que = _que.copy()
if "ra" in que and "dec" in que:
que[self.RA] = que.pop("ra")
que[self.DEC] = que.pop("dec")
if "delta" in que:
delta = que.pop("delta")
que[self.RA], que[self.DEC] = self._areaSearch(
que[self.RA], que[self.DEC], delta)
conditions = []
for key, value in que.iteritems():
if isinstance(value, (list, tuple)):
if len(value) == 2:
conditions.append((key, value[0], value[1]))
else:
raise QueryInputError("Invalid query range")
else:
if key != "nearest":
conditions.append((key, value))
query_inp = {"table": self.TABLE,
"select": select,
"conditions": conditions,
"URL": self.TAP_URL}
res = self.postQuery(query_inp)
if res:
raw_stars += res
return self._createStar(raw_stars, select, lc, **kwargs)
[docs] def getStarsWithCurves(self, **kwargs):
'''
Get star objects with light curves
Parameters
----------
kwargs : dict
Optional parameters which have effect just if certain database
provides this option.
For example CoRoT archive contains very large light curves,
so the dimension of light curve can be reduced by `max_bins`
keyword.
Returns
--------
list
List of stars with their light curves
'''
return self.getStars(lc=True, **kwargs)
def _createStar(self, data, keys, lc_opt, **kwargs):
"""
Create Star objects from query result
Parameters
----------
data : list
Result from query
keys : list
Name of columns of data
lc_opt : bool
Obtain light curves if True
Returns
--------
list
List of Star objects
"""
stars = []
for raw_star in data:
ident = {}
for key, value in self.IDENT_MAP.iteritems():
db_ident = {}
if isinstance(value, (list, tuple)):
for ide in value:
db_ident[ide] = raw_star[keys.index(ide)]
name = self.NAME.format(**db_ident)
else:
name = raw_star[keys.index(value)]
if not db_ident:
db_ident = None
ident[key] = {"name": name, "db_ident": db_ident}
more = {}
for key, value in self.MORE_MAP.iteritems():
more_item = raw_star[keys.index(key)]
more[value] = more_item
raw_star_dict = dict(zip(keys, raw_star))
star = Star(name=self.NAME.format(**raw_star_dict),
coo=(raw_star_dict[self.RA],
raw_star_dict[self.DEC]),
ident=ident,
more=more)
if lc_opt:
star.putLightCurve(self._getLightCurve(star=star,
file_name=raw_star_dict.get(
self.LC_FILE, None),
**kwargs))
stars.append(star)
return stars
def _getLightCurve(self, star, do_per=False, period_key="period",
**kwargs):
"""
Obtain the light curve
Parameters
-----------
star : Star instance
Star boy object constructed from query looking
for his light curve :)
do_per : bool
If True phase curve is returned instead
period_key : str
Key in star.more dictionary for value of period length
Returns
-------
tuple
Tuple of times, mags, errors lists
"""
if do_per:
period = star.more.get(period_key, None)
if period:
self.LC_META = {"xlabel": "Period",
"xlabel_unit": "phase"}
else:
period = 0
url = self.LC_URL.format(macho_name=star.name, period=period)
response = requests.get(url)
time = []
mag = []
err = []
lcs = []
for line in response.iter_lines():
line = line.strip()
if not line.startswith((" ", "#")):
parts = line.split(self.DELIM)
if len(parts) == 3:
time.append(float(parts[self.TIME_COL]))
mag.append(float(parts[self.MAG_COL]))
err.append(float(parts[self.ERR_COL]) / self.ERR_MAG_RATIO)
else:
if line.startswith("# m = -1"):
meta = self.LC_META.copy()
meta["color"] = "B"
elif line.startswith("# m = -2"):
lcs.append(LightCurve([time, mag, err], meta))
time, mag, err = [], [], []
meta = self.LC_META.copy()
meta["color"] = "R"
lcs.append(LightCurve([time, mag, err], meta))
return lcs


the and with patients {background symptoms COVID- for margin digestive {border-style px;} #ffffff;} that from The this were ahead are gastrointestinal liver print] viral Feb these SARS-CoV- coronavirus disease more not novel was common may px; symptoms. which who {font-family Mar RNA Wuhan, clinical font-size had have most patients, respiratory there virus available can case data double; has manifestations only study China: Elsevier [Epub abnormalities after been border-color border-width but cases characteristics could days fecal-oral online presented related solid; study, those transmission vomiting will {font-style {font-weight (.%), (/) ACE COVID-. China, Gastroenterol Med This also bold centre courier; critically diarrhea elevated em; including information negative one patients. pneumonia pt;} reported resource seen severe stool


--- layout: post title: How do I hire geniuses without sharing my idea? date: 2006-06-19 00:00:00 categories: amusing software-development ---
How do I hire geniuses without sharing my idea?: "Your idea, whatever it is, could very well be revolutionary. It could shift the paradigm, flip the hierarchy, subvert the hegemony. But it's also nothing special.
 (It's "You're past deadline.") But the second is "I have this great idea!"
Because that implies that hey, once the idea's there, the rest is just busywork, right?"


Coding Quiz Challenge
Try to answer the following code-related questions within the time limit. Keep in mind that incorrect answers will penalize your score/time by ten seconds!
The condition in an if / else statement is enclosed with ______.
All done!
Your final score is 22


The tech team is tasked with creating a smooth and functional website to display features of the app, promote magnify wellness and create a desktop website inclusive for all to spread mental health awareness. We continue to keep the website updated for the convenience of all our users and potential website viewers.
Andrew Munteanu is a 10th grade student in Romania, he loves web design and advocating for mental health, which is why he works as a Mentor and web development leader at Magnify
Ella is currently a student at Foothill High School in the Bay Area of California. She joined Magnify Wellness to help promote equal access to mental health resources for everyone.
Hi! I’m Vanessa and I’m a bootcamp graduate. I joined Magnify Wellness because mental health is important and I want to promote it across all ages.
My name Harrison Toppen-Ryan and I'm a current 18 year old freshman majoring in Computer Science and Business at Western Washington University in Bellingham, WA. I joined Magnify Wellness because I too struggled with mental health throughout high school and don't want to see other students go through the same struggles as I did.
Hi. My name is Hannah Lexer and I am a Junior at Springside Chestnut Hill Academy and I am 17 years old. I joined magnify to help promote free access to mental health resources.
My name is Katie Taylor, and I am a 2nd-year computer science major at Western Washington University, where I am also pursuing minors in linguistics and Spanish because I love languages! I joined Magnify because I am passionate about technology for social good and helping decrease suffering in the world.
My name is Labib Joarder and I’m currently attending the University of Washington. I joined Magnify Wellness because I am really interested in helping people my age with their mental health.
I’m Ayana Griffin and I’m an incoming freshman at Stanford University. I aim to help de-stigmatize mental health worldwide and ensure that resources are attainable by all.
Omar Dajani is a 19 year old sophomore at Fullerton College.
Ferduse Rahman is a computer science student at Hunter College who has a strong interest in making an impact through tech and art. She is a member of the tech and art team at Magnify Wellness.


Things at Starbucks
I have workedat Starbucks for the past 3 years.
I thought I would share some information and my thoughts about random things at Starbucks.
Syrups Ranking
- Toffee Nut
- Vanilla
- Cinnamon Dolce
- White Mocha
- Hazelnut
- Mocha
- Caramel
- Peppermint
Sizes
- Short
- Tall
- Grande
- Venti
- Trenta


Hello World
Start sampling
Stop sampling and plot histograms
Clear samples
MCMC_plots_div
text_output_div


- CACHE_MISS - Static variable in exception com.parse.ParseException
-
Error code indicating the result was not found in the cache.
- callFunction(String, Map<String, ?>) - Static method in class com.parse.ParseCloud
-
Calls a cloud function.
- callFunctionInBackground(String, Map<String, ?>) - Static method in class com.parse.ParseCloud
-
Calls a cloud function in the background.
- callFunctionInBackground(String, Map<String, ?>, FunctionCallback<T>) - Static method in class com.parse.ParseCloud
-
Calls a cloud function in the background.
- cancel() - Method in class com.parse.ParseFile
-
Cancels the current network request and callbacks whether it's uploading or fetching data from
the server.
- cancel() - Method in class com.parse.ParseQuery
-
Cancels the current network request (if one is running).
- clearAllCachedResults() - Static method in class com.parse.ParseQuery
-
Clears the cached result for all queries.
- clearCachedResult() - Method in class com.parse.ParseQuery
-
Removes the previously cached result for this query, forcing the next find() to hit the
network.
- clearExpiration() - Method in class com.parse.ParsePush
-
Clears both expiration values, indicating that the notification should never expire.
- com.parse - package com.parse
-
- com.parse.http - package com.parse.http
-
- COMMAND_UNAVAILABLE - Static variable in exception com.parse.ParseException
-
Error code indicating that the feature you tried to access is only available internally for
testing purposes.
- ConfigCallback - Interface in com.parse
-
A
ConfigCallback
is used to run code after
ParseConfig.getInBackground()
is used
to fetch a new configuration object from the server in a background thread.
- CONNECTION_FAILED - Static variable in exception com.parse.ParseException
-
Error code indicating the connection to the Parse servers failed.
- containsKey(String) - Method in class com.parse.ParseObject
-
Whether this object has a particular key.
- count() - Method in class com.parse.ParseQuery
-
Counts the number of objects that match this query.
- CountCallback - Interface in com.parse
-
A
CountCallback
is used to run code after a
ParseQuery
is used to count objects
matching a query in a background thread.
- countInBackground() - Method in class com.parse.ParseQuery
-
Counts the number of objects that match this query in a background thread.
- countInBackground(CountCallback) - Method in class com.parse.ParseQuery
-
Counts the number of objects that match this query in a background thread.
- create(String) - Static method in class com.parse.ParseObject
-
Creates a new ParseObject
based upon a class name.
- create(Class<T>) - Static method in class com.parse.ParseObject
-
Creates a new ParseObject
based upon a subclass type.
- createWithoutData(String, String) - Static method in class com.parse.ParseObject
-
Creates a reference to an existing ParseObject
for use in creating associations between
ParseObject
s.
- createWithoutData(Class<T>, String) - Static method in class com.parse.ParseObject
-
Creates a reference to an existing ParseObject
for use in creating associations between
ParseObject
s.
- DEFAULT_PIN - Static variable in class com.parse.ParseObject
-
Default name for pinning if not specified.
- delete() - Method in class com.parse.ParseObject
-
Deletes this object on the server.
- deleteAll(List<T>) - Static method in class com.parse.ParseObject
-
Deletes each object in the provided list.
- deleteAllInBackground(List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
-
Deletes each object in the provided list.
- deleteAllInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Deletes each object in the provided list.
- DeleteCallback - Interface in com.parse
-
A
DeleteCallback
is used to run code after saving a
ParseObject
in a background
thread.
- deleteEventually(DeleteCallback) - Method in class com.parse.ParseObject
-
Deletes this object from the server at some unspecified time in the future, even if Parse is
currently inaccessible.
- deleteEventually() - Method in class com.parse.ParseObject
-
Deletes this object from the server at some unspecified time in the future, even if Parse is
currently inaccessible.
- deleteInBackground() - Method in class com.parse.ParseObject
-
Deletes this object on the server in a background thread.
- deleteInBackground(DeleteCallback) - Method in class com.parse.ParseObject
-
Deletes this object on the server in a background thread.
- distanceInKilometersTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
-
Get distance between this point and another ParseGeoPoint
in kilometers.
- distanceInMilesTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
-
Get distance between this point and another ParseGeoPoint
in kilometers.
- distanceInRadiansTo(ParseGeoPoint) - Method in class com.parse.ParseGeoPoint
-
Get distance in radians between this point and another ParseGeoPoint
.
- done(ParseConfig, ParseException) - Method in interface com.parse.ConfigCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(int, ParseException) - Method in interface com.parse.CountCallback
-
Override this function with the code you want to run after the count is complete.
- done(ParseException) - Method in interface com.parse.DeleteCallback
-
Override this function with the code you want to run after the delete is complete.
- done(List<T>, ParseException) - Method in interface com.parse.FindCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(T, ParseException) - Method in interface com.parse.FunctionCallback
-
Override this function with the code you want to run after the cloud function is complete.
- done(T, ParseException) - Method in interface com.parse.GetCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(byte[], ParseException) - Method in interface com.parse.GetDataCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(InputStream, ParseException) - Method in interface com.parse.GetDataStreamCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(File, ParseException) - Method in interface com.parse.GetFileCallback
-
Override this function with the code you want to run after the fetch is complete.
- done(ParseGeoPoint, ParseException) - Method in interface com.parse.LocationCallback
-
Override this function with the code you want to run after the location fetch is complete.
- done(ParseUser, ParseException) - Method in interface com.parse.LogInCallback
-
Override this function with the code you want to run after the save is complete.
- done(ParseException) - Method in interface com.parse.LogOutCallback
-
Override this function with the code you want to run after the save is complete.
- done(Integer) - Method in interface com.parse.ProgressCallback
-
Override this function with your desired callback.
- done(ParseObject, ParseException) - Method in interface com.parse.RefreshCallback
-
Override this function with the code you want to run after the save is complete.
- done(ParseException) - Method in interface com.parse.RequestPasswordResetCallback
-
Override this function with the code you want to run after the request is complete.
- done(ParseException) - Method in interface com.parse.SaveCallback
-
Override this function with the code you want to run after the save is complete.
- done(ParseException) - Method in interface com.parse.SendCallback
-
Override this function with the code you want to run after the send is complete.
- done(ParseException) - Method in interface com.parse.SignUpCallback
-
Override this function with the code you want to run after the signUp is complete.
- DUPLICATE_VALUE - Static variable in exception com.parse.ParseException
-
Error code indicating that a unique field was given a value that is already taken.
- fetch() - Method in class com.parse.ParseObject
-
Fetches this object with the data from the server.
- fetch() - Method in class com.parse.ParseUser
-
- fetchAll(List<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects in the provided list.
- fetchAllIfNeeded(List<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects that don't have data in the provided list.
- fetchAllIfNeededInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects that don't have data in the provided list in the background.
- fetchAllIfNeededInBackground(List<T>, FindCallback<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects that don't have data in the provided list in the background.
- fetchAllInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects in the provided list in the background.
- fetchAllInBackground(List<T>, FindCallback<T>) - Static method in class com.parse.ParseObject
-
Fetches all the objects in the provided list in the background.
- fetchFromLocalDatastore() - Method in class com.parse.ParseObject
-
Loads data from the local datastore into this object, if it has not been fetched from the
server already.
- fetchFromLocalDatastoreInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
-
Loads data from the local datastore into this object, if it has not been fetched from the
server already.
- fetchIfNeeded() - Method in class com.parse.ParseObject
-
If this ParseObject
has not been fetched (i.e.
- fetchIfNeeded() - Method in class com.parse.ParseUser
-
- fetchIfNeededInBackground() - Method in class com.parse.ParseObject
-
If this ParseObject
has not been fetched (i.e.
- fetchIfNeededInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
-
If this ParseObject
has not been fetched (i.e.
- fetchInBackground() - Method in class com.parse.ParseObject
-
Fetches this object with the data from the server in a background thread.
- fetchInBackground(GetCallback<T>) - Method in class com.parse.ParseObject
-
Fetches this object with the data from the server in a background thread.
- FILE_DELETE_ERROR - Static variable in exception com.parse.ParseException
-
Error code indicating that deleting a file failed.
- find() - Method in class com.parse.ParseQuery
-
Retrieves a list of
ParseObject
s that satisfy this query.
- FindCallback<T extends ParseObject> - Interface in com.parse
-
A
FindCallback
is used to run code after a
ParseQuery
is used to fetch a list of
ParseObject
s in a background thread.
- findInBackground() - Method in class com.parse.ParseQuery
-
Retrieves a list of
ParseObject
s that satisfy this query from the source in a
background thread.
- findInBackground(FindCallback<T>) - Method in class com.parse.ParseQuery
-
Retrieves a list of
ParseObject
s that satisfy this query from the source in a
background thread.
- fromLocalDatastore() - Method in class com.parse.ParseQuery
-
Change the source of this query to all pinned objects.
- fromPin() - Method in class com.parse.ParseQuery
-
Change the source of this query to the default group of pinned objects.
- fromPin(String) - Method in class com.parse.ParseQuery
-
Change the source of this query to a specific group of pinned objects.
- fromString(String) - Static method in enum com.parse.http.ParseHttpRequest.Method
-
Creates a Method
from the given string.
- FunctionCallback<T> - Interface in com.parse
-
- get() - Static method in class com.parse.ParseConfig
-
Fetches a new configuration object from the server.
- get(String) - Method in class com.parse.ParseConfig
-
Access a value.
- get(String, Object) - Method in class com.parse.ParseConfig
-
Access a value, returning a default value if the key doesn't exist.
- get(String) - Method in class com.parse.ParseObject
-
Access a value.
- get(String) - Method in class com.parse.ParseQuery
-
Constructs a
ParseObject
whose id is already known by fetching data from the source.
- getACL() - Method in class com.parse.ParseObject
-
Access the
ParseACL
governing this object.
- getActivity(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
-
- getAllHeaders() - Method in class com.parse.http.ParseHttpRequest
-
Gets all headers from this ParseHttpRequest
.
- getAllHeaders() - Method in class com.parse.http.ParseHttpResponse
-
Gets all headers from this ParseHttpResponse
.
- getBody() - Method in class com.parse.http.ParseHttpRequest
-
Gets http body of this ParseHttpRequest
.
- getBoolean(String) - Method in class com.parse.ParseConfig
-
Access a boolean
value.
- getBoolean(String, boolean) - Method in class com.parse.ParseConfig
-
Access a boolean
value, returning a default value if it doesn't exist.
- getBoolean(String) - Method in class com.parse.ParseObject
-
Access a boolean
value.
- getBytes(String) - Method in class com.parse.ParseObject
-
Access a byte[]
value.
- getCachePolicy() - Method in class com.parse.ParseQuery
-
- GetCallback<T extends ParseObject> - Interface in com.parse
-
A
GetCallback
is used to run code after a
ParseQuery
is used to fetch a
ParseObject
in a background thread.
- getClassName() - Method in class com.parse.ParseObject
-
Accessor to the class name.
- getClassName() - Method in class com.parse.ParseQuery
-
Accessor for the class name.
- getCode() - Method in exception com.parse.ParseException
-
Access the code for this error.
- getContent() - Method in class com.parse.http.ParseHttpBody
-
Returns the content of this body.
- getContent() - Method in class com.parse.http.ParseHttpResponse
-
Returns the content of the ParseHttpResponse
's body.
- getContentLength() - Method in class com.parse.http.ParseHttpBody
-
- getContentType() - Method in class com.parse.http.ParseHttpBody
-
Returns the Content-Type
of this body.
- getContentType() - Method in class com.parse.http.ParseHttpResponse
-
Gets the Content-Type
of this ParseHttpResponse
.
- getCreatedAt() - Method in class com.parse.ParseObject
-
This reports time as the server sees it, so that if you create a
ParseObject
, then wait a
while, and then call
ParseObject.save()
, the creation time will be the time of the first
ParseObject.save()
call rather than the time the object was created locally.
- getCurrentConfig() - Static method in class com.parse.ParseConfig
-
Retrieves the most recently-fetched configuration object, either from memory or
disk if necessary.
- getCurrentInstallation() - Static method in class com.parse.ParseInstallation
-
- getCurrentLocationInBackground(long) - Static method in class com.parse.ParseGeoPoint
-
Asynchronously fetches the current location of the device.
- getCurrentLocationInBackground(long, LocationCallback) - Static method in class com.parse.ParseGeoPoint
-
Asynchronously fetches the current location of the device.
- getCurrentLocationInBackground(long, Criteria) - Static method in class com.parse.ParseGeoPoint
-
Asynchronously fetches the current location of the device.
- getCurrentLocationInBackground(long, Criteria, LocationCallback) - Static method in class com.parse.ParseGeoPoint
-
Asynchronously fetches the current location of the device.
- getCurrentSessionInBackground() - Static method in class com.parse.ParseSession
-
Get the current ParseSession
object related to the current user.
- getCurrentSessionInBackground(GetCallback<ParseSession>) - Static method in class com.parse.ParseSession
-
Get the current ParseSession
object related to the current user.
- getCurrentUser() - Static method in class com.parse.ParseUser
-
This retrieves the currently logged in ParseUser with a valid session, either from memory or
disk if necessary.
- getData() - Method in class com.parse.ParseFile
-
Synchronously gets the data from cache if available or fetches its content from the network.
- GetDataCallback - Interface in com.parse
-
A
GetDataCallback
is used to run code after a
ParseFile
fetches its data on a
background thread.
- getDataInBackground(ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data from cache if available or fetches its content from the network.
- getDataInBackground() - Method in class com.parse.ParseFile
-
Asynchronously gets the data from cache if available or fetches its content from the network.
- getDataInBackground(GetDataCallback, ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data from cache if available or fetches its content from the network.
- getDataInBackground(GetDataCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data from cache if available or fetches its content from the network.
- getDataStream() - Method in class com.parse.ParseFile
-
Synchronously gets the data stream from cached file if available or fetches its content from
the network, saves the content as cached file and returns the data stream of the cached file.
- GetDataStreamCallback - Interface in com.parse
-
A
GetDataStreamCallback
is used to run code after a
ParseFile
fetches its data on
a background thread.
- getDataStreamInBackground(ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data stream from cached file if available or fetches its content from
the network, saves the content as cached file and returns the data stream of the cached file.
- getDataStreamInBackground() - Method in class com.parse.ParseFile
-
Asynchronously gets the data stream from cached file if available or fetches its content from
the network, saves the content as cached file and returns the data stream of the cached file.
- getDataStreamInBackground(GetDataStreamCallback, ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data stream from cached file if available or fetches its content from
the network, saves the content as cached file and returns the data stream of the cached file.
- getDataStreamInBackground(GetDataStreamCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the data stream from cached file if available or fetches its content from
the network, saves the content as cached file and returns the data stream of the cached file.
- getDate(String) - Method in class com.parse.ParseConfig
-
- getDate(String, Date) - Method in class com.parse.ParseConfig
-
Access a
Date
value, returning a default value if it doesn't exist.
- getDate(String) - Method in class com.parse.ParseObject
-
- getDouble(String) - Method in class com.parse.ParseConfig
-
Access a double
value.
- getDouble(String, double) - Method in class com.parse.ParseConfig
-
Access a double
value, returning a default value if it doesn't exist.
- getDouble(String) - Method in class com.parse.ParseObject
-
Access a double
value.
- getEmail() - Method in class com.parse.ParseUser
-
Retrieves the email address.
- getFile() - Method in class com.parse.ParseFile
-
Synchronously gets the file pointer from cache if available or fetches its content from the
network.
- GetFileCallback - Interface in com.parse
-
A
GetFileCallback
is used to run code after a
ParseFile
fetches its data on
a background thread.
- getFileInBackground(ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the file pointer from cache if available or fetches its content from the
network.
- getFileInBackground() - Method in class com.parse.ParseFile
-
Asynchronously gets the file pointer from cache if available or fetches its content from the
network.
- getFileInBackground(GetFileCallback, ProgressCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the file pointer from cache if available or fetches its content from the
network.
- getFileInBackground(GetFileCallback) - Method in class com.parse.ParseFile
-
Asynchronously gets the file pointer from cache if available or fetches its content from the
network.
- getFirst() - Method in class com.parse.ParseQuery
-
Retrieves at most one
ParseObject
that satisfies this query.
- getFirstInBackground() - Method in class com.parse.ParseQuery
-
Retrieves at most one
ParseObject
that satisfies this query from the source in a
background thread.
- getFirstInBackground(GetCallback<T>) - Method in class com.parse.ParseQuery
-
Retrieves at most one
ParseObject
that satisfies this query from the source in a
background thread.
- getHeader(String) - Method in class com.parse.http.ParseHttpRequest
-
Retrieves the header value from this ParseHttpRequest
by the given header name.
- getHeader(String) - Method in class com.parse.http.ParseHttpResponse
-
Retrieves the header value from this ParseHttpResponse
by the given header name.
- getInBackground(ConfigCallback) - Static method in class com.parse.ParseConfig
-
Fetches a new configuration object from the server in a background thread.
- getInBackground() - Static method in class com.parse.ParseConfig
-
Fetches a new configuration object from the server in a background thread.
- getInBackground(String) - Method in class com.parse.ParseQuery
-
Constructs a
ParseObject
whose id is already known by fetching data from the source in a
background thread.
- getInBackground(String, GetCallback<T>) - Method in class com.parse.ParseQuery
-
Constructs a
ParseObject
whose id is already known by fetching data from the source in
a background thread.
- getInstallationId() - Method in class com.parse.ParseInstallation
-
Returns the unique ID of this installation.
- getInt(String) - Method in class com.parse.ParseConfig
-
Access an int
value.
- getInt(String, int) - Method in class com.parse.ParseConfig
-
Access an int
value, returning a default value if it doesn't exist.
- getInt(String) - Method in class com.parse.ParseObject
-
Access an int
value.
- getJSONArray(String) - Method in class com.parse.ParseConfig
-
- getJSONArray(String, JSONArray) - Method in class com.parse.ParseConfig
-
Access a
JSONArray
value, returning a default value if it doesn't exist.
- getJSONArray(String) - Method in class com.parse.ParseObject
-
- getJSONObject(String) - Method in class com.parse.ParseConfig
-
- getJSONObject(String, JSONObject) - Method in class com.parse.ParseConfig
-
Access a
JSONObject
value, returning a default value if it doesn't exist.
- getJSONObject(String) - Method in class com.parse.ParseObject
-
- getLargeIcon(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
-
- getLatitude() - Method in class com.parse.ParseGeoPoint
-
Get latitude.
- getLimit() - Method in class com.parse.ParseQuery
-
Accessor for the limit.
- getList(String) - Method in class com.parse.ParseConfig
-
- getList(String, List<T>) - Method in class com.parse.ParseConfig
-
Access a
List
value, returning a default value if it doesn't exist.
- getList(String) - Method in class com.parse.ParseObject
-
- getLogLevel() - Static method in class com.parse.Parse
-
Returns the level of logging that will be displayed.
- getLong(String) - Method in class com.parse.ParseConfig
-
Access a long
value.
- getLong(String, long) - Method in class com.parse.ParseConfig
-
Access a long
value, returning a default value if it doesn't exist.
- getLong(String) - Method in class com.parse.ParseObject
-
Access a long
value.
- getLongitude() - Method in class com.parse.ParseGeoPoint
-
Get longitude.
- getMap(String) - Method in class com.parse.ParseConfig
-
- getMap(String, Map<String, V>) - Method in class com.parse.ParseConfig
-
Access a
Map
value, returning a default value if it doesn't exist.
- getMap(String) - Method in class com.parse.ParseObject
-
- getMaxCacheAge() - Method in class com.parse.ParseQuery
-
Gets the maximum age of cached data that will be considered in this query.
- getMethod() - Method in class com.parse.http.ParseHttpRequest
-
Gets the Method
of this ParseHttpRequest
.
- getName() - Method in class com.parse.ParseFile
-
The filename.
- getName() - Method in class com.parse.ParseRole
-
Gets the name of the role.
- getNotification(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
-
- getNumber(String) - Method in class com.parse.ParseConfig
-
Access a numerical value.
- getNumber(String, Number) - Method in class com.parse.ParseConfig
-
Access a numerical value, returning a default value if it doesn't exist.
- getNumber(String) - Method in class com.parse.ParseObject
-
- getObjectId() - Method in class com.parse.ParseObject
-
Accessor to the object id.
- getParseFile(String) - Method in class com.parse.ParseConfig
-
- getParseFile(String, ParseFile) - Method in class com.parse.ParseConfig
-
Access a
ParseFile
value, returning a default value if it doesn't exist.
- getParseFile(String) - Method in class com.parse.ParseObject
-
- getParseGeoPoint(String) - Method in class com.parse.ParseConfig
-
- getParseGeoPoint(String, ParseGeoPoint) - Method in class com.parse.ParseConfig
-
Access a
ParseGeoPoint
value, returning a default value if it doesn't exist.
- getParseGeoPoint(String) - Method in class com.parse.ParseObject
-
- getParseObject(String) - Method in class com.parse.ParseObject
-
Access a ParseObject
value.
- getParseUser(String) - Method in class com.parse.ParseObject
-
- getPublicReadAccess() - Method in class com.parse.ParseACL
-
Get whether the public is allowed to read this object.
- getPublicWriteAccess() - Method in class com.parse.ParseACL
-
Set whether the public is allowed to write this object.
- getQuery() - Static method in class com.parse.ParseInstallation
-
Constructs a query for ParseInstallation
.
- getQuery(Class<T>) - Static method in class com.parse.ParseQuery
-
Creates a new query for the given
ParseObject
subclass type.
- getQuery(String) - Static method in class com.parse.ParseQuery
-
Creates a new query for the given class name.
- getQuery() - Method in class com.parse.ParseRelation
-
Gets a query that can be used to query the objects in this relation.
- getQuery() - Static method in class com.parse.ParseRole
-
- getQuery() - Static method in class com.parse.ParseSession
-
Constructs a query for ParseSession
.
- getQuery() - Static method in class com.parse.ParseUser
-
Constructs a query for ParseUser
.
- getReadAccess(String) - Method in class com.parse.ParseACL
-
Get whether the given user id is *explicitly* allowed to read this object.
- getReadAccess(ParseUser) - Method in class com.parse.ParseACL
-
Get whether the given user id is *explicitly* allowed to read this object.
- getReasonPhrase() - Method in class com.parse.http.ParseHttpResponse
-
Gets the reason phrase of this ParseHttpResponse
.
- getRelation(String) - Method in class com.parse.ParseObject
-
- getRequest() - Method in interface com.parse.http.ParseNetworkInterceptor.Chain
-
- getRoleReadAccess(String) - Method in class com.parse.ParseACL
-
Get whether users belonging to the role with the given roleName are allowed to read this
object.
- getRoleReadAccess(ParseRole) - Method in class com.parse.ParseACL
-
Get whether users belonging to the given role are allowed to read this object.
- getRoles() - Method in class com.parse.ParseRole
-
- getRoleWriteAccess(String) - Method in class com.parse.ParseACL
-
Get whether users belonging to the role with the given roleName are allowed to write this
object.
- getRoleWriteAccess(ParseRole) - Method in class com.parse.ParseACL
-
Get whether users belonging to the given role are allowed to write this object.
- getSessionToken() - Method in class com.parse.ParseSession
-
- getSessionToken() - Method in class com.parse.ParseUser
-
- getSkip() - Method in class com.parse.ParseQuery
-
Accessor for the skip value.
- getSmallIconId(Context, Intent) - Method in class com.parse.ParsePushBroadcastReceiver
-
- getStatusCode() - Method in class com.parse.http.ParseHttpResponse
-
Gets the status code of this ParseHttpResponse
.
- getString(String) - Method in class com.parse.ParseConfig
-
- getString(String, String) - Method in class com.parse.ParseConfig
-
Access a
String
value, returning a default value if it doesn't exist.
- getString(String) - Method in class com.parse.ParseObject
-
- getTotalSize() - Method in class com.parse.http.ParseHttpResponse
-
Returns the size of the ParseHttpResponse
's body.
- getUpdatedAt() - Method in class com.parse.ParseObject
-
This reports time as the server sees it, so that if you make changes to a
ParseObject
, then
wait a while, and then call
ParseObject.save()
, the updated time will be the time of the
ParseObject.save()
call rather than the time the object was changed locally.
- getUrl() - Method in class com.parse.http.ParseHttpRequest
-
Gets the url of this ParseHttpRequest
.
- getUrl() - Method in class com.parse.ParseFile
-
This returns the url of the file.
- getUsername() - Method in class com.parse.ParseUser
-
Retrieves the username.
- getUserQuery() - Static method in class com.parse.ParseQuery
-
- getUsers() - Method in class com.parse.ParseRole
-
- getWriteAccess(String) - Method in class com.parse.ParseACL
-
Get whether the given user id is *explicitly* allowed to write this object.
- getWriteAccess(ParseUser) - Method in class com.parse.ParseACL
-
Get whether the given user id is *explicitly* allowed to write this object.
- ignoreACLs() - Method in class com.parse.ParseQuery
-
Ignore ACLs when querying from the Local Datastore.
- include(String) - Method in class com.parse.ParseQuery
-
- INCORRECT_TYPE - Static variable in exception com.parse.ParseException
-
Error code indicating that a field was set to an inconsistent type.
- increment(String) - Method in class com.parse.ParseObject
-
Atomically increments the given key by 1.
- increment(String, Number) - Method in class com.parse.ParseObject
-
Atomically increments the given key by the given number.
- initialize(Context) - Static method in class com.parse.Parse
-
Authenticates this client as belonging to your application.
- initialize(Context, String, String) - Static method in class com.parse.Parse
-
Authenticates this client as belonging to your application.
- intercept(ParseNetworkInterceptor.Chain) - Method in interface com.parse.http.ParseNetworkInterceptor
-
- INTERNAL_SERVER_ERROR - Static variable in exception com.parse.ParseException
-
Error code indicating that something has gone wrong with the server.
- INVALID_ACL - Static variable in exception com.parse.ParseException
-
Error code indicating an invalid ACL was provided.
- INVALID_CHANNEL_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating an invalid channel name.
- INVALID_CLASS_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating a missing or invalid classname.
- INVALID_EMAIL_ADDRESS - Static variable in exception com.parse.ParseException
-
Error code indicating that the email address was invalid.
- INVALID_EVENT_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating that the provided event name is invalid.
- INVALID_FILE_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating that an invalid filename was used for ParseFile.
- INVALID_JSON - Static variable in exception com.parse.ParseException
-
Error code indicating that badly formed JSON was received upstream.
- INVALID_KEY_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating an invalid key name.
- INVALID_LINKED_SESSION - Static variable in exception com.parse.ParseException
-
Error code indicating that a user with a linked (e.g.
- INVALID_NESTED_KEY - Static variable in exception com.parse.ParseException
-
Error code indicating that an invalid key was used in a nested JSONObject.
- INVALID_POINTER - Static variable in exception com.parse.ParseException
-
Error code indicating a malformed pointer.
- INVALID_QUERY - Static variable in exception com.parse.ParseException
-
Error code indicating you tried to query with a datatype that doesn't support it, like exact
matching an array or object.
- INVALID_ROLE_NAME - Static variable in exception com.parse.ParseException
-
Error code indicating that a role's name is invalid.
- INVALID_SESSION_TOKEN - Static variable in exception com.parse.ParseException
-
Error code indicating that the current session token is invalid.
- isAuthenticated() - Method in class com.parse.ParseUser
-
Whether the ParseUser has been authenticated on this device.
- isDataAvailable() - Method in class com.parse.ParseFile
-
Whether the file has available data.
- isDataAvailable() - Method in class com.parse.ParseObject
-
Gets whether the ParseObject
has been fetched.
- isDirty() - Method in class com.parse.ParseFile
-
Whether the file still needs to be saved.
- isDirty() - Method in class com.parse.ParseObject
-
Whether any key-value pair in this object (or its children) has been added/updated/removed and
not saved yet.
- isDirty(String) - Method in class com.parse.ParseObject
-
Whether a value associated with a key has been added/updated/removed and not saved yet.
- isLinked(ParseUser) - Static method in class com.parse.ParseAnonymousUtils
-
Whether the user is logged in anonymously.
- isLinked(String) - Method in class com.parse.ParseUser
-
Indicates whether this user is linked with a third party authentication source.
- isNew() - Method in class com.parse.ParseUser
-
Indicates whether this
ParseUser
was created during this session through a call to
ParseUser.signUp()
or by logging in with a linked service such as Facebook.
- Parse - Class in com.parse
-
The Parse
class contains static functions that handle global configuration for the Parse
library.
- ParseACL - Class in com.parse
-
A ParseACL
is used to control which users can access or modify a particular object.
- ParseACL() - Constructor for class com.parse.ParseACL
-
Creates an ACL with no permissions granted.
- ParseACL(ParseUser) - Constructor for class com.parse.ParseACL
-
Creates an ACL where only the provided user has access.
- ParseAnalytics - Class in com.parse
-
The ParseAnalytics
class provides an interface to Parse's logging and analytics backend.
- ParseAnalytics() - Constructor for class com.parse.ParseAnalytics
-
- ParseAnonymousUtils - Class in com.parse
-
Provides utility functions for working with Anonymously logged-in users.
- ParseClassName - Annotation Type in com.parse
-
Associates a class name for a subclass of ParseObject.
- ParseCloud - Class in com.parse
-
The ParseCloud class defines provides methods for interacting with Parse Cloud Functions.
- ParseConfig - Class in com.parse
-
The ParseConfig
is a local representation of configuration data that can be set from the
Parse dashboard.
- ParseException - Exception in com.parse
-
A ParseException gets raised whenever a
ParseObject
issues an invalid request, such as
deleting or editing an object that no longer exists on the server, or when there is a network
failure preventing communication with the Parse server.
- ParseException(int, String) - Constructor for exception com.parse.ParseException
-
Construct a new ParseException with a particular error code.
- ParseException(int, String, Throwable) - Constructor for exception com.parse.ParseException
-
Construct a new ParseException with an external cause.
- ParseException(Throwable) - Constructor for exception com.parse.ParseException
-
Construct a new ParseException with an external cause.
- ParseFile - Class in com.parse
-
ParseFile
is a local representation of a file that is saved to the Parse cloud.
- ParseFile(File) - Constructor for class com.parse.ParseFile
-
Creates a new file from a file pointer.
- ParseFile(File, String) - Constructor for class com.parse.ParseFile
-
Creates a new file from a file pointer, and content type.
- ParseFile(String, byte[], String) - Constructor for class com.parse.ParseFile
-
Creates a new file from a byte array, file name, and content type.
- ParseFile(byte[]) - Constructor for class com.parse.ParseFile
-
Creates a new file from a byte array.
- ParseFile(String, byte[]) - Constructor for class com.parse.ParseFile
-
Creates a new file from a byte array and a name.
- ParseFile(byte[], String) - Constructor for class com.parse.ParseFile
-
Creates a new file from a byte array, and content type.
- ParseGeoPoint - Class in com.parse
-
ParseGeoPoint
represents a latitude / longitude point that may be associated with a key
in a
ParseObject
or used as a reference point for geo queries.
- ParseGeoPoint() - Constructor for class com.parse.ParseGeoPoint
-
Creates a new default point with latitude and longitude set to 0.0.
- ParseGeoPoint(double, double) - Constructor for class com.parse.ParseGeoPoint
-
Creates a new point with the specified latitude and longitude.
- ParseHttpBody - Class in com.parse.http
-
The base interface of a http body.
- ParseHttpBody(String, long) - Constructor for class com.parse.http.ParseHttpBody
-
Creates an ParseHttpBody
with given Content-Type
and Content-Length
.
- ParseHttpRequest - Class in com.parse.http
-
The http request we send to parse server.
- ParseHttpRequest.Builder - Class in com.parse.http
-
Builder of ParseHttpRequest
.
- ParseHttpRequest.Builder() - Constructor for class com.parse.http.ParseHttpRequest.Builder
-
Creates an empty Builder
.
- ParseHttpRequest.Builder(ParseHttpRequest) - Constructor for class com.parse.http.ParseHttpRequest.Builder
-
Creates a new Builder
based on the given ParseHttpRequest
.
- ParseHttpRequest.Method - Enum in com.parse.http
-
The ParseHttpRequest
method type.
- ParseHttpResponse - Class in com.parse.http
-
The http response we receive from parse server.
- ParseHttpResponse.Builder - Class in com.parse.http
-
Builder for ParseHttpResponse
.
- ParseHttpResponse.Builder() - Constructor for class com.parse.http.ParseHttpResponse.Builder
-
Creates an empty Builder
.
- ParseHttpResponse.Builder(ParseHttpResponse) - Constructor for class com.parse.http.ParseHttpResponse.Builder
-
Makes a new Builder
based on the given ParseHttpResponse
.
- ParseInstallation - Class in com.parse
-
The ParseInstallation
is a local representation of installation data that can be saved
and retrieved from the Parse cloud.
- ParseInstallation() - Constructor for class com.parse.ParseInstallation
-
- ParseNetworkInterceptor - Interface in com.parse.http
-
ParseNetworkInterceptor
is used to observe requests going out and the corresponding
responses coming back in.
- ParseNetworkInterceptor.Chain - Interface in com.parse.http
-
Chain
is used to chain the interceptors.
- ParseObject - Class in com.parse
-
The ParseObject
is a local representation of data that can be saved and retrieved from
the Parse cloud.
- ParseObject() - Constructor for class com.parse.ParseObject
-
The base class constructor to call in subclasses.
- ParseObject(String) - Constructor for class com.parse.ParseObject
-
Constructs a new ParseObject
with no data in it.
- ParsePush - Class in com.parse
-
The ParsePush
is a local representation of data that can be sent as a push notification.
- ParsePush() - Constructor for class com.parse.ParsePush
-
Creates a new push notification.
- ParsePushBroadcastReceiver - Class in com.parse
-
- ParsePushBroadcastReceiver() - Constructor for class com.parse.ParsePushBroadcastReceiver
-
- ParseQuery<T extends ParseObject> - Class in com.parse
-
The
ParseQuery
class defines a query that is used to fetch
ParseObject
s.
- ParseQuery(Class<T>) - Constructor for class com.parse.ParseQuery
-
- ParseQuery(String) - Constructor for class com.parse.ParseQuery
-
Constructs a query.
- ParseQuery.CachePolicy - Enum in com.parse
-
CachePolicy
specifies different caching policies that could be used with
ParseQuery
.
- ParseRelation<T extends ParseObject> - Class in com.parse
-
A class that is used to access all of the children of a many-to-many relationship.
- ParseRole - Class in com.parse
-
Represents a Role on the Parse server.
- ParseRole(String) - Constructor for class com.parse.ParseRole
-
Constructs a new ParseRole with the given name.
- ParseRole(String, ParseACL) - Constructor for class com.parse.ParseRole
-
Constructs a new ParseRole with the given name.
- ParseSession - Class in com.parse
-
The ParseSession
is a local representation of session data that can be saved
and retrieved from the Parse cloud.
- ParseSession() - Constructor for class com.parse.ParseSession
-
- ParseUser - Class in com.parse
-
The ParseUser
is a local representation of user data that can be saved and retrieved from
the Parse cloud.
- ParseUser() - Constructor for class com.parse.ParseUser
-
Constructs a new ParseUser with no data in it.
- PASSWORD_MISSING - Static variable in exception com.parse.ParseException
-
Error code indicating that the password is missing or empty.
- pin(String) - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- pin() - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- pinAll(String, List<T>) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinAll(List<T>) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinAllInBackground(String, List<T>, SaveCallback) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinAllInBackground(String, List<T>) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinAllInBackground(List<T>, SaveCallback) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinAllInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Stores the objects and every object they point to in the local datastore, recursively.
- pinInBackground(String, SaveCallback) - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- pinInBackground(String) - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- pinInBackground(SaveCallback) - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- pinInBackground() - Method in class com.parse.ParseObject
-
Stores the object and every object it points to in the local datastore, recursively.
- proceed(ParseHttpRequest) - Method in interface com.parse.http.ParseNetworkInterceptor.Chain
-
- ProgressCallback - Interface in com.parse
-
A
ProgressCallback
is used to get upload or download progress of a
ParseFile
action.
- PROPERTY_PUSH_ICON - Static variable in class com.parse.ParsePushBroadcastReceiver
-
The name of the meta-data field used to override the icon used in Notifications.
- PUSH_MISCONFIGURED - Static variable in exception com.parse.ParseException
-
Error code indicating that push is misconfigured.
- PushService - Class in com.parse
-
A service to listen for push notifications.
- PushService() - Constructor for class com.parse.PushService
-
Client code should not construct a PushService directly.
- put(String, Object) - Method in class com.parse.ParseObject
-
Add a key-value pair to this object.
- put(String, Object) - Method in class com.parse.ParseRole
-
- put(String, Object) - Method in class com.parse.ParseUser
-
- save() - Method in class com.parse.ParseFile
-
Saves the file to the Parse cloud synchronously.
- save() - Method in class com.parse.ParseObject
-
Saves this object to the server.
- saveAll(List<T>) - Static method in class com.parse.ParseObject
-
Saves each object in the provided list.
- saveAllInBackground(List<T>, SaveCallback) - Static method in class com.parse.ParseObject
-
Saves each object in the provided list to the server in a background thread.
- saveAllInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Saves each object in the provided list to the server in a background thread.
- SaveCallback - Interface in com.parse
-
A
SaveCallback
is used to run code after saving a
ParseObject
in a background
thread.
- saveEventually(SaveCallback) - Method in class com.parse.ParseObject
-
Saves this object to the server at some unspecified time in the future, even if Parse is
currently inaccessible.
- saveEventually() - Method in class com.parse.ParseObject
-
Saves this object to the server at some unspecified time in the future, even if Parse is
currently inaccessible.
- saveInBackground(ProgressCallback) - Method in class com.parse.ParseFile
-
Saves the file to the Parse cloud in a background thread.
- saveInBackground() - Method in class com.parse.ParseFile
-
Saves the file to the Parse cloud in a background thread.
- saveInBackground(SaveCallback, ProgressCallback) - Method in class com.parse.ParseFile
-
Saves the file to the Parse cloud in a background thread.
- saveInBackground(SaveCallback) - Method in class com.parse.ParseFile
-
Saves the file to the Parse cloud in a background thread.
- saveInBackground() - Method in class com.parse.ParseObject
-
Saves this object to the server in a background thread.
- saveInBackground(SaveCallback) - Method in class com.parse.ParseObject
-
Saves this object to the server in a background thread.
- SCRIPT_ERROR - Static variable in exception com.parse.ParseException
-
Error code indicating that a Cloud Code script failed.
- selectKeys(Collection<String>) - Method in class com.parse.ParseQuery
-
Restrict the fields of returned
ParseObject
s to only include the provided keys.
- send() - Method in class com.parse.ParsePush
-
Sends this push notification while blocking this thread until the push notification has
successfully reached the Parse servers.
- SendCallback - Interface in com.parse
-
A
SendCallback
is used to run code after sending a
ParsePush
in a background
thread.
- sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>) - Static method in class com.parse.ParsePush
-
A helper method to concisely send a push to a query.
- sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>, SendCallback) - Static method in class com.parse.ParsePush
-
A helper method to concisely send a push to a query.
- sendInBackground() - Method in class com.parse.ParsePush
-
Sends this push notification in a background thread.
- sendInBackground(SendCallback) - Method in class com.parse.ParsePush
-
Sends this push notification in a background thread.
- sendMessageInBackground(String, ParseQuery<ParseInstallation>) - Static method in class com.parse.ParsePush
-
A helper method to concisely send a push message to a query.
- sendMessageInBackground(String, ParseQuery<ParseInstallation>, SendCallback) - Static method in class com.parse.ParsePush
-
A helper method to concisely send a push message to a query.
- SESSION_MISSING - Static variable in exception com.parse.ParseException
-
Error code indicating that a user object without a valid session could not be altered.
- setACL(ParseACL) - Method in class com.parse.ParseObject
-
- setBody(ParseHttpBody) - Method in class com.parse.http.ParseHttpRequest.Builder
-
- setCachePolicy(ParseQuery.CachePolicy) - Method in class com.parse.ParseQuery
-
Change the caching policy of this query.
- setChannel(String) - Method in class com.parse.ParsePush
-
Sets the channel on which this push notification will be sent.
- setChannels(Collection<String>) - Method in class com.parse.ParsePush
-
Sets the collection of channels on which this push notification will be sent.
- setContent(InputStream) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets the content of this Builder
.
- setContentType(String) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets the content type of this Builder
.
- setData(JSONObject) - Method in class com.parse.ParsePush
-
Sets the entire data of the push message.
- setDefaultACL(ParseACL, boolean) - Static method in class com.parse.ParseACL
-
Sets a default ACL that will be applied to all
ParseObject
s when they are created.
- setEmail(String) - Method in class com.parse.ParseUser
-
Sets the email address.
- setExpirationTime(long) - Method in class com.parse.ParsePush
-
Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC).
- setExpirationTimeInterval(long) - Method in class com.parse.ParsePush
-
Sets the time interval after which this notification should expire, in seconds.
- setHeaders(Map<String, String>) - Method in class com.parse.http.ParseHttpRequest.Builder
-
Sets headers of this Builder
.
- setHeaders(Map<String, String>) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets headers of this Builder
.
- setLatitude(double) - Method in class com.parse.ParseGeoPoint
-
Set latitude.
- setLimit(int) - Method in class com.parse.ParseQuery
-
Controls the maximum number of results that are returned.
- setLogLevel(int) - Static method in class com.parse.Parse
-
Sets the level of logging to display, where each level includes all those below it.
- setLongitude(double) - Method in class com.parse.ParseGeoPoint
-
Set longitude.
- setMaxCacheAge(long) - Method in class com.parse.ParseQuery
-
Sets the maximum age of cached data that will be considered in this query.
- setMessage(String) - Method in class com.parse.ParsePush
-
Sets the message that will be shown in the notification.
- setMethod(ParseHttpRequest.Method) - Method in class com.parse.http.ParseHttpRequest.Builder
-
- setName(String) - Method in class com.parse.ParseRole
-
Sets the name for a role.
- setObjectId(String) - Method in class com.parse.ParseObject
-
Setter for the object id.
- setPassword(String) - Method in class com.parse.ParseUser
-
Sets the password.
- setPublicReadAccess(boolean) - Method in class com.parse.ParseACL
-
Set whether the public is allowed to read this object.
- setPublicWriteAccess(boolean) - Method in class com.parse.ParseACL
-
Set whether the public is allowed to write this object.
- setPushToAndroid(boolean) - Method in class com.parse.ParsePush
-
- setPushToIOS(boolean) - Method in class com.parse.ParsePush
-
- setQuery(ParseQuery<ParseInstallation>) - Method in class com.parse.ParsePush
-
Sets the query for this push for which this push notification will be sent.
- setReadAccess(String, boolean) - Method in class com.parse.ParseACL
-
Set whether the given user id is allowed to read this object.
- setReadAccess(ParseUser, boolean) - Method in class com.parse.ParseACL
-
Set whether the given user is allowed to read this object.
- setReasonPhrase(String) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets the reason phrase of this Builder
.
- setRoleReadAccess(String, boolean) - Method in class com.parse.ParseACL
-
Set whether users belonging to the role with the given roleName are allowed to read this
object.
- setRoleReadAccess(ParseRole, boolean) - Method in class com.parse.ParseACL
-
Set whether users belonging to the given role are allowed to read this object.
- setRoleWriteAccess(String, boolean) - Method in class com.parse.ParseACL
-
Set whether users belonging to the role with the given roleName are allowed to write this
object.
- setRoleWriteAccess(ParseRole, boolean) - Method in class com.parse.ParseACL
-
Set whether users belonging to the given role are allowed to write this object.
- setSkip(int) - Method in class com.parse.ParseQuery
-
Controls the number of results to skip before returning any results.
- setStatusCode(int) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets the status code of this Builder
.
- setTotalSize(long) - Method in class com.parse.http.ParseHttpResponse.Builder
-
Sets the total size of this Builder
.
- setTrace(boolean) - Method in class com.parse.ParseQuery
-
Turn on performance tracing of finds.
- setUrl(String) - Method in class com.parse.http.ParseHttpRequest.Builder
-
Sets the url of this Builder
.
- setUsername(String) - Method in class com.parse.ParseUser
-
Sets the username.
- setWriteAccess(String, boolean) - Method in class com.parse.ParseACL
-
Set whether the given user id is allowed to write this object.
- setWriteAccess(ParseUser, boolean) - Method in class com.parse.ParseACL
-
Set whether the given user is allowed to write this object.
- signUp() - Method in class com.parse.ParseUser
-
Signs up a new user.
- SignUpCallback - Interface in com.parse
-
A
SignUpCallback
is used to run code after signing up a
ParseUser
in a background
thread.
- signUpInBackground() - Method in class com.parse.ParseUser
-
Signs up a new user.
- signUpInBackground(SignUpCallback) - Method in class com.parse.ParseUser
-
Signs up a new user.
- SMALL_NOTIFICATION_MAX_CHARACTER_LIMIT - Static variable in class com.parse.ParsePushBroadcastReceiver
-
- subscribeInBackground(String) - Static method in class com.parse.ParsePush
-
Adds 'channel' to the 'channels' list in the current
ParseInstallation
and saves it in
a background thread.
- subscribeInBackground(String, SaveCallback) - Static method in class com.parse.ParsePush
-
Adds 'channel' to the 'channels' list in the current
ParseInstallation
and saves it in
a background thread.
- unlinkFromInBackground(String) - Method in class com.parse.ParseUser
-
Unlinks this user from a third party authentication source.
- unpin(String) - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unpin() - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unpinAll(String, List<T>) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAll(List<T>) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAll(String) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAll() - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(String, List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(String, List<T>) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(List<T>, DeleteCallback) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(List<T>) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(String, DeleteCallback) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(String) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground(DeleteCallback) - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinAllInBackground() - Static method in class com.parse.ParseObject
-
Removes the objects and every object they point to in the local datastore, recursively.
- unpinInBackground(String, DeleteCallback) - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unpinInBackground(String) - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unpinInBackground(DeleteCallback) - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unpinInBackground() - Method in class com.parse.ParseObject
-
Removes the object and every object it points to in the local datastore, recursively.
- unsubscribeInBackground(String) - Static method in class com.parse.ParsePush
-
Removes 'channel' from the 'channels' list in the current
ParseInstallation
and saves
it in a background thread.
- unsubscribeInBackground(String, SaveCallback) - Static method in class com.parse.ParsePush
-
Removes 'channel' from the 'channels' list in the current
ParseInstallation
and saves
it in a background thread.
- UNSUPPORTED_SERVICE - Static variable in exception com.parse.ParseException
-
Error code indicating that a service being linked (e.g.
- USERNAME_MISSING - Static variable in exception com.parse.ParseException
-
Error code indicating that the username is missing or empty.
- USERNAME_TAKEN - Static variable in exception com.parse.ParseException
-
Error code indicating that the username has already been taken.
- whereContainedIn(String, Collection<? extends Object>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be contained in the
provided list of values.
- whereContains(String, String) - Method in class com.parse.ParseQuery
-
Add a constraint for finding string values that contain a provided string.
- whereContainsAll(String, Collection<?>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value match another
ParseQuery
.
- whereDoesNotExist(String) - Method in class com.parse.ParseQuery
-
Add a constraint for finding objects that do not contain a given key.
- whereDoesNotMatchKeyInQuery(String, String, ParseQuery<?>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value does not match any value
for a key in the results of another ParseQuery
.
- whereDoesNotMatchQuery(String, ParseQuery<?>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value does not match another
ParseQuery
.
- whereEndsWith(String, String) - Method in class com.parse.ParseQuery
-
Add a constraint for finding string values that end with a provided string.
- whereEqualTo(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be equal to the
provided value.
- whereExists(String) - Method in class com.parse.ParseQuery
-
Add a constraint for finding objects that contain the given key.
- whereGreaterThan(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be greater than the
provided value.
- whereGreaterThanOrEqualTo(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be greater than or
equal to the provided value.
- whereLessThan(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be less than the
provided value.
- whereLessThanOrEqualTo(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be less than or equal
to the provided value.
- whereMatches(String, String) - Method in class com.parse.ParseQuery
-
Add a regular expression constraint for finding string values that match the provided regular
expression.
- whereMatches(String, String, String) - Method in class com.parse.ParseQuery
-
Add a regular expression constraint for finding string values that match the provided regular
expression.
- whereMatchesKeyInQuery(String, String, ParseQuery<?>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value matches a value for a key
in the results of another ParseQuery
.
- whereMatchesQuery(String, ParseQuery<?>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value match another
ParseQuery
.
- whereNear(String, ParseGeoPoint) - Method in class com.parse.ParseQuery
-
Add a proximity based constraint for finding objects with key point values near the point
given.
- whereNotContainedIn(String, Collection<? extends Object>) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value not be contained in the
provided list of values.
- whereNotEqualTo(String, Object) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's value to be not equal to the
provided value.
- whereStartsWith(String, String) - Method in class com.parse.ParseQuery
-
Add a constraint for finding string values that start with a provided string.
- whereWithinGeoBox(String, ParseGeoPoint, ParseGeoPoint) - Method in class com.parse.ParseQuery
-
Add a constraint to the query that requires a particular key's coordinates be contained within
a given rectangular geographic bounding box.
- whereWithinKilometers(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
-
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
- whereWithinMiles(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
-
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
- whereWithinRadians(String, ParseGeoPoint, double) - Method in class com.parse.ParseQuery
-
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
- writeTo(OutputStream) - Method in class com.parse.http.ParseHttpBody
-
Writes the content of this request to out
.


You are almost done! Please answer these final few questions.
How many years of overall programming experience do you have?
How many years of Java programming experience do you have?
How many years of CUDA programming experience do you have?
How many years of Python programming experience do you have?
How many years of schooling in Computer Science have you completed. (For
example, if you are currently a third year undergraduate student, you have most
likely completed 2 years.)
How many years of industrial computing experience do you have? (A summer
internship counts as 0.5).
What code features do you feel affect readability? That is, what made some code
examples harder to read than others?
Did you encounter any problems with the survey itself? (Please explain in detail.)


cosifer.collections package¶
Submodules¶
cosifer.collections.graph module¶
Graph class.
-
class
cosifer.collections.graph.
Graph
(adjacency, labels=None, undirected=True)¶ Bases:
object
Lightweight class for handling cosifer graph objects. If the graph is undirected the adjacency matrix is stored as a sparse lower triangular matrix.
-
n
¶ number of nodes.
- Type
int
-
labels_to_indices
¶ label to index mapping.
- Type
pd.Series
-
indices_to_labels
¶ index to lable mapping.
- Type
pd.Series
-
adjacency
¶ sparse adjacency.
- Type
spicy.sparse.csr_matrix
-
undirected
¶ flag indicating whether edges are directed.
- Type
bool
-
get_scaled_adjacency
()¶ Get a min-max scaled version of the adjacency.
- Returns
the min-max scaled adjacency.
- Return type
spicy.sparse.csr_matrix
-
indices_to_labels
= None
-
labels_to_indices
= None
-
n
= 0
-
set_adjacency_from_numpy
(adjacency)¶ Set the adjacency from a numpy ndarray.
- Parameters
adjacency (np.ndarray) – adjacency matrix.
- Raises
RuntimeError – in case of inconsitencies in the sizes.
-
set_adjacency_from_pandas
(adjacency)¶ Set the adjacency from a pandas dataframe.
- Parameters
adjacency (pd.DataFrame) – adjacency matrix.
- Raises
RuntimeError – in case of inconsitencies in the sizes.
-
set_adjacency_from_sparse
(adjacency)¶ Set the adjacency from a sparse matrix.
- Parameters
adjacency (spicy.sparse.csr_matrix) – adjacency matrix.
- Raises
RuntimeError – in case of inconsitencies in the sizes.
-
set_labels
(labels)¶ Set the node labels.
- Parameters
labels (iterable) – labels to set.
- Raises
RuntimeError – in case of inconsitenties between the labels and the graph nodes.
-
to_interaction_table
(scaled=True, interaction_symbol='<->')¶ Convert the graph to an interaction table.
- Parameters
scaled (bool, optional) – flag to activate min-max scaling of the edges. Defaults to True.
interaction_symbol (str, optional) – symbol to depict interactions between labels. Defaults to ‘<->’.
- Returns
- the table containing the interactions reported in
the graph.
- Return type
-
cosifer.collections.interaction_table module¶
Interation table class.
-
class
cosifer.collections.interaction_table.
InteractionTable
(df=Empty DataFrame Columns: [e1, e2, intensity] Index: [], labels=None, interaction_symbol=None, force_undirected=False)¶ Bases:
object
Interaction table class representation of an edge list.
-
df
¶ underlying dataframe containing the edge list.
- Type
pd.DataFrame
-
labels
¶ node labels.
- Type
iterable
-
apply_filter
(labels=None, prune_labels=True, indices=None, threshold=0.0, top_n=None)¶ Apply a filter to get an InteractionTable.
- Parameters
labels (iterable, optional) – node labels to select. Defaults to None.
prune_labels (bool, optional) – prune labels not present in the final table. Defaults to True.
indices (itarable, optional) – indices to filter rows. Defaults to None.
threshold (float, optional) – threshold for the edge weights. Defaults to 0.0.
top_n (int, optional) – number of top interactions to keep. Defaults to None.
- Returns
a filtered interaction table.
- Return type
-
get_df_dict
(threshold=None)¶ Get a dictionary to represent the edge list.
- Parameters
threshold (float, optional) – threshold to filter edge by intensity. Defaults to None.
- Returns
a dictionary representing then edge list dataframe.
- Return type
dict
-
to_edge_list
(interaction_symbol='<->', weights=True)¶ Returns an edge list containing the interactions.
- Parameters
interaction_symbol (str, optional) – Symbol separating the labels in the index of the edge list dataframe. Defaults to ‘<->’.
weights (bool, optional) – Flag indicating whether weights are returned. Defaults to True.
- Returns
a list of edges represented by tuples.
- Return type
list
-
to_graph
(undirected=True, imposed_labels=None)¶ Get a graph from the stored edges.
- Parameters
undirected (bool, optional) – flag to indicate whether the interactions are undirected. Defaults to True.
imposed_labels (iterable, optional) – node label to consider. Defaults to None.
- Returns
a graph.
- Return type
-
-
cosifer.collections.interaction_table.
directed_to_undirected_interactions
(directed_interactions)¶ Processing of a directed table, discarding directions and keeping only the maximum edge value. It will drop and reindex with integers the table. :param: directed_interactions: directed interactions table. :return: an undirected version of the given table.
- Parameters
directed_interactions (pd.DataFrame) – directed interactions dataframe.
- Returns
undirected interactions dataframe
- Return type
pd.DataFrame
-
cosifer.collections.interaction_table.
interaction_table_from_dict
(interaction_dictionary)¶ Construct an InteractionTable from a dictionary.
- Parameters
interaction_dictionary (dict) – an interaction dictionary. The dictionary should contain two keys: ‘labels’, containing the node labels, and ‘interactions’, an object that can be used to construct a dataframe representing the edge list.
- Returns
the interaction table.
- Return type
-
cosifer.collections.interaction_table.
interaction_table_from_edge_list
(interaction_list)¶ Construct an InteractionTable from a list.
- Parameters
interaction_list (list) – an edge list containing tuples.
- Returns
the interaction table for the provided edge list.
- Return type
-
cosifer.collections.interaction_table.
interaction_table_from_gzip
(filepath)¶ Construct an InteractionTable from a gzipped file containing an edge list.
- Parameters
filepath (str) – path to the gipped file.
- Returns
the interaction table from the gzipped edge list.
- Return type
-
cosifer.collections.interaction_table.
interaction_table_to_edge_list
(interaction_table, interaction_symbol='<->', weights=True)¶ Convert an InteractionTable to an edge list.
- Parameters
interaction_table (InteractionTable) – an interaction table.
interaction_symbol (str, optional) – Symbol separating the labels in the index of the edge list dataframe. Defaults to ‘<->’.
weights (bool, optional) – Flag indicating whether weights are returned. Defaults to True.
- Returns
a list of edges represented by tuples.
- Return type
list
-
cosifer.collections.interaction_table.
process_group
(row)¶ Process a grouped edge list dataframe
- Parameters
row (pd.Series) – a dataframe row.
- Returns
a list with entitity labels and weight.
- Return type
list
-
cosifer.collections.interaction_table.
process_index
(index, intensity, interaction_symbol)¶ Process index to get edge tuple. Disregard edge weight.
- Parameters
index (str) – index of the edge list dataframe.
intensity (float) – intensity of the edge.
interaction_symbol (str) – symbol used to separate node labels.
- Returns
a tuple containing edge labels.
- Return type
tuple
-
cosifer.collections.interaction_table.
process_index_with_weights
(index, intensity, interaction_symbol)¶ Process index to get edge tuple including edge weight.
- Parameters
index (str) – index of the edge list dataframe.
intensity (float) – intensity of the edge.
interaction_symbol (str) – symbol used to separate node labels.
- Returns
a tuple containing edge labels and weight.
- Return type
tuple


|
e-puck
1.0
|
Accessing the microphone data. More...
Macros | |
| #define | MIC0_BUFFER 0 |
| #define | MIC1_BUFFER 1 |
| #define | MIC2_BUFFER 2 |
Functions | |
| int | e_get_micro (unsigned int micro_id) |
| Get the last value of a given micro. More... | |
| int | e_get_micro_average (unsigned int micro_id, unsigned int filter_size) |
| Get the average on a given number of sample from a micro. More... | |
| int | e_get_micro_volume (unsigned int micro_id) |
| Get the difference between the highest and lowest sample. Beware that from HWRev 1.3 the microphone sensitivity resulted a little bit different from the previous hardware revision; some empirical tests show that the difference is about +/-15%. More... | |
Accessing the microphone data.
The functions of this file are made to deal with the microphones data. You can simply get the current value of a given microphone. You can know the volume of noise that the e-puck is enduring. You can average the signal with a specified size.
| #define MIC0_BUFFER 0 |
| #define MIC1_BUFFER 1 |
| #define MIC2_BUFFER 2 |
| int e_get_micro | ( | unsigned int | micro_id | ) |
Get the last value of a given micro.
| micro_id | micro's ID (0, 1, or 2) (use MIC0_BUFFER, MIC1_BUFFER , MIC2_BUFFER defined in e_micro.h) |
| int e_get_micro_average | ( | unsigned int | micro_id, |
| unsigned int | filter_size | ||
| ) |
Get the average on a given number of sample from a micro.
| micro_id | micro's ID (0, 1, or 2) (use MIC0_BUFFER, MIC1_BUFFER , MIC2_BUFFER defined in e_micro.h) |
| filter_size | number of sample to average |
| int e_get_micro_volume | ( | unsigned int | micro_id | ) |
Get the difference between the highest and lowest sample. Beware that from HWRev 1.3 the microphone sensitivity resulted a little bit different from the previous hardware revision; some empirical tests show that the difference is about +/-15%.
| micro_id | micro's ID (0, 1, or 2) (use MIC0_BUFFER, MIC1_BUFFER , MIC2_BUFFER defined in e_micro.h) |


This will return info about activities that a user can see and gating on it, if you are the currently authenticated user or the user has elected to allow anonymous viewing of its progression info. Note that the data returned by this can be unfortunately problematic and relatively unreliable in some cases. We'll eventually work on making it more consistently reliable.
This will return info about the equipped items on the character(s). Everyone can see this.
This will get you information about any non-equipped items on the character or character(s) in question, if you're allowed to see it. You have to either be authenticated as that user, or that user must allow anonymous viewing of their non-equipped items in Bungie.Net settings to actually get results.
This will get you information about the progression (faction, experience, etc... "levels") relevant to each character, if you are the currently authenticated user or the user has elected to allow anonymous viewing of its progression info.
This will get you just enough information to be able to render the character in 3D if you have written a 3D rendering library for Destiny Characters, or " borrowed" ours. It's okay, I won't tell anyone if you're using it. I'm no snitch. (actually, we don't care if you use it - go to town)
This will get you summary info about each of the characters in the profile.
Returns summary status information about all "Collectibles". These are records of what items you've discovered while playing Destiny, and some other basic information. For detailed information, you will have to call a separate endpoint devoted to the purpose.
A "shortcut" component that will give you all of the item hashes/quantities of items that the requested character can use to determine if an action (purchasing, socket insertion) has the required currency. (recall that all currencies are just items, and that some vendor purchases require items that you might not traditionally consider to be a "currency", like plugs/mods!)
Items that aren't instanced still have important information you need to know: how much of it you have, the itemHash so you can look up their DestinyInventoryItemDefinition, whether they're locked, etc... Both instanced and non-instanced items will have these properties. You will get this automatically with Inventory components - you only need to pass this when calling GetItem on a specific item.
This will return basic info about instanced items - whether they can be equipped, their tracked status, and some info commonly needed in many places (current damage type, primary stat value, etc)
Items can have Objectives (DestinyObjectiveDefinition) bound to them. If they do, this will return info for items that have such bound objectives.
Items can have perks (DestinyPerkDefinition). If they do, this will return info for what perks are active on items.
Items that are "Plugs" can be inserted into sockets. This returns statuses about those plugs and why they can/can't be inserted. I hear you giggling, there's nothing funny about inserting plugs.
If you just want to render the weapon, this is just enough info to do that rendering.
Items can have sockets, where plugs can be inserted. Asking for this component will return all info relevant to the sockets on items that have them.
Items can have stats, like rate of fire. Asking for this component will return requested item's stats if they have stats.
Items can have talent grids, though that matters a lot less frequently than it used to. Asking for this component will return all relevant info about activated Nodes and Steps on this talent grid, like the good ol' days.
Asking for this component will return you the account's Kiosk statuses: that is, what items have been filled out/acquired. But only if you are the currently authenticated user or the user has elected to allow anonymous viewing of its progression info.
Returns summary status information about all "Presentation Nodes". See DestinyPresentationNodeDefinition for more details, but the gist is that these are entities used by the game UI to bucket Collectibles and Records into a hierarchy of categories. You may ask for and use this data if you want to perform similar bucketing in your own UI: or you can skip it and roll your own.
This will get you a summary of items on your Profile that we consider to be " currencies", such as Glimmer. I mean, if there's Glimmer in Destiny 2. I didn't say there was Glimmer.
Asking for this will get you the profile-level inventories, such as your Vault buckets (yeah, the Vault is really inventory buckets located on your Profile)
This will get you any progression-related information that exists on a Profile- wide level, across all characters.
Profiles is the most basic component, only relevant when calling GetProfile. This returns basic information about the profile, which is almost nothing: a list of characterIds, some information about the last time you logged in, and that most sobering statistic: how long you've played.
Returns summary status information about all "Records" (also known in the game as "Triumphs". I know, it's confusing because there's also "Moments of Triumph" that will themselves be represented as "Triumphs.")
When obtaining vendor information, this will return information about the categories of items provided by the Vendor.
Only applicable for GetProfile, this will return information about receipts for refundable vendor items.
When obtaining vendor information, this will return the information about items being sold by the Vendor.
When obtaining vendor information, this will return summary information about the Vendor or Vendors being returned.
Represents the possible components that can be returned from Destiny "Get" calls such as GetProfile, GetCharacter, GetVendor etc...
When making one of these requests, you will pass one or more of these components as a comma separated list in the "?components=" querystring parameter. For instance, if you want baseline Profile data, Character Data, and character progressions, you would pass "?components=Profiles,Characters, CharacterProgressions" You may use either the numerical or string values.


| Test | File under test |
|---|---|
| Team Creation | create_team.html |
| Game Setup | game_setup.html |
| Test | File under test |
|---|---|
| Deserialization | js/lib/ts.deserialization.js |
| Game | js/lib/ts.game.js |
| Game Manager | js/lib/ts.game_manager.js |
| Team | js/lib/ts.team.js |
| Team Manager | js/lib/ts.team_manager.js |


Transform Parent demo
example where the grid parent has a transform (50px, 100px). Scale not supported yet - see #1275
Add Widget


Gaps in Android development
Jun 07, 2015
Chet Haase has composed a series of good articles about Android performance. Every Android developer should read them. In fact, after reading, and with consideration of my experiences of Android app development, there are many gaps between what skills and knowledges most of the developers accuqire and need to accuqire, in order to write a good app:
There are many profling tools (systrace, traceview, historian, developer mode, ...) But most of the developers don't know when they should use which of them.
Most of the app developers don't know how to use them, and the learning cost is high in every team.
With many of the tools you can get a view of what happened, but that's far from locating the code causes the defections.
Memory issue is the most primary causes of performance problems, and we have been told many times the good rules. But still it's very easy to write code with heavy GC.
Every device is a village, in which all the apps forms the performance of the device. But it's easy to be forgot when writting code and making profiling. Also there is no easy way to profiling the whole device.
I believe there will be some technical solution to fill most of the gaps. For our team, we have built a plugin-like system to detect the software defections and runtime, running inside host app's process space. The tool can fill some of the gaps mentioned above and we are trying to fill more.
I believe there will be some technical solution to fill most of the gaps. For our team, we have built a plugin-like system to detect the software defections and runtime, running inside host app's process space. The tool can fill some of the gaps mentioned above and we are trying to fill more.


E&E Electronic Engineering Research, Inc
Home
Systems and Services
Tech
Job Sites
(current)
Contact
Purchase
Job Sites
Home
Sites
Santa Anita Car Wash
Garvey Commercial
Asia Village
Custom Home
China Town Senior Apartment
Super K-Mart
Gold World Plaza
Monterey Park Medical Building
San Gabriel Square
Grand Plaza
Sheraton
World Plaza - China Town
Arcadia Landmark
Barstow Hotel
Mar Center
Industrial Complex
Hoa Binh Super Market
Asia Plaza
Los Angeles Senior Apartment
UCLA Office Building
Grand Century - San Jose
Amphastar


Using XSite as a standalone application
- Download XSite binary
distribution (xsite-distribution-bin.zip) and unzip archive to local
filesystem directory of your choice.
- Define an environment variable
XSITE_HOME
to
point to the chosen directory.
- Add
XSITE_HOME/bin
to your system path. On UNIX
systems, ensure that you have the correct permissions to execute XSITE_HOME/bin/xsite
(defaults to chmod ug+rwx o+r)
. On Windows systems,
replace /
with \
.
The required inputs for XSite are
- source directory: specifies the root source directory.
- sitemap.xml: specifies the content of the website and the
navigation. The file is assumed to be relative to the source
directory.
- skin.html: specifies the template and style used by XSite.
The file is assumed to be relative to the source directory.
- resources directory: specifies the resources (images, style, etc ...) that need to be
copied to the output directory. The directory is assumed to be relative to the source directory.
- output directory: specifies the directory where the generated
files will be written to.
To generate site, simply execute
xsite -S [source-directory] -m [relative-path-to-sitemap] -s [relative-path-to-skin] -o [output-directory]
Executing script without arguments will also result in a usage message.
Using XSite via plugins
XSite can be used as a plugin as described in plugins.


job-output.txt.gz
zuul-info
controller/logs/
rally-verify/
Rally is benchmarking and verification system for OpenStack: