EzDev.org

programming interview questions

Top 15 programming interview questions

21969 Jobs openings for programming


Completely Remove Ruby + Rails + Gems?

I have messed up my ruby dev environment on Ubuntu 10.04.

I need to install Ruby this time using RVM. What is the best possible way to remove:

  • Ruby
  • All Gems
  • RubyGems

From my machine, so that I can start fresh with RVM?


Source: (StackOverflow)

How could I begin C++ programming on Ubuntu?

I recently switched to Ubuntu from Windows 7. I was previously learning C++ with Microsoft's IDE, Visual Studio.

  • How would I go about programming C++ on Ubuntu, preferably with an IDE?

Source: (StackOverflow)

Multiple terminal windows

I develop code. I use terminal alot. I use many terminal windows alot. I hate how tabs look.

Any useful applications that allow for multiple terminal use, and streamline my development. allow me to keep multiple terminals in focus?

Please and thank you.


Source: (StackOverflow)

What BASIC intepreters are available?

Was asked by a new Ubuntu user - who also wants to learn about programming - what he could use to run BASIC code. He was working through a BASIC book before trying out Ubuntu, and he'd like to continue without having to switch back to Windows.

It looks like there are a few BASIC packages in the standard repositories, as well as projects like Mono which may include some kind of BASIC support.

What would be a good recommendation from the standard repositories - or from a deb package - for someone learning the basics of BASIC and new to Ubuntu?


Source: (StackOverflow)

How do I propose my project to be part of Debian too?

I have a new project hosted at launchpad.net. My project can be useful for both: Ubuntu and Debian. However, I can't find a documentation to start host my project at launchpad.net and get my package mirrored back to Debian.

  • How to propose my project to be part of Debian too?
  • What is the difference between a Ubuntu and a Debian?
  • Can I keep it hosted at launchpad.net but ask it to be cross-hosted (and packaged) at Debian too?

Thanks in advance.


Source: (StackOverflow)

How do I make Geany my default editor on Ubuntu?

I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code:

update-alternatives --config editor

.. I don't see Geany in the list.

So to add Geany, this is supposed to work right?

update-alternatives --install /usr/bin/geany geany /usr/bin/geany 10

Also, on a side note, can you tell me if you would personally suggest me to change the default editor from nano to Geany, and why?


Source: (StackOverflow)

What advantages does Ubuntu have over Windows as an environment for programming?

Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows? Do the features an IDE provides exist there (eg. showing compilation errors) or is it a manual process?


Source: (StackOverflow)

What programming languages should I learn to become an Ubuntu developer? [closed]

Although I have used NetBeans once for a project, what languages do I need to learn to become a full-fledged Ubuntu developer?

My project in NetBeans (Java only) was to design a calculator (relatively easy). Moreover, how do we learn to make image viewers, browsers, etc.?

Also, what would be the best language for certain applications?


Source: (StackOverflow)

Installing gtk development environment

Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk.

What gtk packages do I need to install to have a working development environment with C?


Source: (StackOverflow)

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?


Source: (StackOverflow)

How do I develop .NET apps on Ubuntu?

at college we use Microsoft .NET for developing applications. I recently switched to Ubuntu and would like to know similar tools for making apps on/for ubuntu.


Source: (StackOverflow)

Would Android apps be able to run in Ubuntu touch natively?

I'm wondering why Android apps won't be able to be run natively on Ubuntu Touch. I mean, isn't it all just Linux?


Source: (StackOverflow)

How Can I Add, and Use, a Color Scheme for Geany?

I have found that one of my favorite text editors for programming is Geany, however the default color scheme is very bright and hurts my eyes when programming for awhile. There are other color schemes available for Geany but no clear way for installing and using them. Anyone have an idea?


Source: (StackOverflow)

Valgrind does debug error

I have been trying to follow the online tutorial for Learn C The Hard Way.

However after setting up valgrind (I followed other links that help setting up valgrind on ubuntu 12.04), when I try to debug the c executable, I find the following errors.

ayusman@ayusman-ubuntu:~/lcthw$ valgrind ./ex4
==1984== Memcheck, a memory error detector
==1984== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==1984== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==1984== Command: ./ex4
==1984== 

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strlen
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2
valgrind:  
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind:  
valgrind:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.

ayusman@ayusman-ubuntu:~/lcthw$ 

Is there something that I can do to make valgrind finally work?

I have ubuntu 12.04 on virtual box. My laptop is a Windows 7 64 bit OS.


Source: (StackOverflow)

Wanting to start development for Ubuntu (and most Linux distributions in general), which is suitable? Python or Vala? [closed]

I'm a computer science graduate, and learned languages like C, C++, C# and Java. Though I have more experience with Java. I want to develop for Linux and I'd prefer to develop for GNOME, I'm confused between choosing one from the Python and Vala.

After going through some documentation on Vala on GNOME Live pages, it seems more familiar to me compared to Python, which is quite a different syntactically compared to most languages I've learned during my graduation. While learning curve in Vala seems smaller to me. So, which language should I choose to begin development, which has better support in variety of distributions. A recommended IDE for suggested language will be appreciated.

Thanks.


Source: (StackOverflow)