Octave Forge packages - windows

I'm running the Window's port of Octave on Windows 10.
I have installed 3 packages; Control, Signal and Communications.
I am wondering if there is a procedure to run to update the Help on disk?
Or should I just use the online help at Octave Forge online documentation
T.I.A.

Just to give a more rounded answer to the question for future readers.
Core Octave documentation comes in two forms:
A manual, which is available in pdf and html form here: http://www.octave.org/doc
This is the same document that is displayed in the octave GUI when you click on the "Documentation" tab.
Help headers. These are defined inside each function, and can be summoned via the help <functionname> command.
For Packages there is no distinct html and "help header" versions. There is only help headers. However, these help headers are also available to read online in slightly nicer-looking html format at the octave forge website, listed under their function reference. If your package installation is up-to-date, then the two should be identical.
You can get some information about the package itself on your terminal (such as a short description and list of functions it provides) by typing pkg describe -verbose <packagename>, and you can see a changelog via news <packagename>. Again, this is the same information that can be found on octave forge, just formatted in nicer html.

Related

Documentation for Javascript code in RStudio?

RStudio has support for ROxygen for generating documentation for R code. My R package has a fair bit of Javascript code in it. Has anyone written an RStudio plugin to support Javascript documentation, using JSDoc for example?
I'd like the equivalent of "Insert ROxygen skeleton", which isn't trivial to write myself, since it needs to parse the following Javascript.
There's now a prototype addin for RStudio to do this. It currently uses the development version of the js package, so you'll need two Github installs to use it:
devtools::install_github("jeroen/js")
devtools::install_github("dmurdoch/JSDocPlugin")
See the ?insertJSDocAddin help topic for instructions on how to install it with a keyboard shortcut.
Comments or pull requests on https://github.com/dmurdoch/JSDocPlugin would be welcome.

Intellisense not working with PTVS(python 3.3)

I have both IronPython 2.7 and Python 3.3 installed. Intellisense works perfectly when I use IronPython and other languages but as soon as I switch to Python ,it stops working with a message -"Intellisense database is currently not up to date and completions may be missing".Refreshing the databases in Python Environments has no effect and shows "Completion DB needs refresh" whereas it says "Completion DB is up to date" in IronPython.
Tried
uninstalling PTVS,Python
deleting the leftover files in "..\Common7\IDE\Extensions\Microsoft"
but had no effect. It does work while using python interactive.
How can I get it to work in the editing area?
PTVS version 2.0.
Thanks!
Do you have any packages installed for Python 3.3? Or is it direct from python.org? It is possible that some packages will break the completion DB, so if this is the case, I'd encourage you to visit our forums and post a list there.
Alternatively, did PTVS detect Python automatically or did you add it as a Custom Environment? There are some ways to misconfigure environments that will break the completion DB but not show any other errors.
If you look under Tools->Python Tools->Diagnostic Info you will find the relevant logs. If you don't want to search these yourself, again, I'd encourage you to visit our forums and post it there.

