A Pipeline represents a series of steps that will be performed on 1 or more rows. Rows are Map objects that are passed from the Source through each step individually. A row can be modified, transformed into something else, or rejected by a step. If a row is rejected in any step all successive steps are not processed and the row is passed to the rejections Pipeline (if one exists). Any rows that pass through the entire Pipeline are said to have been loaded. Any row that does not pass through all steps is said to be rejected. Rows originate from the Pipeline's Source. The Source sends rows into the Pipeline until it finishes. The Pipeline keeps a set of statistics about how many rows were loaded, rejected, the types of rejections, timing, etc. This is kept in the LoadStatistic instance and returned from the Pipeline.go method. Example:
LoadStatistic stats = http("http://api.open-notify.org/astros.json"). inject { Map json -> json.people }. printRow(). go()In the above example you can see it using an HttpSource to fetch JSON data. That data is returned as a Map object which has other nested objects within it. In this case it's pulling out the "people" column which is a Collection of people objects. Then it injects those members into the down stream steps which uses printRow to print it to the console. The output would look like the following:
[name:Sergey Prokopyev, craft:ISS] [name:Alexander Gerst, craft:ISS] [name:Serena Aunon-Chancellor, craft:ISS] ===> ---- ==> inject() loaded 3 rejected 0 took 1 ms
| Modifiers | Name | Description |
|---|---|---|
static int |
DO_NOT_TRACK |
|
static java.lang.String |
REJECTED_KEY |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Pipeline |
addField(java.lang.String fieldName, groovy.lang.Closure fieldValue) Adds a new field to each row with the value returned by the given closure. |
|
Pipeline |
addStep(java.lang.String name = null, groovy.lang.Closure<java.util.Map> step) Adds a step to the pipeline. |
|
Pipeline |
addStep(groovy.lang.GString name, groovy.lang.Closure<java.util.Map<java.lang.String, java.lang.Object>> step) |
|
Pipeline |
after(groovy.lang.Closure<java.lang.Void> step) Adds a closure to the end of the Pipeline. |
|
Pipeline |
apply(groovy.lang.Closure<java.lang.Void> applyToPipeline) Passed a closure that is called with this Pipeline. |
|
Pipeline |
asBoolean(java.lang.String column) Parses the string value at given column into a java.lang.Boolean value. |
|
Pipeline |
asDate(java.lang.String column, java.lang.String... formats = ["yyyy-MM-dd"]) Parses the string at the given column name into a Date object using the given format. |
|
Pipeline |
asDouble(java.lang.String column) Return a Pipeline where the given column is converted from a string to a java.lang.Double. |
|
Pipeline |
asInt(java.lang.String column) Parses the string value at given column into a java.lang.Integer value. |
|
Pipeline |
branch(java.lang.String branchName = "branch", groovy.lang.Closure<Pipeline> split) Copies all rows on this Pipeline to another Pipeline that is passed to the given closure. |
|
Pipeline |
branch(java.util.Map<java.lang.String, java.lang.Object> condition, groovy.lang.Closure<Pipeline> split) Copies all rows on this Pipeline to another Pipeline where the given condition returns is true. |
|
Pipeline |
clip(java.lang.String... columns) Remove all columns from each row so that only the fields given will be returned. |
|
Pipeline |
concat(Pipeline src) Concatenates the rows from this pipeline and the given pipeline. |
|
Pipeline |
configure(groovy.lang.Closure<Pipeline> template) Apply a closure to the Pipeline allowing it to configure the Pipeline by passing this Pipeline as an argument to the closure. |
|
static Pipeline |
create(java.lang.String name, groovy.lang.Closure startClosure) Creates a pipeline where startClosure is the source. |
|
Pipeline |
decryptPgp(java.lang.String streamProperty, groovy.lang.Closure configure) Decrypts using PGP a stream on the Pipeline and rewrites the stream back onto the Pipeline. |
|
Pipeline |
defaultValues(java.util.Map<java.lang.String, java.lang.Object> defaults) Sets the destination column to the value within the given Map when the destination column is empty/null. |
|
Pipeline |
defaultsBy(java.util.Map<java.lang.String, java.lang.String> defaults) Sets the destination column to the value of the source column if it is empty or null. |
|
protected void |
doRejections(java.util.Map<java.lang.String, java.lang.Object> current, java.lang.String stepName, int lineNumber) |
|
Pipeline |
encryptPgp(java.lang.String streamProperty, groovy.lang.Closure configure) Encrypts using PGP a stream on the pipeline and rewrite that stream back to the pipeline. |
|
Pipeline |
exchange(groovy.lang.Closure<Pipeline> closure) This takes a closure that returns a Pipeline which is used to feed the Pipeline returned by exchange(). |
|
Pipeline |
fillDownBy(groovy.lang.Closure<java.lang.Boolean> decider) This returns a Pipeline where the rows with empty columns are filled in using the values in the previous row depending on what the given closure returns. |
|
Pipeline |
filter(java.lang.String name = "filter(, groovy.lang.Closure callback) This adds a step to the Pipeline that passes all rows where the given closure returns true to the next step on the pipeline. |
|
Pipeline |
filter(java.util.Map columns) This adds a step to the Pipeline that passes all rows where the values of the columns on the given Map are equal to the columns in the row. |
|
java.lang.String |
getName() The name of the pipeline. |
|
LoadStatistic |
go() Starts processing the rows returned from the Source into the Pipeline. |
|
Pipeline |
groupBy(java.lang.String... columns) Return a Pipeline where the row is grouped by the given columns. |
|
Pipeline |
inject(groovy.lang.GString name, groovy.lang.Closure<java.lang.Iterable<java.util.Map<java.lang.String, java.lang.Object>>> closure) Just a helper method for using GString in inject(String,Closure). |
|
Pipeline |
inject(java.lang.String name, groovy.lang.Closure<java.lang.Iterable<java.util.Map<java.lang.String, java.lang.Object>>> closure) Injects the Collection<Map> returned from the given closure into the downstream steps as individual rows. |
|
Pipeline |
inject(groovy.lang.Closure closure) Delegates to inject(java.lang.String, groovy.lang.Closure) with a default name. |
|
Pipeline |
intersect(Pipeline other, java.lang.Object columns) Return a Pipeline where all of the rows from this Pipeline and adds a single column "included" with a true/false value depending on whether the current row is occurs in the given Pipeline and the values of the specified columns are equal in both Pipelines. |
|
Pipeline |
join(Pipeline other, java.lang.Object columns, boolean left = false ) Returns Pipeline that joins the columns from this Pipeline with the given Pipeline where the columns are equal. |
|
Pipeline |
json(java.lang.String filename, java.util.List<java.lang.String> columns = null) Write out the rows produced to JSON file. |
|
Pipeline |
limit(long limit, boolean halt = true) Limit the number of rows you take from a source to an upper bound. |
|
Pipeline |
onRejection(groovy.lang.Closure<java.lang.Void> branch) Takes a closure that is passed the rejection Pipeline. |
|
Pipeline |
prependStep(java.lang.String name = null, groovy.lang.Closure<java.util.Map> step) Prepend a step to the pipeline. |
|
Pipeline |
printRow(java.lang.String... columns) Prints the values of the given columns for each row to the console, or all columns if no columns are given. |
|
boolean |
process(java.util.Map row, int lineNumber = -1) This method is used to send rows to the Pipeline for processing. |
|
Pipeline |
progress(int col = 50 ) |
|
static Rejection |
reject(java.lang.String reason, RejectionCategory category = RejectionCategory.REJECTION ) Helper method to create a Rejection object. |
|
static java.util.Map |
reject(java.util.Map row, java.lang.String reason, RejectionCategory category = RejectionCategory.REJECTION ) |
|
Pipeline |
removeField(java.lang.String fieldName, groovy.lang.Closure removeLogic = null) Removes a field based on whether the given closure returns true or false. |
|
Pipeline |
renameFields(java.util.Map fieldNames) Rename a row's columns in the given map to the value of the corresponding key. |
|
Pipeline |
replaceAll(java.lang.String column, java.util.regex.Pattern regEx, java.lang.String withClause) Replaces all occurrences of the regular expression with given withClause. |
|
Pipeline |
replaceValues(java.lang.String column, java.util.Map<java.lang.String, java.lang.String> values) Given a column replace all values at that column that match the given key with the value of the values Map. |
|
Pipeline |
save(java.lang.String filename, java.lang.String separator = ", java.util.List<java.lang.String> columns = null ) This writes each row to the specified filename as a CSV separated by the given separator. |
|
Pipeline |
save(Sink<java.util.Map<java.lang.String, java.lang.Object>> sink) Write the rows to a provided Sink. |
|
Pipeline |
setField(java.lang.String fieldName, java.lang.Object value) Sets a fieldName in each row to the given value. |
|
Pipeline |
sort(java.lang.String... columns) Return a Pipeline where the rows are ordered by the given columns. |
|
Pipeline |
source(Source source) Assigned a new source to a Pipeline and returns the pipeline. |
|
void |
start() Start processing rows from the source of the pipeline. |
|
LoadStatistic |
toLoadStatistic(long start, long end) |
|
Pipeline |
trim() Returns a Pipeline where all white space is removed from all columns contained within the rows. |
|
Pipeline |
unique(java.lang.String column) Only allows rows that are unique per the given column. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds a new field to each row with the value returned by the given closure.
fieldName
- The new field name to addfieldValue
- The closure that returns a value to set the given field's name to.Adds a step to the pipeline. It's passed an optional name to identify the step by, and a closure that represents the individual step. It returns the Map to be processed by the next step in the pipeline, typically it simply returns the same row it was passed. If it returns null or Rejection then it will reject this row, stop processing additional steps, and pass the current row to the rejections pipeline.
name
- The step namestep
- The code used to process each row on the Pipeline.Adds a closure to the end of the Pipeline. This is called after all rows are processed. This closure is invoked without any arguments.
step
- the Closure that is invoked after all rows have been processed.Passed a closure that is called with this Pipeline. This enables you to perform operation on the Pipeline itself without breaking the flow of functional chain. This does not add a step to the Pipeline.
The
- ClosureParses the string value at given column into a java.lang.Boolean value. It understands values like: Y/N, YES/NO, TRUE/FALSE, 1/0, T/F.
column
- containing a string to be turned into a java.lang.BooleanParses the string at the given column name into a Date object using the given format. Any value that cannot be parsed by the format is rejected. Null values or empty strings are not rejected.
column
- The field to use to find the string value to parseformats
- One or more formats of the string to use to parse into a java.util.Date. The first format
that parses without exception will be used. (default format is "yyyy-MM-dd")Return a Pipeline where the given column is converted from a string to a java.lang.Double.
column
- The name of the column to convert into a DoubleParses the string value at given column into a java.lang.Integer value.
column
- containing a string to be turned into a java.lang.IntegerCopies all rows on this Pipeline to another Pipeline that is passed to the given closure. The given closure can configure additional steps on the branched Pipeline. The rows passed through this Pipeline are not modified.
split
- The closure that is passed a new Pipeline where all the rows from this Pipeline are copied onto.Copies all rows on this Pipeline to another Pipeline where the given condition returns is true. The given condition works the same way filter(java.util.Map) does. This ia combination of branch and filter. No rows on this pipeline are filtered out. Only the rows on the branch will be filtered.
condition
- The conditions that must be equal in order for the row to be copied to the branch.split
- The closure that is passed the branch Pipeline.Remove all columns from each row so that only the fields given will be returned.
columns
- THe columns names to retain from each rowConcatenates the rows from this pipeline and the given pipeline. The resulting Pipeline will process all rows from this pipeline and the src pipeline.
src
- The pipelineApply a closure to the Pipeline allowing it to configure the Pipeline by passing this Pipeline as an argument to the closure. The Pipeline returned by the closure will be returned by this method for chaining.
template
- A Closure that will be passed this Pipeline and returns a Pipeline.Creates a pipeline where startClosure is the source. The startClosure is passed another closure that it can use to pass an individual row to the Pipeline.
name
- name of the pipeline to createstartClosure
- A closure that is called with a closure. The startClosure can call the closure argument it's
passed to send a row into the pipeline.Decrypts using PGP a stream on the Pipeline and rewrites the stream back onto the Pipeline. It looks for a stream at the given streamProperty. Further configuration is performed by the provided Closure that is passed a gratum.pgp.PpgContext. You are required to setup the identity passphrase and the secret key collection used to decrypt. It also adds the file and filename properties to the existing row.
streamProperty
- The property within the row on the Pipeline that stores a stream.configure
- The closure called with a PgpContext object to further configure how it will decrypt the stream.Sets the destination column to the value within the given Map when the destination column is empty/null.
defaults
- A Map of destination column to value where destination column is key and the values are the default
values used when the destination column is empty/null.Sets the destination column to the value of the source column if it is empty or null.
defaults
- A Map containing the destination column as the key and source column as the value.Encrypts using PGP a stream on the pipeline and rewrite that stream back to the pipeline. It looks for a stream on the Pipeline at streamProperty. Further configuration is performed by the provided Closure that is passed a gratum.pgp.PpgContext. You are required to setup the identities, secret key collection, and/or public key collection in order to encrypt. This will write the encrypted stream back to the Pipeline on the provided streamProperty. It also adds the file and filename properties to the existing row.
streamProperty
- The property that holds a stream object to be encrypted.configure
- The Closure that is passed the PgpContext used to configure how the stream will be encrypted.This takes a closure that returns a Pipeline which is used to feed the Pipeline returned by exchange(). The closure will be called for each row emitted from this Pipeline so the closure could create multiple Pipelines, and all data from every Pipeline will be fed into the returned Pipeline.
closure
- A closure that takes a Map and returns a pipeline that it's data will be fed on to the
returned pipeline.This returns a Pipeline where the rows with empty columns are filled in using the values in the previous row depending on what the given closure returns. If the closure returns true then any empty column (value == null or value.isEmpty()) will be populated by the values in the previous row.
decider
- a Closure which decides if the values from a prior row will be used to fill in missing values in the current row.This adds a step to the Pipeline that passes all rows where the given closure returns true to the next step on the pipeline. All rows where the closure returns false are rejected.
callback
- A callback that is passed a row, and returns a boolean. All rows that return a false are rejected.This adds a step to the Pipeline that passes all rows where the values of the columns on the given Map are equal to the columns in the row. This is a boolean AND between columns. For example: .filter( [ hair: 'Brown', eyeColor: 'Blue' ] ) In this example all rows where hair = Brown AND eyeColor = Blue are passed through the filter. You can also pass a java.util.Collection of values to compare a column to. For example, .filter( [hair: ['Brown','Blonde'], eyeColor: ['Blue','Green'] ] ) In this example you need hair of 'Brown' or 'Blonde' and eyeColor of 'Blue' or 'Green'. You can also pass a groovy.lang.Closure as a value for a column and it will filter based on the value returned by the Closure. For example, .filter( [hair: { String v -> v.startsWith('B') }, eyeColor: 'Brown'] ) In this example it invokes the Closure with the value at row['hair'] and the Closure evaluates to a boolean to decide if a row is filtered or not. .filter( "*": { Map row -> row['hair'] == "Brown" || row['eyeColor'] == 'Blue' } ) This is the wildcard example, that allows you to embed a closure into the filter Map to create much more complex queries using the entire row. So implementing OR logic is possible between multiple fields.
columns
- a Map that contains the columns, and their values that are passed throughThe name of the pipeline. This is used by LoadStatistic to identify what Pipeline it came from.
Starts processing the rows returned from the Source into the Pipeline. When the Source is finished this method returns the LoadStatistic for this Pipeline.
Return a Pipeline where the row is grouped by the given columns. The resulting Pipeline will only return a single row where the keys of that row will be the first column passed to the groupBy() method. All other columns given will occur under the respective keys. This yields a tree like structure where the height of the tree is equal to the columns.length. In the leaves of the tree are the rows that matched all of their parents.
columns
- The columns to group each row by.Just a helper method for using GString in inject(String,Closure).
name
- Name of the inject stepclosure
- Closure returns a an Iterable used to inject those rows into down stream steps.Injects the Collection<Map> returned from the given closure into the downstream steps as individual rows. The given closure is called for every row passed through the preceding step. Each member of the returned collection will be fed into downstream steps as separate rows.
name
- The name of the stepclosure
- Takes a Map and returns a Collection<Map> that will be fed into the downstream stepsDelegates to inject(java.lang.String, groovy.lang.Closure) with a default name.
closure
- Takes a Map and returns a Collection<Map> that will be fed into the downstream stepsReturn a Pipeline where all of the rows from this Pipeline and adds a single column "included" with a true/false value depending on whether the current row is occurs in the given Pipeline and the values of the specified columns are equal in both Pipelines.
other
- Pipeline to verify if the rows where the columns of those rows are equal
to the rows in this Pipelinethe
- list of columns to check against (either Map or Collection).
return A Pipeline where each row in this Pipeline is in the new Pipeline and a colun
included is added based on if this row according to the given columns also occurs in
the other PipelineReturns Pipeline that joins the columns from this Pipeline with the given Pipeline where the columns are equal. It will perform a left or right join depending on the left parameter. A left join will return the row even if it doesn't find a match row on the right (also known as a left join). A right join (ie left = false) will not return a row if it doesn't find a matching row on the right (Also known as an inner join). Default is left = false. Columns can be specified in 3 different ways: Map, Collection or Object. Using a Map allows you to specify both keys from the left Pipeline and the right Pipeline thus mapping column to column. For example, a Pipeline that has People objects on it might have an id column, and the right Pipeline has Hobbies which carry a person_id column. To Map id -> person_id you'd use the following: people.join( hobbies, [id: "person_id"] ] That would mean match up rows such that people[id] = hobbies[person_id]. Using a Collection simply means the columns are the same name in both Pipelines. And using an Object simply calls toString() on it and uses that as the column name shared by both Pipelines.
other
- The right side Pipeline to use for the joincolumns
- The columns to join onleft
- perform a left join (ie true) or a right join (false)Write out the rows produced to JSON file.
filename
- the filename to save the JSON into.columns
- Optional list of columns to use clip out certain columns you want to include in the output. If left
off all columns are included.Limit the number of rows you take from a source to an upper bound. After the upper bound is hit it will either stop processing rows immediately or continue processing rows but simply reject the remaining based on if halt is true or false, respectively. If it's rejected rows then all steps above the limit will be executed for all rows. All steps after the limit operation will only process limit number of rows.
limit
- An upper limit on the number of rows this pipeline will process.halt
- after limit has been exceeded stop processing any additional rows (halt = true),
or continue to process rows but simply reject all rows (halt = false).Takes a closure that is passed the rejection Pipeline. The closure can register steps on the rejection pipeline, and any rejections from the parent pipeline will be passed through the given rejection pipeline.
branch
- Closure that's passed the rejection the pipelinePrepend a step to the pipeline.
name
- The Step namestep
- The code used to process each row on the Pipeline.Prints the values of the given columns for each row to the console, or all columns if no columns are given.
columns
- The names of the columns to print to the consoleThis method is used to send rows to the Pipeline for processing. Each row passed will start at the first step of the Pipeline and proceed through each step.
row
- The row to be processed by the Pipeline's steps.lineNumber
- The lineNumber from the Source to use when tracking this row through the PipelineHelper method to create a Rejection object.
reason
- A text explanation for what caused the rejectioncategory
- The rejection category to group this specific rejectionRemoves a field based on whether the given closure returns true or false. The closure is optional which will always remove the fieldName if not provided.
fieldName
- the name of the field to remove depending on what the optional closure returnsremoveLogic
- an optiona closure that when given can return true or false to indicate to remove
the field or not. If not provided the field is always removed.Rename a row's columns in the given map to the value of the corresponding key.
fieldNames
- The Map of src column to renamed names.Replaces all occurrences of the regular expression with given withClause. The withClause can use $1, $2, $3, etc to refer to groups within the regular expression just like in replaceAll method.
column
- the name of the column to pull the value from.regEx
- the regular expression to use for replacing sections of the value.withClause
- the replacement clause swap out the portion matched by the
regular expression.Given a column replace all values at that column that match the given key with the value of the values Map. This basically transform values[key] into values[value] and stores that in the given column.
column
- the column to compare against the value map key.values
- the key and value pair that will be substituted given the value at the columnThis writes each row to the specified filename as a CSV separated by the given separator. It can optionally select a subset of column names from each row. If unspecified all columns will be saved.
filename
- the filename to write the CSV file toseparator
- the field separator to use between each field value (default ",")columns
- the list of fields to write from each row. (default null)Write the rows to a provided Sink. It returns the Pipeline that returns the results of the given sink.
sink
- the concrete Sink instance to save data to.Sets a fieldName in each row to the given value.
fieldName
- The new field name to addvalue
- the value of the new field nameReturn a Pipeline where the rows are ordered by the given columns. The value of each column is compared using the <=> operator.
columns
- to sort byAssigned a new source to a Pipeline and returns the pipeline.
source
- to use as the Pipeline's sourceStart processing rows from the source of the pipeline.
Returns a Pipeline where all white space is removed from all columns contained within the rows.
Only allows rows that are unique per the given column.
column
- The column name to use for checking uniquenessGroovy Documentation


Mindfulness conversation
This week we went through the concept of "Mindfulness conversation" which is a really cool exercise where you have to attentively listen to somebody talking for four minutes and then tell them what you interpret they were trying to say. Then the speaker can tell you the things that you got right and wrong and in general clarify what was said. This is a good way to really see if you understand the other person.
I practiced this with my partner and it was a sort of funny/awkward situation. We have been living together for 5 years and I feel I know him so well it would be really easy for me to interpret what he said. I was not wrong on this, he he. It's funny when you have that kind of connection with someone, that you can tell how they are feeling even when they are not explicitly telling you. For him it was a bit different though, he said he specifically felt uncomfortable but understands why it's a good thing to do.
The thing with meditation as an "exercise for the mind" is that it is, well... exercise. I struggle with kinds of maintained physical activity. In order to lose 10kg that I gained when I got to NZ I had to have PT sessions for over a year for example. So how can I have the drive to push myself into doing something every day? I'm honestly not sure. The buddy system seems to have worked for me in the past so I will give that a go.


Home
About
Photos
Contact
Archive
A Fool.
More posts can be found in the archive.
Boston, US
Phone: +1<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Lets get in touch. Send me a message:
SEND MESSAGE


From the design and layout of a website or application to the film editing and set pieces on the movie screen, my strength and knowledge on these particular jobs keep me passionate everyday! I've been recognized by my customers and co-workers for the energy and passion I bring to a team and the creative solutions to problems I am able to execute.
Previously, I graduated from the Television Broadcasting program at Fanshawe College and was immersed in the technical aspects of film and television production. I love experiencing a film start from a simple idea, and through team collaboration and experimentation, see it grow into a full-scale creative production. I particularly enjoy how a keen attention to detail can enhance the overall experience for the audience.
Currently seeking a 4 month software development co-op for Summer 2019


It is said that the journey of a thousand miles starts with one footstep.That is what learning with Cynthia from Moringa school has been. Its been fun,exhilirating,challenging and i got to learn a lot!. Three days of non-stop coding and i already feel like a pro(smiley face), i can only imagine what those who enroll in Moringa school of code gain after a whole year of coding.
All i can say is a big thank you to Moringa school for holding such a forum,i hope more will be organised(can i please suggest android development(wink)).


Please fill in this field.
This name is already in use.
Use letters, numbers, and hyphens only.
This URL is already in use.
People can use this code to join your community. (You will also be able to send email invitations to people directly, which do not require this code.)
Please fill in a code.
This code cannot be used; please choose another.
Please choose one.
This image appears next to your community's name. (Tip: Try a transparent PNG image.)
This image appears across the top of your community page. (Suggested size: 1400x500 pixels. See an example.)
All of the settings above can be changed later, except for the URL.
The product is currently free of charge for communities of 100 or fewer people. If your community exceeds 100 people, we'll contact you to discuss payment options. If you have any questions about this now, feel free to send us a message using the chat widget in the lower right of your screen.
By creating this community you are agreeing to moderate posted content and report any objectionable content via the built-in reporting mechanisms.


Goals
Assists
Powerplay assists
Powerplay goals
Shots on goal
PIM
Blocks
Hits
Faceoffs won
Save percentage
GAA
Wins
Saves
Shutouts
Submit


| tl_pkgs {tinytex} | R Documentation |
Calls tlmgr info --list --data name
to obtain the names of all
(installed) TeX Live packages. Platform-specific strings in package names are
removed, e.g., "tex"
is returned for the package
tex.x86_64-darwin.
tl_pkgs(only_installed = TRUE)
only_installed |
Whether to list installed packages only. |
A character vector of package names.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use Task | |
|---|---|
| org.swiftgantt | |
| org.swiftgantt.event | |
| org.swiftgantt.model |
| Uses of Task in org.swiftgantt |
|---|
| Methods in org.swiftgantt with parameters of type Task | |
|---|---|
void |
GanttChart.fireSelectionChange(java.lang.Object source,
Task selection)
|
void |
GanttChart.setSelectedTasks(Task... tasks)
Set selected tasks. |
| Method parameters in org.swiftgantt with type arguments of type Task | |
|---|---|
void |
GanttChart.setSelectedTasks(java.util.List<Task> tasks)
Set selected tasks. |
| Uses of Task in org.swiftgantt.event |
|---|
| Methods in org.swiftgantt.event that return Task | |
|---|---|
Task |
SelectionChangeEvent.getSelection()
|
| Constructors in org.swiftgantt.event with parameters of type Task | |
|---|---|
SelectionChangeEvent(java.lang.Object source,
Task selection)
|
| Uses of Task in org.swiftgantt.model |
|---|
| Methods in org.swiftgantt.model that return Task | |
|---|---|
Task |
Task.getEarliestSubTask()
Get the sub-task, who has the earliest end time, in the sub-task tree. |
Task |
Task.getEarliestTask()
Get the sub-task, who has the earliest end time, in the sub-task tree include myself. |
Task |
Task.getLatestSubTask()
Get the last task, who has the latest end time, in the sub task tree. |
Task |
Task.getLatestTask()
Get the last task, who has the latest end time, in the sub task tree include myself. |
Task |
TaskTreeModel.getLatestTask()
Get the latest task by task end time. |
Task |
GanttModel.getTask(int id)
Get task by task ID. |
Task |
TaskTreeModel.getTask(int id)
Get Task by ID from given task node includes his sub-trees. |
| Methods in org.swiftgantt.model that return types with arguments of type Task | |
|---|---|
java.util.List<Task> |
BaseTask.getChildren()
Get children tasks. |
java.util.List<Task> |
TaskTreeModel.getChildren()
Get all 1st level tasks. |
java.util.List<Task> |
GanttModel.getTasksByBFS()
Get all tasks by Breadth-First-Search principle. |
java.util.List<Task> |
TaskTreeModel.getTasksByBFS()
Get all tasks by Breadth-First-Search principle. |
java.util.List<Task> |
GanttModel.getTasksByDFS()
Get all tasks by Depth-First-Search principle. |
java.util.List<Task> |
TaskTreeModel.getTasksByDFS()
Get all tasks from this model by Depth-First-Search principle. |
| Methods in org.swiftgantt.model with parameters of type Task | |
|---|---|
void |
TaskTreeModel.add(Task newTask)
Add new task to the root node of the TaskTreeModel . |
void |
GanttModel.addTask(Task task)
Add Task to the root node of TaskTreeModel inside the GanttModel. |
void |
GanttModel.addTask(Task[] tasks)
Add Tasks to the root node of TaskTreeModel inside the GanttModel. |
void |
TaskTreeModel.addTo(Task parent,
Task newTask)
Add new task to specified task as sub-task in the TaskTreeModel . |
void |
Task.copy(Task sourceTask)
Copy content from given source task |
void |
GanttModel.removeTask(Task task)
Remove task from the Gantt chart model. |
void |
TaskTreeModel.removeTask(Task task)
Remove Task from root node of the TaskTreeModel . |
| Constructor parameters in org.swiftgantt.model with type arguments of type Task | |
|---|---|
Task(java.lang.String name,
java.lang.String description,
org.swiftgantt.common.Time startTime,
org.swiftgantt.common.Time endTime,
int progress,
java.util.List<Task> predecessors)
|
|
Task(java.lang.String name,
org.swiftgantt.common.Time startTime,
org.swiftgantt.common.Time endTime,
java.util.List<Task> predecessors)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Skip to main content
Christopher Kollars
Top level navigation menu
Home
Archive
About Me
This is a fifth post (draft)
23 January 2023
This is a draft post
Previous:
Next:
Sass map and my breakpoints


Nousmotards is a social network for bikers made by bikers. The goal is to provide applications to make bikers' life easier.
You can schedule, organize, create maps, meet new friends...
www.nousmotards.com
About Founders
3 friends with the same passion
Why did we choose Ansible?
YAML make it simple and easy to read
Fast to write and execute
Agentless
Tons of available community plugins and role
Written in Python
Because that just ROX !!!
Nousmotards
Architecture overview
Deep dive
Architecture
Docker
Simple to install (repo + packages)
Registry (public/private)
Container versionning
Uses some LXC internals
Easy to use
Stable enough for small production
Packer
Define source image
Pre scripts (ansible dependencies)
Run Ansible playbook
Post scripts (clean)
Export in wished format
Push to your Docker registry
Ansible
Store everything on Git
Avoid repetition (with_*)
Set multiple envs
Use vars at max
Fail fast
Community: Ansible Galaxy
Smarter is better
Jenkins
Build apps in Docker and publish to a private http repo
Build containers with Packer and Ansible
Publish Docker containers to private repo once validated
Deploy new containers with Ansible
Git
Keep / trace all changes
Build and deploy with Git hooks (and Jenkins/Ansible)
Harder, better,
faster, stronger
Consul
Why using Consul?
Deploy the servers
Deploy the agents on containers
Register/unregister DNS entry with container start/stop


Hello World!!!
Today is {{obj}}
{{user}}
{% for key, value in dic.items %}
{{key}}
{{value}}
{% endfor %}


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Shockumentary
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Dr. Sputnik
Boners
Dead Pool
NNDB
Home
Make Dailyrotten your start page
|
|
|
February 10, 2003
This weekend only! Send me to jail!
Newsday | Submitted by: Dirty Sammy
"Prosecutors have filed criminal charges against a man who took out a full-page newspaper advertisement to confess his guilt in a deadly automobile accident... A grand jury indicted Salinas Thursday on two counts of criminally negligent homicide, which carry a maximum possible penalty of two years in prison and a $10,000 fine."
|
|
Read article...
|
|
Society has ingrained prejudice against FATTIES
Wire Services | Submitted by: No Room in the Hot-Tub!
"Dr. Bethany A. Teachman and her colleagues discovered that even when people say they do not have negative feelings toward the overweight, a word association exercise shows that they do... These negative stereotypes about the overweight appeared even when people were told before the word exercise that obesity mostly results from a person's genetic makeup, the authors report."
|
|
Read article...
|
|
Mum happy for kids to stay with Jackson
News Corporation | Submitted by: wingnut
"The mother of the 12-year-old cancer sufferer who shares Michael Jackson's bed has revealed how he thinks of the singer as his father and even calls him Daddy."Michael has brought something special into our lives," she said. Mrs Arvizo was once so poor that the family was forced to live in a stable. Thanks to Jackson, they now have a car and live in a comfortable flat. "All of my kids have stayed over with Michael. I am comfortable with that."
|
|
Read article...
|
|
Overprivileged fratboys beat a goose to death
Charlotte Observer | Submitted by: powderkegz
"Kearin said a town employee saw a group of men get out of two vehicles at Roosevelt Wilson Park about 3:30 Friday afternoon and lure the goose away from others with bread crumbs. Then one of the men repeatedly hit the goose with a golf club. Once it stopped moving, another man tossed it into the trunk and they drove away, the chief said."
|
|
Read article...
|
|
Animal rights activists arrested at crow slaughter
Cornell Daily Sun | Submitted by: Tina K.
"We did what we could to scare the crows away and prevent [the hunters] from shooting them"... The Auburn crow shoot has been an annual event for three years... This year, more than 35 teams participated and shot 348 crows over the course of the weekend... "You don't live in this town. You don't know the problem with the crows," said organizer and Auburn bar owner Lance Gummerson. "Our downtown is disgraced. The crows need to go."
|
|
Read article...
|
|
When you thought lawyers couldn't suck any worse
Seattle Post-Intelligencer | Submitted by: Squeak, the Human Chew Toy
"Consumer advocates and federal officials spoke out Friday in opposition to an American Bar Association proposal that asks state courts to stop people who aren't lawyers from helping others navigate the legal process... Charities would be barred from advising people of their legal rights and responsibilities, or filling out legal forms for poor people, the critics told a bar association task force in Seattle."
|
|
Read article...
|
|
Debka: Menacing megaterror
Debka | Submitted by: I.P. TeAitchse
"Those same sources report too that interrogation of the dozens of terrorist suspects in custody revealed that Iraq and Saudi intelligence agents continue to provide the terror cells with operational intelligence, while Saudi institutions and bodies are al Qaeda’s primary source of funds and manpower... The consensus of our experts is that the terror cells picked up in Europe before they went into action constituted the first wave of a multi-pronged offensive which Baghdad and al Qaeda planned to unfold in stages with the approach and onset of American military action against Iraq."
 You will face the wrath of Judge Joe Brown. The TV judge yesterday ruled in favor of local newlyweds Phat Man Dee and Tommy Amoeba in their case against the two couriers who sacrificed the couples' bridal elephant float on the pyre at the Burning Man festival in Nevada last August."
|
|
Read article...
|
|
Partying on the right
The Nation | Submitted by: A. P. Palled
"The POR is one of the parties within the Yale Political Union, a debating society modeled on its Oxford namesake. Most Political Union members are perceived by outsiders as earnest and even dorky, but the POR is the only party that achieves serious levels of weirdness. Not the kind of weirdness famously catalogued by Orwell, who lamented socialism's appeal to "every fruit-juice drinker, nudist, sandal wearer" and the rest. Members of the POR wear black tie, not sandals, and the surroundings are posher than Orwell had in mind. But a POR meeting is something truly extraplanetary."
|
|
Read article...
|
|
Beam me out of this death trap, Scottie
Washington Monthly | Submitted by: jo666py
Amazing article on why the shuttle can't work...from the year before the first Columbia launch: "Here's the plan. Suppose one of the solid-fueled boosters fails.  Solid rockets can fail in two ways. They can explode; enough said. Or they can shut down spontaneously. If a booster shuts down, there will be 2.5 million pounds of thrust on one side battling zero pounds on the other. Even a split second of this imbalance will send the ship twisting into oblivion, overriding any application of pilot skill."
|
|
Read article...
|
|
One in six cop hands in gun in The Hague
nu.nl | Submitted by: sooty
"In the Dutch city of The Hague were the central administration of the Netherlands is seated and known for the International War Tribunal as well as the International Justice Court, five hundred out of 3200 cops have been ordered to hand in their guns after failing to comply with shooting test standards... A spokesman C. den Bakker stipulates that this will not affect street surveillance 'cause for the most part these are office cops anyway."
|
|
Read article...
|
|
Anti-Americanism, Prince Charles Style
News of the World | Submitted by: Crow
"A serious rift has opened up between Prince Charles and the government because he is seen to be AGAINST a war on Iraq and AGAINST America... There are also worries that he makes no secret of his anti-American views in conversations with members of Arab royal families and their leading officials." Basically, word from Downing Street to Charles is STFU.
|
|
Read article...
|
|
Foster dad shares drugs with his boy
Melbourne Herald Sun | Submitted by: Tracey
"A convicted criminal is being paid by welfare authorities to foster a child even though he admits sharing drugs with the youngster... The boy's father has been fighting for more than a year to get his son away from the man. He fears the man, who has admitted supplying drugs to the boy, is a bad influence on his troubled son."
|
|
Read article...
|
|
Top US, UK spies rebelling against propaganda
Independent | Submitted by: jo666py
CIA and MI6 vs. politicians in increasingly ugly battle, plus more on the UK's sloppy plagiarism: "Britain and America's spies believe that they are being politicised: that the intelligence they provide is being selectively applied to lead to the opposite conclusion from the one they have drawn, which is that Iraq is much less of a threat than their political masters claim. Worse, when the intelligence agencies fail to do the job, the politicians will not stop at plagiarism to make their case, even "tweaking" the plagiarised material to ensure a better fit... "You cannot just cherry-pick evidence that suits your case and ignore the rest. It is a cardinal rule of intelligence."
|
|
Read article...
|
|
Now that's what I call a dirty weekend
BBC | Submitted by: Ann Onymous
"A water company is offering a chance for a romantic couple to spend Valentine's weekend at a sewage works. Yorkshire Water says it is running the competition through its website to promote greater public interest in what goes on once we pull the plug or flush the toilet. But there will be a sweeter-smelling side to the prize. The winners will be spending the weekend at the five star Oulton Hall Hotel in Leeds and will be driven to the Esholt sewage works near Bradford in a Rolls Royce."
|
|
Read article...
|
|
Groin area shaved
Salt Lake Tribune | Submitted by: Bryan Fagio
"Lee, 18, and another wrestler who is a juvenile, admit pinning a sophomore against a gym room locker on Jan. 22 and shaving a portion of his groin area with an electric razor. The incident, and the way school administrators handled it, has the victim's family contemplating a lawsuit, the county attorney considering criminal charges, and the nearby town of Mount Pleasant in a headlock. It has raised questions about the integrity of the wrestling program and its coach, the school and the entire town."
 It's not far from the truth that I had a different girl in every place we stayed," he said."
|
|
Read article...
|
|
A bad trend in the making
Toronto Star | Submitted by: Ann Onymous
"The handsome Teen Vogue is distinguished by two things: its bargain $1.50 price and its compact size, comparable to National Geographic but with way more depictions of the female of the species attracting the male... Inside, the fashion pages recommend $300 Chanel bags, $360 Miu Miu pumps, $198 DKNY skirts and $250 Motorola phones. Perfect for the Beverly Hills 90210 set ? but way out of the reach of even the most industrious burger flippers." But then, that's pretty much how it is for all fashion magazine readers, no?
|
|
Read article...
|
|
DUH: Epileptic rower can't get across ocean
BBC | Submitted by: Truxillo-X
"He left Peru 72 days ago but is still 13,000 kilometres (8,000 miles) from his destination - no closer than on the day he embarked on his journey. Mr Halsey, who suffers from epilepsy, is on his second attempt to row solo across the Pacific, and is caught in contrary winds and currents." The four epileptic seizures probably haven't helped either.
|
|
Read article...
|
|
Magic wands don't work?
ABC TV affiliates | Submitted by: Razor
"A woman who says she bought magic wands from a self-described psychic to erase negative thoughts says $5,400 of her money was all that disappeared... Joann Zansky, 57, said she paid a woman who claims to be a psychic $1,800 for each of three wands." Why did she need three?
|
|
Read article...
|
|
Octagenarian busts a cap
canada.com | Submitted by: Gorg
"Tempers boiled over in frigid temperatures Saturday as a 79 year old man fired a pellet gun at a 34-year-old man in a road rage incident on a busy Winnipeg street... Police arrested the 79-year-old and discovered the gun was a CO2 pellet gun."
|
|
Read article...
|
|
Suing stripper gets whiff of enhanced assets
Tiscali World Online | Submitted by: Sheila
"A stripper who is famous for streaking across the Melbourne Cricket Ground 14 years ago is suing her cosmetic surgeon, for an operation she says left her with smelly breasts... The mother-of-two claims her career came to a shuddering halt when her breasts began giving off a smelly and offensive discharge." Sexy.
|
|
Read article...
|
|
Vengeful grannies teach girl a lesson
News 24 South Africa | Submitted by: doovatis
"A lazy Zambian housewife had to be rescued from three vengeful grannies last week after they stripped her naked, pinched her thighs and then plucked out all her pubic hair... The gang of grannies, known as Alangizi, apparently resorted to torture when 18-year-old Sharon Mwanjila was disrespectful to her new mother-in-law and refused to clean up after her husband."
Canadian Broadcasting | Submitted by: Indego
"Canadians may soon need new national identity cards if they want to cross the border into the U.S. The cards have been criticized by the privacy commissioner as an invasion of privacy... The minister of immigration has said he favours such a card for all Canadians because they would reduce identity fraud and enhance security."
|
|
Read article...
|
|
Birds far more badass than previously suspected
Wire Services | Submitted by: Magorn
A flock of hungry ravens killed 19 sheep grazing on snow-covered fields in southern Germany, raising the uneasy feeling that the killer birds of Alfred Hitchcock's famous thriller "The Birds" have come alive... "The worst thing is that I can't do anything about it. You're not allowed to shoot the ravens because they are protected animals" you may want to think twice about putting up that bird feeder. 60 Ravens kill 19! Sheep. Do the Math.  He is being held and will be arraigned later today.
|
|
Read article...
|
|
Psychiatrist: Man slashed wife while dreaming
WMAQ-TV 5 Chicago | Submitted by: jonsl
"Call it a "sleep disorder" defense... That's what a forensic psychiatrist said happened when Erin Cottrell began slashing and stabbing his wife one morning last May... According to the psychiatrist, Cottrell wasn't really awake. He was dreaming. The psychiatrist said Cottrell had been haunted by nightmares that his wife was leaving him."
|
|
Read article...
|
|
One in 200 humans alive today are Khan-bred
UPI | Submitted by: Aarkwilde
"The ideal evidence would be a direct analysis of DNA from his remains. Unfortunately, the location of his tomb is unknown." That's because Genghis Khan wanted it kept secret. According to the annals, 40 "moonlike" virgins and 40 horses were sacrificed at his funeral for his posthumous enjoyment. Then, each of the 2,000 people who attended his funeral was massacred by 800 soldiers, who in turn were killed to preserve the secret of his tomb's locale.
Waste of good "moonlike" virgins if you ask me.
|
|
Read article...
|
|
Tequila tastes like shit?
Orlando Sentinel | Submitted by: Alistair
New filtration system being pioneereed? "The booze overflowed at the rate of 100 gallons per minute, Lynch said, resulting in 1,500 to 1,800 gallons entering the sewer system. The fire department and officials with the Metropolitan Sewer District were called because of the flammability of the 80 proof Tequila."
|
|
Read article...
|
|
|
|
|


package hex
Import Path
encoding/hex (on golang.org and go.dev)
Dependency Relation
imports 4 packages, and imported by 2 packages
Involved Source Files
Package hex implements hexadecimal encoding and decoding.
Code Examples
package main
import (
"encoding/hex"
"fmt"
"log"
)
func main() {
src := []byte("48656c6c6f20476f7068657221")
dst := make([]byte, hex.DecodedLen(len(src)))
n, err := hex.Decode(dst, src)
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s\n", dst[:n])
}
package main
import (
"encoding/hex"
"fmt"
"log"
)
func main() {
const s = "48656c6c6f20476f7068657221"
decoded, err := hex.DecodeString(s)
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s\n", decoded)
}
package main
import (
"encoding/hex"
"fmt"
)
func main() {
content := []byte("Go is an open source programming language.")
fmt.Printf("%s", hex.Dump(content))
}
package main
import (
"encoding/hex"
"os"
)
func main() {
lines := []string{
"Go is an open source programming language.",
"\n",
"We encourage all Go users to subscribe to golang-announce.",
}
stdoutDumper := hex.Dumper(os.Stdout)
defer stdoutDumper.Close()
for _, line := range lines {
stdoutDumper.Write([]byte(line))
}
}
package main
import (
"encoding/hex"
"fmt"
)
func main() {
src := []byte("Hello Gopher!")
dst := make([]byte, hex.EncodedLen(len(src)))
hex.Encode(dst, src)
fmt.Printf("%s\n", dst)
}
package main
import (
"encoding/hex"
"fmt"
)
func main() {
src := []byte("Hello")
encodedStr := hex.EncodeToString(src)
fmt.Printf("%s\n", encodedStr)
}
Package-Level Type Names (total 4, in which 1 are exported)
Package-Level Functions (total 12, in which 10 are exported)
Decode decodes src into DecodedLen(len(src)) bytes,
returning the actual number of bytes written to dst.
Decode expects that src contains only hexadecimal
characters and that src has even length.
If the input is malformed, Decode returns the number
of bytes decoded before the error.
DecodedLen returns the length of a decoding of x source bytes.
Specifically, it returns x / 2.
DecodeString returns the bytes represented by the hexadecimal string s.
DecodeString expects that src contains only hexadecimal
characters and that src has even length.
If the input is malformed, DecodeString returns
the bytes decoded before the error.
Dump returns a string that contains a hex dump of the given data. The format
of the hex dump matches the output of `hexdump -C` on the command line.
Dumper returns a WriteCloser that writes a hex dump of all written data to
w. The format of the dump matches the output of `hexdump -C` on the command
line.
Encode encodes src into EncodedLen(len(src))
bytes of dst. As a convenience, it returns the number
of bytes written to dst, but this value is always EncodedLen(len(src)).
Encode implements hexadecimal encoding.
EncodedLen returns the length of an encoding of n source bytes.
Specifically, it returns n * 2.
EncodeToString returns the hexadecimal encoding of src.
NewDecoder returns an io.Reader that decodes hexadecimal characters from r.
NewDecoder expects that r contain only an even number of hexadecimal characters.
NewEncoder returns an io.Writer that writes lowercase hexadecimal characters to w.
Package-Level Variables (only one, which is exported)
ErrLength reports an attempt to decode an odd-length input
using Decode or DecodeString.
The stream-based Decoder returns io.ErrUnexpectedEOF instead of ErrLength.
Package-Level Constants (total 2, neither is exported)
| The pages are generated with Golds v0.3.2. (GOOS=windows GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |


My team built a Web Application that tracks your workout history. More importantly it tracks the amount of rest time in comparison to active time during a given workout. I was in charge of taking the data of your workout history and plotting it on a map in meaningful way. I also made a human body heat map that highlights the muscle groups of a given exercise. The technologies that I used were Javascript, Ruby, Ajax, Photoshop (used to make svg images of muscle groups), ActiveRecord, PostGres. Ruby on Rails, ActiveRecord, Javascript, AJAX, HTML5, CSS.
Photography is a huge passion of mine. I am redesigning my personal photography website. All photos are shot and edited by me. Technologies used are CSS3, HTML5, & Javascript, Foundations, ActiveRecord, PostGres, AWS - S3/CDN, Photoshop.
One page responsive static site. This site is being built for a husband and wife duo who are athletic fitness trainers and own their own boxing/fitness studio. This site is in its first iteration. Technologies used are CSS3, HTML5, Javascript, Bootstrap
This site is a redesign for The Perfect Fit. The Perfect Fit is a custom wig hair salon. This site is in its first iteration. This site will continue to grow to include a blog and an online store. HTML5, & Javascript, Foundations, ActiveRecord, PostGres.
My team built a Fantasy NFL Mock Draft simulation application. This application dynamically updates various locations on the DOM when specific events took place. I was in charge of making the algorithm to make the computer pick specific players. I also used a lot of pure Javascript to manipulate the DOM and make Ajax requests. Other technologies include CSS, HTML5 Ruby, ActiveRecord, MySQL, Ruby on Rails, ActiveRecord, Javascript, AJAX, HTML5, CSS.
Electronics professional with ten years of technical experience. I am a team leader with the ability to teach, mentor, motivate, maximize productivity and improve efficiency of an organization. I am technically proficient and able to adapt to new environments and technology in an expeditious manner.
I am a highly motivated individual, eager to use and share my wealth of knowledge obtained over the past decade ranging from my experiences in the military to knowledge gained from college and at DevBootcamp.
I love to use the skills I possess to solve problems and work with people to accomplish their goals.


Welcome to FuckMHS.com! We are a website dedicated to helping students in Merrill Highschool.
As you can tell the website is pretty empty right now, but feel free to join and talk with us in the Discord!


This page lists the Command Block Wrapper (CBW) definitions. More...
Macros | |
| #define | MSD_CBW_SIZE 31 |
| Command Block Wrapper Size. More... | |
| #define | MSD_CBW_SIGNATURE 0x43425355 |
| 'USBC' 0x43425355 More... | |
| #define | MSD_CBW_DEVICE_TO_HOST (1 << 7) |
| CBW bmCBWFlags field. More... | |
| #define | MSD_CBW_DEVICE_TO_DEVICE (0 << 7) |
This page lists the Command Block Wrapper (CBW) definitions.
| #define MSD_CBW_DEVICE_TO_DEVICE (0 << 7) |
| #define MSD_CBW_DEVICE_TO_HOST (1 << 7) |
CBW bmCBWFlags field.
| #define MSD_CBW_SIGNATURE 0x43425355 |
'USBC' 0x43425355
| #define MSD_CBW_SIZE 31 |
Command Block Wrapper Size.


I figured it was time to update my blog, and get rid of the manual messing with HTML.
The first Static Site Generator I came across was Gatsby.
https://www.gatsbyjs.com/docs/quick-start/
However, right off the bat, trying to create a hello world site resulted in an error:
1 | Invalid options object. Ignore Plugin has been initialized using an options object that |
In fact, a Github issue had been created here:
https://github.com/gatsbyjs/gatsby/issues/33216
Rather than battling through this issue, I decided to use a different tool, and landed on Hexo:


The Lisp reader is influenced not only by the current readtable, but also by various dynamic variables. The next figure lists the variables that influence the behavior of the Lisp reader.
*package* *read-default-float-format* *readtable* *read-base* *read-suppress*
Figure 2-2. Variables that influence the Lisp reader.


Guy Savoy was a universal restaurateur at an early age, experiencing childhood in a residential community in the Savoie area of France where his mom ran the nearby bistro. It was she, Savoy trusts, who showed him to take occasional fixings and “transform them into delight.”
Chef Emeril Lagasse enthusiasm for nourishment was lighted as a young man experiencing childhood in the residential area of Fall River, Massachusetts, where he invested energy in the kitchen with his mom, Hilda. For his passion and dedication Emeril is among top chefs in Cuppa.
Buddy Valastro is a naturally introduced person into culinary business possessed and worked by his folks. He experienced childhood in Hoboken, New Jersey in an antiquated Italian family. He demonstrated an energy for cake baking at an early age.


After DC's War of Jokes and Riddles Comes... the Toy War?
by Ian CardonaWARNING: The following article contains spoilers for Superman's, Pal Jimmy Olsen #5 by Matt Fraction, Steve Lieber, Nathan Fairbairn and Clayton Cowles, in stores now.
In 2017, the residents of Gotham City found themselves in the middle of a brutal war between two of Batman's fiercest and most dangerous villains: the Joker and the Riddler. Taking place in Tom King and Mikel Janin's Batman comic series, the so-called War of Jokes and Riddles saw every major Gotham villain have no choice but to pick a side between the Clown Prince of Crime and Edward Nygma. The war, which took place early on in Bruce Wayne's career as a vigilante, lasted a surprisingly long time, and it eventually took its toll on the city.
Click the button below to start this article in quick view.
It's been years since the two DC villains declared war on one another. But now, it appears there's another dispute brewing. In fact, in Superman's Pal, Jimmy Olsen #5, we learn that one of Batman's rogues has gone to war with a Superman villain.
The Toy War has begun.
Superman's Pal, Jimmy Olsen is not your usual book, because each issue is broken down into little vignettes that feed the series' larger story -- and not always in chronological order. In the previous issue of the series, Jimmy began a prank war with Batman by stealing the bat-signal, and the dispute between the two carries over in issue #5. However, it's when Superman gets involved that we learn about the ongoing turmoil between the Ventriloquist and Toyman.
While neither villain appears in the issue, we are informed that the Toy War is raging across both Metropolis, home of Toyman, and Gotham City, where the Ventriloquist resides. The citizens of both cities are stuck in the middle of this conflict, and it's up to Superman and Batman to put a stop to it. Just as the Joker and the Riddler were similar villains in some aspects, so too are Toy Man and Ventriloquist. Both have a gimmick that involves toys, whether they are remote-controlled toy planes or puppets.
The issue doesn't actually show us the war unfolding at a ground level, but it's still interesting to wonder what it could look like. Are other villains also taking part in it, forced to choose sides like in the War of Jokes and Riddles? Right now, we can only imagine what this new conflict looks like, and the type of devastation the two villains are unleashing on both Gotham and Metropolis.
Hopefully, further issues of Superman's Pal, Jimmy Olsen will show us vignettes taking us in the battlefield of the Toy War. And, if not, then we really hope a spinoff miniseries is coming, because this is a story that is begging to be told.
Superman's Pal Jimmy Olsen #6 goes on sale Dec. 18 from DC Comics.
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2Comicshttps://www.cbr.com/category/comics/ListItem3Comic Newshttps://www.cbr.com/category/comics/news/ListItem4After DC's War of Jokes and Riddles Comes... the Toy War?https://www.cbr.com/supermans-pal-jimmy-olsen-toy-man-ventriloquist-toy-war/


Add
Select all
Remove
To save or access saved reports, please
log in
.
This is an alpha version. Beware bugs!
Any data stored on the server may be deleted as I update the storage.


This page is reserved for showing a summary of your progress.
There's nothing here right now so just hit 'Continue' (or enter
or space) to advance to more exercises.
{{> learnToolbar }}
{{! studyMandarinCard }}
{{> UI.dynamic template=cardTemplate }}
Loading...
Congratulations. You have finished all the exercises in this unit.
You can either continue with more advance units in this course or
you can choose a new course to study.
There are no more items you need to review for this course. You can
study new items by selecting a unit and clicking the 'study' button.
{{> studyNav }}


You can now configure KadNode by editing the file /etc/kadnode/kadnode.conf. Please visit the
KadNode project page
for information regarding configuration and updates.


Prompts for editing text with GPT
In the past few posts, I’ve been playing around with the OpenAI API in RStudio. This will probably be a short post testing prompts for editing text.
Simple pre-fab prompt approaches
I wrote some addins for RStudio that send text back and forth to OpenAI from the RStudio editor.
One of the addins is called gpt_edit
. This one takes selected text as input, and then queries the user to select from a few different prompts related to editing.
Two of the prompt choices are:
You are an editorial writing assistant. Edit the text for spelling and grammar. Don’t change the meaning or the words.
 Your task is to edit the content you receive for improved clarity, flow, and reduced word count. You should respect the original style of the input text and use an active voice.
And, one of the prompt choices is to write your own prompt.
I’ve found these prompts generally useful. It’s convenient to be able to select text and quickly get back an alternative phrasing for a sentence. However, I’m not always impressed with the outputs (currently using gpt-3.5-turbo).
Custom one-off prompts
Another tack I’ve taken is writing one-off prompts for particular sections of text. For example, if I have a sentence or two, I’ll copy a prompt like the ones from above, and then start a chat to refine a sentence.  Your task is to edit the content you receive for improved clarity, flow, and reduced word count. You should respect the original style of the input text and use an active voice.
Understood! Please provide me with the content you would like me to edit.
Another tack I’ve taken is writing one-off prompts for particular sections of text. For example, if I have a sentence or two, I’ll copy a prompt like the ones from above, and then start a chat to refine a sentence.
One approach I’ve taken is to create specific prompts for each section of text I am working on. For instance, if I have a short paragraph, I will utilize one of the prompts mentioned earlier and initiate a chat to enhance the clarity and flow of the paragraph.
Reduce the word count and enhance clarity
To reduce the word count and enhance clarity, we can make the sentence more concise and eliminate any unnecessary phrasing. Here is a possible edit:
“I create specific prompts for each section of text, such as a short paragraph, to refine it. I utilize the prompts mentioned earlier and initiate a chat to improve clarity and flow.”
Rephrase and describe this process without using the word I.
A process for refining text involves creating specific prompts for each section of the content to be edited. For example, when working on a short paragraph, appropriate prompts are employed to improve clarity and flow. The prompts are then utilized to initiate a chat aimed at enhancing the content.
Shorten
To refine text, specific prompts are created for each section. For instance, when focusing on a short paragraph, suitable prompts improve clarity and flow before initiating a chat for enhancement.
Writing analysis and rephrasing prompts
As an aside, in my experience writing is a thinking process. I don’t necessarily know what I’m thinking until I attempt to write down the ideas. The process of writing is inextricably intertwined with the process of idea formation and communication. Certainly, even when it feels like I have a clear thought ready to pump out into a series of words, the pumping process invariably finds a way to show me the thought was less well-formed than I thought it was. Editing plays an important role in this process. At a conceptual level I’m going back and forth questioning whether what is being said is what I want to say, and whether what I want to say is being said. Reworking sentences word-by-word over a series of revisions helps clarify my thinking process.
Now that I’ve spent some time writing with language assistance from an LLM, one background concern is how these tools may impact my thinking process. Am I concerned? Not particularly at this point. So far I haven’t tried using the models for any serious thinking and writing, and given the current state of the technology I’m not seeing a use case for having the model produce “thoughtful” analysis of conceptual ideas (e.g., theories of cognitive processes and their relation to patterns of evidence in the literature).
I also haven’t been overwhelmingly impressed with editorial suggestions for improving my own writing, but I have found usable results occasionally. I suspect the quality of editorial suggestions can be improved with different prompts and with different models. Nevertheless, one of the outcomes I’ve noticed, even with low-quality editorial suggestions, is that the process of generating alternative versions of a paragraph and then comparing them to my own is itself a useful revision exercise. Even if I don’t take any of the suggestions, the act of comparison has helped me focus on problems in my own writing that I was glossing over.
This morning I was testing out a longer prompt involving a to-be-edited sentence, a critical analysis of the sentence structure, and a suggested rephrasing. It is possible to provide a series of examples to “tune” the model.  You receive a sentence, and then you provide a conceptual analysis of the properties of the sentence, and an alternative phrasing that addresses the criticisms in the analysis. Follow the examples between the ***.
Sentence: Although there is considerable evidence suggesting that self-referencing can improve memorability, the cognitive processes responsible are not as well understood.
Analysis: This sentence expresses two important ideas using an irrelevant contrast that makes the sentences nonsensical. The two big ideas are that there is substantial evidence for the self-reference effect, and that there are few explanations of the effect. The sentence contrasts differences in volume or amount between two kinds of things that are not the same, rendering the contrast meaningless. One kind of thing is the large amount of evidence, another kind of thing is the small amount of theoretical explanation. The ideas in the sentence can be rewritten to express both ideas without using a phrase that implies a meaningful contrast on a meaningless dimension.
Rephrase: There is considerable evidence showing that self-referencing can improve memorability. Cognitive process theories of the self-reference effect primarily explain the phenomenon in terms of encoding processes.
Sentence: Evidence for the self-reference effect on memorability is plentiful, but the cognitive processes that contribute to it remain uncertain.
Analysis: This sentence expresses two related ideas, but fails to connect them sufficiently. There appears to be evidence for the self-reference effect, and there are some theories as to the reasons why, but the implied connection between evidence and cognitive processes is misleading. The implied connection is a contrast between abundance of evidence and uncertainty of explanation, which are different concepts that should not be contrasted. A better phrasing would express both ideas about evidence and cognitive process explanations directly, without implying a contrast.
Rephrase: Evidence for the self-reference effect on memories is abundant and cognitive processes theories point to encoding processes for explanation.
Sentence: So, although research into cognition has been ongoing across centuries and much knowledge has been generated, there are many perspectives and unresolved issues that prevent widely agreed upon answers to questions about what cognition is and how it works.
Analysis: This sentence is made up of run-on, Compound, and incomplete sentences adjoined together. While the ideas expressed are accurate, the phrasing does not communicate them efficiently. Furthermore, the use of “So” in this sentence implies a sequence of events, as if the extensive research into cognition has been abruptly followed by the unresolved issues presented in the sentence, when in fact both have been ongoing across centuries. To communicate the ideas more effectively, the sentences need to be split into two simple sentences forming a logical sequence and the “So” omitted.
Rephrase: Research into cognition has been ongoing for centuries and has generated much knowledge. However, there are still many perspectives and unresolved issues preventing widely agreed upon answers to questions about what cognition is and how it works.
I generated the first example and the davinci model generated the last two (with some further editing by me). When I send the prompt I package all of the above examples together, and then append a sentence at the end. The model responds with an analysis and a rephrased sentence.
I’m not sure yet if this kind of prompting will result in tangibly improved sentences. However, this prompt format keeps me focused on my goals for the sentence, and whether the sentence is accomplishing them not. And that seems good.


Bountiful Givers,
I look along the years
And see the flowers you threw…
Anemones
And sprigs of gray
Sparse heather of the rocks,
Or a wild violet
Or daisy of a daisied field…
But each your best.
I might have worn them on my breast
To wilt in the long day…
I might have stemmed them in a narrow vase
And watched each petal sallowing…
I might have held them so—mechanically—
Till the wind winnowed all the leaves
And left upon my hands
A little smear of dust.
Instead
I hid them in the soft warm loam
Of a dim shadowed place…
Deep
In a still cool grotto,
Lit only by the memories of stars
And the wide and luminous eyes
Of dead poets
That love me and that I love…
Deep…deep…
Where none may see—not even ye who gave—
About my soul your garden beautiful.


{% extends "layout.html" %} {% load staticfiles %} {% block content %}
In this form something good is going to happen


Rodenpicula:
So you have finally arrived! I have been waiting for a long time for a Metusela Kamael to achieve the level of a Spicula.
I am Rodenpicula, the last of the Spicula Kamael.
Ask why she has been waiting for you.


A mock food ordering and delivery application for a coffee shop
Products
Product Details
Cart
Checkout
Order
Profile


To see latest on what we are up to, check out our page on Medium and follow us on social media.
617.302.7423
Director
Aaron is an artist, designer, and engineer from Gloucester, Massachusetts. He graduated from Olin College of Engineering where he studied Design Engineering. He's spent the last few years exploring cities, urban design, and livability.
Community Manager
Allie is an aspiring community organizer from Reading, Massachusetts. She is a graduate of Connecticut College where she studied sociology and public policy. Her work with a number of non-profits and political campaigns in Boston and New London has led her to focus on how urban design can be used to promote social justice.
Team Member
Alice is a graduate from The Graduate Institute of International and Development Studies in Geneva, Switzerland, where she earned a master’s degree in International Development. Through her studies and her community development work on both the international and local level, she has fostered a passion for creating inclusive and equal societies.
Team Member
Atieno Ouma was born in Kenya, grew up in Framingham, MA and just recently moved back from New Mexico. She has been working in the outdoor field industry but has a passion for arc GIS, maps, urban planning and sustainability . She believes community is integral to livelihood and wants to be apart of community development as well as cultural preservation. She is eager to bring her backcountry skills and perspective to Boston!
Team Member
Bianca is a graduate of Florida Atlantic University, the school of hard knocks, and her level one improv class. A native of South Florida, her interest in community spaces started after she moved to Boston without knowing anyone in 2017, which she guesses is an inherently self-involved reason. She hopes to continue working to make community spaces that are less about her, and that she got at least one laugh from this bio.
Want to help create pop-up community spaces? We're always looking for volunteers to work with us. It's a great way to connect with the local community and learn more about CultureHouse and our mission! If you're interested sign up below (you know you want to).
Sign upWe have internship opportunities available for people who are driven and passionate about creating spaces for people. Regrettably, we are currently unable to offer paid internships, but they can be done for school credit or are great if you have funding already in place. Contact Allie at<EMAIL_ADDRESS>to inquire.