Connecting to Informix with NodeJS in MacOS - IBM Driver Issues - javascript

I am attempting to connect to my Informix database via NodeJS on MacOS, something I would have thought was reasonably simple. However, after Googling the issue, it seems that I am required to download a driver from IBM themselves, and this is the start of the problems...
I have seen the ifx_db and informix npm libraries which give instructions to download the informix SDK from IBM themselves, however any link I click on refers me to this page:
however I cannot seem to get to download the SDK itself, it just tries to make me download some sort of fix...
and going through this ends up with some sort of error, not being able to download anything...
Can anybody tell me if I am doing something wrong, looking in the wrong place? This is starting to become rather annoying!
UPDATE
I have since been able to follow down the rabbit hole to find this download page, but I cannot actually download the thing!

#jsagrera had it right.
This is a link where I Could correctly download everything, requiring IBM's specific downloader first (sigh). Things appear to be installed correctly after doing all of this.
Once the downloader is installed (Java may need updating first), it will automatically download the SDK file

Related

Problems opening javascript github examples

So I want to start using dc.js package to create a few dashboards, and I've found this tutorial:
https://github.com/austinlyons/dcjs-leaflet-untappd
I've downloaded the entire folder and attempted to open the html to see whether it works, but I only get some parts of the page (no data, no graphs, you can see the expected and gotten image attached). I've had the same problem with some other tutorials that I've found, and can't figure out why. I can open the page in the browser when it is a link like:
https://austinlyons.github.io/dcjs-leaflet-untappd/
Any ideas? I am using Chrome btw, but it doesn't work in IE either.
You need to run python -m SimpleHTTPServer in your terminal.
Try it yourself
If you want to play with the code as we go, I recommend downloading
the source code from this GitHub repository, navigating to the
directory where the files are located, and kicking off Python's
SimpleHTTP server so that you can see your visualization in your own
browser at http://localhost:8000 (If this is new for you, see this
link for a bit more information).
If anyone is interested there is a very nice workaround for those not willing to play around with a server. For some reason Firefox allows the opening of such pages, so one can test D3 and similar code in it without having to run a server.

Use Quorum Plugin on another IDE; Sonic Pi; MIDI; javascript

I wrote a program that plays a song using sonic pi. I have to transcribe the code to a web language (javascript). Since I'm new at javascript I thought it would be ideal to use QUORUM (http://quorumlanguage.com/) to transcribe it since there is easy access to MIDI libraries, etc. (that I absolutely need). I have a mac and tried to use netbeans, etc (all processes suggested on the quorum site) but they are not working. So, I figured I should be able to use the Quorum plugin that I downloaded on another IDE (a cloud IDE would probably be better). I keep failing and I honestly don't know really know what I'm doing. I'd prefer not to pay for an IDE. I tried orion's cloud ide "che" but it won't let me download the plugin via the internet or give me an option for uploading or running a native file.
Basically, I would like to find someway I can use quorum on my Mac.
Please help.
Doing all this for my graduate degree.
Thanks.
Em.
In order to use The Quorum Programming language, it MUST be in the Netbeans IDE. No exceptions.
The process of installing the plugin for Quorum Language Support is as follows:
MAKE SURE YOU HAVE THE LATEST VERSION OF THE JAVA DEVELOPMENT KIT!!! - This is VERY important as Quorum 3.0 uses the Latest Version of Java and Quorum compiles to Java Byte Code.
You MUST Have Netbeans 8.0 or greater (at most Netbeans 8.0.2). - This is also very important as Quorum 3.0 takes advantage of features in Netbeans 8.
Go to the plugins page. This can be done by clicking on "Tools" in the Menu Bar and then going to "Plugins"
Go to the Settings Tab and hit the button that says "Add"
In the Name Field, Type "Quorum"
In the URL Field, Type the following: http://quorumlanguage.com/updates/quorum/updates.xml
Now under "Available Plugins", Check the Box for Quorum
Click the Install Button
Restart Netbeans.
Now, upon completed load of the Netbeans IDE, The Quorum Module should ask you if you would like dictation of everything you do. If you do not want this, tell it that you do not. If you do, then go for it.
When you go to Create a new Project in Netbeans, you should see an option for Quorum. If you do see this,then you have successfully installed the Quorum Plugin to Netbeans.

How does one write a VBS or batch file that will automatically install a Google Chrome plugin?

