How to get started? - hp-nonstop

I am trying to get started with HP Nonstop and am trying to set up a local development environment
http://h17007.www1.hpe.com/nl/en/enterprise/servers/integrity/nonstop/nonstop-development.aspx#.W8SYvxNKhQJ
There are some dead links here. Does anyone know how to get started with it if I don't have access to a Tandem server?

Here is a link to the latest (?) trial version of the native mode developer environment:
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=QSB98V1
You will need a NonStop server to actually execute any compiled code on.

Related

SAS University Edition - local host 10080 really long time initalizing

I am trying to use the SAS University Edition for the first time. I followed the instructions given from the download page, using Linux Ubuntu and VirtualBox. Everything worked fine, I started the virtual machine and then opened Localhost 10080 in Mozilla Firefox 77.0.1 for Ubuntu. The thing is SAS studio takes really long time initializing - haven't gotten passed the Initializing state after 10 minutes, that can't be normal?
UPDATE: Partially solved, could load SAS University Edition in Chrome. Still, a mystery to me why I couldn't use Firefox.
Ensure you have adequate RAM atleast 3GB is good. Do not put numerous plugin in the browser. If possible, download a fresh browser and use it only for that purpose. I have also faced the issue.

Trouble connecting to Oracle 18c XE on Windows Server 2012 r2

A few weeks ago I had installed Oracle 18c XE on my Win10 PC to test an app. Once everything checked out, we installed the same thing on Windows Server 2012r2. When connecting to SQLPlus we get an error message ORACLE is not available. Then after attempting startup we get Oracle DB XE memory parameters invalid or not specified.
I am unsure where this value is set or how to fix this issue. This worked fine on my PC and I have no outside experience of getting the database set up on a server. Any help would be greatly appreciated. Thanks
I posted this in haste after working a few hours trying to get this working. This was fixed by adding the an entry in the listener.ora file for the XE service instance. After this, I was able go execute the startup command in SQLPlus. I do need more help but will post my question in the DBA Stack Exchange server.

Calabash how to speed up execution time

I have a Android device connected to my PC.
Running a calabash test I use the following command:
calabash-android run <NAME>.apk features/<NAME>.feature
Now before running a feature Calabash always uploads the application again witch takes time.
How can I disable this?
Any help would be appreciated!
Thank you!
You can control the reinstallation of the app using the hooks file. This contains the cucumber hooks for before and after scenario. If you didn't make the hooks file that you are running then it's probably one from a sample project.
The bit you're looking for is the 'reinstall_apps' command. If you remove it completely then your app won't ever be reinstalled, which can be a bad thing as it's sometimes necessary to reset the app completely. The way I handle it is to tag the features where I do want the app reinstalled with #reinstall_app and then
Before do |scenario|
puts "Starting scenario - #{scenario.name}"
reinstall_app if scenario.source_tag_names.include?('#reinstall_app'))
...
end

Trying to connect a remote MySQL Database to Visual Studio 2010 Pro (C++)

Ok guys, I've been trying to get this working for a few weeks in my spare time, and all day today, and I have nothing to show for it, so here's my question.
First off, the end goal for this is to read and write basic information (id #s, names, etc.) from a remote mysql database, to a C++ program written in Visual Studio 2010 Pro, or something equivalent (and free). I access the server from my laptop with SSH, and I can call family members to mess with router settings and such.
I'm trying to use a MySQL database on a Ubuntu Server machine that I access remotely from a Windows 7 laptop. I have installed MySQL Connector C++ from the MySQL website (the msi installer). NOTE: I have not done anything with the Connector install except run the exe I downloaded. Didn't think I needed to compile anything, but I'm wrong a lot. I have created a database, a user who has privileges to the database, and this user can (in theory) connect from any ip, because it is declared as 'username#'%'. I also changed the my.cnf file so that the bind-address line is commented out. I used 'mysqladmin ping -h serveraddress -u username -p' and that gave me 'mysqld is alive', so I'm assuming the database is accessible from any ip remotely. So, I opened up VS 2010 Pro, made a new project, went to tools, and then 'Connect To Database'. I selected Microsoft MySQL Server and put in the information exactly as I did for mysqladmin. I clicked Test Connection and I get an error box that ends with 'provider: Named Pipes Provider, error 40 - Could not open a connection to SQL Server'. Sorry for the block of text, just want to give all the details I can.
Hopefully I'm close to making this work, I'm not pressed for time but I'm really tired of not being able to work on anything else in the project, since it all branches from this database connection.
Thanks you all! I'll reply with whatever you need me to during the day, I'm not much of a night owl anymore =)
UPDATE:
I have the sample code from the mysql site compiling correctly, it was just a matter of finally getting a few hours to sit down and fix linker/library errors one at a time, downloaded the boost libraries, and changed include directories to direct paths when I could get them to work correctly. Now all I need to do is learn how to use it lol
Thanks all!
Not sure if this is the problem but be sure to use the 32 bit ODBC Administrator if you are building a 32 bit application. If you are on a 64 bit PC, by default you are going to be using the 64 bit ODBC Administrator and consequently your 32 bit application won't actually see the DSN that you've created. Run the 32 bit ODBC Administrator using this path: C:\Windows\SysWOW64\odbcad32.exe and then create your DSN.

VisualVM and Coldfusion 8: why no memory sampling available?

We are trying to use VisualVM to track down some memory leakage in CF8, however, cannot get the tool to work 100%. Basically, everything comes up, except the Memory sampling. Says that the "JVM is not supported".
However, all the other features work (we can do CPU sampling, just not memory). Found this kind of weird that we can do everything else but the memory stuff, so am wondering if maybe we need to specify another JVM argument to allow this?
Some other info:
We are connecting locally via 127.0.0.1 or localhost.
I installed the Visual GC plugin, and it cannot connect either.
VisualVM and JRUN/CF8 are both using the same Java version (1.6.0_31), however, they are not pulled from the same location (maybe this matters). VisualVM uses the installed JDK, whereas JURN/CF8 uses just the binaries that we copied locally to the CF8 installation folder.
Installed another plugin that shows JVM properties, and it says that the JVM is not "attachable". Don't know what that means, but am just wanting to mention it.
Any help with this would be greatly appreciated. If we can just get that memory sampling, I think we can get on top of our performance issues that have plagued us here recently. Thanks in advance!
EDIT:
Also, just checked, and JRUN is being started under "administrator", whereas I am launching VisualVM under a different user. Maybe this is relevant?
Yes, it is relevant that you are running VisualVM under different user. Memory Sampling uses Attach API, which only works if you are running monitored application and VisualVM as the same user. This is also reason that the JVM properties reports that your application is not attachable. If you run VisualVM as "administrator", it will automatically detect your Coldfusion 8 application and the Memory sampler will work.