Can anyone point me to some good tutorials on the make utility.
Something that will take me through beginners to advanced and let me write and understand professional make file which come with various linux packages.
some book also might help.
I googled for this , but there are so many. I dont know which one to read.
Thanks.
You can try out "Managing Projects with GNU Make (Nutshell Handbooks)" book from ORielly publication. It is a nice book for understanding Make Utility.
You can find the details at: http://www.amazon.com/dp/0596006101?tag=flazx-20&camp=14573&creative=327641&linkCode=as1&creativeASIN=0596006101&adid=0EN45W92PQCA28N8JJW2&
The GNU Make Manual is quite complete and contains many examples.
Related
I work on Windows. Lately, I have been using a lot of LaTeX and I ShareLaTeX is not available to me. I want an offline software for Windows. Now I know that there are many, but which is the best to go for? please Help!
I personally prefer WinEdt. I like the interface and have never had any issues with it!
http://www.winedt.com/news.html
Is there a Perl equivalent to the ruby-koans project?
When I was starting to learn ruby a few months ago I stumbled across ruby-koans and it was a huge help for learning the basics of the language.
I now need to poke at some Perl code, and while I've hacked together a few Perl scripts in the past I've never really learned the language, and every time I have to refer back to older scripts I wrote for even simple things. I have a feeling that something like koans would make it much easier for me to learn and retain knowledge of Perl.
Does anything like that exist?
Two possible options in absence of 100% identical alternative:
A mid-point between perldoc and ruby koans is O'Reilly's Perl Cookbook.
It offers working "how to solve this particular task" examples.
As a DIY perl koan, how about perusing "perl" tag on StackOverflow and trying to answer the questions (without peeking at answers)? Not 100% the same but a great way to learn by doing.
One great resource that I use to quickly move between languages is RosettaCode. Its not tutorials, but a wide assortment of simple programming tasks done in many languages. I find that if I know one or two languages on the page, using them, I can usually figure out how an unfamiliar language on the page works. The Ruby, Python, and Perl sections are even close alphabetically, making jumping back and forth easy.
Perl happens to come with great documentation that is more than just a list of API functions, parameters and return types.
Those tutorials include a lot of code samples that show what to do and what not to do.
In my experience, one needs to read ALL of the bundled documentation at least once before seeking other sources of wisdom.
I don't know of anything exactly like the koans.
The standard docs have lots of example code--especially the tutorial and cookbook style articles.
Some other resources:
Perl Advent Calendar
The Perl Cookbook
PLEAC - Programming Language Examples Alike Cookbook
Here is a repo on GitHub that provides a good number of koans:
https://github.com/forcedotcom/PerlKoans
Try reading "Learning Perl" (not earlier than 4th edition) or "Beginning Perl". Both has exercises.
Still in its infancy but this is a start.
https://github.com/maio/perl-Koans
I just recently came across the Perltuts project. It has a similar feel to Codecademy.
Can somebody please guide me in the right direction of creating a scripting language that targets the WSH (Windows Scripting Host)?
I have googled for it, but there seem to be far fewer links related to this than when I originally searched for it a few months back.
THank you
The product is now called "Windows Script Host". The MSDN documentation suggests that what you want is a Windows Script Engine, about which the documentation claims that you can create one for any programming language or environment—presumably including one you create yourself. Beyond that, the documentation is not terribly clear.
You should be able to find all necessary information about creating Windows Script engines on MSDN; other than that there seems to be no resources available (at least I couldn't find any). You can also take a look at some open-source engine implementations to get the idea of what your code should look like:
PHPScript
ActiveScriptRuby
Open Object Rexx
If you have any specific questions about implementing Windows Script interfaces, feel free to ask them here. Good luck!
Topic starter need to carefully read the script56.chm, which can be found on MSDN. This help file describes WSH engine specification.
What real-world projects would you suggest looking through the sources?
As I'm learning Java Swing, mucommander seems to be a decent example. The code is excessively commented though.
EDIT: No shameless plugs plz :).
I learned a lot from looking at the source code to GoGrinder. It's well thought out, uses MVC correctly, and the comments are helpful (and no, I didn't write it). It's also a fun program to use if you want to learn how to play Go.
For Gui design, Patterns and general good advice I highly reccomend Jeremey Miller's series of articles on building a better CAB. For C#, but equally applicable to Java. Also using
the MVC style which Stackoverflow follows, and Apple uses for Interface Builder.
Build your own CAB
Jeremy's articles/ideas are followed in his own project, which you can download and inspect at http://storyteller.tigris.org/
Take a look at the Windows version of truecrypt. It is one of the best organized open source projects I've ever seen. You can almost tell how the whole thing works just from the directory and file layout.
What I've done to learn some new technologies over the years is to look to open source projects that both match the criteria you're looking for and also interest you.
I'm not a Swing guy, but I'd suggest finding a project that uses Java Swing, does not appear too complicated, and then start digging through the source. The nice thing is you can then see the app before you start poking through it, and then you can see what happens as you change stuff.
The idea behind picking something that interests you is that it will keep you engaged. I am intrigued by content management systems, so I might download a CMS that I can then see how stuff works, and I'm engaged because the problem domain of the project fits in with an interest.
I've done this once or twice when I had to get up to speed on C# and I think it works will. YMMV....
Some of the most well thought out source code ( c++ ) I have seen in an open source project is the Ogre3D graphics engine, I've learned a lot about OOA&D just by looking at the structure and reading the comments. It is also well maintained and the community is very active.. http://ogre3d.org
OK,
I want to create a windows shell extention that sits in the file menu much like the "Tortorise SVN" menu.
Does anyone know where I'd begin, a good article, or what interfaces to implement?
Thanks!
It's pretty straight forward actually. It's about a 3-4 step process. You didn't specify what language you were using.
Here's how to do it in native code:
http://www.kbcafe.com/articles/HowTo.Shell.pdf
Here's how to do it with .NET. Note that it is essentially the same as doing it with native code.
http://www.theserverside.net/tt/articles/showarticle.tss?id=ShellExtensions
Ah... Shell extensions... they can be a real pain in the butt if they're complicated, but you can do so much neat stuff. A great place to start is Mike Dunn's Complete Idiot's Guide To Writing Shell Extensions on codeproject.com.
There's an O'Reilly book called VB Shell Programming which goes into the API's in some depth. As the title suggests, it's aimed at Visual BASIC, but the API's are exposed through COM and the techniques discussed in the book are applicable for pretty much anything that supports COM. A quick look on Amazon.com suggests you can probably pick up a secondhand copy for a few dollars.
Avoid codeproject (for kids, full of bugs) and read the complete doc of MSDN on SNE.