<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hmm. Looks like the NetBeans project under x3d/stylesheets/java
does not build? Something to do with the versions of jars
required? I haven't figured out how to resolve the jars, will
probably have to figure out how to add/remove jars.</p>
<p>John<br>
</p>
<div class="moz-cite-prefix">On 6/19/21 3:44 PM, John Carlson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2dcb30de-6463-242f-abfa-db4ad6e67f40@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Looks like NetBeans 12.4 does not support Python projects????</p>
<p>What do you use for x3d.py? An older version of NetBeans?<br>
</p>
<p>Thanks!</p>
<p>John<br>
</p>
<div class="moz-cite-prefix">On 6/19/21 3:08 PM, John Carlson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGC3UE=JOmLAf77MJsQ0M7smZBamsKaZx7ame_dFxP3px0eX2A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="auto">(I’m in a better mood)</div>
<div dir="auto"><br>
</div>
<div dir="auto">I have been doing JSON schema generation for a
long time in python, I’ve been adding validators in various
languages, and I’ve been testing X3D Examples. I’ve also
added validating all the schemas against draft07. The python
generation code is stable, but undocumented, for the most
part. I think what you want is online documentation. The
Everit code base is what I use in Java. I can’t setup Everit
on your machine. I tried to set up a reasonable testing
environment for schemas copied from X3DJSONLD, but it still
requires bash (which will download and compile jars, using
maven), and does not conform to a NetBeans project. The Java
and JavaScript code is on GitHub under coderextreme/x3dschema.
Currently schema generation requires jsonlint, and one needs
to run the driver script like:</div>
<div dir="auto"><br>
</div>
<div dir="auto">python3 generateSchemas.py</div>
<div dir="auto">(under X3DJSONLD/src/main/python)</div>
<div dir="auto"><br>
</div>
<div dir="auto">I’m not mentally prepared to do the same in
.xslt, I’ll leave that to the smart people with the
appropriate tools. I can read xslt well enough to make minor
modifications in vim.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Schemas will be found in ../schema or ../schemas
or online at github, checked in under coderextreme/X3DJSONLD </div>
<div dir="auto"><br>
</div>
<div dir="auto">So my read on this is you want JSON schema in a
NetBeans project. I admit I’ve been using the master branch
of Everit from GitHub. In a temporary folder that only gets
checked out when I delete it.</div>
<div dir="auto">===========</div>
<div dir="auto"><br>
</div>
<div dir="auto">I have an existing test case for loading a JSON
file into X3DJSAIL with X3DJSONLD.java These things are under
x3d/stylesheets/java/src/net/coderextreme on</div>
<div dir="auto">sourceforge. My understanding at this point is
you want a NetBeans project with a proper test case, currently
in JsonConversion.java. There are issues with the results
from that test case. I suggest searching your mail archives
for JsonConversion. I can trade a NetBeans project with an
effort to patch the problems I found when comparing outputs
with inputs.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Note that I only recently brought up the
stylesheets project under NetBeans.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I do not feel comfortable checking code into
sourceforge right now.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I do feel that we could create an issue tracker
for our projects under Mantis, or another installation of
Mantis. Or GitHub issues, or something under sourceforge.
Feel free to add issues to my GitHub repositories. Thanks!</div>
<div dir="auto"><br>
</div>
<div dir="auto">Using email for issue tracking is comparable to
using vim for code editing.</div>
<div dir="auto"><br>
</div>
<div dir="auto">John </div>
<div dir="auto"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jun 19, 2021 at
10:48 AM Don Brutzman <<a
href="mailto:brutzman@nps.edu" moz-do-not-send="true">brutzman@nps.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Thanks
for your thoughts John.<br>
<br>
We have everything we need for both data and metadata in
the X3D4 Architecture.<br>
<br>
Our tasks at hand are to get corresponding file encodings
and programming languages well defined (in
specifications), well supported (in tools) and well
demonstrated (in examples).<br>
<br>
We are making steady progress on all counts. We need to
do well at those, work continues. As we do so, many other
things become relatively easy and will come our way. No
need to chase in every direction.<br>
<br>
And so let's keep working on tasks at hand.<br>
<br>
Am getting closer at CORS support for authors in
X3D-Edit. Tricky business, requires careful
implementation that will help. So I am not irritated
about tools whatsoever, quite the opposite. Am finding
that all of the pieces/parts needed are out there, am
putting them together in one place. X3D-Edit beta is
already helping with our improvement of X3D model
production, onward we go.<br>
<br>
Please advise where your latest greatest for the following
key items might be, I'll continue working in that
direction.<br>
<br>
a. JSON Schema (can we finally autogenerate) and stable
library support (Java please) for integrating in examples.<br>
<br>
b. Example Java code to integrate in X3DJSAIL for loading
JSON. (hopefully testable in a simple program also
utilizing the x3djsail full jar.)<br>
<br>
Please do not just point at a url and say "Everything is
Found in the Giant Hidden Valley Way Over Yonder." Well
intentioned no doubt, but unfortunately not actionable, I
have no time permitting re-exploration of your journeys.<br>
<br>
Small steps from something existing to something
additional are much preferred. So please curate and
instead offer "here is the simple implementation, and
example test." That is easier to examine, implement,
evaluate and add.<br>
<br>
Hope this helps. Thanks for your important efforts.<br>
<br>
<br>
On 6/18/2021 2:10 PM, John Carlson wrote:<br>
> <br>
> Seeking better tools: irritated too. We have ways
to get text, image, price/product, math, geo and video
results from a search engine, but not meshes, graphs,
systems (do we have good ways to make systems
searchable?), and networks, except for social connections,
perhaps. Where are 3, 4 and fractional dimensional
results? I’m aware of what Princeton has shown with
shapes. I think the main issue may be we don’t have good
ways to query such things…neo4j query language perhaps?
GraphQL? Are there demos on the web? SPARQL? Where are
the VR results?<br>
> <br>
> What ways are there to search across the 3D web? Can
I search for 3D house models? Net-lists? How can the web
be better oriented for 3D search? What if we could
develop something for searching Minecraft servers?<br>
> <br>
> What is the equivalent of grep for 3D? Is there a
better X3D encoding for searching? I’m aware of metadata.
Say I want to pull all <Shape>’s out of a file
system or remote folder and display/browse or save them?
How do I grep STL files?<br>
> <br>
> ===============<br>
> <br>
> For bash-sql<br>
> <br>
> I agree, Don, seems like the best approach is to keep
a log of test results, but I don’t know if I should create
a separate script or not. That is, maintain a script for
transient results in addition to a script that keeps
results in version control for comparison.<br>
> <br>
> I looked into GitHub Actions for a bit, I’m not sure
if I can introduce a custom shell script that takes a lot
of CPU time.<br>
> <br>
> I don’t really like databases anyway—I don’t have the
mindset for it. If there was a good integration between
bash and SQL I might be more interested. I assume that
power-shell might have something, but I’m not sure of
cross platform compatibility.<br>
> <br>
> Note: both vim and emacs have database integrations.<br>
> <br>
> I guess I could write my own scripting language?
Hmm. What are people missing from their current
environments?<br>
> <br>
> Does Tcl or Ant do pipelines? I guess
include/exclude may solve that issue.<br>
> <br>
> Perhaps it’s time for me to write up some
requirements to go shopping for a different environment.<br>
> <br>
> I haven’t bought into the graphical IDE mindset at
the moment. I’m not sure why. Perhaps if I could grep
and find across web pages easily (wget? curl? lynx?). I
know eclipse has a way to search across files.<br>
> <br>
> =======<br>
> <br>
> I’m sorry I’m such a noob.<br>
> <br>
> John<br>
> <br>
> On Fri, Jun 18, 2021 at 11:00 AM Don Brutzman <<a
href="mailto:brutzman@nps.edu" target="_blank"
moz-do-not-send="true">brutzman@nps.edu</a> <mailto:<a
href="mailto:brutzman@nps.edu" target="_blank"
moz-do-not-send="true">brutzman@nps.edu</a>>>
wrote:<br>
> <br>
> On 6/17/2021 6:35 PM, John Carlson wrote:<br>
> > Anyone know of a command-line database
client?<br>
> <br>
> dozens, see Vince email<br>
> <br>
> > Are you interested in a possible ant
integration, Don?<br>
> <br>
> no, they require a lot of upkeep and break or get
garbled over time<br>
> <br>
> XML and catalogs preferred, inspectable and
doesn't break.<br>
> <br>
> even better is consistent file naming and
directory structures, ant just handles that. see our 4000
examples.<br>
> <br>
> > I will be using it for inserting and
selecting test results. It should probably keep track of
test runs, for example.<br>
> <br>
> if you wish - no problem with that, but not
advisable as a shared resource.<br>
> <br>
> all the best, Don<br>
> -- <br>
> Don Brutzman Naval Postgraduate School, Code
USW/Br <a href="mailto:brutzman@nps.edu" target="_blank"
moz-do-not-send="true">brutzman@nps.edu</a> <mailto:<a
href="mailto:brutzman@nps.edu" target="_blank"
moz-do-not-send="true">brutzman@nps.edu</a>><br>
> Watkins 270, MOVES Institute, Monterey CA
93943-5000 USA +1.831.656.2149<br>
> X3D graphics, virtual worlds, navy robotics <a
href="http://faculty.nps.edu/brutzman" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://faculty.nps.edu/brutzman</a>
<<a href="http://faculty.nps.edu/brutzman"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://faculty.nps.edu/brutzman</a>><br>
> <br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman Naval Postgraduate School, Code USW/Br
<a href="mailto:brutzman@nps.edu" target="_blank"
moz-do-not-send="true">brutzman@nps.edu</a><br>
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
+1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a
href="http://faculty.nps.edu/brutzman" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://faculty.nps.edu/brutzman</a><br>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</body>
</html>