How can I start programming for Elementary OS? [closed] - linux

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
The Elementary OS is really powerful and beauty operation system, based on Ubuntu, and I want build programs for the OS.
How can I start it? Any books, courses, step-by-step instructions etc? What do you can give advice to me for starting? I know the OS use Vala programming language, but I can't find any books for the one.
upd: Now I know on middle level CSS, HTML and PHP.
Thx for any answer,
best

Vala is some kind of modern language frontend for C programming, primarily for the GObject world (but not exclusively). That means for programing in the GNOME ecosystem.
Not sure what you want to do - develop command line applications or graphical ones. For graphical ones you will want to learn the Gtk+ framework. It is based upon the GLib framework, which you would use if you want to create command line applications.
I would recommend start reading on the Gtk+ documentation:
https://developer.gnome.org/gtk3/3.22/
This is all in the C world because the framework itself in C. So when using Vala things will be a bit different (but not too much). It can be challenging doing both at the same time - but it should be a good read and excercise to get a basic understanding on how things work.

Start at the offical elementary website: https://elementary.io/docs/code/getting-started#getting-started
As stated by Florian Zwoch, the language of choice is Vala in combination with the GTK+ ("GUI-Framework").
Read https://chebizarro.gitbooks.io/the-vala-tutorial/content/ for a introduction to the Vala language itself.
Then go to Valadoc for a comprehesive documentation as well as some introduction turorials on the topic Vala in combination with GTK+ / Application development.
(Besides Vala, GTK+ has bindings for almost any language, with C/C++ and Python being the more popular)
Then you can look at the official Github repository and study the sources of the elementaryos apps: https://github.com/elementary
You find a few more helpful code examples on gnome.org: https://wiki.gnome.org/Projects/Vala/Examples

Related

How are command-line GUIs made? [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've always wanted to know how CL GUIs like top or nano or vi are constructed? I have a need to actually make one and am looking for a guide or tutorial on the general idea behind them.
Here is a bunch of them.
Also there is a list.
CDK
Dialog
ncurses
Newt, a widget-based toolkit
PDCurses
SMG$
Turbo Vision
You could start by reading about ncurses, it’s a very well-known library to draw on the terminal
Check out TWIN (apparently, inspired by Turbo Vision) by Massimiliano Ghilardi. More screenshots are available here. Be sure to use the GitHub version, as SourceForge repository has been unmaintained since 2002.
If you don't mind your GUI running in a JVM, take a look at Lanterna (Java and Clojure bindings).
I've also seen a post about Turbo Vision "ported" to (or rather rewritten using) C# and XAML, but haven't had a chance to examine it.

Simple IDE for Pascal for Linux [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 1 year ago.
Improve this question
I am looking for a IDE for Pascal. Something that runs under Linux, is simple and easy to run. My goal is to setup something for a kid to learn, something that wouldn't require to derive from 10 classes to make a text visible on screen.
I remember DOS-based TurboPascal being very easy to use. Now I tried Lazarus, but its interface is very complex.
I don't need IDE that works with multiple languages, and I won't change Pascal into another language--there's lots of good textbooks in my native language for Pascal, and very little for other.
Thanks!
What about using FreePascal with its included editor or a basic text editor, like nano or gedit? You could also use one of the old "Borland-ish" IDEs like PENG or RHIDE.
Look here:
http://www.freepascal.org/
More specific:
http://www.lazarus.freepascal.org/
You can try Eclipse plugin, which might work better for you:
http://www.gavab.etsii.urjc.es/wiki/pascaline/
Also, try this one:
http://en.wikipedia.org/wiki/Kylix_(software)
This is not strictly Pascal, but Delphi was spun off from Pascal.
Geany is also good. It supports
syntax highlighting
symbol-name auto-completion (which is akin to intellisense)
specifying compiler options
integration with build tools
Among several other features one would expect in a modern integrated development environment.
Plus it's open source and runs across *nix, MacOSX and Windows.
You can always run the original Turbo Pascal 7 inside Dos-Box.
Dos-Box is available for Linux and comes with Free-Dos installed.
Very good alternative.
wrong on all counts. Embercardero has a community dev version for Sindows- ports to OSX, needs (an emu) some add-ons for linux. FP is the ported version of the old DOS app- with inheritance and classes--there really isnt something you seek. Its wither fp/rhide or Lazarus. You might want to brush up on UI programming or SDL. Im sorry but after ten + years of developing, Ive not seen anything "easier"- unless you write the code to make it easier. Pascal is far from dead. Further- you might try python. Four lines of code to a UI application(tkinter lib). TP7 is not a solution, fp ide is the same.

Good resources for learning pyqt? [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've started learning Python 3 - and now so far that I need some UI to experiment with. I've decided to go with the QT4 IDE (called from the Eric IDE) on Linux. Does anyone know good resources to get started?
Books, tutorials, eBooks - basically anything I can get my hands on :-)
EDIT: Thank you all for your contributions. Sucks, I can't give you all an accepted answer, so I'll choose by the one I found the most helpfull.
Rapid GUI Programming with Python and QT by Mark Summerfield is a good book about PyQt4.
AFAIK it uses python 2.x, but I think that's less important. Many people are still using python 2.x, there are lots of libraries that are not ported to python 3.x yet and when python 3.x finally gains traction, there are good chances that this book will be revised to remain actual.
There is the actual PyQt4 documentation and IMHO the much more detailed and clear PySide documentation which is still useful as the PySide project is aiming for PyQt4 compatibility thus, for now at least, most of it is applicable to PyQt4.
The PyQtWiki has a Tutorials page that contains all the best tutorials I've seen on PyQt. In addition, their start page has links to books, the tutorials, and other resources. Highly recommended.

High quality software examples [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
One of the best ways to learn about programming is reading high quality code/projects from great engineers. Which open-source projects do you think is worth looking at? I mean, that code that you can print and sit under a tree with a glass of wine and enjoy reading.
If you can, also specify if the software is great to look at because its documentation, design, UML diagrams or just plain code. I believe UML is not very common within open-source projects.
Is there such a thing as a project branch that polishes code and design with the sole objective to give other programmers a great example of great software?
I'm pretty impressed with the Chrome source code. Note: I work on the Chrome team but I'm just one of many. I've learned quite a bit from other people's code, the classes used, their design, the methods of unit testing, integration testing, their code review system, their continuous build system and more.
At the risk of being perceived as a Jon Skeet fanboy, I've looked to his miscellaneous utilities libraries for examples of clear, self-contained, well-documented and well-tested code. .NET, if it matters.
Sharp develop is very well designed and written and comes with a book explaining the design.
It is also very important to understand various different software quality characteristics when you are reading the code samples. This would help you to identify why the coding is good, and which aspect of software quality it gets associated with?
You may want to check out eight different characteristics of software quality specified by ISO 25000 series, also termed as SQUARE specifications.

What's available for livecoding music? [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 recently found out about livecoding where someone will program something on the fly to make music. Apparently there are special languages and libraries for this sort of thing. So I'd like to know if anyone has any experience with it and if they have any languages, libraries or tools to suggest.
Check these resources:
SuperCollider (Environment and programming language for real time audio synthesis and algorithmic composition)
ChucK (Strongly-timed, Concurrent, and On-the-fly Audio Programming Language)
TOPLAP (temporary organization for the proliferation of live audio programming)
I want to second the recommendation for Impromptu as well:
Wholesale utilization of your Mac: audio units, camera, openGL...etc (I actually ended up buying a Mac after playing around with this app.)
Very simple and easy to start : The tutorial gets to the fun fast. Perhaps the clumsiest aspect is getting the keybindings installed : (you will need to install in ~/Library/KeyBindings/DefaultKeyBinding.dict)
It uses Scheme(Lisp dialect) a highly iterative language, suitable for prototyping apps one line at a time.
Now there is also Sonic Pi which is a lot of fun.
It is an Open Source live coding environment based on Ruby that runs in a variety of environments including the Raspberry Pi and is build on top of the Supercollider synthesis engine.
Sonic Pi has been designed with the aim to find a harmonious balance between three core principles:
Simple enough for the 10 year old within you
Joyful enough for you to lose yourself through play
Powerful enough for your own expressions
Sample code:
loop do
sample :perc_bell, rate: (rrand 0.125, 1.5)
sleep rrand(0, 2)
end
You should check out RTcmix (Real-time Cmix). I saw a great livecoding demo by one its developers, but I haven't been able to find any videos online.
I've been using RTcmix with its Python front-end module to experiment with algorithmic composition. It's very easy to use and has nice results.
EDIT
I've been investigating livecoding further recently, and RTcmix is not intended for this, but in some cases, it can work. It's much better for pre-processed scores. Sorry for any confusion. :)

Resources