I am trying to understand the Solaris OS. I am trying to understand the process structure of the Solaris, I looked into this book chapter this oracle reference and this. Can we create a Process in Solaris without LWP? Or we need to have LWP for storing data?
Related
I'm currently trying to learn the "most elegant and powerful" programming language since I'll need to be using it in about two months. However, I've been searching for an entire half-hour, and I have one simple request.
How do you read standard input with Pharo 7.0 Smalltalk on Windows? The solution I found here only works on Linux via using /dev/stdin as a file.
Getting to standard input from a GUI application on Windows is not trivial (see https://social.msdn.microsoft.com/Forums/vstudio/en-US/799cc2b6-309e-4758-8c3b-7c602bbfb736/in-a-gui-program-where-is-stdout?forum=vcgeneral) and few GUI applications support it.
Why do you want to do this? Is it so you can transfer what you've learned from C/C++/C#/Java/Python and other such console-based environments? If so, I suggest you change your approach. Instead of trying to transfer your C tutorials to Smalltalk, I suggest that you learn Pharo using https://mooc.pharo.org. If you want to look at user input in a GUI context, take a look at the UIManager.
On the other hand, if you must write a console-based application, see CommandLineUIManager.
So I have a DataEase DOS 4.23 database, which I have full access to open and look at, and I'm looking to see if I can somehow convert this into a MSSQL or PGSQL (or any modern SQL, really) database. I've looked through this software, and I can't seem to find any sort of export function. I've found some documents that say to upgrade the system to 5.x, which has an export function, but I've had trouble locating an installer for DataEase 5.x.
Is there any known way to programmatically export the DQL to a more modern format? Even CSV is acceptable to me at this point.
I figured it out! Just had to use the wayback machine to find a program called Datagrab that some guy wrote in 2002, which only worked on XP and prior machines, so I created a VMware WinXP installation, transferred Datagrab and the database files to that machine, and was able to successfully transform the database tables into CSV files with only a few hundred errors (easily solved)!
Solved this with a program DataGrab.
In the link there is a newer software called ConvPlus, which has more features.
Both programs were tested on Windows 7 SP1 and have done their work
http://www.meltonisl.com/software.html
I am trying to write a script that is executed before Windows is booted on my Computer.
I have already developed a simple Linux bash script to accomplish this, but I would like to improve and take it further. The problem with using a Linux script is that it adds quite a bit of time to the boot sequence as Linux has to start/initialize then execute it, which is obviously undesirable.
What I would like to do is write a low-level program (assembly? machine code?) which BIOS would read, execute, and then continue to Windows(or any other OS).
Is there a way to run scripts in that fashion without the presence of a OS and if so what language or resources should I consider.
No, there is no way to write "scripts" to do what you describe.
It is, however, possible to create a chain loader and have the chain loader do anything you want it to in the first stages before loading Windows. The accepted answer to this question will get you started down this road.
You would want to consider Assembly Language. You didn't specify an architecture, but saying "Windows" implies x86 or x86_64.
All of that said, I suspect your question will be closed since it is enormously broad.
So I am using labview and their data connectivity tool kit only works with their 32 bit version. I need to use their 64 bit version though to be compatible with some of my other files.
If I have a local sql database, which I access using the mysql command line client, what would be the best way to talk to it? Should I use executables like bat files or is there a better method? Should I store data in a different way?
Thanks in advance for your help.
I have never really liked the data connectivity toolkit, mainly because it is Windows only. That being said, I recommend setting up a MySQL server on your computer and using TCP/IP to communicate with it. This community forum link is a good start, although there are some issues with this code. I use code based off of that in my software, unfortunately I cannot post that source code.
Does anyone know how to connect to an ODBC database in Octave? The database package doesn't seem to install properly. I found this bug here:
http://savannah.gnu.org/bugs/?30090
Is there any other method? I am actually trying to connect to SQL Server and am using Windows 7 (not linux unfortunately, at my work place!).
If not, are there any other matlab type programming environments out there that anyone would recommend?
A looong time ago I wrote a connector for Octave to PostgreSQL (which is still on its webpage here). Maybe you could use that a starting point?
Taken from a reply by Martin Helm to the same question on the Octave forum which suggests using Java plus JDBC. -
Look at the java bindings in the octave java package (octave-forge), it is
maintained and it works. Java is very strong and easy for database handling.
Use that and jdbc driver for mysql to connect to mysql (or with the
appropriate jdbc driver everything else which you can imagine). That is what I
do when using db queries from octave. Much easier and less indirect than
invoking scripts and parsing output from databse queries.
As far as I remeber the database package is somehow broken (at least I never
was able to use it).
I also have this problem and will be giving this a try.