What is your programming environment?

For those of you who are always using the latest sdk, what is your setup if u don't use flashbuilder  Just lookings for other options

hi
i use flash builder myself but the other popular options are FDT, Flash Develop and IntelliJ

Similar Messages

  • What is your development environment?

    What is your current development  environment in Arch?
    I use vim in gnome-terminal with multiple tabs, to quickbrowse the code I use cscope.
    Pure gdb as debugger, valgrind as profiller and memory debugger.
    I tried to use something better to browse the huge code tree, but Anjuta has many limitations (for example it seams impossible to develop code without all that autoconf crap), Kdevelop has similiar problems, and I don't like Eclipse.
    Are there any other solutions?

    I am a software developper at work. I have tried many tools such as Borland, Anjuta, Eclipse, Visual Studio, KDevelop ...
    I have never been satisfied with any of this tools, even with big projects. There is maybe an exception with Eclipse and Java programming, which almost satisfied me.
    Amazingly the most crapy IDE I have ever seen are Opensource's one such as KDevelop or Anjuta. Visual Studio .NET is maybe the better of all big IDE software, imho.
    I really think a small editor and the command line is the best, far far away from any big IDE solution.
    On Windows I use Vim or Notepad++ . On Linux I use Vim or Gedit. And of course valgrind/gdb are my favorite debugging tools . I also use ctags
    Cheers,
    Chicha

  • What is your programming style with C-like-syntax langauges?

    EDIT: I decided this might be better off as a general style thread for C-like-syntax languages (C, C++, Java, ObjC, D)
    Everyone, what's the general style you use with languages that have a bracketed syntax like C does?
    What are the advantages to your style, as you see it?  For example, K&R style saves vertical file length, but Allman (aka ANSI) makes block starts more clear.
    A nice rundown of some common ones here: http://en.wikipedia.org/wiki/Indent_style
    And, what is your preferred 'style' when it comes to comments in C?
    Do you use the C++-style '//' comments for single lines, or do you still use the C-style '/**/', and why?  Is there anyone that prefers C-style even if they don't care about supporting old non-C99 compilers?
    Second, and this is what I'm most curious about, do you often put short comments on the same lines as source code?  How often, and with how much of a space between the comment and the code itself?
    When writing comments on the same line as code, do you capitalize the beginning of the comment?  Do you add a period to the end?
    Lastly, while we're on the subject, what's your 'rule' for line length?  I like a 100-char limit, but 80-char is the 'standard', and some people use more than 100 due to a rise in large and widescreen monitors.
    No holy wars, please!  Just a few questions I've been pondering, it's all personal preference in the end
    Last edited by Ranguvar (2009-11-21 01:05:26)

    Still my biggest C program (pathetic, I know), this is a solution to K&R's Ch.1 Q.13, which you can read at the beginning of the file.
    It's a good example of my current style.
    http://repo.or.cz/w/tcpl.git/blob_plain … :/ch1/13.c
    I use tabs for indentation, and spaces for aligning code, to allow anyone to set their own tab width.
    I like 8-character indent in my editor, though.  The clearly defined blocks really help.
    Since the blocks are so clearly defined, I see no need for Allman-style:
    if (something)
    foo();
    bar();
    else
    bar();
    foo();
    I use a more K&R style:
    if (something) {
    foo();
    bar();
    } else {
    foo();
    bar();
    I use C-style comments for important single-liners and multi-liners, as such:
    * IMPORTANT
    For single-line comments that are descriptions of a following block of code, I use C++-style comments on their own line, capitalized and with some punctuation except for extremely short comments.
    I have no patience for compilers that can't keep up with ISO/ANSI C99 (*cough*MSVC*cough*), which is around 10 years old now, and was publicly in the works long before that
    // This next block of code kicks ass.
    while (awesomeness) {
    kick_ass("awesomeness");
    foo();
    And for comments that share lines with source code, they are quick lowercase sloppy notes in C-style.  The C-style makes them stand out more and just looks better there, IMO.
    No real rule on how far away from the code they are spaced, but usually a 5-char or so minimum, and I often align them with other comments.
    super_fuction(1, 2455, "foobar"); /* note to make this understandable, if possible */
    Last edited by Ranguvar (2009-11-21 06:50:16)

  • How to determine what OS your java prog is running on?

    Is there a Java command to determine what OS your program is running on?
    Yes it IS important -- because there are things that are OS-specific, such as valid characters for filenames.
    I could just disallow ALL "shady characters", but then my program would be skipping a lot of GOOD files in Linux, which only disallows the '/' character.
    http://www.linuxboxadmin.com/articles/tools-and-utilities/linux/mac/windows-file-name-friction.html
    Any ideas how I should proceed?
    Matthew

    I assume, if it's looking at "ALL" files in a directory, that it is running in a loop, right? Well, put the try/catch in the loop, rather than around it, and let it throw an exception. Catch it and keep a list of files that didn't work. But then again, if you're talking about "reading" a file, this shouldn't be a problem, because if it is an invalid character, how did the file get there? and should it really be your worry?
    As far as writing one with a character like that, let the user enter tha name he wants, attempt to create it, and if it fails ask for another, and for those filenames that you generate within the program, stick to the "safe" characters.

  • What area of your IT environment could be in better shape?

    my server room door is a sliding closet door, no lock - also only has building supplied heat/air - good in the summer when air is running, bad in winter when heat is running

    Let's get physical (or virtual)!Hey SpiceHeads, this week's theme forOn the Air (Wed. 10am CT)is "Thin is In!"Ok so we're really talking about thinclients and VDI, but getting in shape is important for everyone, including your IT environment.What area in your IT environment or department could be in better shape? And what exercise program/diet/weight loss gimmick would you prescribe?Does that tangled network cable mess of blue spaghetti in your data closet need to go on a low-carb diet?Does your storage solution need to get off its fat, lazy NAS?Wish you could send angry users to yoga (or boot camp) before they submitted tickets?Let us know below and you could win a swag bundle (below) fromHP! Then don't forget to check us out on7/29 at 10am CTand find out who the winners are.
    This topic first appeared in the Spiceworks Community

  • What to do when your program doesn't work.

    A huge number of posts here seem to relate to code that has been written (one presumes by the poster), but which doesn't work.
    I get the impression that people don't know what to do next.
    It's really not that difficult. When you're writing your program you constantly have in mind what you expect will happen as a result of each bit of code that you put.
    If at the end of the day, the program as a whole doesn't behave as you expected, then somewhere in there there must be a point at which the program starts doing something that doesn't correspond to what you anticipated. So, you add some System.err.println statements to test your beliefs.
    Consider this program that tests whether a number is prime.
    public class Test
        public static void main(String args[])
            // Get the number to test.
            int number = Integer.parseInt(args[0]);
            // Try each possible factor.
            int factor;
            for(factor = 2; factor < number; factor++)
                // See whether it is really a factor.
                if(number / factor == 0)
                    break;
            if(factor == number)
                System.out.println("Number is not prime.");
            else
                System.out.println("Number is prime.");
    }Straight forward enough, but it doesn't actually work :( It seems to say that every number is not prime. (Actually, not quite true, but I didn't test it that carefully, since it didn't work).
    Now, I could scrutinise it for errors, and then, having failed to find the problem, I could post it here. But let's suppose I'm too proud for that.
    What might be going wrong. Well, how sure am I that I'm even managing to capture the number of interest, number. Let's put in a System.err.println() to test that.
    Is the program in fact trying the factors I expect? Put in System.err.println() for that.
    Is the program correctly determining whether a number is a factor? Need another System.err.prinln (or two) for that.
    public class Test
        public static void main(String args[])
            // Get the number to test.
            int number = Integer.parseInt(args[0]);
            System.err.println("Number to check is " + number);
            // Try each possible factor.
            int factor;
            for(factor = 2; factor < number; factor++)
                System.err.println("Trying factor " + factor);
                // See whether it is really a factor.
                if(number / factor == 0)
                    System.err.println(factor + " is a factor.");
                    break;
                System.err.println(factor + " is not a factor.");
            if(factor == number)
                System.out.println("Number is not prime.");
            else
                System.out.println("Number is prime.");
    }Let's try with on the number 6.
    The output is:
    Number to check is 6
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is not a factor.
    Trying factor 4
    4 is not a factor.
    Trying factor 5
    5 is not a factor.
    Number is not prime.
    Whoah! That's not right. Clearly, the problem is that it's not correctly deciding whether a number is a factor. Well, we know exactly where that test is done. It's this statement:
                if(number / factor == 0)Hmm.... let's try 6 / 3, 'cos 3 is a factor.
    6 / 3 = 2.
    But that's not zero. What the.... Oh - I see, it should have been number % factor.
    Ok - let's fix that, and run it again.
    Now the output is:
    Number to check is 6
    Trying factor 2
    2 is a factor.
    Number is prime.
    Not the right answer, but at least it's now figured out that 2 is a factor of 6. Let's try a different number.
    Number to check is 9
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is a factor.
    Number is prime.
    Again, got the right factor, but still the wrong answer. Let's try a prime:
    Number to check is 7
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is not a factor.
    Trying factor 4
    4 is not a factor.
    Trying factor 5
    5 is not a factor.
    Trying factor 6
    6 is not a factor.
    Number is not prime.
    Aagh! Obvious - the final test is the wrong way round. Just fix that, remove that System.err.println()s and we're done.
    Sylvia.

    Consider this program that tests whether a number is
    prime.
    [attempt to divide by each integer from 2 to n-1]At risk of lowering the signal to noise ratio, I
    should point out that the algorithm given is just
    about the worst possible.
    I know that the point was to illustrate debugging
    and not good prime test algorithms, and I disagree
    with the correspondent who thought the post was
    condescending.
    Anyway, the java libraries have good prime testing
    methods based on advanced number theory research that the
    non-specialist is unlikely to know. Looking at the java
    libraries first is always a good idea.
    Even with the naive approach, dramatic improvements
    are possible.
    First, only try putative divisors up to the square root
    of the number. For 999997 this is about 1000 times faster.
    Next only try dividing by prime numbers. This is about
    7 times faster again. The snag, of course, is to find the
    prime numbers up to 1000, so there might not be much
    advantage unless you already have such a list. The sieve
    of Erastosthenes could be used. This involves 31 passes
    through an array of 1000 booleans and might allow an
    improvement in speed at the expense of space.
    Sorry if I've added too much noise :-)

  • What do your recommend in Mac programs that will do what MS Publisher will

    What do your recommend in Mac programs that will do what MS Publisher does, but better for less?
    I am not sure where I should post general software questions so if this is not the correct one please let me know where I should post a question like this in the future.
    Thanks
    Martin Brossman

    http://store.apple.com/us/product/MB624Z/A?mco=MTIxODk3Mw
    Read the section on "Pages".

  • Has anyone used the program 'MacKeeper' and what is your take on it?

    Has anyone used the program 'MacKeeper' and what is your take on it?

    Do not install MacKeeper (and how to uninstall it if you have):
    https://discussions.apple.com/docs/DOC-6221
    (Please note that references to the original developers, Zeobit, also now refer to Kromtech Alliance Corp, who acquired MacKeeper and PCKeeper from ZeoBit LLC in early 2013.)

  • Install Acrobat Portfolio SDK and plugins in your Flash Builder programming environment

    Hello, Experts
        how would I go about introducing Acrobat Portfolio SDK and plugins to the Flash Builder programming environment ?
    -Alex

    https://learn.adobe.com/wiki/display/PDFNAV/Installing+Acrobat+Portfolios+SDK

  • What Kinde of program should I use for mastering?

    I had a litle problem with mastering my songs what I made with Logic Pro X is not enough laud. I need some help that what is a program to use mastering?

    You can master your tracks in logic. Bounce the song and import into a fresh logic project, then just apply your mastering processes there. However, mastering is a task that does require a very special skill set and a very good listening environment. Just having the software doesn't make a good master.
    Cheers,
    Jazz

  • A classic/common problem... What's your solution?

    Hi,
    I'm looking for the best solution to a 'problem' that I know many people have come
    up against in the J2EE world...
    Here's a quick example of the problem:
    You have a class (not an EJB), say, "MaintClass" that creates (and holds a reference
    to) a Thread that repeated does some work (for example scans a db for a certain entry).
    MaintClass also has some methods on it to allow other objects to interigate it and
    find out info about what it's up to and/or what results or info it might have available.
    You want all classes (servlets/jsps & EJBs) within your J2EE environment to be able
    to access a particular instance of this class (it is NOT a singleton) and call methods
    on it.
    The question is, what is the best way to get this class instantiated one or more
    times as the App Server fires up, and where/how do you keep the references to the
    instances so that they don't get garbage collected, and so that they can be 'found'
    by all all other classes? Also, if you have a 'cluster' of app servers running, you
    don't want to have the instances propigate accross the cluster, because there are
    threads held by the instances.
    Thanks for any suggestions!

    Hi
    Another approach would be to define a startup method(static)
    which will instantiate the "MaintClass". This method can essentially be called by
    a startup program which can hold the references of your "MaintClass" and can be delegated
    to ejb's or servlets by means of handler methods.
    But Michael's suggestion would be a good practise here as we are
    dealing with things in the J2EE scenario
    Regards
    Pradeep
    Michael Young <[email protected]> wrote:
    Hi.
    One approach might be to use a startup class to bind your object to the
    JNDI tree. When you
    bind to the JNDI tree you have the option to have the reference replicated
    across the
    cluster, or you can bind a local instance without replication.
    HTH,
    Michael
    Dan wrote:
    Hi,
    I'm looking for the best solution to a 'problem' that I know many peoplehave come
    up against in the J2EE world...
    Here's a quick example of the problem:
    You have a class (not an EJB), say, "MaintClass" that creates (and holdsa reference
    to) a Thread that repeated does some work (for example scans a db fora certain entry).
    MaintClass also has some methods on it to allow other objects to interigateit and
    find out info about what it's up to and/or what results or info it mighthave available.
    You want all classes (servlets/jsps & EJBs) within your J2EE environmentto be able
    to access a particular instance of this class (it is NOT a singleton)and call methods
    on it.
    The question is, what is the best way to get this class instantiated oneor more
    times as the App Server fires up, and where/how do you keep the referencesto the
    instances so that they don't get garbage collected, and so that they canbe 'found'
    by all all other classes? Also, if you have a 'cluster' of app serversrunning, you
    don't want to have the instances propigate accross the cluster, becausethere are
    threads held by the instances.
    Thanks for any suggestions!--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • What's YOUR Idea of an "Ideally Organized HD?

    What's YOUR Idea of an "Ideally Organized HD?"
    I've been giving this a lot of thought lately. Whereas it is obvious that OSX organizes your hard drive better than anything on Windoze, especially when you consider the power derived from using Spotlight, I have been wondering exactly WHAT, WHAT does an Ideally Organized Hard Drive look like? What are it's properties? I don't mean how it should look specifically to YOU, the single user. I mean what does an ideally organized Hard Drive look like to everyone running OSX? (which is everyone). What are some of the components of a ideally organized hard drive? What does it look like/feel like? Not necessarily in order of importance, I'll start this one off:
    An Ideally Organized Hard Drive Has These Properties (feel free to add your ideas):
    1) All the music, documents, apps, pictures and movies go into their designated locations, just for starters. You may even want to create another main Category such as I did, and call it "All Talk & Sound FX". Here's where I stick my voice, and talk radio, and verbal jokes etc. for example.
    2) There are NO identical (duplicate) files, but the thorough and profuse use of Alias files are implemented. {{{if you have duplicates, and you update the one, you necessarily have to update the other, otherwise, you don't have duplicates anymore, right? But if you use an Alias, no matter which file, original or Alias, that you update, BOTH files are updated.}}}
    3) The HD is organized for EASY Backup on a daily basis: Everything new gets placed into an "Everything New" file (call it what you want) on the Desktop, then this one folder is backed up daily, saved onto an external HD, then loaded back and now actually saved onto the HD as new stuff just once a week (in accordance to #1); this is the outcome from doing a Restore from this backed-up "Everything New" folder. Everything goes into this "Everything New" folder on a daily basis; however, Applications are installed immediately whereas everything else just gets popped into the "Everything New" folder for holding.
    4) Many files are annotated in the Get Info Window with easy to find key words and comments. Spotlight will do the rest my friends!
    5) A DMG of the HD (a perfect Clone which is achieved using your Tiger Disk--Disk Utility) is done on a weekly basis (heck, all you have to do is launch the software at night, go to bed, have an automatic shutdown on your Mac for about 3.5 hours later (for a 23GB DMG Disk Image)). {{Note that a Restore from the "Everything New" folder must be done first!, prior to making the DMG}} When this Disk Image is made, it will have All of your Preferences, All of your newly installed applications, All of your Bookmarks, All of your new additions to iCal, All of your new Addresses, EVERYTHING, and therefore these specific folders do NOT have to be backed up **separately** by using this process as I describe.
    Once a week you will Restore from this DMG (which takes an hour if you have previously verified/mounted this image), then delete the week-old Backup of the "Everything Folder", because your HD now now has all these files added to it (remember, the key here is to do a Restore from the "Everything New" folder first, before you made the most recent DMG). You can now also delete any old Disk Images that you want, because you will be making more! (I always keep 2 or 3 on hand). You can now also delete any old "Everything New" backups from your External, because you will be making more of these backups as well!
    6) Your Hard Drive should utilize the copious amount of custom icons, in order to quickly spot and identify files/folders.
    7) You have created shortcuts (Alias') on the HD, which point to spots on the External HD, (which is not only used for Backup as recently described) to facilitate the transfer of large files (example: AIFF's) to/from the external HD. My External HD has a working "Powerbook" folder where these files are saved to, keeping my internal HD at a bare minimum of growing size, yet the files are easily uploaded/downloaded between the external and internal, and viewed, when the External is attached (of course) to the internal.
    8) The hard drive lacks any sensitive material whatsoever, i.e. passwords are kept on an external hard drive, and new ones are backed up daily to the Everything New folder. Using a free program such as Password Vault also strengthens this area of security and organization. If the Passwords are kept to an external location, and yet are easily accessed by an Alias, then they are 100% safe to reside on the External, since the External would have to be attached in order for the passwords to be read.
    9) Maintenance is run routinely on the HD, using a program such as Onyx, especially before and after the disk image process. You can also schedule Onyx to run the Apple maintenance scripts automatically, when you are asleep. Also part of this maintenance would be running a program such as Disk Warrior, before and after the disk image process. Onyx and Disk Warrior go hand in hand, and although you will not "see" (visually) HOW your HD has been organized more efficiently, you will experience the benefits of using Disk Warrior (faster/more responsive), which organized your HD Directory automatically.
    10) Another nice little Utility is SpeedTools, which has a great program for Defraging files. Yes, I've found that Disk Defrag does work. Point #10 does nothing for "organizing", however I make this point because Disk Defrag does indeed help your HD to run more efficiently (thus faster).
    *** Ohh by the way, maybe I'm saying the following as a joke, maybe I'm not. But if you follow my suggestions above, you wouldn't be so paranoid about downloading the latest update to Tiger (or Leopard when that comes out) because the old "Archive & Install" option becomes obsolete. If you run into trouble NOW, using my methods, you now have the peace of knowing that you have a perfectly Cloned Disk Image of your valuable, ideally organized Mac HD, residing on an external drive and just waiting to be called into action! ***
    Finally, please note that I am not telling you how to organize your hard drive, I am only suggesting this as one way to do it, and the way that I do it. If you have something totally different from this, but it works for you, please post that. If you want to add to what I've said, go right ahead! But if you don't agree with something I've said, then by all means offer your own suggestion and be civil about it! Thanks!
    ~ Vito

    You and everyone else that takes the time to read, and understand what I said, and can benefit from this, is WELCOME! ; )
    By the way, I forgot to mention. I use "Micon" a little terrific freeware program (from VersionTracker) to make (initialize) my custom icons. I also use Graphic Converter to make my own original icons of anything I like. Don't underestimate the value in making your own custom icons-- they really stand out from the "standard old blue".
    ~ Vito

  • What word processing program should I use with my Mac, what word processing program should I use with my Mac, what word processing program should I use with my Mac

    what word processing program should I use with my Mac?

    steve359 wrote:
    For free you can download NeoOffice
    Not quite. Downloading the current version of NeoOffice is definitely not free (downloading the previous version is). The developers of NeoOffice (the most Mac-like of the StarOffice descendants) make a distinction between the application itself (which is free) and downloading it, for which they require what they are pleased to call a "donation" (since it's mandatory, I would call it a fee).
    shldr2thewheel wrote:
    I totally forget about TextEdit all the time..
    Indeed. For basic WP tasks, TextEdit can be quite satisfactory.
    embauerxz
    I only need it for reports
    Would that include the report on the state of the US economy -- you know, the one President Obama asked you to deliver to the White House no later than 7AM on January 4? The one in two columns, with numbered paragraphs, table of contents, footnotes, mathematical formulae, 40 figures, 60 charts, quotations in Arabic, Japanese, and classical Greek, and 15 pages of references in APA style?
    Grant Bennet-Alder is right -- "the real answer depends on what work you expect to do with it, and with whom you expect to do this work". There are dozens of word processors for Mac, from the venerable Word to the no less venerable Tex-Edit+. It would pointless to start listing them all, when many of them might be either too little or too much for your needs.

  • Programming environment

    Hi!
    (I am newbie to Arch) Recenly I realised how, in my opinion, should a perfect programming environment look like.
    The system should be of course up to date and use the newest official packages. But it does not apply to the version of development tools. I am 100% sure that most of you (professional programmers) does not migrate to the newest tools every time they appear. Most of the time we are made to work on legacy releases. For instance I'm currenly using gcc 4.6 at work and the management has many concerns moving to version 4.7
    So, perfect environment would allow me to install as many versions as possible and let me easily create "virtual" environments.
    I hope that the Arch will be my perfect envrionment. But so far I can see few barriers:
    1. I believe that most of the time there is only one version of the given tool (one gcc, clang, one version for Python 2.X and one for 3.X, etc.) and in the best case I would be forced to build tools from sources (AUX)
    2. I do not know how could I use the pacman to install packages as a common user in my local directory, using my own installed packages database that uses the system-wide database as a secondary source of dependencies.
    So, summing up. In the base system I want to have up to date packages (-> "newest" tools, like qtcreator, ninja-ide, etc.). But for the purpose of development I need older (and thus better testes [and sometimes buggy, I know]) versions.
    The question is: How to achieve it as easy as possible and use system tools (pacman, makepkg) as much as possible.
    I hope that you will be able to understand my message and help me it:)
    Best regards,
    Putrycy

    I hope that the Arch will be my perfect envrionment. But so far I can see few barriers:
    1. I believe that most of the time there is only one version of the given tool (one gcc, clang, one version for Python 2.X and one for 3.X, etc.) and in the best case I would be forced to build tools from sources (AUX)
    A lot of older software versions are already packaged in the AUR and can safely be installed alongside existing packages. You just may have to tell your software where to find the correct version of the executable. You can also (typically) easy build your own versions using the existing PKGBUILD from the ABS and modifying it as necessary.
    2. I do not know how could I use the pacman to install packages as a common user in my local directory, using my own installed packages database that uses the system-wide database as a secondary source of dependencies.
    Probably something like docker or vagrant/virtualbox might be easier and cleaner. This way you can start from a clean environment without all your day-to-day cruft installed, thereby ensuring consistent builds and fewer dependency problems. You can also use another distro with the correct software versions quite easily this way (well, with vagrant, at least).
    Scott

  • What kind of programming background do you need to start making iOS apps?

    I have zero knowledge of programming. I have done programming about 7 years ago and it was extremely basic stuff and mostly to do with C. I have learnt BASIC language (wonder if its even worth mentioning) in school!! But, I really want to program. Even if it takes a long time. How do I get started??

    Your question "What kind of programming background do you need to start making iOS apps?" does not have a single answer. Thanks to the internet, nowadays its possible to start from zero. You can find an answer for even the most basic question on the internet. It just a question of time and effort. If you have
    the time
    no pressing deadline and a
    high frustration tolerance
    just go ahead and do it.
    Regards - Roe

Maybe you are looking for