Skip to content

Instantly share code, notes, and snippets.

@GabiThume
Last active July 7, 2016 21:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GabiThume/c3b6f690069a3c86aa3c81f7234021bd to your computer and use it in GitHub Desktop.
Save GabiThume/c3b6f690069a3c86aa3c81f7234021bd to your computer and use it in GitHub Desktop.

Information Packets (IP)

Primary properties

Improve markdown of this section

Optional properties

Instead of just 'scope - see scope', add some information about scope and then '(for more information, see scope)' for instance.

Ports API

Input

Typo at 'handle thme'

Output

Where should I look to see about error ports?

Scope

Buffer link dont work: https://aretecode.github.io/process-api/#buffer

Loved the eh canada example! But who is the repeat component? Use database instead of db in the explanation to match component's name.

This is a very confusing phrase: "Concurrency problems in graphs with these graph and these sample components as examples".

By finishing this section I felt like introduced to process api, but it actually starts on the next section. Maybe include this after explaining Process Api?

Ports

Sending information packets

Typo processe's outport

Process API

Link for port events is broken.

Cannot understand those first two paragraphs, why should I use the Process API?

Component States

Is is better to read when topics are like

1)...

2)...

:-)

Preconditions

Who is 'it' in 'check if it has a packet'?

I think it is better to read if "input.has can be given a callback argument that can check any IP attributes to answer if the IP matches the custom requirements or not.' came after the example.

Preconditions is only to check if the packet exists?

Receiving

Get

What "For example, if the incoming packet flow on an in inPort is: md 1) openBracket 2) data 3) closeBracket" means?

Typo at "`closeBracket."

Who is 'it' in "Since it removes it from the buffer each time, you can repeatedly call it until you have what you need, for example:"?

Can you explain buffer before?

GetData

"when you … " looks weird

input.get(portname).data is the same as input.getData portname? nice!

Sending

What is an output map?

Link https://aretecode.github.io/projects/find-ehs don't work

Proccesserror is a typo?

Brackets

Link https://aretecode.github.io/documentation/information-packets/#type is broken

Shouldn't be ehinstead of in in "For example, IPs coming into an in port:"?

sending the stream… phrase is bad formatted

Data Stream Helpers

Some more broken links

hasDataStream

The first paragraph is confusing, please start with the second one and add the similarity with hasStream after explaining what hasStream does

Firing Patterns

Per Packet

Example is in a single line.

Buffer

Can you explain the example a little bit further? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment