Forum Replies Created

Ganesh Member

Well one of the ways I deal when I have problems is,think of your ancestors, of people in wars in world war 2 for instance, the russian front and I usually find myself realizing how much suffering these people have gone through and how many great men have endured through it to create a better world for everyone.

Ganesh Member

I’m not completely sure what the OP’s focus is? Is it about the cards everyone is been dealt at the beginning of his/her life with regard to physical characteristics and the failure to comply to socially constructed standards of success and/or happiness?

If so, dealing with it is a process everyone goes through, well everyone who has the luxury to think that far (poor starving people have other sorrows I would think). I’ve done a lot of navel-gazing in my time, but IMO the big breakthrough came, when I noticed everyone else did the same, wrestled with a lot of similar questions and trying to answer them in their own way.

Some were IMO perhaps not the best ways, trying to feel superior by focusing on other’s shortcomings (or believe there of) for instance. I have some other thoughts on that, but I think I’ll put them on hold for now until I’m sure what the focus is…

Ganesh Member

I think negative facts are just criticism and only if you think it as such. Just don’t stress yourself into those things and don’t let it ruin your life or thinking.
I always keep in mind that these facts are not my choice and can’t do anything about it.
Another good thing to remember is you are not the only one. If others are happy living with those facts so why shouldn’t you?

That’s me but others just cannot live with criticism.

I think that people who are too much affected by these criticisms are somehow brainwashed by the society to think what are the positives and negatives.

Ganesh Member

Use a foreach loop to iterate through an array…


    
Ganesh Member

for learning PHP, I would sincerely recommend PHP 5 Unleashed by John C Coggeshall

for Html and Css, Head First HTML with Css and XHTML.

Those were the books and here are some useful links :

Tutorials for HTML and CSS :

http://net.tutsplus.com/tutorials/html-css-techniques/30-html-best-practices-for-beginners/
http://www.noupe.com/css/css-layouts-40-tutorials-tips-demos-and-best-practices.html
http://www.w3schools.com/Css/default.asp
http://www.w3.org/Style/Examples/011/firstcss/firstcss.en.html

Tutorials for JavaScript :

http://www.w3schools.com/js/
http://www.learn-javascript-tutorial.com/
http://ejohn.org/apps/learn/
http://www.javascriptkit.com/
http://www.javascript.com/
http://www.cs.brown.edu/courses/bridge/1998/res/javascript/javascript-tutorial.html
http://www.learn-javascript-tutorial.com/
http://www.java2s.com/Tutorial/JavaScript/CatalogJavaScript.htm
Ganesh Member

You may want to have a look at

http://projecteuler.net/

Project Euler presents a variety of math and computer science problems that you can solve in order to learn programming languages. The problems are small enough that you shouldn’t get overwhelmed but complex enough to push you to learn the basics of a language. I did a pile of the problems a few years back to teach myself Ruby. You should find the first fifty or so problems pretty manageable.

The problems will also reinforce the difference between programming and computer science. Brute force solutions to many of the Euler problems are trivially easy to implement but you’ll quickly find that they take far too long to run. The techniques you’ll learn in CS will reduce the time or space requirements of the solutions to much more reasonable levels.

Another thing I’ve done to apply a new programming language is to build a simplified version of a popular website. I did Twitter to learn how to use Ruby in a web environment. Such an exercise will give you a decent sense of what a programming job is like, without all of the annoying baggage that comes with a corporate environment.

Ganesh Member

At the minute, I tend to just use cPanel or Notepad++ when it comes to the coding but that does get a bit annoying when it comes to testing – so I would recommend any IDE that allows you to test you code at the press of a button. Possibly also something like EasyPHP so that you can execute your webpages without uploading them to a web server, etc.

I use FileZilla for my FTP client, and I also use a program called Artisteer because I do a lot of work with WordPress and Drupal and I’m not that good at graphics. But the rest really depends on what kind of website development you will be doing. If you mainly coding, I’d say that would be enough. Otherwise, maybe something like Dreamweaver, WYSIWYG Web Builder or Website X5. If you’re good at graphics, you may want to look at a package Adobe Photoshop. That said, I’ve seen truly amazing graphics being created on MS Paint!

Ganesh Member

I did some googling and it turns out it is possible to write this program in c++ or VB ? so if anyone is willing to help it would be nice!

Ganesh Member

I’d highly suggest course at

http://www.udacity.com/

As for books, I’d highly recommend the head first series, they really ease you into the flow, when I first started programming it was the, “C Programming Language” book, but I’d highly suggest starting with the Head First series. I’d suggest starting with Python, it isn’t just for babies, I promise.

#1 problem/requirement to becoming a programming: follow-through, even if something seems, “stupid” or you already know it, do it anyway, plop the code in your IDE or text file, and compile/run it. Just do it.

Ganesh Member

Well, as a future Code Master (whatever that means…), among many other “best practices”, you’ll come across the DRY principle.

DRY, in this context, stands for “don’t repeat yourself” – as in, don’t ever write the same code more than once. You’ll eventually understand the *many* reasons for this, but suffice to say that it is both inefficient and dangerous.

When you come here asking “how to learn to program” without doing a simple search first, you’re asking us to break that very DRY principle!

If you don’t want to search WBB, then use Google: the first 10 replies to “learn to program” bring very useful resources (online, as you prefer): from online free schools (Coursera, CodeAcademy) to well-thought out and respected counter-opinions (Jeff Atwood’s “programming is not for everyone” article).

A master programmer must always be, foremost, a master searcher

Ganesh Member

Depends on what you want to do, yes PHP is open source and all host can support it since it. It can do nice things but ASP.NET as mentioned supports C# and VB, both can handle a SQL database no difference. PHP can be very interactive but so can ASP.NET.

PHP code runs faster than ASP. ASP is built on COM based architecture, PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products.

What comes to mind with Microsoft is cost. Both are great and have their advantages and disadvantages. People who have not worked with or used ASP will say PHP and those who have had the honor to play with and understand what C# can really do to a webpage will say ASP.

in reply to: PHP login script help
Ganesh Member

Wait. Seems to be something to do with this code I put on the page it redirects to :

if(!isset($_SESSION["loggedIn"])){ //Kick you back to login if your not logged in
header("Location: login.php");
exit;
}

Any thoughts?

Ganesh Member

To be good at it ,you have to LOVE it , to want to do it ,and want to learn, to do some things over and over til you get it right , was known as the BRUTE FORCE METHOD … i was lucky coz back then cud start at low levels ,whereas today everyone has to begin at the top with SQL and nested scripts and cryptic code .. which can be heartbreaking ,and a turn off ..

started with some assembly , then 3rd gen stuff like BASIC ( which i really did love , and wrote lots of code in that old fashioned ” interpreted” way with line numbers , i started before compilers became readly available .. i would write little routines in my mind as i went on cross country runs, such as to speed up loops , to read arrays ,do sorts … all kind of stuff , i LOVED it .. and as the language became more powerful , with more syntax options ,and compliers and debuggers , i improved with it …

did Pascal ,then took up C , also got into some early disassembly …

then got hooked on the “new” HTML , and wrote heaps pages , using manual coding with Notepad as an editor … spent hours typing in each and every tag and page setups , all this before Dreamweaver … but ,once again i LOVED it ,and the output results i achieved …

the message … be enthusiastic , love it … if you can’t ,then you won’t be good at it , you’re really wasting you time , and i sincerely recommend you then think about trying something else

Ganesh Member

That’s normal.. programming is about altering the way you think. And naturally, if you try to think in a different manner than you have previously been doing, it will be hard in the beginning.

Do not try to LEARN code. Try to understand what’s going on in the code and the learning will happen automatically as you read more code and program on your own. Do not be afraid of referring to your book, tutorial or manual. Even experienced programmers need to do that from time to time.

Start with a simple language like Python and set small, do-able goals. If you aim on making a game after having programmed for only a week, forget it, there’s no way you’re going to do it. But instead, try some simple stuff like calculator.

Ganesh Member

I believe he means “core” files…as in dumps that occur in servers.

Use the following command:

  • find -name core
  • dump to a file
  • then grep the file to conduct a rm-f of the core dumps
  • Now make that into a script and make it executable
  • Half the fun is figuring it out!
Viewing 15 posts - 1 through 15 (of 63 total)