| Package | Description |
|---|---|
| io.ebean | |
| io.ebean.config.dbplatform |
Database platform specific support
|
| io.ebean.event |
Persist and Query Event Controllers and Listeners
|
| io.ebean.plugin |
Provides a API for plugins.
|
| io.ebean.text |
Utility objects for CSV, JSON and XML processing.
|
| io.ebeanservice.docstore.api |
The service API for document store integration.
|
| io.ebeanservice.docstore.api.support |
Support objects for implementing integration.
|
| io.ebeanservice.docstore.none |
"No op" implementation of document store.
|
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
Query.alias(String alias)
Set root table alias.
|
Query<T> |
Query.apply(FetchPath fetchPath)
Apply the path properties replacing the select and fetch clauses.
|
Query<T> |
ExpressionList.apply(FetchPath fetchPath)
Apply the path properties to the query replacing the select and fetch clauses.
|
Query<T> |
OrderBy.asc(String propertyName)
Add a property with ascending order to this OrderBy.
|
Query<T> |
OrderBy.asc(String propertyName,
String collation)
Add a property with ascending order to this OrderBy.
|
Query<T> |
Query.asDraft()
Execute the query against the draft set of tables.
|
Query<T> |
ExpressionList.asDraft()
Execute the query against the draft set of tables.
|
Query<T> |
Query.asOf(Timestamp asOf)
Perform an 'As of' query using history tables to return the object graph
as of a time in the past.
|
Query<T> |
ExpressionList.asOf(Timestamp asOf)
Perform an 'As of' query using history tables to return the object graph
as of a time in the past.
|
Query<T> |
Query.copy()
Return a copy of the query.
|
static <T> Query<T> |
DB.createNamedQuery(Class<T> beanType,
String namedQuery)
Create a named query.
|
<T> Query<T> |
Database.createNamedQuery(Class<T> beanType,
String namedQuery)
Create a named query.
|
static <T> Query<T> |
Ebean.createNamedQuery(Class<T> beanType,
String namedQuery)
Create a named query.
|
static <T> Query<T> |
DB.createQuery(Class<T> beanType)
Create a query for a type of entity bean.
|
<T> Query<T> |
Database.createQuery(Class<T> beanType)
Create a query for an entity bean and synonym for
Database.find(Class) . |
static <T> Query<T> |
Ebean.createQuery(Class<T> beanType)
Create a query for a type of entity bean.
|
static <T> Query<T> |
DB.createQuery(Class<T> beanType,
String eql)
Parse the Ebean query language statement returning the query which can then
be modified (add expressions, change order by clause, change maxRows, change
fetch and select paths etc).
|
<T> Query<T> |
Database.createQuery(Class<T> beanType,
String ormQuery)
Parse the Ebean query language statement returning the query which can then
be modified (add expressions, change order by clause, change maxRows, change
fetch and select paths etc).
|
static <T> Query<T> |
Ebean.createQuery(Class<T> beanType,
String eql)
Parse the Ebean query language statement returning the query which can then
be modified (add expressions, change order by clause, change maxRows, change
fetch and select paths etc).
|
Query<T> |
OrderBy.desc(String propertyName)
Add a property with descending order to this OrderBy.
|
Query<T> |
OrderBy.desc(String propertyName,
String collation)
Add a property with descending order to this OrderBy.
|
Query<T> |
Query.fetch(String path)
Specify a path to fetch eagerly including all its properties.
|
Query<T> |
Query.fetch(String path,
FetchConfig fetchConfig)
Additionally specify a JoinConfig to specify a "query join" and or define
the lazy loading query.
|
Query<T> |
Query.fetch(String path,
String fetchProperties)
Specify a path to fetch eagerly including specific properties.
|
Query<T> |
Query.fetch(String path,
String fetchProperties,
FetchConfig fetchConfig)
Additionally specify a FetchConfig to use a separate query or lazy loading
to load this path.
|
Query<T> |
Query.fetchLazy(String path)
Fetch the path lazily (via batch lazy loading).
|
Query<T> |
Query.fetchLazy(String path,
String fetchProperties)
Fetch the path and properties lazily (via batch lazy loading).
|
Query<T> |
Query.fetchQuery(String path)
Fetch the path eagerly using a "query join" (separate SQL query).
|
Query<T> |
Query.fetchQuery(String path,
String fetchProperties)
Fetch the path and properties using a "query join" (separate SQL query).
|
static <T> Query<T> |
DB.find(Class<T> beanType)
Create a query for a type of entity bean.
|
<T> Query<T> |
Database.find(Class<T> beanType)
Create a query for a type of entity bean.
|
static <T> Query<T> |
Ebean.find(Class<T> beanType)
Create a query for a type of entity bean.
|
static <T> Query<T> |
DB.findNative(Class<T> beanType,
String nativeSql)
Create a query using native SQL.
|
<T> Query<T> |
Database.findNative(Class<T> beanType,
String nativeSql)
Create a query using native SQL.
|
static <T> Query<T> |
Ebean.findNative(Class<T> beanType,
String nativeSql)
Create a query using native SQL.
|
Query<T> |
Query.forUpdate()
Execute using "for update" clause which results in the DB locking the record.
|
Query<T> |
ExpressionList.forUpdate()
Execute using "for update" clause which results in the DB locking the record.
|
Query<T> |
Query.forUpdateNoWait()
Execute using "for update" clause with "no wait" option.
|
Query<T> |
ExpressionList.forUpdateNoWait()
Execute using "for update" clause with No Wait option.
|
Query<T> |
Query.forUpdateSkipLocked()
Execute using "for update" clause with "skip locked" option.
|
Query<T> |
ExpressionList.forUpdateSkipLocked()
Execute using "for update" clause with Skip Locked option.
|
Query<T> |
OrderBy.getQuery()
Return the associated query if there is one.
|
Query<T> |
FutureList.getQuery()
Return the query that is being executed by a background thread.
|
Query<T> |
FutureIds.getQuery()
Returns the original query used to fetch the Id's.
|
Query<T> |
Query.having(Expression addExpressionToHaving)
Add an expression to the having clause returning the query.
|
Query<T> |
Finder.nativeSql(String nativeSql)
Creates a native sql query.
|
Query<T> |
Query.order(String orderByClause)
Set the order by clause replacing the existing order by clause if there is
one.
|
Query<T> |
ExpressionList.order(String orderByClause)
Set the order by clause replacing the existing order by clause if there is
one.
|
Query<T> |
Query.orderBy(String orderByClause)
Set the order by clause replacing the existing order by clause if there is
one.
|
Query<T> |
ExpressionList.orderBy(String orderBy)
Add an orderBy clause to the query.
|
Query<T> |
Query.orderById(boolean orderById)
Controls, if paginated queries should always append an 'order by id' statement at the end to
guarantee a deterministic sort result.
|
Query<T> |
ExpressionList.query()
Return the query that owns this expression list.
|
Query<T> |
Finder.query()
Creates a query.
|
Query<T> |
Finder.query(String ormQuery)
Creates a query using the ORM query language.
|
Query<T> |
Query.select(FetchGroup<T> fetchGroup)
Apply the fetchGroup which defines what part of the object graph to load.
|
Query<T> |
ExpressionList.select(FetchGroup<T> fetchGroup)
Apply the fetchGroup which defines what part of the object graph to load.
|
Query<T> |
Query.select(String fetchProperties)
Specify the properties to fetch on the root level entity bean in comma delimited format.
|
Query<T> |
ExpressionList.select(String properties)
Specify specific properties to fetch on the main/root bean (aka partial
object).
|
Query<T> |
Query.setAllowLoadErrors()
Execute the query allowing properties with invalid JSON to be collected and not fail the query.
|
Query<T> |
Query.setAutoTune(boolean autoTune)
Explicitly specify whether to use AutoTune for this query.
|
Query<T> |
Query.setBaseTable(String baseTable)
Set the base table to use for this query.
|
Query<T> |
Query.setBeanCacheMode(CacheMode beanCacheMode)
Set the mode to use the bean cache when executing this query.
|
Query<T> |
ExpressionList.setBeanCacheMode(CacheMode beanCacheMode)
Set the mode to use the bean cache when executing this query.
|
Query<T> |
Query.setBufferFetchSizeHint(int fetchSize)
A hint which for JDBC translates to the Statement.fetchSize().
|
Query<T> |
Query.setCountDistinct(CountDistinctOrder orderBy)
Extended version for setDistinct in conjunction with "findSingleAttributeList";
|
Query<T> |
ExpressionList.setCountDistinct(CountDistinctOrder orderBy)
Extended version for setDistinct in conjunction with "findSingleAttributeList";
|
Query<T> |
Query.setDisableLazyLoading(boolean disableLazyLoading)
Set true if you want to disable lazy loading.
|
Query<T> |
ExpressionList.setDisableLazyLoading(boolean disableLazyLoading)
Set true if you want to disable lazy loading.
|
Query<T> |
Query.setDisableReadAuditing()
Disable read auditing for this query.
|
Query<T> |
ExpressionList.setDisableReadAuditing()
Disable read auditing for this query.
|
Query<T> |
Query.setDistinct(boolean isDistinct)
Set whether this query uses DISTINCT.
|
Query<T> |
ExpressionList.setDistinct(boolean distinct)
Set whether this query uses DISTINCT.
|
Query<T> |
Query.setDocIndexName(String indexName)
Set the index(es) to search for a document store which uses partitions.
|
Query<T> |
ExpressionList.setDocIndexName(String indexName)
Set the index(es) to search for a document store which uses partitions.
|
Query<T> |
Query.setFirstRow(int firstRow)
Set the first row to return for this query.
|
Query<T> |
ExpressionList.setFirstRow(int firstRow)
Set the first row to fetch.
|
Query<T> |
Query.setId(Object id)
Set the Id value to query.
|
Query<T> |
Query.setIncludeSoftDeletes()
Execute the query including soft deleted rows.
|
Query<T> |
ExpressionList.setIncludeSoftDeletes()
Execute the query including soft deleted rows.
|
Query<T> |
Query.setInheritType(Class<? extends T> type)
Restrict the query to only return subtypes of the given inherit type.
|
Query<T> |
Query.setLabel(String label)
Set a label on the query.
|
Query<T> |
ExpressionList.setLabel(String label)
Set a label on the query (to help identify query execution statistics).
|
Query<T> |
Query.setLazyLoadBatchSize(int lazyLoadBatchSize)
Set the default lazy loading batch size to use.
|
Query<T> |
Query.setLoadBeanCache(boolean loadBeanCache)
Will be deprecated - migrate to use setBeanCacheMode(CacheMode.RECACHE).
|
Query<T> |
Query.setMapKey(String mapKey)
Set the property to use as keys for a map.
|
Query<T> |
ExpressionList.setMapKey(String mapKey)
Set the name of the property which values become the key of a map.
|
Query<T> |
Query.setMaxRows(int maxRows)
Set the maximum number of rows to return in the query.
|
Query<T> |
ExpressionList.setMaxRows(int maxRows)
Set the maximum number of rows to fetch.
|
Query<T> |
Query.setOrder(OrderBy<T> orderBy)
Set an OrderBy object to replace any existing OrderBy clause.
|
Query<T> |
Query.setOrderBy(OrderBy<T> orderBy)
Set an OrderBy object to replace any existing OrderBy clause.
|
Query<T> |
ExpressionList.setOrderBy(String orderBy)
Add an orderBy clause to the query.
|
Query<T> |
Query.setParameter(int position,
Object value)
Set an ordered bind parameter according to its position.
|
Query<T> |
Query.setParameter(String name,
Object value)
Set a named bind parameter.
|
Query<T> |
Query.setPersistenceContextScope(PersistenceContextScope scope)
Specify the PersistenceContextScope to use for this query.
|
Query<T> |
Query.setProfileId(int profileId)
Set an id to identify this query for profiling purposes.
|
Query<T> |
Query.setProfileLocation(ProfileLocation profileLocation)
Set the profile location of this query.
|
Query<T> |
Query.setRawSql(RawSql rawSql)
Set RawSql to use for this query.
|
Query<T> |
Query.setReadOnly(boolean readOnly)
When set to true when you want the returned beans to be read only.
|
Query<T> |
Query.setTimeout(int secs)
Set a timeout on this query.
|
default Query<T> |
Query.setUseCache(boolean useCache)
Set this to false to not use the bean cache.
|
Query<T> |
ExpressionList.setUseCache(boolean useCache)
Set to true when this query should use the bean cache.
|
Query<T> |
Query.setUseDocStore(boolean useDocStore)
Set to true if this query should execute against the doc store.
|
Query<T> |
ExpressionList.setUseDocStore(boolean useDocsStore)
Set to true if this query should execute against the doc store.
|
default Query<T> |
Query.setUseQueryCache(boolean enabled)
|
default Query<T> |
ExpressionList.setUseQueryCache(boolean enabled)
|
Query<T> |
Query.setUseQueryCache(CacheMode queryCacheMode)
Set the
CacheMode to use the query for executing this query. |
Query<T> |
ExpressionList.setUseQueryCache(CacheMode useCache)
Set the
CacheMode to use the query cache for executing this query. |
Query<T> |
Query.where(Expression expression)
Add a single Expression to the where clause returning the query.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
FetchPath.apply(Query<T> query)
Apply the fetch path to the query.
|
static <T> Junction<T> |
Expr.conjunction(Query<T> query)
Return a list of expressions that will be joined by AND's.
|
<T> Junction<T> |
ExpressionFactory.conjunction(Query<T> query)
Return a list of expressions that will be joined by AND's.
|
<T> Junction<T> |
ExpressionFactory.conjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by AND's.
|
long |
DocumentStore.copyIndex(Query<?> query,
String newIndex,
int bulkBatchSize)
Copy from a source index to a new index taking only the documents
matching the given query.
|
<T> int |
ExtendedServer.delete(Query<T> query,
Transaction transaction)
Execute as a delete query deleting the 'root level' beans that match the predicates
in the query.
|
static <T> Junction<T> |
Expr.disjunction(Query<T> query)
Return a list of expressions that will be joined by OR's.
|
<T> Junction<T> |
ExpressionFactory.disjunction(Query<T> query)
Return a list of expressions that will be joined by OR's.
|
<T> Junction<T> |
ExpressionFactory.disjunction(Query<T> query,
ExpressionList<T> parent)
Return a list of expressions that will be joined by OR's.
|
<T> List<T> |
Database.draftRestore(Query<T> query)
Restore the draft beans matching the query back to the live state.
|
<T> List<T> |
Database.draftRestore(Query<T> query,
Transaction transaction)
Restore the draft beans matching the query back to the live state.
|
ExpressionList<T> |
ExpressionList.exists(Query<?> subQuery)
Exists expression
|
Expression |
ExpressionFactory.exists(Query<?> subQuery)
Exists expression
|
<T> int |
ExtendedServer.findCount(Query<T> query,
Transaction transaction)
Return the number of 'top level' or 'root' entities this query should return.
|
<T> void |
ExtendedServer.findEach(Query<T> query,
java.util.function.Consumer<T> consumer,
Transaction transaction)
Execute the query visiting the each bean one at a time.
|
<T> void |
ExtendedServer.findEachWhile(Query<T> query,
java.util.function.Predicate<T> consumer,
Transaction transaction)
Execute the query visiting the each bean one at a time.
|
<T> FutureRowCount<T> |
ExtendedServer.findFutureCount(Query<T> query,
Transaction transaction)
Execute find row count query in a background thread.
|
<T> FutureIds<T> |
ExtendedServer.findFutureIds(Query<T> query,
Transaction transaction)
Execute find Id's query in a background thread.
|
<T> FutureList<T> |
ExtendedServer.findFutureList(Query<T> query,
Transaction transaction)
Execute find list query in a background thread returning a FutureList object.
|
<A,T> List<A> |
ExtendedServer.findIds(Query<T> query,
Transaction transaction)
Return the Id values of the query as a List.
|
<T> QueryIterator<T> |
ExtendedServer.findIterate(Query<T> query,
Transaction transaction)
Return a QueryIterator for the query.
|
<T> List<T> |
ExtendedServer.findList(Query<T> query,
Transaction transaction)
Execute a query returning a list of beans.
|
<K,T> Map<K,T> |
ExtendedServer.findMap(Query<T> query,
Transaction transaction)
Execute the query returning the entity beans in a Map.
|
<T> T |
ExtendedServer.findOne(Query<T> query,
Transaction transaction)
Execute the query returning at most one entity bean or null (if no matching
bean is found).
|
<T> Optional<T> |
ExtendedServer.findOneOrEmpty(Query<T> query,
Transaction transaction)
Similar to findOne() but returns an Optional (rather than nullable).
|
<T> PagedList<T> |
ExtendedServer.findPagedList(Query<T> query,
Transaction transaction)
Return a PagedList for this query using firstRow and maxRows.
|
<T> Set<T> |
ExtendedServer.findSet(Query<T> query,
Transaction transaction)
Execute the query returning a set of entity beans.
|
<A,T> List<A> |
ExtendedServer.findSingleAttributeList(Query<T> query,
Transaction transaction)
Execute the query returning a list of values for a single property.
|
<T> List<Version<T>> |
ExtendedServer.findVersions(Query<T> query,
Transaction transaction)
Return versions of a @History entity bean.
|
ExpressionList<T> |
ExpressionList.in(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
static Expression |
Expr.in(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
Expression |
ExpressionFactory.in(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
<T> void |
DocumentStore.indexByQuery(Query<T> query)
Update the associated document store using the result of the query.
|
<T> void |
DocumentStore.indexByQuery(Query<T> query,
int bulkBatchSize)
Update the associated document store index using the result of the query additionally specifying a
bulkBatchSize to use for sending the messages to ElasticSearch.
|
default ExpressionList<T> |
ExpressionList.isIn(String propertyName,
Query<?> subQuery)
In - using a subQuery.
|
<T> Junction<T> |
ExpressionFactory.junction(Junction.Type type,
Query<T> query,
ExpressionList<T> parent)
Return a Text query junction for MUST, SHOULD or MUST NOT.
|
ExpressionList<T> |
ExpressionList.notExists(Query<?> subQuery)
Not exists expression
|
Expression |
ExpressionFactory.notExists(Query<?> subQuery)
Not exists expression
|
ExpressionList<T> |
ExpressionList.notIn(String propertyName,
Query<?> subQuery)
Not In - using a subQuery.
|
Expression |
ExpressionFactory.notIn(String propertyName,
Query<?> subQuery)
Not In - using a subQuery.
|
<T> List<T> |
Database.publish(Query<T> query)
Publish the beans that match the query returning the resulting published beans.
|
<T> List<T> |
Database.publish(Query<T> query,
Transaction transaction)
Publish the beans that match the query returning the resulting published beans.
|
void |
OrderBy.setQuery(Query<T> query)
Associate this OrderBy with a query.
|
<T> int |
ExtendedServer.update(Query<T> query,
Transaction transaction)
Execute the update query returning the number of rows updated.
|
<T> Set<String> |
Database.validateQuery(Query<T> query)
Returns the set of properties/paths that are unknown (do not map to known properties or paths).
|
| Constructor and Description |
|---|
OrderBy(Query<T> query,
String orderByClause)
Construct with a given query and order by clause.
|
| Modifier and Type | Method and Description |
|---|---|
Query<?> |
SqlLimitRequest.getOrmQuery()
return the query
|
| Modifier and Type | Method and Description |
|---|---|
String |
DatabasePlatform.completeSql(String sql,
Query<?> query) |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
BeanQueryRequest.getQuery()
Returns the query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanType.addInheritanceWhere(Query<?> query)
Add the discriminator value to the query if needed.
|
void |
BeanDocType.applyPath(Query<T> spiQuery)
Apply the appropriate fetch path to the query such that the query returns beans matching
the document store structure with the expected embedded properties.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
PathProperties.apply(Query<T> query)
Apply these path properties as fetch paths to the query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DocStoreBeanAdapter.applyPath(Query<T> query)
Apply the document structure to the query so that it fetches the required properties to build
the document (typically in JSON form).
|
| Modifier and Type | Method and Description |
|---|---|
void |
DocStoreBeanBaseAdapter.applyPath(Query<T> query) |
| Modifier and Type | Method and Description |
|---|---|
long |
NoneDocStore.copyIndex(Query<?> query,
String newIndex,
int bulkBatchSize) |
<T> void |
NoneDocStore.indexByQuery(Query<T> query) |
<T> void |
NoneDocStore.indexByQuery(Query<T> query,
int bulkBatchSize) |
Copyright © 2019. All rights reserved.


<EMAIL_ADDRESS>Toggle navigation
The London Garden Guys
About
Contact
Our Work
+44 (0) 0203 773 3398
How can we help?


We find insurance best suited to your budget and coverage.
We build combined insurance portfolios to minimise cost.
We run defensive driving education classes to make you a better driver and provide you with an insurance discount.
We don't stop untill you are happy with our service.


Selects one model with variable selection FDR controlled at a specified level. A q-value for each potential variable is also returned. The input, variable selection counts over many bootstraps for several levels of penalization, is modeled as coming from a beta-binomial mixture distribution.
| Version: | 1.0 |
| Depends: | R (≥ 3.1.0) |
| Suggests: | Matrix, parallel, knitr, rmarkdown |
| Published: | 2017-02-16 |
| Author: | Jonatan Kallus [aut, cre] |
| Maintainer: | Jonatan Kallus <kallus at chalmers.se> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| CRAN checks: | rope results |
| Reference manual: | rope.pdf |
| Vignettes: |
A Brief Introduction to ROPE |
| Package source: | rope_1.0.tar.gz |
| Windows binaries: | r-devel: rope_1.0.zip, r-release: rope_1.0.zip, r-oldrel: rope_1.0.zip |
| OS X binaries: | r-release: rope_1.0.tgz, r-oldrel: rope_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=rope to link to this page.


{% extends 'base.html'%}
In life, you only have 60 seconds to impress someone. 1 minute can make or break you. How do we make sure that you use your 1 minute to actually say something meaningful? Worry no more! {{main_title}} got you covered. Welcome.
You can as well share with us what you got. Feel free inspire someone out there.
Create a new pitchIn this category are pitches that you would love to use whenever you are on an interview.
OpenThis category contains pitches that could be of use during a discussion on any kind of topics.
OpenThis category has pitches that a seller can use when promoting their products. Especially to a new customer who hasn't use the product.
OpenA times you find yourself in a common ground with a stranger. This category has those first pitches one can use to send out a nice first impression.
Open


LiblineaR: Linear Predictive Models Based on the 'LIBLINEAR' C/C++ Library
A wrapper around the 'LIBLINEAR' C/C++ library for machine
learning (available at
<http://www.csie.ntu.edu.tw/~cjlin/liblinear>). 'LIBLINEAR' is
a simple library for solving large-scale regularized linear
classification and regression. It currently supports
L2-regularized classification (such as logistic regression,
L2-loss linear SVM and L1-loss linear SVM) as well as
L1-regularized classification (such as L2-loss linear SVM and
logistic regression) and L2-regularized support vector
regression (with L1- or L2-loss). The main features of
LiblineaR include multi-class classification (one-vs-the rest,
and Crammer & Singer method), cross validation for model
selection, probability estimates (logistic regression only) or
weights for unbalanced data. The estimation of the models is
particularly fast as compared to other libraries.
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=LiblineaR
to link to this page.


Provide the classes that manage the system fixtures,
Fixture
is the base class for all the fixtures,
RootFixture
is the root state of the fixture tree and
FixtureManager
gives services to fixture navigation.


Welcome to my portfolio! I'm new to web development using HTML and CSS and I've developed some basic projects over the last week. Scroll down to see!


public class Controller
extends java.lang.Object
| Constructor and Description |
|---|
Controller() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDelivery(Delivery d,
Circuit c)
Adds a delivery to a circuit
|
boolean |
canRedo()
Checks whether there is any action to redo
|
boolean |
canUndo()
Checks whether there is any action to undo
|
void |
changeCircuit(Delivery d,
Circuit oc,
Circuit tc)
Moves a delivery from a circuit to an other circuit
|
void |
computeCircuits(int numberOfCouriers)
Computes a set of circuits given the wanted number of circuits
|
void |
deleteDelivery(Delivery d,
Circuit c)
Removes a delivery from a circuit
|
static CommandsList |
getCommandsList() |
Model |
getModel()
Gets the model (result of a bad design since the model is a singleton)
|
State |
getState()
Gets the state of controller
|
void |
loadCityMap(java.lang.String path)
Loads a map given its path in the file system
|
void |
loadDeliveryRequest(java.lang.String path)
Loads a delivery given its path in the file system
|
void |
moveDeliveryAfter(Delivery d,
Circuit c)
Reorders a delivery inside the delivery list of a circuit, by
incrementing its index in the list by one
(if it's the 3rd delivery, it's gonna be the 4th after a call)
|
void |
moveDeliveryBefore(Delivery d,
Circuit c)
Reorders a delivery inside the delivery list of a circuit, by
decrementing its index in the list by one
(if it's the 3rd delivery, it's gonna be the 2nd after a call)
|
void |
redo()
Redoes the last undone command
|
static void |
setCommandsList(CommandsList cl) |
void |
setSelectDelivery(Delivery delivery)
Sets in the model the delivery currently selected in the UI
|
void |
setState(State state)
Changes the state of the controller
|
void |
undo()
Undoes the last command
|
public void loadCityMap(java.lang.String path)
path
- The absolute path to the map filepublic void loadDeliveryRequest(java.lang.String path)
path
- The absolute path to the delivery filepublic void computeCircuits(int numberOfCouriers)
numberOfCouriers
- the number of couriers/circuitspublic void setSelectDelivery(Delivery delivery)
delivery
- The delivery selectedpublic void addDelivery(Delivery d, Circuit c)
d
- The delivery you want to addc
- The circuit in which you want to add the deliverypublic void deleteDelivery(Delivery d, Circuit c)
d
- The delivery you want to removec
- The circuit in which the delivery ispublic void changeCircuit(Delivery d, Circuit oc, Circuit tc)
d
- The delivery you want to moveoc
- The circuit in which the delivery originally wastc
- The circuit in which the delivery will bepublic void moveDeliveryBefore(Delivery d, Circuit c)
d
- The delivery you want to movec
- The circuit in which the delivery ispublic void moveDeliveryAfter(Delivery d, Circuit c)
d
- The delivery you want to movec
- The circuit in which the delivery ispublic void undo()
public void redo()
public boolean canUndo()
public boolean canRedo()
public Model getModel()
public void setState(State state)
state
- public State getState()
public static CommandsList getCommandsList()
public static void setCommandsList(CommandsList cl)


You can add spry:sort attributes to your dynamic region that allow users to interact with the data. This section uses the table code from Create a Spry dynamic region and display data as an example.
By default, all data in the data set (including numbers) is considered text, and sorts alphabetically. To sort numerically (for example, to sort by price of menu item), you can use the setColumnType data set method to change the data type of the price column from text to numbers. The method takes the following form:
datasetName.setColumnType("columnName", "number");
Using the preceding example, you would add the setColumnType method to the head tag of your document, after you create the data set (in bold):

The expression calls the setColumnType method on the dsSpecials data set object, which you’ve already defined. The setColumnType method takes two parameters: the name of the data set column to retype ("price") and the desired data type ("number").
You can now add the spry:sort attribute to the price column so that all three columns in the HTML table are sortable when the user clicks any of the table headers:

 Item	 Description	 Price

 {item}	 {description}	 {price}


@import models.reply.Reply2ArticleListTree @import app.AppGlobal @(uid: Long, uname: String)(user: User, article: Article, replyListTree: Seq[Reply2ArticleListTree])


KALMUS Update Log (v1.3.9)¶
Update Log¶
update 1.3.9¶
Changes
In the main plot of the KALMUS GUI, if two plotted barcodes have the same temporal dimension (elapsed time (seconds) per column of pixels), the x-ticks and y-ticks of the plot will show the pixel's temporal position (instead of the spatial position in the barcode image). See KALMUS's issue #3 for more information.
update 1.3.8¶
Changes
Default normalization for NRMSE (Normalized Root Mean Squared Error) changes to "Min max" from "Average norm".
kalmus.utils.measure_utils.nrmse_similarity
SSIM is renormalized from range [-1, 1] to [0, 1] to align with the range of NRMSE for more direct comparison.
Default behavior of command-line generator
kalmus-generator
changed. By default,kalmus-generator
now collects color till the end of film instead of only 10 frames in version 1.3.7
Fixes
Fix the issue that Barcode.fps attribute in saved JSON object is not loaded when rebuilding Barcode object. Now, the rebuilt Barcode object will have the correct fps read from JSON object file.
update 1.3.7¶
Changes
The kalmus.utils.Artist module is renamed to kalmus.utils.artist
Add features
New console script kalmus-generator that allows users to automate their barcode generation process through this command line interface. Example usage:
$ kalmus-generator -p tests/test_data/test_color_video.mp4 --frame_type Whole_frame --color_metric Average --skip 10 --step 1 --total_frames 100 --barcode_type Color
Use
$ kalmus-generator -h
to check the description of available arguments in details.
Update 1.3.6¶
Changes
- The internal package structure is refactored.
The utility files, including artist, measure_utils, and visualization utils, are in kalmus.utils. To import artist for example,
import kalmus.utils.artist
.The barcodes related class files, including Barcode and BarcodeGenerator, are in barcodes module now. To import Barcode for example,
import kalmus.barcodes.Barcode
.The tkinter windows class files are further modularized.
Update 1.3.5¶
Changes
The project source codes now cloud be found on our GitHub page, https://github.com/KALMUS-Color-Toolkit/KALMUS.
If you clone the project to the local, you may start the program by running the script kalmus.py.
python kalmus.py
Update 1.3.4¶
Add features
New optional parameter save frame rate in the barcode generation. Now, if users select to save the frames during the generation of the barcode, they can choose how many seconds to save one frame. The default save frame rate is saving one frame every 4 seconds.
New option and optional parameter Rescale frame in the barcode generation. Users can choose whether to rescale the input frame (reducing or enlarging the image size) during the barcode generation by a factor given by users. The rescaling the input frame to a smaller size can substantially expedite the generation process. This option is highly recommend for the input video with resolution higher than 1K standard. However, for the video with resolution lower than 1K, the time for rescaling the frame may outweigh the benefit in accelerating the barcode generation.
Changes
Now, instead of closing themselves once the process succeeded, the Generate Barcode window will give user the success message when the barcode is generated, and the window will not be closed. Meanwhile, only one generate barcode can be opened at a time, and users need to close the Generate Barcode window before exiting the program.
Load JSON window, Save JSON window, Save Image Window, and Output CSV window now also give users success message when the process is finished. Load JSON window will indicate the name (key) of the barcode loaded into the memory in its message. Save JSON window, Save Image Window, and Output CSV window will indicate where the JSON, Image, and CSV files are saved on the machine.
Fixes
The blocking issue of the Generate Barcode after users quit the KALMUS software has been fixed. Now, when users close the Generate Barcode Window and Main Window of the KALMUS GUI, all the other windows will be closed automatically and the allocated resources for their threads will be released.
update 1.3.3¶
Add features
More indicative Error Detection/Exception Handling in KALMUS graphic user interface. Now in the generate barcode, Load JSON window, Save JSON window, and Save Barcode Image window error or warning message box with issue message will pop up if any handled/unresolved exception occurred in the process.
kalmus-gui now asks users whether they are sure to quit the KALMUS when they try to close the main window by the Quit button or Close button on the Window Manager bar.
Changes
Layout of Inspect Barcode window has been redesigned. Now buttons are all on the same row, and the displayed barcode image are more compact with respect to the window.
KALMUS GUI now loads different formats of icon image under different OS environment. (.ico format for Windows and POSIX Mac, .xbm for POSIX system)
Now the histogram plots in the Main window will also be auto-rescaled after loading new barcodes into the main window.
Threaded Barcode generation. Barcode generation now won't block the mainloop process of the KALMUS GUI.
Fixes
Dependencies fixes. The required versions of dependent modules matplotlib and scikit-image now retreat to more stable releases. matplotlib == 3.2.2 and scikit-image == 0.16.2
Barcodes with less than 160 frames now can be correctly loaded and displayed in the KALMUS GUI.
Unexpected print statements in the barcode generation has been removed.
Update 1.3.1¶
Add features
Check Meta Info now also shows the input video length (time), video frame rate (FPS), generated barcode's start time, and end time in the input video. Notice that these four pieces of information are determined from the input video file and are hence immutable parameters of the video & barcode.
Changes
The default behavior of the Save Frames in the generation of the barcode is changed. The upper bound of saved frames for a barcode is 900 frames. The default sampled rate is saving one frame every 4 seconds, the sampled rate will be reduced if the resultant saved frames exceed the bound.
In the Reshape Barcode, parameters Scale Width/Height by (ratio) and Resize Width/Height to (pixels) are no longer required. If one of the parameters is not specified, rescaling/resizing will assume the barcode is unchanged in that dimension. If both dimensions (x and y) are not specified, the rescaling/resizing won't process. For reshaping, Frames per Column as the only parameter is still required, and the reshaping won't process unless the parameter is given.
In the Save JSON, the JSON file path field is no longer required. If the path is not given, the default filename of the saved barcode will be used, and the JSON file (barcode) will be saved in the current working directory. We still recommend users to specify the JSON file path to avoid potential filename conflicts.
Fixes
Unexpected print statement when Checking time at a brightness barcode is now removed.
Reshape, Resize, or Rescale a barcode will no longer break the frame-pixel (or time-pixel) relation which the function Check time at a pixel relies on. Thus, users will no need to Recalibrate the barcode to fix the time-pixel relationship after Reshape/Resize/Rescale. Calibrate now should only be used to update the time information of the barcode generated by the KALMUS in the 1.3.0 version and before. The mutability of the Barcode's start time/end time, and Frame rate are no longer needed, and the Calibrate may be removed from the KALMUS GUI in the future version.
Auto Rescale the barcode plots after loading the new barcode with different sizes (in x, y, or both dimensions) or reshaping/resizing/rescaling the currently plotted barcodes.
Update 1.3.0¶
Add features
Check time at a barcode's pixel. Users now can double clicks on a pixel in the displayed barcode to check the position, frame index, and time of the corresponding frame in the original film. All these timestamps will be showed in a separate window.
If the barcode saved the frames during the generation, users may click the Display button in the new window to check 5 frames around that time point.
The correct time relies on the assumption that each pixel in the barcode is corresponding to a sampled frame. If the barcode image has been reshaped/scaled, users can use the Calibrate button to recalibrate the frame-pixel relationship. The Frame per Second (fps) is used particularly for the downward compatibility to the barcodes generated in the previous version of KALMUS, and should not be used for the barcode generated after version 1.3.0.
Color barcode and Brightness barcode have distinguished behavior when checking the time point.
Fixes
- In the Barcode Generator window, the frame acquisition parameters Start at (frames), Start at (mins:secs), Total frames, End at (mins:secs) are no longer required fields.
The Generator assumes the barcode starts at the beginning of the film when leaving Start at entry blank or typing
Start
in the entry.The Generator assumes the barcode ends at the end of the film when leaving Total frames or End at entry blank or typing
End
in the entry.The Sampled frame rate (frames or seconds) is still required.


Foo foo = new Foo();
ValidationResult result = ValidateDataAgainstSchema.validate(foo.data(),
foo.schema(), new
ValidationOptions(RequiredMode.FIXUP_ABSENT_WITH_DEFAULT));
assert(result.isValid());
This will fail if the underlying data is read-only and default values cannot be set for absent fields.
This will also work for partially filled in records. It will only add default values to fields that are absent.
It requires the data-avro module, or data-avro-*.jar.
At runtime, use:
Foo foo = new Foo();
DataSchema pegasusSchema = foo.schema();
org.apache.avro.Schema avroSchema =
SchemaTranslator.dataToAvroSchema(pegasusSchema);
String avsoSchemaInJson = avroSchema.toString();
From the command line, to create text files with Avro schema from pdsc files (version 0.17.1 or higher):
```# syntax:
# java [-Dgenerator.resolver.path=<path>] com.linkedin.data.avro.AvroSchemaGenerator <targetDir> [<pdscFile|schemaFullName>]...
java -Dgenerator.resolver.path=src/main/pegasus com.linkedin.data.avro.generator.AvroSchemaGenerator ../build/main/codegen/avro src/main/pegasus/com/linkedin/foo/*.pdsc
# or
java -Dgenerator.resolver.path=src/main/pegasus com.linkedin.data.avro.generator.AvroSchemaGenerator ../build/main/codegen/avro com.linkedin.foo.Foo
```
Classpath must be setup to include data-avro.jar and its dependencies.
You may experience errors, such as the following:
```Type cannot be resolved: 1,1: "a.b.D" cannot be resolved.```
when a.b.D
’s definition is embedded in another type, for
example, a.b.C
.
Embedded data types do not have their own pdsc file. As a result, such data type can only be referenced within the containing pdsc file. It can not be referenced externally. To change this behavior, pull out the definition of the internal type to a separate pdsc file.
Internally, this behavior is due to reason that the schema parser
references the data types by filenames. pdsc file for a.b.C
should be expected at pegasus/a/b/C.pdsc
. Since Rest.li
does not prefix the containing data type’s name to the embedded type’s
name, when code>a.b.Dis embedded in
C.pdsc, the
schema parser will not be able to find
pegasus/a/b/D.pdsc```.
When using Java 8, you may experience build failures due to the following:
```[error] /home/myuser/data-template/src/main/codegen/com/linkedin/PegasusFormSchema.java:192: error: malformed HTML
* return type: java.util.Set<java.lang.Integer>
[error] /home/myuser/data-template/src/main/codegen/com/linkedin/PegasusFormSchema.java:192: error: bad use of '>'
* return type: java.util.Set<java.lang.Integer>
```
The root cause is incorrectly formatted string values for anything
within the doc
or symbolDocs
attributes within your pdscs. Due to
the addition of doclint in JDK8, anything under the doc or symbolDocs
attribute must be W3C HTML 4.01 compliant. This is because the contents
of this string will appear as Javadocs in the generated Java ‘data
template’ classes later. Please take this into consideration when
writing your documentation.
The alternative is to disable doclint altogether:
```
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
```
More details on doclint can be found here: Javadoc has become very strict
More details on doc
and symbolDocs
can be found here: Data Schemas
and
Templates
There is a potential pitfall to be aware of. Consider the following scenario:


My Dashboard
My Weekly Stats
Miles
Hours
Favorite Mode
Challenges Won
My Progress Visualized
How did we calculate this?


Here, you can find instructions for your OS to hack your switch.
The source code for this site can be found here
This is isn't tested that much. Be careful!
Huge thanks to the ReSwitched team and ktemkin. Also thanks to atlas44 and ElijahZAwesome for their javascript code.
This is the old/alternate version of the site. Go here for the bootstrap design of this. (This website still functions)
Also, thank you for using my tool.
The web launcher does NOT work in Windows. There is a really noob friendly tool now called SHAIO, so we'll be using that.
Honestly, the program practically teaches itself, but I'll give instructions anyway.
1. Get the latest release of SHAIO here
2. Install it if you got the exe, or unzip the file if you got the portable zipped file.
3. Open SHAIO, then click "Payload Tool", and press ok on the popup (first use only).
4. Select "Install Drivers" in the bottom left corner. Allow the app to make changes (needs admin access), then complete the wizard.
5. Put your switch into RCM mode and plug it into your computer.
6. Click the text box at the top and select a paylod, or upload one with the "+" button, then click "Launch", and it should be done!
The Web Launcher will work on Linux, however, I suggest you do this first so we don't have errors later on:
Make a file at /etc/udev/rules.d/50-switch.rules
With the following contents:SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
These Operating Systems will work as is. Move on to the hacking!
You must use Chrome for this to work!
Also make sure Chrome isn't sandboxed (one user had an issue with this).
1. Put your switch in RCM mode
2. Connect your switch to your computer
3. Select your payload or upload one
4. Click "Activate"
5. Select "APX" in the prompt, then "Connect", and the payload should've been sent!
An iframe of the switchbru appstore.


--- layout: post title: 'Why am I getting ''Errno(105): No buffer space available'' when subscribing to multicast addresses?' date: 2017-06-28 12:04:34.000000000 +02:00 type: post parent_id: '0' published: true password: '' status: publish tags: - Linux/Ubuntu - Tricks meta: _rest_api_published: '1' _rest_api_client_id: "-1" _publicize_job_id: '6562558568' publicize_linkedin_url: https://www.linkedin.com/updates?discuss=&scope=97183493&stype=M&topic=6285769693080928256&type=U&a=kn_r _publicize_done_16016023: '1' _wpas_done_15845576: '1' _publicize_failed_16257270: O:13:"Keyring_Error":2:{s:6:"errors";a:1:{s:21:"keyring-request-error";a:1:{i:0;a:6:{s:7:"headers";O:42:"Requests_Utility_CaseInsensitiveDictionary":1:{s:7:" _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:16076855;s:56:"https://twitter.com/MphoMphego/status/880004009536479232";}} _publicize_done_16257272: '1' _wpas_done_16076855: '1' publicize_twitter_user: MphoMphego publicize_google_plus_url: https://plus.google.com/+MphoMphego/posts/ZAdVctyajyp _publicize_done_16966120: '1' _wpas_done_16750486: '1' author: login: mpho112 email<EMAIL_ADDRESS>display_name: Mpho first_name: '' last_name: '' ---
I have been experiencing multicast subscription errors on my linux box when trying to subscribe to more that 20 IP's via smcroute and Python-Socket module. See below image to get an idea of the kind of errors I was getting, after multiple Googling attempts I finally found a fix.
Linux OS, limit the number of multicast group memberships that a machine can belong to simultaneously. (A "multicast group membership" indicates that a machine is listening to messages for a specific multicast IP address. In other words, there is a limit on how many multicast IP addresses you can listen to). On Linux, in particular, the default limit is relatively small (only 20 on many standard kernels). However, this limit can be configured dynamically.
If you try to subscribe to too many multicast addresses at once, you may run into the error message below:
daemon error: Warn: ADD MEMBERSHIP failed; Errno(105): No buffer space available 22
daemon error: Warn: ADD MEMBERSHIP failed; Errno(105): No buffer space available 23
daemon error: Warn: ADD MEMBERSHIP failed; Errno(105): No buffer space available 24
The "Errno 105" in this message indicates that the errno value returned by the Linux network stack is 105, or ENOBUFS. This return value while adding a multicast address indicates that your machine is trying to be a member of too many multicast groups at the same time.
The solution is to tune your kerne. First things first we need to backup our current sysclt.conf
and replace the contents with the ones below.
$ sudo vim /etc/sysctl.conf
# Bigger buffers (to make 40Gb more practical). These are maximums, but the default is unaffected.
net.core.wmem_max=268435456
net.core.rmem_max=268435456
net.core.netdev_max_backlog=10000
# Avoids problems with multicast traffic arriving on non-default interfaces
net.ipv4.conf.default.rp_filter=0
net.ipv4.conf.all.rp_filter=0
# Force IGMP v2 (required by CBF switch)
net.ipv4.conf.all.force_igmp_version=2
net.ipv4.conf.default.force_igmp_version=2
# Increase the ARP cache table
net.ipv4.neigh.default.gc_thresh3=4096
net.ipv4.neigh.default.gc_thresh2=2048
net.ipv4.neigh.default.gc_thresh1=1024
# Increase number of multicast groups permitted
net.ipv4.igmp_max_memberships=1024
After you have edited the file, you need to either reload the configuration file by executing, sudo sysctl -p
or by rebooting your system.
At this point you are pretty much Done.


Web push & service worker by
Leon Feng
open the console to check the log
Web Worker
send a message to web worker
terminate the web worker
ask web worker to close itself
ask web worker to throw an error
Service Worker
send a notification to this browser


Animal activists arrested
by Rob GibsonUPDATE 11:17 a.m.
Interior Savings released a statement after activists were forcibly removed off their property for protesting in front of their downtown location.
"This morning, Interior Savings had a protest group outside its Bernard location. The protestors are not permitting members to enter the building and the RCMP are aware of this situation. Interior Savings has met with the group to hear their concerns about sponsorship of Ribfest."
Interior Savings’ approach is to work with groups across its membership to support events that bring the community together, are well-received by the public, and in many instances, raise tens of thousands of dollars to support the important work being done by local non-profits in our communities.
Ribfest is one of those events, raising thousands of dollars to support local charities including Jo-Anna’s House – a home away from home for people whose families are receiving life-saving support from KGH.
Ribfest offers free and accessible entertainment to everyone in the community. Like most community events, it offers a selection of food options to suit people’s preferences. Interior Savings’ appreciates and respects that everyone has a right to their opinion, to share their opinion and to choose a diet that makes sense for them.
Interior Savings remains committed to supporting top-notch community events that raise tens of thousands of dollars for those in our community who need a helping hand."
UPDATE 11:03 a.m.
The activists who chained themselves to the exterior of Interior Savings Credit Union in downtown Kelowna are now being forcibly removed.
RCMP have read the protestors their rights and are now using bolt cutters to remove the chains and usher the protestors into a waiting RCMP cruiser.
UPDATE 10:49 a.m.
One of the activists has gone inside the Interior Savings Credit Union to speak to representatives of the company.
They have indicated that there was no resolution to the issue and the activists indicate they will remain on location until they are forcibly removed.
"We want to disrupt their business as much as possible and raise awareness for animal agriculture."
UPDATE 8:47 a.m.
One of the protestors, referring to herself as a "police liaison" tells Castanet the half dozen or so activists will remain chained to Interior Savings, preventing them from opening for business until the Credit Union cuts all ties with Ribfest. Teghan Gordey called Ribfest "non-progressive" and wants Interior Savings to pull their sponsorship of the event.
UPDATE 8:38 a.m.
Kelowna RCMP are on the scene of a protest outside the Interior Savings Credit Union in downtown Kelowna.
Sgt. Greg Woodcox tells Castanet, he has spoken to bank staff and they are working towards a resolution, "obviously they can't remain chained to the doors forever."
Woodcox says RCMP are talking to both sides and they are trying to facilitate communication between the two sides.
Interior Savings Credit Union opens at 9:30 a.m.
UPDATE 8:10 a.m.
Demonstrators say they chose Interior Savings because,"the bank, plays a big role in sponsoring not only the Kelowna RibFest, but other RibFest’s across BC," activist Amy Soranno says, “festivals like these cannot happen without sponsors donating money, therefore we are calling on Interior Savings to stop supporting a festival that destroys our environment and supports farms that have been proven to conduct criminal animal cruelty”.
The activists outside of Interior Savings are showcasing several videos they claim show animal abuse at Excelsior Hog farm and they say, "by sponsoring Ribfest, Interior Savings is paying for these animal atrocities to take place."
The activists say they are escalating their tactics because they feel there other methods of protest have fallen on deaf ears.“We have protested, written e-mails, held demonstrations, and so much more. This has been ongoing for many years now, yet our concerns have been laughed off, by not only the organizers of RibFest, but also the sponsors of the event, such as Interior Savings.”
ORIGINAL 7:54 a.m.
Environmental and animal rights activists have locked themselves down outside the Interior Savings Credit Union in downtown Kelowna.
Early Monday morning, a group of activists locked themselves to the two front entrances of Interior Savings Credit Union on Bernard Avenue, downtown Kelowna. This lockdown has prevented Interior Savings from opening, while more activists arrived to protest outside of the financial institution. The activists are holding signs saying, “Stop Sponsoring Ribfest” and the activists say that they will stay locked down until Interior Savings meets their demand.
Castanet is there and will be broadcasting live throughout the demonstration.


Project Portfolio
Weichen is a first year Computer Science master student at UC San Diego. He received his B.E. degree majoring in Digital Media Technology in BUPT, Beijing, China. He made serveral games, short films, animations, videos during his undergrad study.
Projects
RambleShapes
#2D-PlatformGame #Unity3D
AirAlert
#indie #ShootingGame #Android
RambleShapes Animation
#3DComposite #Animation
3 Minutes to know Gouqi
#MotionGraphic #Animation #AdobeAE
One Day, Blooming without Blue
#ShortFilm
To My Childhood
#2DAnimation #Drawing


Release Notes for the SPARC: OpenSolaris 2009.06 Release
This page lists the Release Notes for the *SPARC: OpenSolaris 2009.06* release. For additional information on the following issues, look up the bug number in Bugzilla. Refer to the Release Notes for the x86: OpenSolaris 2009.06 release. For information about the new features in the OpenSolaris 2009.06 release, see What's New in OpenSolaris 2009.06. For translations of this document, refer to Release Notes translated into non-English LanguagesInstallation Bugs
This section describes installation issues that apply to the OpenSolaris 2009.06 OS.
-
#6616 platform/sun4u/dscp:default Service Failure Warnings Might be Displayed in sun4v Machines
Description
On some SPARC platforms, service failure warnings are generated during an Automated Install session. A warning similar to the following is displayed.
Feb 19 16:07:43 svc.startd[7]: svc:/platform/sun4u/dscp:default: Method "/lib/svc/method/svc-dscp start" failed with exit status 96. Feb 19 16:07:43 svc.startd[7]: platform/sun4u/dscp:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)
This issue occurs because architecture specific services are not enabled correctly. These service failure warnings are benign and install succeeds.
Workaround
The warning messages can be ignored.
-
#7218 Convert Existing installadm Services
Description
The latest version of SUNWinstalladm-tools from http:pkg.opensolaris.org/release contains fixes for the following bug:
#7218 - installadm needs to move service data into SMFIf you update your automated install server with the versions of SUNWinstalladm-tools and SUNWinstall-libs packages that fix #7218, then you will need to convert any services previously created with installadm create-service.
Workaround
Use the following procedure to convert the services created with installadm create-service.
- Install the new SUNWinstalladm-tools and SUNWinstall-libs packages.
- Reboot the automated install server.
- Download and run the convert.sh script found at http://opensolaris.org/os/project/caiman/auto_install/convert.sh.
- Enable the service:
svcadm enable svc:/system/install/server:default
For more information, see the OpenSolaris Automated Installer Guide.
-
#8575 Automated Installation Fails if Slice 0 is Configured on the Client With Lesser Than 8 GB Disk Space
Description
Automated Installation fails when the Automated Installation manifest points to a target device and the slice 0 on target device is configured with less than 8 GB of disk space. The following error message is displayed:
Auto install failed
The Automated Installation fails because it runs out of space in slice 0 of the target device.
Workaround
Choose one of the following workarounds:
- Create slice 0 of the target device with more than 8 GB space.
- If there is another slice with more than 8 GB space, change the Automated Installation manifest to use that slice. For example, if you want to use Slice 4 of your target device c0t0d0, add the following lines to your Automated Installation manifest:
<ai_target_device> <target_device_name>c0t0d0</target_device_name> <target_device_install_slice_number>4</target_device_install_slice_number> </ai_target_device>
-
#8661 Automated Installer Fails to Continue With Installation if Slices from the Previous Configuration Exist
Description
When a custom Automated Installation manifest is used to install a system and there are customizations in the manifest to create slices other than the root slice if those slices already exist on the disk in your system, then the automated installation fails. The following error message is seen in the install_log file:
root@opensolaris:/tmp# tail -20 /tmp/install_log
/tmp/ai_combined_manifest.xml is a valid manifest Auto reboot disabled Disk = c8t0d0 found on the system Disk name selected for installation is c8t0d0 no manifest partition information found disk partition info not changed System reports enough physical memory for installation, swap is optional creating slice which already exists failed to modify slice(s) specified in the manifest Auto install failed Workaround
Use the format(1M) command to remove the existing slices from your disk. Rerun the automated installation by rebooting your system back into the Automated Installer.
-
#8773 installadm create-service Followed Quickly by installadm delete-service Causes installadm to Hang
Description
If you type installadm create-service followed immediately by installadm delete-service, the installadm command might hang. This command hangs because the installadm smf service, svc:/system/install/server:default, is not online when the installadm delete-service command is executed.
Workaround
Wait for the svc:/system/install/server:default service to be online. To determine whether this service is online, type svcs svc:/system/install/server:default and check whether the STATE is listed as online.
-
#8884 Incorrect Backslash in Automated Installer Document Example
Description
The following SPARC example command in the OpenSolaris Automated Installer Guide section, How to Complete Server Setup (Advanced Instructions), contains an extra backslash:
# installadm create-service -n sparc1 -s /root/Desktop/osol-0906-111a-ai-sparc.iso /export/aiserver/osol-0906-ai-sparcIf you type the command with the backslash, the following error message is displayed:
The installadm SMF service (svc:/system/install/server:default) is no longer online because the last install service has been disabled or deleted.
Workaround
The backslash should not be used in the command. Rerun the command without the backslash.
-
#8961 Specifying pkg Version Strings in the Automated Installation Manifest List of Packages causes Automated Installation to Fail
Description
Automated Installation might fail if version strings for packages are specified in the Automated Installation manifest. The following error message might be found in the Automated Installation SMF log at /var/svc/log/application-auto-installer:default.log.
Unable to install SUNW in /a om_perform_install failed with error 114 Auto install failed
Workaround
List the entire package first and specify version strings for the entire package only. For example:
<ai_install_packages> <pkg name="entire@0.5.11,5.11-0.111"/> <pkg name="SUNWcsd"/> <pkg name="SUNWcs"/> <pkg name="SUNWj6rtx"/> <pkg name="SUNWgroff"/> <pkg name="SUNWgcc"/> <pkg name="babel_install"/> <pkg name="xvm"/> </ai_install_packages>
-
#9026 VTOC Partition Size Is Not Aligned to the Cylinder Boundary on Disks Larger Than 1.96 TB
Description
On disks larger than 1.96 TB, the installer creates VTOC slices which are not aligned on the cylinder boundary. The installed OpenSolaris instance will boot successfully but the format(1M) tool cannot process the VTOC configuration. The tool will report that the disk does not contain a valid label.
Workaround
Use the Solaris format(1M) tools to create the required VTOC configuration outside the installer. Then install into the existing slice using the Automated Installer.
For more information on how to configure and use the Automated Installer, see the OpenSolaris Automated Installer Guide.
Packaging Bugs
This section describes IPS-related issues that apply to the OpenSolaris 2009.06 OS.
-
#7836 Warnings Are Displayed While Using pkg image-update
Description
While updating an image to build 111 or beyond, a warning message similar to the following might be displayed:
driver (emlxs) upgrade (removal of minor perm '* 0600 root sys'') failed with return code 252 command run was: /usr/sbin/update_drv -b /mnt -d -m * 0600 root sys' emlxs command output was:
No entry found for driver (emlxs) in file (/mnt/etc/minor_perm).
This bug occurs only when the SUNWemlxs package is manually added to the OpenSolaris 2008.11 OS and the system is updated to the OpenSolaris 2009.06 release. This warning message is displayed for many drivers including emlxs, afe, audio810, audiohd, audioixp, bnx, isa, ixgbe, nge, nv_sata, and qlc.
Workaround
The warning can be ignored.
Hardware-Related Bugs
This section describes hardware-related issues that apply to the OpenSolaris 2009.06 OS.
-
#6831186 Sun Ultra 45 Workstation With XVR-300 Graphics Adapter Crashes While starting X Server
Description
Sun Ultra 45 Workstations with XVR-300 Graphics Adapter installed crash while starting the X Server. The system crashes just before the Gnome Display Manager (GDM) login page. JBUS-PCI error messages are displayed.
Workaround
None.
-
#6831559 KFB and EFB Graphics Drivers have Initialization Issues with LCD Monitors
Description
The KFB and EFB drivers have initialization issues because of the failure to retrieve EDID support data from the LCD monitor. This causes the GNOME window system to hang or crash at GDM login or shortly after login. This issue is mainly seen with KFB drivers.
Workaround
Generate an /etc/X11/xorg.conf file. Perform the following steps:
- Disconnect the LCD monitor before you start.
- On the virtual-console, type the following command:
# fbconfig -dev efb0 -res VESA_STD_1280x1024x60 now nocheck
Note: For the XVR-2500 and KFB driver it is recommended that you use a SUN CRT type Monitor, Part numbers: 365-1399-01, 365-1418-01. Currently LCD Monitors with KFB are facing issues, even when the resolution and xorg.conf file is pre-created with resolution set at 1280x1024x60.
-
#6835217 EFB Driver Shows Graphic Artefacts Even Under Supported Resolutions
Description
The screen displays noise while moving windows and the windows have rough borders.
Workaround
None.
-
#6836612 GNOME Monitor Resolution Applet Locks Out User.
Description
When the user clicks on System -> Preferences -> Screen Resolution, the user is locked out of the system.
Workaround
None.
-
#6836558 Window Display Fails to Return After Display Power Management
Description
When the display power management reaches the OFF state, pressing the mouse button, or keyboard tab, or the control key does not display the window system.
Workaround
Generate an /etc/X11/xorg.conf file. Perform the following procedure:
- Disconnect the LCD monitor before you start.
- On the virtual-console, type the following command:
# fbconfig -dev efb0 -res VESA_STD_1280x1024x60 now nocheck
- Reboot your system.
-
#6837629 Xorg Fails With Fatal Error
Description
Xorg Fails with a fatal error on XVR-2500 after the xhost is set. All applications and utilities close and the server crashes. This failure occurs when the XVR-2500 is connected to the SUN CRT Monitor. The following error message is seen:
ddxDriverInit: Could not register as server
This issue occurs when you type the following commands on the command-line:
# /usr/X11/bin/Xorg&
- /usr/X11/bin/xhost +
-
#6838784 EFB XVR-300 Ignores Resolution Set by fbconfig on Sun CRT Monitors
Description
The resolution on Sun CRT monitors remains the same regardless of the resolution set using fbconfig.
Workaround
None.
-
#6838786 Xorg Receives Hardware Cursor Error While Initializing With EFB
Description
The Xorg standard output displays a hardware cursor error during initialization. The following error message is displayed:
efb(0): Hardware cursor initialization failed
Workaround
None. Xorg and GNOME are not noticeably affected by this error.
-
#6840893 Some Resolution Settings Produce an Incorrect Narrow Display Width on the LCD Monitor on EFB and NFB Drivers
Description
The VESA_STD_800x600x75, VESA_STD_1280x1024x75, SUNW_DIG_1920x1080x60, and SUNW_DIG_1920x1200x60 resolutions cannot be set on LCD monitors. These resolutions produce an incorrect narrow width display.
Workaround
Use the 1280x1024x60 and 1024x768x60 resolution sizes.
-
#6841967 EFB with LCD Monitor Might Cause Powercycling of the System
Description
LCD Monitors that have higher than 1280x1024x60 preferred resolution settings might powercycle at GDM login.
Workaround
The recommended approach to the installation of a sun4v system is through the use of a service processor and virtual-console, or through ttya in the case of a sun4u system. Perform the following procedure:
- Unplug the monitor before you begin. This enables the smooth initialization of the graphics card when the system is rebooted.
- Install the system.
- At the end of the installation setup procedure through the virtual-console or through ttya create an /etc/X11/xorg.conf by setting the resolution:
# fbconfig -dev efb0 -res VESA_STD_1280x1024x60 now nocheck New configuration file, /etc/X11/xorg.conf Video mode has been set to "VESA_STD_1280x1024x60"
- Reconnect the monitor.
- Type the following command on the virtual-console or ttya:
# eeprom input-device=keyboard output-device=screen;
- Reboot the system.
-
#6842468 EFB Console Is All Black on the Sun Ultra 45 Workstation
Description
The screen is black on a Sun Ultra 45 workstation until the GDM login page is displayed.
Workaround
Telnet to ttya for installation and setup because you might be unable to install locally .
The error message is displayed and the driver crashes. GDM is functional when the X Server is restarted.
Workaround
None.
Localization Bugs
This section describes localization issues that apply to the OpenSolaris 2009.06 OS.
-
# 8880 Input Method Preference Editor Help Fails to Load
Description
iiim-properties(1) help fails to load with the XML parser error in some locales.
Workaround
-
Install SUNWgnome-xml from pkg.opensolaris.org.
$ pfexec pkg install SUNWgnome-xml
-
Manually execute the following script.
$ pfexec /usr/share/sgml/docbook/docbook-catalog-install.sh
-
End-of-Software Support Statements
The following features might not be supported in a future release of the OpenSolaris software.
-
xorgcfg and xorgconfig Utilities
The xorg(1) server does not require an xorg.conf(4) file in many cases, and will autoconfigure itself if one is not present. If the default configuration does not meet your needs, you may use one of these alternative methods to generate an xorg.conf file for customization:- /usr/X11/bin/Xorg -configure, when the server is not already running will provide a sample configuration file for the currently detected hardware in the system.
- When Xorg is started without a configuration file, the xorg.conf data it generates automatically is logged in /var/log/Xorg.0.log and may be copied to an xorg.conf file for customization.
- Users of NVidia graphics devices may use the provided nvidia-settings(1) and nvidia-xconfig(1) utilities to generate or update device-specific configurations.
- Users of Sun graphics devices for the SPARC platform may use the fbconfig(1) utility to generate or update device-specific configurations.
Additional Installation Troubleshooting Information
This section provides troubleshooting resources for the OpenSolaris 2009.06 OS.
- For general troubleshooting information, see the Getting Started Guide.
- For troubleshooting while installing the OpenSolaris release on your system, see Tips on Troubleshooting an OpenSolaris Startup and Troubleshooting Login and User Account Issues.
- For troubleshooting while installing the OpenSolaris release on multiple client systems, see Troubleshooting and FAQs for the Automated Installer.
- For troubleshooting while creating custom OpenSolaris images, see Troubleshooting for the Distribution Constructor.


Buhari meets UNGA President, Muhammad-Bande, at Aso Villa
by The Eagle OnlinePresident Muhammadu Buhari on Monday met behind closed doors with President of the UN General Assembly, Prof. Tijjani Muhammad-Bande, at the Presidential Villa, Abuja.
The News Agency of Nigeria reports that Muhammad-Bande, who emerged President of the 74th UN General Assembly in September was on his first official visit to Nigeria since he was elected.
Muhammad-Bande, the sole candidate for the position, was elected through acclamation at the 87th plenary meeting of the Assembly in New York.
He is the second Nigerian to hold the office after Joseph Garba, a retired military officer and diplomat, who led the organ between 1989 and 1990.
The outcome of the meeting between Buhari and the UNGA President was being awaited as at the time of filing this report.


Transforming your organization into an agile enterprise is no small deed. And it does not matter where you are on your way towards embracing agility on all levels. There will be a time when you need to align your people solutions with the mindset and demands of agile people and organizations. We will talk about how to turn your Human Resources into Agile People Operations and boost your agility. Join this session to gain valuable insights into the world of Human Resource Management recognize the impact of Agile HR practices through stories and examples discover why Agile needs HR and vice versa learn about People solutions in Agile Enterprises.


Comments
-
Greg Hurrell
Thanks for the report. Can you run the "leaks" command line tool on Synergy when it is running to see if any leaks are reported?
Just say the pid number of Synergy is 10942 (for example), you would type:
leaks 10942
You can look up the pid number of Synergy in the Activity Monitor. After executing the command you should see a list of leaks. In my case, I see:
Process 10942: 60585 nodes malloced for 8298 KB Process 10942: 153 leaks for 9376 total leaked bytes.
So it's leaking about 9 kilobytes, that's when it's been running for about 3 days straight. For comparison, I'm seeing 28.43 MB of real memory usage, 269.64 MB virtual.
I am not sure if you have to have the Xcode Tools installed, or if the "leaks" tool comes installed by default. For more info on "leaks" type this in the terminal:
man leaks
-
neilio
Created an attachment (id=87) Leaks output
Attaching the output from running leaks against Synergy -- when this info was captured Activity Monitor showed Synergy as using up 115mbs of real memory.
-
Greg Hurrell
Thanks very much for attaching the output, Neil. This confirms that the problem is not any leaks in Synergy.
How much memory do you have installed in your machine? The way Mac OS X works, the more memory you have, the more memory it will give to each running app. In my case I have 2 GB and Synergy is currently using 23.47MB real, 272.79MB virtual, which is pretty much in line with what I reported in my last comment; at this point the machine has been up for 2 days 10 hours and Synergy (and iTunes) have been running uninterrupted for that whole time).
It's a little bit hard to collect more information remotely. If you have the Xcode Tools installed you could run the "ObjectAlloc" application (in /Developer/Applications/Performance Tools/) and have a look at what kinds of objects are being allocated.
-
bugzilla user 472
I'm also having a rather serious memory leak problem. When I start Synergy it uses about 30 megs of RAM, but after a couple of days it is around 200-240 megs. I have the developer tools installed and can run whatever tool on Syngery. My leaks output currently shows the following:
Process 5872: 701442 nodes malloced for 44682 KB Process 5872: 53 leaks for 3088 total leaked bytes.
HTH
-
Greg Hurrell
(In reply to comment #4)
I'm also having a rather serious memory leak problem. When I start Synergy it uses about 30 megs of RAM, but after a couple of days it is around 200-240 megs. I have the developer tools installed and can run whatever tool on Syngery. My leaks output currently shows the following:
Process 5872: 701442 nodes malloced for 44682 KB Process 5872: 53 leaks for 3088 total leaked bytes.
Note that it says 3,088 *bytes* are leaked. Which is 3 kilobytes or 0.002 megabytes. There are some known, tiny leaks in the system frameworks that account for this leakage, but it's so small anyway as to be insignificant.
So what you're seeing isn't actually a "leak problem" at all but is quite normal. Try running leaks against some Apple applications, for example. These are some leaks figures for apps running on my machine right now:
Safari: Process 22767: 1263 leaks for 43696 total leaked bytes.
Finder: Process 234: 668 leaks for 40800 total leaked bytes.
Mail: Process 23388: 92 leaks for 3232 total leaked bytes.
Activity Monitor: Process 18184: 24 leaks for 10576 total leaked bytes.
Terminal: Process 18267: 10 leaks for 336 total leaked bytes.
And compare that with some non-Apple apps:
TextMate: Process 18199: 480 leaks for 14656 total leaked bytes.
SpamSieve: Process 23389: 8 leaks for 352 total leaked bytes.
Net Monitor: Process 18186: 7 leaks for 176 total leaked bytes.
I've got to run right now so can't write any more at this moment, but if you'd like more info on this topic let me know and I'll address it when I get back.
-
bugzilla user 472
Thanks for the additional information. I do realize that the leaks are expressed in bytes, and that the leaks utility does not uncover any significant leak. But the fact remains that Synergy uses a lot of memory (see attached screenshot). Or am I missing something?
TIA
-
bugzilla user 472
Created an attachment (id=138) Memory used by Sygerny after 3 days
Add a comment
Comments are now closed for this issue.


--- layout: post title: rough for an event date: '2014-01-09T07:30:50+01:00' categories: - Storyboards picture_url: https://film-Storyboards.tumblr.com/post/72763776703/rough-for-an-event ---
Rough for an event.


Before Change
// will get nans
length[small_idx] = np.nan
Snorm = S / length
Snorm[np.isnan(Snorm)] = fill_norm
else:
// Set small values to zero by doing an inf-divide.
// This is safe (by IEEE-754) as long as S is finite.
After Change
if fill not in [None, False, True]:
raise ParameterError("fill={} must be None or boolean".format(fill))
if not np.all(np.isfinite(S)):
raise ParameterError("Input must be finite")
// All norms only depend on magnitude, let"s do that first
mag = np.abs(S).astype(np.float)
// For max/min norms, filling with 1 works
fill_norm = 1


Services
country
Egypt
Italy
university
Cairo university
Ain shams university
Home >
Branches >
Jordan
Amman - Queen Rania Street - Amal Complex


Toggle navigation
Search Guard JWT example
Logged in as: {{tokenClaims.username}}
Run queries
Show token state
Auth info
Create user
Show all users
Login
Delete token/Logout


New Request
menu
Profile
Logout
Profile
Logout
Choose area
Civil Lines
Zero Road
Jhalwa
Area
Request expires after
Item Required
Additional instructions
add_circle_outline
Create Request


pihole
Terminal interface for the Pi-hole ad-blocking DNS server.
More information: home page
- Check the Pi-hole daemon's status:
pihole status
- Update Pi-hole and Gravity:
pihole -up
- Monitor detailed system status:
pihole chronometer
- Start or stop the daemon:
pihole enable|disable
- Restart the daemon (not the server itself):
pihole restartdns
- Whitelist or blacklist a domain:
pihole whitelist|blacklist example.com
- Search the lists for a domain:
pihole query example.com
- Open a real-time log of connections:
pihole tail


Settings
E
Profile
Account Settings
Billing
Data Connections
Privacy
Log Out
Settings
Team Performance
Averages
🔥
Team Heatmap


|
Skepsi
0.0.1
c++NeuralNetworkFramework
|
A neural network library in c++ aimed at providing a simple, modularized framework for deep learning.
===== VERSION 0.0.1 =====
First get the repository on your computer with
Next copy the make include settings into the head directory and edit them to your preferences.
After this simply run make install
to build and install skepsi. If your prefix (install location) has root priviledge acccess, then you'll need to run with sudo
.
So the entire script looks like,
Skepsi comes with some tester files to make sure everything is working properly. You can build them using the same makefile as for installation. Use the following command to build and run the testers:
author: Daniel Nichols


Self starting Full Stack Web Developer, with a knack for learning quickly. My background in Entrepreneurial Finance and Technology, immersed in high risk, high stress situations, have given me a great base for a working knowledge in Fintech. I know of the business model, and have established Banking Relationships, giving me awareness of it Pros and Cons, I have recently acquired a Full Stack Certificate from Rutgers University, New Jersey, where I gained high caliber experience in JavaScript, CSS, React.js, and HTML. I am an organized and detail-oriented coder who has contributed greatly to past projects by finding ways to write code more efficiently. For example, I helped classmates identify bugs in their code and was consistently approached by project teammates to double-check their work. I possess the skills in learning quickly, problem-solving and team work. I see myself bringing value to your company, by creating, deploying and maintaining state of the art apps, websites and projects.


Date Get Methods
The getTime() Method
The getFullYear() Method
The getDay() Method
Date Set Methods
The setFullYear() Method
The setDate() Method
Date Input - Parsing Dates
Compare Dates
UTC Date Methods


Cycling Club is for all lovers of cycling. It does not matter what kind of rider you are, or what kind of bike you ride. If you love to ride, you are welcome here. From competetive racers, to mountain bikers, recumbant riders, even little kids in tricycles, we hope you will join us!
We meet every last Sunday at 7am to ride. Bring your bike, your helmet, and ride with us!
Contact Nathan at<EMAIL_ADDRESS>to join.


FoodieFun
Login
About
What
Do you remember that meal you had two weeks ago?
Was the mild dish perfect, or volcanic?
Wasn't this the restaurant that was too loud?
With FoodieFun you can keep track of all the restaurants and dishes you love!
And lets be honest, the one's you hate.


--- layout: default title: Teaching ---
NOTES & RESOURCES
UBC, Teaching Assistant for Prof. Michael Devereux and Prof. Viktoria Hnatkovska Self-written Notes
UBC, Teaching Assistant for Prof. Jesse Perla, Paul Schrimpf and Peifan Wu. QuantEcon DataScience website and notes
International Finance(Masters), Monetary Economics(Masters), Econometrics Theory (PhD)


Next: upper-case-p, Previous: standard-char-p, Up: Characters Dictionary
char-upcase
character ⇒ corresponding-character
char-downcase
character ⇒ corresponding-character
character, corresponding-character—a character.
If character is a lowercase character, char-upcase returns the corresponding uppercase character. Otherwise, char-upcase just returns the given character.
If character is an uppercase character, char-downcase returns the corresponding lowercase character. Otherwise, char-downcase just returns the given character.
The result only ever differs from character in its code attribute; all implementation-defined attributes are preserved.
(char-upcase #\a) ⇒ #\A (char-upcase #\A) ⇒ #\A (char-downcase #\a) ⇒ #\a (char-downcase #\A) ⇒ #\a (char-upcase #\9) ⇒ #\9 (char-downcase #\9) ⇒ #\9 (char-upcase #\@) ⇒ #\@ (char-downcase #\@) ⇒ #\@ ;; Note that this next example might run for a very long time in ;; some implementations if CHAR-CODE-LIMIT happens to be very large ;; for that implementation. (dotimes (code char-code-limit) (let ((char (code-char code))) (when char (unless (cond ((upper-case-p char) (char= (char-upcase (char-downcase char)) char)) ((lower-case-p char) (char= (char-downcase (char-upcase char)) char)) (t (and (char= (char-upcase (char-downcase char)) char) (char= (char-downcase (char-upcase char)) char)))) (return char))))) ⇒ NIL
Should signal an error of type type-error if character is not a character.
‘upper-case-p; lower-case-p; both-case-p’ , alpha-char-p, Characters With Case, Documentation of Implementation-Defined Scripts
If the corresponding-char is different than character, then both the character and the corresponding-char have case.
Since char-equal ignores the case of the characters it compares, the corresponding-character is always the same as character under char-equal.