<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 5/11/20 9:10 AM, Erno Aapa via Ndn-interest wrote:<br>
<blockquote type="cite"
cite="mid:CAGGczb12k=xSi55+Opc8qNH6UcsDf2skmAFPNa0cjGY==pwPWw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Thank you Philipp and Junxiao!<br>
This was a good start, please keep it coming :)<br>
<br>
Davide, if I understand correctly the blog post (which was
great, thanks Junxiao!), the missing features are not actually
any missing from the NDN implementation, but more like library
features? The Endpoint's retransmission and producer
parallelism.<br>
<br>
Do you know what's the status of the Go library <a
href="https://github.com/go-ndn/ndn" moz-do-not-send="true">https://github.com/go-ndn/ndn</a> or
Rust <a href="https://github.com/imp/ndn-rs"
moz-do-not-send="true">https://github.com/imp/ndn-rs</a>?<br>
<br>
<div>I got from this already following valuable information
(please correct me if I'm wrong):<br>
- Getting started with NDNts looks nice and simple<br>
- There's at least basic libraries C++, Python, Java, NodeJS,
Go(?), and Rust(?) which includes basic implementation but
library implementation features vary.<br>
</div>
</div>
</blockquote>
<p>I have not used all the libraries, but I think the most important
functionality is provided by those libraries. One point what
Junxiao possibly wanted to make aware of is the fact that the
newest Packet Format Specification might not be implemented in all
those libraries. But I would argue that for most research, the
newest specification is not required. Only, when using libraries
that do not support v0.3, you might need to check out an older NFD
version as well. This can be done easily with when using the Git
version of NFD.<br>
</p>
<p>But anyone reading this post, please correct me if I am wrong.</p>
<p>Best, Philipp<br>
</p>
<blockquote type="cite"
cite="mid:CAGGczb12k=xSi55+Opc8qNH6UcsDf2skmAFPNa0cjGY==pwPWw@mail.gmail.com">
<div dir="ltr">
<div>- You need NFD to make simple consumer/producer setup (is
it required or can consumer/producer communicate directly
without any daemon between?)<br>
- miniNDN looks nice if you want to simulate actual network
topology (for more hardcore needs see ndnSIM)<br>
<br>
So should I get next familiar with the NDN Packet Format
Specification (v0.3) or what would be the next steps when you
know how to implement simple producer / consumer?</div>
<div><br>
</div>
<div>Thanks for all the help! :)</div>
<div><br>
</div>
<div>- Erno</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ma 11. toukok. 2020 klo 8.43
Junxiao Shi (<a href="mailto:shijunxiao@email.arizona.edu"
moz-do-not-send="true">shijunxiao@email.arizona.edu</a>)
kirjoitti:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Dear folks</div>
<div><br>
</div>
<div>I wrote a blog post about how to get started with
NDNts.</div>
<div><font size="4"><a
href="https://yoursunny.com/t/2020/NDNts-node-start/"
target="_blank" moz-do-not-send="true">https://yoursunny.com/t/2020/NDNts-node-start/</a></font></div>
<div><br>
</div>
<div>It explains how to send and receive Interest and Data,
and introduces two powerful features of NDNts that other
libraries do not have.<br>
</div>
<div><br>
</div>
<div>Yours, Junxiao<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, May 10, 2020 at
11:48 AM Junxiao Shi <<a
href="mailto:shijunxiao@email.arizona.edu"
target="_blank" moz-do-not-send="true">shijunxiao@email.arizona.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi Erno</div>
<div><br>
</div>
<div><a href="https://yoursunny.com/p/NDNts/"
target="_blank" moz-do-not-send="true">NDNts</a>
(JavaScript and TypeScript) and <a
href="https://python-ndn.readthedocs.io/"
target="_blank" moz-do-not-send="true">python-ndn</a>
(Python 3) are two modern and up-to-date libraries.</div>
<div>The three libraries mentioned in Philipp's
message are either missing important features, or no
longer maintained.<br>
</div>
<div><br>
</div>
<div>A quick start of sending a few packets locally,
using NDNts in JavaScript:</div>
<div>
<ol>
<li>You need to install NFD locally. It's best to
install from binary packages, not source code.
On Ubuntu 18.04 execute the following commands:<br>
sudo add-apt-repository ppa:named-data/ppa<br>
sudo apt install --no-install-recommends nfd</li>
<li>Install Node.js 14.x. It's best to install
with <a href="https://github.com/nvm-sh/nvm"
target="_blank" moz-do-not-send="true">NVM</a>.
On Ubuntu 18.04 execute the following commands:<br>
wget -qO- <a
href="https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh"
target="_blank" moz-do-not-send="true">https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh</a>
| bash<br>
nvm use 14<br>
In case NVM installation doesn't work, you may
also use <a
href="https://github.com/nodesource/distributions#deb"
target="_blank" moz-do-not-send="true">NodeSource
packages</a>.<br>
</li>
<li>Download the three files in the attachment,
and save them into an empty directory.</li>
<li>cd to that directory, and execute:<br>
npm install</li>
<li>In the first console window, run the producer:<br>
NDNTS_NFDREG=1 node ./producer.mjs</li>
<li>In the second console window, run the
consumer:<br>
node ./consumer.mjs<br>
</li>
</ol>
</div>
<div>To develop applications with NDNts, you can start
looking at <a
href="https://github.com/yoursunny/NDNts/tree/master/packages/endpoint"
target="_blank" moz-do-not-send="true">@ndn/endpoint</a>
package.</div>
<div>Note that NDNts doesn't often publish to NPM, so
that you should use the <a
href="https://ndnts-nightly.netlify.app"
target="_blank" moz-do-not-send="true">nightly
packages</a> as shown in the demo.<br>
</div>
<div><br>
</div>
<div>Yours, Junxiao<br>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Ndn-interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a>
</pre>
</blockquote>
</body>
</html>