Download documentation for Appcelerator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I tried finding a way to download documentation of titanium appcelerator for offline reading
I searched a lot but couldn't find any direct or indirect way to download it
Has anyone downloaded documentation ?
It is not possible (as far as I know) to make the docs offline directly using the online version.
However it is possible to build the docs using the source code, as we all know that Titanium is open-source.
Download the source from: https://github.com/appcelerator/titanium_mobile, or clone the repo with: git clone https://github.com/appcelerator/titanium_mobile.git
Unzip the source code
cd titanium_mobile-master
Ensure that you have python installed, as well as pyyml and pygments, you can install them with: sudo easy_install pyyml, pygments
Ensure you have jsduck installed in your system, if not then install it with: gem install jsduck
write this command: apidoc/docgen.py --format=jsduck --output=dist/apidoc
cd dist/apidoc
jsduck --touch-examples-ui --output Whole titanium.js, where Whole is the output directory containing the generated docs
If you want the builtins to be included in your generated docs make the last command:
jsduck --builtin-classes --touch-examples-ui --output Whole titanium.js
That is it, you have a full searchable Ti docs offline.
By the way, I have found a working solution for one of the most common problems Ti developers face.
Working offline with Titanium Studio:
After going offline, Titanium Studio won't allow you to neither create new projects nor build/package existing projects, to work this around:
-- I have applied this procedure prior to inventing the one below, so I am not sure if it has any effect: http://developer.appcelerator.com/question/119830/use-titanium-withour-internet-connection-or-logged-off, Adam Fisher's procedure.
Open Titanium Studio while offline.
go to: ~/.titanium
vim auth_session.json
change the false to true.
Done
Now you can build and create new project as you like.
I made a shell script out of user1537325's answer. This is specific to Ubuntu 12.04, but you can probably modify it to your own OS without too much trouble. Be sure to upvote his answer as well.
https://gist.github.com/eric-hu/4952258
Warning: The layout and color scheme of the generated docs look different from those of the online docs for Titanium 3.0. I'm not sure if there are differences yet. The output from jsduck also included many warnings about "Unknown type".
You cannot directly download the API documentations from the appcelerator site, but you can use offline surfing softwares to download the website for offline reading
Here are some links from where you'll get some notes
Training resources from appcelerator
You can download and read Appcelerator Titanium Smartphone App Development Cookbook which will help you for developing applications with titanium
http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/BNAPP_ebook
Also you can refer this answers Learning titanium
There's an app for the Mac called Dash (http://kapeli.com/dash). Dash is an off-line documentation browser for software developers. It supports many languages, one of which is the Titanium API; it's a must...if you use a Mac.
However, all the documentation for the Titanium API is available as JSON files (http://docs.appcelerator.com/titanium/data/index.html), so I guess it's just a matter of building an off-line JSON reader.
R
You can download the .mobi file from
"http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/BNAPP_ebook"
and use a mobi to pdf to converter to convert it to pdf format. You can use the free service provided at :
http://www.mobi-to-pdf.com/
to do the conversion.
Hope this helps.
If you use Mac OS X you can install Dash
Dash link
Dash screenshot

Red5 demos don't work

I just installed red5 on my server, and the install seems to work fine. As you can see here: http://onelifemedia.com:5080
I got this far by using this walkthrough: http://www.webhostingtalk.com/showthread.php?t=1046590
The /demos page gives me a 404 error. So I logged onto the server, and checked to see if the "demo" directory was already there. It was not.
The applications that I installed were a directory up from the root directory. I'm not sure if this is right or not.
Either way, my end goal is to actually get something working besides the main page. If I can get the demos to work, then hopefully I should be well on my way.
I guess my questions can be broken down like this:
Does anyone know how to get the demos working?
Should I forget about the demos, and try to start writing my own code?
If I should write my own code, how should I go about installing it? Since the installer is not properly installing the demos.
Thanks
The tutorial is good but you dont need the admin app. Use the installer link in the tutorial and install the demo you want to use. The content of the "demos" directory is only the swf files used to access the server demos which you use the installer app to install. For instance , select "oflaDemo" and then from the main page navigate to demos/oflaDemo et voila.
I know I'm biased being a core developer, but we've attempted to make the server as ez as possible to use.
I could install demos from the latest svn trunk, Checkout the source, use ant&ivy to build and run the server and you can install two sample apps(oflaDemo and SOSample).
You may need to use ivy commands resolve some of the common issues during installations.
E:\dev\red5\java\server\trunk>ant ivyclear dist
()Red5 user mailing list may help you, because this is not exactly problem with Red5 source.
()http://stackoverflow.com/questions/11156222/red5-demos-not-working/11935532#11935532
I could resolve the issue based on the information in Red5 users mailing list and comments by Mr.Mondain in one of the posts in Stackoverflow

Saving PDF files with Chickenfoot

I'm writing a web-crawler using Chickenfoot and need to save PDF files. I can either click the link on the page or grab the PDF's URL and use
go("http://www.whatever.com/file.pdf")
and I get the firefox "Opening file.pdf" dialog box, but can't click the "OK" button to actually save the file.
I've tried using other means to download the files (wget, python's urllib2, twill), but the PDF files are gated so none of those will work.
Any help is appreciated.
This example of how to save a target in the Mozilla developer documents looks like it should do exactly what you want. I've tested a Chickenfoot example that is very similar that gets the temp environment variable, and that worked well for me in Chickenfoot.
https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIWebBrowserPersist#Example
You might have to play with the application associations in Tools, Options, Applications to make sure the action is set to Save File, but those settings might not apply to these functions.
End Answer, begin related grumblings...
I sure wish someone would fix the many bugs in Chickenfoot, and write a nice Cookbook programming guide. I've been using it for years, and there are still many basic things I've not been able to figure out how to do. I finally broke down and subscribed to the mailing list, as the archives have some decent script examples. It takes a lot of searching through the pdf references, blogs, etc. as the web API reference is very sparse.
I love how simple Chickenfoot can make automating some tasks, but it takes me days of searching javascript, DOM, and Firefox documents to find ways to do some of the things it can't, since I'm not really a web programmer. The goal of Chickenfoot seems to be that I shouldn't have to be, but unfortunately few are refining the proof of concept, as MIT has dropped the project.
I tried to do this several ways using only Chickenfoot commands and confirmed they don't work with the latest Firefox 3 and Chickenfoot 1.0.7.
I hope this helps! Good luck. Sorry I only ran across your question yesterday, but found it too interesting to leave alone.
You won't be able to click on Firefox dialogs for the sake of security.
The best way to download the content of a URL is to read then write the content of the URL.
// Chickenfoot 1.0.7 Javascript Code to download the content of a url.
include( "fileio.js" ); // enables the write function.
var url = "http://google.com",
saveFileTo = "c://chickenfoot-google.com";
write( saveFileTo, read( url ) );
You might find it helpful to use jquery with chickenfoot.
http://groups.csail.mit.edu/uid/chickenfoot/scripts/index.php?title=Using_jQuery,_jQuery_UI_and_similar_libraries
This has worked for me to save Excel files from NCES portal.
http://muaz-khan.blogspot.com/2012/10/save-files-on-disk-using-javascript-or.html
I was using Firefox 3.0 and the "old syntax" version of the code. I also stripped code intended for IE and "(window.URL || window.webkitURL).revokeObjectURL(save.href);" which generated an error.

Resources