As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am switching to a Mac web development environment (esp. Python and Javascript) after using a PC for many years. On the PC, I used Notepad2 for most of my development; a really great minimal drop-in replacement for notepad. It has a very short install and setup process. I did not want code folding, I did not want a tabbed/multi document interface, and I think this lighter editing philosophy works well with interpreted languages. Notepad2 does syntax highlighting and powerful text operations well, plenty of sexy keyboard shortcuts.
Based on this, what kind of editor would you recommend for Mac? I am looking into TextEdit, Textwrangler, and PyCharm so far. Or should I man up and Vim?
I'd highly recommend TextWrangler. Although I was not his best friend at start I just love him now. Very powerful while (at the same time) straight forward and simple. When looking into Vim give MacVim a try (GVim for Mac). If provides a GUI granting you the possibility to keep basic text editor usage pattern like copy&paste (cmd-c cmd-v ...). Comfortable especially when using other ('regular') text editors in parallel.
I'm frequently using both of them.
I use TextEdit on Mac, but I use Vim when I'm in the terminal on Mac. So I'd say do both. Checkout Playterm.org, they have some great Vim tutorials on there.
Textwrangler is okay, but I've found that the RegEx support/usability in TextEdit is superior. That's just me.
I haven't used PyCharm, so I cannot say. As far as Vim goes, it's a tool, and it does take time to learn how to use. That being said, you can use it cross-platform and have access to all of the extras for it. It's also free, whereas TextMate isn't.
I will put in a vote for Sublime Text 2. Very powerful, fast, and extensible.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I mean it have features like inline graphics display, worksheet mode, audio playback and ect ... like ipython, maple and matlab
I found winghci on windows but it doesn't seem to have those features. (BTW, I didn't use Windows)
On Linux, I can't find any GUI mode for ghci. I always run ghci from terminal.
Duplicated? this and this show that ghci is capable of do graphics but it is not exactly what I want to know.
There is a Summer of Code project called GHCLive, which looks exactly like what you want.
Quite surprisingly, no one is really talking about it.
I wish they were.
There's no "graphical" version or variant of GHCi. As pointed out in the linked questions, there are plenty of Haskell libraries to do plots, drawings, and other graphics, and there are plenty of libraries that output audio or produce music.
If you just need nicer Haskell programming helpers, you should look at the various Haskell modes for Emacs (my personal favourite is ghc-mod). These also let you evaluate Haskell expression from Emacs, which could allow you to simulate worksheets.
There are also some pure-Haskell editors like Yi or Leksah which do everything the Haskell modes for Emacs do, but in a purer way. In particular, Leksah aims to be exactly what you're looking for: an IDE for working with Haskell.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is text mate really worth it? When there is Vim which is free. I've heard that the Vim learning curve is steep but vi(m) is in almost every *nix os. Which is more powerful and is text mate worth the price tag
Vim is more powerful, and textmate is worth the price tag.
I am pretty convinced that vims modal editing and text objects is the most efficient way to accomplish the task of doing raw text editing. It also take an extremely long time and a lot of effort to get to the point where you are able to say that for yourself. Once you are at the point where the modality is a joy instead of a chore, and you think in terms of text objects, learning things feature by feature is easy. But to get there, I would say 2-3 months if you are putting effort specifically into learning vim, 6-8 months if you are just using it as a normal text editor and absorbing stuff as you come across it. That is an incredably steep investment, and something that a lot of very capable and professional developers don't want to do, which I think is fine. But a certain type of brain actually ENJOYS doing it, and for that kind of person, vim is pretty unbeatable.
Textmate is incredably powerful, with a much more graduated learning curve. So you can start out using it like notepad, and gradually learn more and more shortcuts and more powerful techniques. Someone who is an expert at textmate is extremely fast, and the editor really is a joy to use. It also looks fantastic, even on macvim, I am so jealous of the way code looks in textmate. That being said, 2.0 has been promised for years now without delivery, which has caused a lot of disgruntlement in the textmate community. I would also check out sublime editor on osx if I were in youre shoes and making this choice, not as many people using it, but heard very good things.
TL;DR: vim is amazing and worth the investment, but the investment of your time is pretty substancial. Textmate is worth your money and is an amazing editor that is easy to pick up and learn as you go.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Recently started work at a place that uses windows exclusively, and really could do with a simple shell that replicates bash functionality. MinGw and Cygwin seem overkill for what I need. Any suggestions gladly accepted.
Thanks
You don't have to install all of Cygwin, since you can select individual packages.
Having said that, I still prefer to install the lot simply because I would rather have all the tools handy when I need them, rather than having to go and figure out which packages they're in. Even if you install the lot, no-ones forcing you to use all of them and, let's face it, disk space is hideously inexpensive nowadays.
If you want individual binaries for things like grep, sed and awk, you can also look into GnuWin32 - these are native executables that don't require the Cygwin DLL. You can just choose the executables you want from the package list and they'll be installed for you.
A shell's functionality usually uses external programs. You can download the windows versions of the tools you want:
grep, awk, sed
You might also want to take a look into PowerShell - a windows shell that is actually good(much, much, much better than CMD), and has good interaction with the Windows environment.
Not exactly a shell, but I still use tools from the UnxUtils package, one of many tool sets which has ported little lightweight commands/apps/tools, ever so handy and useful in scripts.
Nowadays I am also exploring Powershell more and more, a shell certainly worth taking a look at. On Wikipedia's Powershell page one can even find a comparison of cmdlets with similar commands in Bash a.o., which you might find interesting.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'd love to do some stuff in Prolog. Just need a good IDE for the Mac to make it not a pain in the butt. Which IDE do you recommend?
There is also a free Prolog IDE based on Eclipse, PDT, available from:
https://sewiki.iai.uni-bonn.de/research/pdt/start
Along the lines of "not really an IDE" answers, Textmate seems to be a favorite of OS X developers.
There seems to be some Prolog community support for it as well.
https://github.com/textmate/prolog.tmbundle
http://calltopower.wordpress.com/2009/01/23/prolog-textmate-plugin/
Not exactly about IDes but the current Logtalk distribution includes support for several text editors and syntax highlighters that can also be used for Prolog programming:
http://trac.logtalk.org/browser/trunk/wenv
The Prolog FAQ also contains useful information about editing and publishing Prolog code (sections 15 and 16):
http://www.logic.at/prolog/faq/
There are several plugin's available for Eclipse which work rather well with prolog. Theres a SICStus plug in which we use in Uni, although I dont believe its free, theres also a few other options in the Eclipse Marketplace (Under the Help menu)
Try CiaoDE plus GNU Emacs. CiaoDE is a state of the art prolog system with lots of libraries that runs in OS X, Linux and Windows.
You can try to use XGP for this.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Where can I find resources related to the design and development of text-based user interfaces (e.g. interfaces exported via serial port from embedded devices to VT100 terminals)? I am interested in any material available - best practices, style guides, frameworks, etc.
Note that I am asking about resources related to the design and development of 'TUIs' rather than command-line interfaces (the thrust of Text User Interface Design Reference?). Wikipedia differentiates TUIs from CLIs (and GUIs) as follows:
TUIs are different from command-line
interfaces in that, like GUIs, they
use the entire screen area and do not
necessarily provide line-by-line
output. However, TUIs only use text
and symbols available on a typical
text terminal, while GUIs typically
use high-resolution graphics modes.
I don't have any experience with VT100 and that kind of stuff, but I know that Turbo Vision is still around and kicking on quite a few platforms, DOS and Linux included. And back in its day, it was used to write some of the better TUI applications (Borland C++ and Borland Pascal DOS IDEs come to mind), and I've seen it used in LOB applications back then quite often as well.
Screenshot:
(source: sourceforge.net)
Perhaps take a look at ncurses? It's a GNU library specifically designed for writing terminal-based UIs.
For best practices and style guides, the IBM Common User Access (CUA) defines a "text subset" that should be helpful especially if your users are used to GUIs. Details are in Chapter 3 of:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/F29BDG00/CCONTENTS
Additional CUA guidelines and standards are in:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/F29AL000/CCONTENTS?DT=19921204095534
http://petesqbsite.com/sections/express/issue21/tuiseriespart1.htm
http://en.wikipedia.org/wiki/Text-based_user_interface
Hope it helps... I still make programs in TUI (www.harbour-project.org)