I need to find a way to install a Google Chrome plugin onto Chrome automatically. It would be preferable if you gave advice pertaining to .bat and .vbs files as that is where my "specialties" lie.
When I say automatically, I mean you would double-click the script and it would put the plugin onto the browser.
C:\Documents and Settings*UserName*\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions
Is where the extension data is. I'm working with Windows machines, by the way.
EDIT: Sorry, the vibe I was intending to give off was "advice" not "gimme free code".
Where to start..
There are some limitations you will have to deal with, due to security measures taken.
Your extension must be published in the Chrome Web Store.
Your extension will start disabled in Chrome with a prompt to enable it.
If you can live with that, the procedure is outlined here. Don't ask me for sample code, but it should be pretty straightforward.
In short, all you need is to create a registry key based on the extension ID. Chrome will pick that key and add an extension - but will ask the user to confirm.

Couldn't find 'aapt' tool! You may need to update your Android SDK, including platform tools

I am developing mobile application using trigger.io tool. While running the application in the triggerio plat form it giving error as couldn't find "aapt.exe" tool. It was suggesting to update android sdk. I updated android sdk and plat form tools yet the same error displaying. Please suggest need ful. Any help would be appreciate. Thanks in Advance.
got the same issue, solved it by changing "platform_version": "v1.4.47" in config.json
So again from what I can tell this is a problem with the python script that calls aapt.
When you look at the script it points only to aapt, this means its looking for a directory and not the aapt.exe file itself so the first thing that happens is
1) forge says it cant find the aapt directory, this is why you are getting the error message "cant find aapt tool"
2) by adding the directory you would get the access denied because then the script is trying to run all these commands on just the directory (this was the problem I ran into), by making the change below you do not need to create a directory, just leave everything how it is but add the exe and it should work
After doing some testing I found that by adding .exe to the pythong script in android_tasks.py the build was able to run successfully
if you look on line 35 of android_tasks.py and change 'appt' to 'appt.exe' it should build for you
this is what it looks like for me
path.join(sdk, 'build-tools', '*','aapt.exe')
Hope this helps
We made a change to fix this issue in our v1.4.49 platform version:
https://trigger.io/docs/current/api/release_notes.html

Simple alternatives to Red5 recorder and server for webcam video capture?

I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.
I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.
I've search google and github and am really surprised by the lack of simple options. Am I missing something obvious? Thanks.
I ended up going with Red 5 server and red5recorder. It was tricky to get everything working properly, but here's an overview of what I did:
Check out red5 version 0.9.1 (I couldn't get the latest version working with red5recorder). ant prepare; ant clean dist.
Download the latest source for red5recorder.
Install Eclipse Ganymede Sr2 (3.4.2) Enterprise Edition (the latest version that works with both the red5 plugin and the flash builder plugin).
Install the red5 plugin according to http://wiki.red5.org/wiki/Red5Plugin
Install the Adobe Flash Builder 4 plugin into eclipse-install-dir/flash-builder and built it against the eclipse in eclipse-install-dir
Create a New Dynamic Web Project. I named it Red5Server. Select a New Target Runtime -> Infared | Red5 Server. Target the dist directory in the red5 checkout. so for me:
auto deploy dir: /Users/julia/code/red5-0.9.1.svn/dist/webapps/
start script: /Users/julia/code/red5-0.9.1.svn/dist/red5-debug.sh
stop script: /Users/julia/code/red5-0.9.1.svn/dist/red5-shutdown.sh
Import Flash Builder Project - red5recorder
Right click Red5Server | Run as.. | Run on Server. It should start up the server and show Directory listing for localhost:5080/Red5Server
In red5recorder's Recorder class, change server to be rtmp://127.0.0.1/Red5Server/
Right click on red5recorder.mxml and run it as an application. It should pop up a browser and the recorder should successfully connect to your webcam.
Now, red5recorder is really broken out of the box. It required quite a bit of tweaking to get it to do what it says it will, and once I was more comfortable, I ended up refactoring it altogether to do what I wanted.
There are "simple" demo publish and playback examples for Flash in our source tree. When I say simple I mean dead-simple, have you looked into these?
Broadcast / publish - http://red5.googlecode.com/svn/flash/trunk/simpleBroadcaster.fla
Playback - http://red5.googlecode.com/svn/flash/trunk/simpleSubscriber.fla
Flash examples: http://red5.googlecode.com/svn/flash/trunk/
I'm currently evaluating and reading the rtmp-nginx-module. It looks more stable and very well documented than the other peers I've tried:
RTMPLite: Works well with VideoIO.swf however it's not easily extensible.
Red5: Good luck getting it working correctly!

Categories