Hacker News new | past | comments | ask | show | jobs | submit | more lloydhilaiel's comments login

I hope to build jsonselect support on top of yajl and expose it as a native command line tool, so fast stream based filtering... but that's still ideaware at this moment :)


with the reference implementation:

JSONSelect.match(".nonexistantkey .somechild", obj) returns []

Alternately, if you use the JSONSelect.forEach() method your callback will just not be invoked.

So no existence testing before access for recursive values. A main benefit of this thing in javascript.


one way you can do native code integration with chromeless is using JSCtypes: https://wiki.mozilla.org/JSctypes

I hacked up a trivial proof of concept on this branch: https://github.com/mozilla/chromeless/tree/jsctypes_play


Does JSCtypes allow for js functions to be used as C callbacks, like Python's ctypes does?


file system access, yeah! It should feel like node.js (on purpose): http://mozilla.github.com/chromeless/#guide/filesystem-acces...

databases, IndexedDB should "just work", and thinking exposing SQLlite is worthwhile.

only the most basic network libraries at the moment.


Would it be possible to use Chromeless to tell the operating system to have a specific file opened by its default native application? So you could have a collection of links in a Chromeless app, that represent files on the user's computer, and the user could click a link for say an Excel file, and Excel would launch and show the file? Ideally this is what the new FileSystemApi needs, so that a web-based "dropbox" becomes possible. At the moment, any kind of web-based file manager must result in downloads to get most files opened, and re-uploads, whenever the user changes the file.


totally. check out webian: https://github.com/webianproject/shell


it's homegrown. I spun off the docstract project which pulls docs outta .js and outputs them in json. From their you can render the docs however you want. Docstract itself is permissive open source you can use, here:

https://github.com/lloyd/docstract


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: