Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies


ADVERTISEMENT

Programming :: Java - Object Oriented - How It Works - Set The Getter And Setter ?

Feb 28, 2011

I have a peace of code the does not work:

View 1 Replies View Related

Programming :: Paint Pixels In C / C++ Without Going In To Object Oriented Prog?

Aug 24, 2009

I want to findout how to paint a line in C without using a line function or OOP. I want to control it by pixels.

View 6 Replies View Related

Programming :: Which Is Best Scripting Language?

Jul 23, 2009

I want to know which is the best scripting language right now and what you guys think its going to be the best or most used in the future, that is, in about 5-10 years. Take into account system administration and applications. This are the languages i had in mind, add more if you think other scripting languages are better or worth considering.

View 14 Replies View Related

Programming :: Good FTP Scripting Language

Jul 28, 2009

We have to (re)write a bunch of scripts to download files from remote ftp servers, where we won't know the names beforehand; move the files to an archive folder on the FTP server; copy the files to the correct servers on our LAN; and log the file information in Oracle.Our current scripts are for a windows product called ScriptFTP that provides a nice little language. It does everything except the logging, but we're wanting to get rid of Windows.

I have recently been given the job of maintaining the code, and I'm looking for a good language for simple, robust ftp scripts that will work on Linux. We have some customers with remarkably unreliable FTP servers. If necessary, I can write another program to handle the logging to Oracle. I'm usually a C++ developer, so a similar syntax is a bonus. I also want to be able to hand this over to an entry-level programmer later.

So far, I'm intrigued by PHP, but I've hardly had a chance to look at it for any scripting. I like the idea of being able to loop through the files individually and even be able to skip over anything that looks like it's currently being written (either based on the file name or date/time). I've thought about writing something in C++ that would take a simple config file instead of a full blown script. However, I don't want the maintenance, unless someone writes a quality FTP library that is inexpensive (hopefully free) for commercial use.

View 10 Replies View Related

Programming :: Which Scripting Language To Learn For Administration?

May 26, 2011

Which scripting language to learn for Linux Administration? Python, Ruby, Perl, or PHP?

View 7 Replies View Related

Programming :: Global Or Server Variables - Array Connection Oriented

May 20, 2011

I have a general question regarding php. Suppose that I want to have an array that stores connection-specific data, that can be anything IP address or something similar. However, whenever I use global or server variables (i.e. GLOBALS or _SERVER) the array created in this way is kind of connection-oriented, so that for each connection there is a separate instance of this array. Maybe it has something to do with the MPM of Apache, but I am not sure. Is it possible to implement an array that stores information about all connections that are at a system? In this way, each connection can chip in and upload it with data? Also, I would rather not use cookie's.

View 3 Replies View Related

Programming :: Object To Represent An Object Of Different Types?

Mar 1, 2010

Only ones I can think of seem overly complex, and I'm sure there is a simple solution I am overlooking. I have a class, it has a member who is an object. This object needs to be able to represent an object of different types.

[code]...

Where "surface" could be several different types, which will be set during execution. Hope this is clear enough. I have tried using templates but am getting "data member cannot be a member template". Either I have incorrect syntax, or am not implementing it right. another solution would have one class containing definitions of all possible shapes, But this would take up extra memory. Other solutions I thought of seem too round-about, and seems there is a simpler solution that I have overlooked.

View 8 Replies View Related

Programming :: Unable To Find Description Of Alsa's Programming Language

Dec 19, 2008

I am unable to find a description of alsa's programing language, this sort of stuff:

[Code]...

I need to know what, for example, 'ttable' means and what is its syntax. This seems to be a state secret.

View 2 Replies View Related

Programming :: Arrays In The C Programming Language Are Pointers To The First Element Of The Array?

Mar 27, 2010

I wonder why arrays in the C programming language are pointers to the first element of the array, not the first element of the array itself?

View 14 Replies View Related

Programming :: Scripting/programming Challenge Mac/PC Interoperability?

Jul 27, 2011

some basic programming/scripting/etc. ability but I am not able to do what I now need to do. I would like to have a link on a website that when a user clicked on that link, one script or another would execute based on what operating system that person is using. To wit: If a Mac User clicked on it, it would run a terminal script and would set up a served printer for him; if a PC user clicked on it, it would run a script to set up the served printer on his machine, you get the drift. The printer is being served on a Windows Server 2003 machine, the users are NOT domain users, the print server is also hosting the files, scripts, webpage.

View 11 Replies View Related

Programming :: Framework For Network Programming In C Language Just Like POCO In C++?

Mar 13, 2009

Is there any framework available for network programming in c language just like POCO in c++.

View 1 Replies View Related

Programming :: Site For Learning Programming Language?

May 28, 2010

tell me some sites for learning programing language Because i feel confusing for learning C programing language now I got so many questions by my studing and i want to solve them by myself too.

View 14 Replies View Related

Programming :: Bash Scripting To Programming?

Jul 13, 2011

i'm in the process of learing C++. currently i'm creating shell scripts to get things done. i'm just curious how, as a programmer using C++ you would get a similar job done.as an example i have a script that takes the contents of files, pipes it to some sed and awk commands, which is piped to create a new file. that file is then imported into a mysql database.if you were going to do this in C++, would you call the sed/awk programs to modify the file, or can it be done within the program itself? i'm probably jumping the gun here because i've just started learing about pointers so this is above my ability

View 12 Replies View Related

Programming :: Firefox Scripting Add-on (Scripting HTML / Javascript Inside Firefox)?

Sep 17, 2009

Is there a firefox add-on to script HTML and/or Javascript directly inside firefox

View 1 Replies View Related

Debian Programming :: Cross Platform Sql Gui Apps

Jun 8, 2014

What are the availability`s for cross platform sql , gui, application development using raw code in the Debian environment. I would rather work with raw code. I have been working with PHP MySQL, need to advance to Universe Application Development cross platform Raw Code for both mobile and desk top.

View 1 Replies View Related

Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies View Related

Debian Programming :: Way To Create Cross-platform GUI Application

Oct 30, 2014

I'm looking for a way to create a cross-platform GUI application. The result must be able to run on linux, windows and OSX. And it must be a point-and-click GUI.For development I should be able to rely on Open-Source tools on linux only (that means no access to Windows or OSX)The target should be able to install the result relatively easily, that means any dependencies must be freely available, and the setup steps must be very minimal (probably means no installing development tools or running compilers)

My first thought was java, but the standard Swing GUI can look a bit ugly on some platforms. So I'm wondering if there's anything else. My next thought was C++/Qt, but I don't think I can cross-compile this from Debian for Windows or OSX, can I? Next I thought of python and PyQt, but it looks like PyQt isn't available for OSX. And finally I even thought of making some kind of web application running on a tiny web server of some kind, then accessing it with a native browser, but I'm pretty sure this doesn't meet the "easy to install" criteria. I'm finding this so tricky, do all the existing cross-platform applications use natively-compiled C++ for this? Or is there an obvious alternative that I'm overlooking?

View 6 Replies View Related

Programming :: Cross-platform LAN File Exchange Program?

Sep 2, 2010

I recently faced a problem. At my college, I linked my laptop with my friend's laptop with an ad-hoc wifi network. I wanted to send him a file. I was running Ubuntu, and he was running XP. Unfortunately, I could not find an easy way to send him the file. Another problem I faced was when I wanted to transfer the contents of my hard disk to another computer. I had to install Filezilla server on the other computer, and upload the files from one computer to the other.

I feel that its a really cumbersome method of transferring files in the same network. Mobile phones have bluetooth, and a file can be sent to another mobile very easily without any fuss. Does anyone know whether any such program exists already? If not, I want to write such a program that will allow one user to add another user to a personal network, and send or recieve files and/or communicate in other ways. The only language I know is Python (self-taught). I was wondering what GUI framework to use. I've never written a GUI program before, and would like to hear your opinions. This will be a very basic program, and must be able to run on many platforms.

View 6 Replies View Related

Programming :: How To Design Cross Platform Computer Software

Jun 3, 2010

I want to learn how to create computer software/programs. I want to be able to design them to be cross platform (Win32, OSX, Linux). I was wondering if anyone knows what kind of courses I need to take for this? And would it be possible to study by myself and learn it for free?

View 13 Replies View Related

Programming :: Finding A Cross Platform Library That Allow To Run Another Program?

Aug 19, 2010

Is there any equivalent of WaitFOrMultipleObjects on Linux?

I was finding a cross Platform library that allow you to run another program from your C++ application. I found POCO but it does not support functionality like WaitFOrMultipleObjects for both (linux and windows). I tried boost Process but its not official till now.

View 1 Replies View Related

Programming :: What Cross-platform GUI Toolkit Can Work For Both Mac And Windows

Dec 27, 2009

I'm trying to persuade my classmate migrating to linux but they always fall back to windows when homeworks require creating GUI (graphical user interface) applications. Not only because C# and Window forms/WPF is so sissily easy to use. But some teachers only test homework on Window machine. I have tried pyGTK and wxPython but they have some flaws. wxPython seem a little bit messy with so many look-alike class name and it's ID based event binding is somewhat awkward. pyGTK seems nice and neat but it doesn't have Mac port yet.

View 4 Replies View Related

Programming :: Maintain A Cross Platform SDL/OpenGL Project?

Feb 11, 2011

I have made a game for Linux and want to release it soon (on linux & windows). Since its SDL/OpenGL and I dont do any special things it shouldn't be much porting to windows. Problem: Maintaining I have the game in code::blocks SDL project on Linux. So I got wine and installed wined Code::Blocks with MingW so I can cross compile on Linux. For another game I made, I used a Makefile which has "if" statements to set up compile variables. And everything else is totally identical to windows & linux (code, source files and etc...)

With codeblocks I got used to not having to worry about makefiles and it did well and I better focused on making the game rather than everytime a new file is added editing the makefile and etc... Is there some nice ways to have a cross platform environment to make it easy to make games for Linux and windows. I'm thinking of making my own system of auto-generating a makefile (essentially upgrading the setup I have for my previous game to auto add entry's to the makefile & some other stuff).

View 2 Replies View Related

CentOS 5 :: Platform Status: Libjvm.so: Cannot Open Shared Object File

Sep 8, 2009

I installed Documentum content server on CentOS my OS version : Linux cserver 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux. I could successfully install the software but when I am trying run any executable I am getting the following error message.

[code]....

Above ./idql is a executable came with installer. how to solve the problem, I am sure it is due some patch or hot fix of OS, I have similar kind of problem on Solaris.

View 4 Replies View Related

Programming :: Different Processes Using Same File Object

Sep 29, 2009

I have 2 completely different processes A and B (they do not have any relationship) suppose A opens a file with file descriptor 4 and B opens another file with file descriptor 5

Can process A use the fd 5 (i.e using the file object of processs B) by any means..if suppose i let the fd 4 of process A to point to the file object of process B(fd 5) will it work? is it safe?

View 3 Replies View Related

Programming :: How To View An Object File

Aug 14, 2009

Is there any way may be some tools to view and explore contents of .obj files (in a formatted or unformatted way) or an executable. Can we do it using gcc?

View 1 Replies View Related

Programming :: Mishandling Of Mutex Leads To CPU Load 100% On Hp Ia64 Platform

Apr 7, 2010

I am working on an issue in mishandling of mutex. A process was holding onto to a valid mutex for running, within this routine, it created a local mutex variable, copied the content of the valid mutex into this local mutex variable, freed the valid mutex, then used the address of the local mutex variable as the parameter to functions pthread_mutex_unlock() and pthread_mutex_destroy(). It was observed that CPU load 100% with scheduler staying in a loop. The program was halted. I try to seek an explanation to the relation between the CPU load and mutex mishandling in this scenario. I also hope some one will share the experience how this bug might manifest into problems on other platforms.

View 3 Replies View Related

Programming :: Ptrace System Command Not Working Properly In X86 Platform

Apr 20, 2011

basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.

View 1 Replies View Related

Programming :: Scripting The Email With Bash?

Jul 8, 2010

I need to find a way to download the attachment from a daily report e-mail to me. The kicker is it will need to be down with a cron tabbed bash script.For example, which linux based CLI client is best suited to be scripted?

View 2 Replies View Related

Programming :: Bash Scripting: How To Keep Leading 0 On ' And '

Jan 27, 2010

I'm trying to put together a script that will quickly run through an archive directory of log files that are named by day of the month 01.gz, 02.gz, 03.gz.... 31.gz. The script uses gunzip -c | grep | wc to count up the total number of hourly occurrences of a filename and outputs the results to stdout.

The only snag I have left is the octal limit when it gets to 08 and 09. I've seen examples using perl and awk, but this script uses a number of nested for loops and if statements that I don't want to have to rewrite in a different syntax. I found that I can use num=10#08 to set that variable to a base 10 instead of a base 8, but then I lose the leading 0 again when it passes the number to the next filename variable.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved