GUI in Ada programming language [closed] - ada

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 2 years ago.
Improve this question
How to make/create a GUI (Graphical User Interface) in Ada programming language? It is possible?
In Python, you can use tkinter to make a window form.

I know of 5 GUI frameworks for Ada (see the Awesome Ada List for some of them)
GtkAda
Gnavi
Claw
Gnoga
QtAda
GtkAda you can get for free from AdaCore. Claw can be purchased. I'm not familiar with Gnavi so I cannot comment on it much. I've spent more time working with Gnoga and like both it and GtkAda. GtkAda is a native framework, but I like Gnoga because you can provide the GUI via webbrowser (so more easily cross platform) or you can integrate it with a native platform (including GtkAda, Electron, etc.). I'm not familiar much with QtAda
Also note, that if you can find another C or C++ GUI library, you can write bindings for it in Ada (it has a very good external language interface).

You could try Tcl Ada Shell, which supports Tk so should, I expect, be close-ish to tkinter. Personally I find it easiest to develop the user interface in Tcl/Tk and build the model in Ada.
Or there’s GtkAda - can be obtained from AdaCore for Linux, Windows (I assume you’re running the 2018 Community Edition?)

I would add my support for Gnoga. I like it because
It is not a binding; it is a GUI written in Ada.
It is completely portable, because it uses a browser to provide the GUI

Related

PyQt documentation offline [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 5 years ago.
Improve this question
Does anyone know if an offline version of the latest PyQt4 and PyQt5 documentation is available somewhere on the Internet? I don't want to depend on whether I have a working Internet connection or not. I can of course grab it using wget or similar but I would prefer if I can do that the "normal" way (a PDF version would also be nice).
Note: Mny things are covered by the official Qt documentation (C++) however there are also things specific to Python. An example for such a treat is the fact that in C++ there are functions which have multiple overloaded versions while in Python such a thing is not possible. I find myself ever so often looking into the PyQt docs to see how this and that Qt thing looks like in Python.
The PyQt source releases contain the documentation in doc/html.
You can also use the Python builtin help() on a PyQt object - often that way you'll get more relevant information (like the exact Python signatures) compared to the documentation.
Qt comes with a dedicated program, called Qt Assistant, that can be used to browse the documentation off-line. I use it regularly. It's C++ only obviously.
I don't know where it is installed on your system but it may very well be in the same directory as the Qt Designer.

Is there any up-to-date interactive server-side interpreter/console for dart [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 7 years ago.
Improve this question
Having done a number of projects in python and node.js, I am missing an interactive interpreter/console in dart that those languages, as well as other like ruby, provide so nicely.
Tests, logging, debuggers, profilers are the instruments we use in application development while digging into issues or trying things out. But in scripting, in server side scripting, it is the interpreter that is the primary tool to try things out. Having experience from both, software development with a long list of languages and a number of scripting domains (python and bash for admin functions, node for http request evaluation, R for data analysis etc.), I fail to see how, if server side scripting is to be taken seriously, any language not providing an interpreter/console can hope for any sensible share of the pie.
Is dart not intended for scripting or am I just missing something obvious?
PS. There is (was) one project addressing the issue, but it did not see any development for the past 3 years: https://github.com/sam-mccall/dart-console
As far as I know the REPL for the Dart language was not originally planned by the development team. The discussion on the REPL took place back in 2012 with no real outcome:
Github: Dart needs a REPL
So the answer is, there exists no interactive interpreter/console for Dart and it does not look like there are any plans to create one.
Observaory, Dartium, and WebStorm debugger allow to interactively execute Dart code.
REPL for dartlang
Is there anyway to invoke a Dart REPL on a website, when using Dartium?
Is there an "Immediate Window" in the Dart Editor / Debugger?

What other programming languages run on PNaCl? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
As I understand it, PNaCl is designed to support C and C++. Has anyone managed to get any other languages (that compile to native code) to run in PNaCl?
Ruby, Lua, and a number of other languages have been ported to NaCl already. See the list of NaCl ports for full documentation. https://code.google.com/p/naclports/wiki/PortList
There are a couple of different approaches for targeting other languages to PNaCl. One is compiling the language interpreter with the PNaCl toolchain. Since most interpreters/VMs are written in C and C++, this turns out to be easy in practice. naclports already has Lua, Python and Ruby running in this manner.
A more direct approach is taken by llgo - actually emitting PNaCl bitcode. There were also discussions about Mono (which does run on NaCl) on PNaCl - https://groups.google.com/forum/#!topic/native-client-discuss/Km1FOVH6yn0
The real answer is - it's still early (PNaCl was released publicly last week!); this is a ripe field for disruption because the technology is new. If someone wants to port other languages, it would be very welcome.

Automated GUI Testing for Qt WebKit application [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 7 years ago.
Improve this question
I'm writing a Qt application that uses a QWebView to host the UI. Similar to the ImageAnalyzer example in the Qt SDK samples.
I would like to test this UI using an automated method. A scripting interface like Selenium Web-Driver would be preferable.
Any recommendations/examples on how to do this?
Edit:
I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change.
Tools like Sikuli (which are appearance based), don't satisfy this criterion. Note: I believe those are great for quick one-off scripting, they just don't work very well across many different platforms/configurations and over time for my purpose.
There is a WebDriver implementationfor Qt: https://github.com/cisco-open-source/qtwebdriver
Using Selenium tests and this WebDriver you can automate QtWebkit, widget and QML applications
So, I'm not sure this would satisfy your "Qt application that uses a QWebView" requirement, but when you say "I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change." I can think of WatiR (which is a "browser driver").
It's open source so perhaps you could adapt it to drive your application.
There is also a .Net version called WatiN, but then you are restricted to Windows.

Go network programming libs [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 5 years ago.
Improve this question
I've decided to rewrite most of my distributed server programs in Go to replace the existing c# based ones.
Can someone point me to a Go TCP libs or a Go general network programming lib.
Thanks
Edi: ... and how do i complile this code is visual stuido 2008? Thanks
Here's the official API docs for the net package.
Regarding how to compile: See the installation guide. As of yet there doesn't seem to be an obvious way to compile in VS:
The Go tool chain is written in C. To
build it, you need to have GCC, the
standard C libraries, the parser
generator Bison, and the text editor
ed installed.
So in order to develop on Windows, the easiest route would be to use cygwin.
Depending on the needs of your distributed software, you may also want to check out the rpc package which makes it quite easy to register an object's public methods and call them remotely.

Resources