background preloader

Stack Overflow

Stack Overflow

hao123--我的上网主页 SWIG on Windows - Getting Started This chapter describes SWIG usage on Microsoft Windows. Installing SWIG and running the examples is covered as well as building the SWIG executable. Usage within the Unix like environments MinGW and Cygwin is also detailed. 3.1 Installation on Windows SWIG does not come with the usual Windows type installation program, however it is quite easy to get started. Download the swigwin zip package from the SWIG website and unzip into a directory. 3.1.1 Windows Executable The swigwin distribution contains the SWIG Windows executable, swig.exe, which will run on 32 bit versions of Windows, ie Windows 95/98/ME/NT/2000/XP. 3.2 SWIG Windows Examples Using Microsoft Visual C++ is the most common approach to compiling and linking SWIG's output. More information on each of the examples is available with the examples distributed with SWIG (Examples/index.html). 3.2.1 Instructions for using the Examples with Visual Studio Java Perl Example using nsPerl 5.004_04: Python Ruby

Coding Horror Balaio Tecnológico Getting Started with Rails 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. Rails is a web application framework running on the Ruby programming language. If you have no prior experience with Ruby, you will find a very steep learning curve diving straight into Rails. Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails? Rails is a web application development framework written in the Ruby programming language. Rails is opinionated software. The Rails philosophy includes two major guiding principles: Don't Repeat Yourself: DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." 3 Creating a New Rails Project 9 Security Low Prices in Electronics, Books, Sports Equipment & more Framework for evolutionary design Google C++ Style Guide Definition: Streams are a replacement for printf() and scanf(). Pros: With streams, you do not need to know the type of the object you are printing. You do not have problems with format strings not matching the argument list. (Though with gcc, you do not have that problem with printf either.) Streams have automatic constructors and destructors that open and close the relevant files. Cons: Streams make it difficult to do functionality like pread(). Decision: Do not use streams, except where required by a logging interface. There are various pros and cons to using streams, but in this case, as in many other cases, consistency trumps the debate. Extended Discussion There has been debate on this issue, so this explains the reasoning in greater depth. Proponents of streams have argued that streams are the obvious choice of the two, but the issue is not actually so clear. cout << this; // Prints the address cout << *this; // Prints the contents

Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at Learn C The Hard Way Learn SQL The Hard Way Graphics Programming Language Agnostic NerdDinner Walkthrough Assembly Language Bash Clojure Clojure Programming ColdFusion CFML In 100 Minutes Delphi / Pascal Django Erlang Learn You Some Erlang For Great Good Flex Getting started with Adobe Flex (PDF) Forth Git Grails Getting Start with Grails Haskell Java JavaScript JavaScript (Node.js specific) Latex The Not So Short Introduction to LATEX (perfect for beginners) Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant)Lua Programming Gems (not entirely free, but has a lot of free chapters and accompanying code) Maven Mercurial Nemerle Nemerle NoSQL Oberon Objective-C

Ruby on Rails Quick Reference Guide What is Ruby? Before we ride on Rails, let us recapitulate a few points of Ruby, which is the base of Rails. Ruby is the successful combination of − Smalltalk's conceptual elegance,Python's ease of use and learning, andPerl's pragmatism. Ruby is − A high-level programming language.Interpreted like Perl, Python, Tcl/TK.Object-oriented like Smalltalk, Eiffel, Ada, Java. Why Ruby? Ruby originated in Japan and now it is gaining popularity in US and Europe as well. Easy to learnOpen source (very liberal license)Rich librariesVery easy to extendTruly object-orientedLess coding with fewer bugsHelpful community Although we have many reasons to use Ruby, there are a few drawbacks as well that you may have to consider before implementing Ruby − Performance Issues − Although it rivals Perl and Python, it is still an interpreted language and we cannot compare it with high-level programming languages like C or C++.Threading model − Ruby does not use native threads. Sample Ruby Code Hello Ruby! Embedded Ruby <!

SPIEGEL ONLINE - Nachrichten Slashdot Stories (10)

Hi, actually I'm a product manager and architect to search a solution to a niche SNS. by alexyu2012 May 20

JA-nice structure. a little busy for me by jasonanderson2 May 20

You are a developer who needs an answer? by enguerran974 Jan 12

Related:  DevelopmentDelphiC++ProgrammingSimilar SitesProgrammationprogramming languagesTechnologyhewigovensprogrammingReresourcesDevelopmentins2013ExpertsforumUseful LinksSoftwareDevelopmentExample Set 1Programming Training & LearningwebsiteProgrammingblogsPythonComputer ScienceWeb Site that I have to test/adoptviggiosoftDevelopmentCommunautésblog