thinking

What is the best way to visualize abstract concepts (algorithm/data structure)?

What's the best way to "see what is happening" in an algorithm/data structure? If it's something like a binary search I just imagine a bunch of boxes in a row, and throwing half of them out each time. Is there something more powerful that will let us grok something as abstract as an algorithm/data structure? Clarification: I'm looking f...

Best Practices - Design before coding.

I'm curious How do you people think ? (I mean a way of thinking) about design architecture of your Libraries, Systems, Frameworks, etc. before start coding it. I recently find my self feeling pain in what I've done, and practically every time I want to start everything from scratch.. I do design before, painting some schemes on the pap...

Can abstract thinking be taught?

I broke some of the cardinal rules for hiring and am now stuck with a fairly 'bad' hire. My biggest concern is that the person's abstract thinking is really weak. So, my question is do you guys think abstract thinking can be taught? And if so how? Or should I start preparing an exit strategy? I'm sure some of you guys have been caught ...

Art of Abstracting

Hi, I understand that the power to think about abstract things is very handy in programming well. Abstraction is usually a mental map, an image that you can refer to in your mind as you are progressing with writing your code. Can you suggest any good technique, book, web link which talks about improving this art? Thanks ...

Does anyone know of a computer programming work patterns site?

There are all those Design Patterns wikis -- you know, with Singleton, Iterator and all that. I'm not looking for that. I'm looking for one level up from that: computer programming working patterns. Such as "Debugging", "RetreatAndSolveSmallerProblemFirst", and the like. EDIT: Clarifying that I'm interested in individual work patterns r...

Good book for THINKING in terms of algorithms?

Before you mark this is a duplicate, let me explain why this is different. Most of the books on algorithms are more of a reference. You basically have a list of algorithms at your disposal. But what happens when you need to create a new algorithm for something? These books don't teach how to think in terms of algorithms. So I'm looking f...

Is learning ed worth it to boost my speed in VIM?

I've learned the basic/intermediate levels of VIM (it's too vast to list). I often find that I slip back to my old ways and start using the mouse, holding down keys to get somewhere, and doing other stupid things that could be sped up. Would it be worth spending time to learn ed to break the habits learned from years in a point and cli...

Learning to think in the Object Oriented Way

Hi Everyone.... I am a programmer trying to learn to code in the object oriented paradigm... I mainly work with PHP and i thought of learning the zend framework... So, felt I need to learn to code in OO PHP.... The problem is, having done code using functions for quite a long time, i just can't get my head to think in the OO way.... ...

Thinking Sphinx - shows false positives even though delta indexing is used

This may have to do with Sphinx rather than Thinking Sphinx. I am using delta indexes. Lets say a record has text field contains word 'foo' Full indexing is done word 'foo' is removed from the record delta indexing is done Search for 'foo' The above record is returned even though it doesn't contain word 'foo' Expected Result: Above r...

Thinking in C++?

The programming language I use has been Java. I've been transitioning to C++ which has been somewhat rocky. The "rocky-ness" isn't in the learning but more along the lines of "Thinking in C++". I've seen many people say that you should learn C first (I technically know it already), and then I see people say no skip C and go straight to...

What are the general ideas of decrypting a cipher?

I am trying to improve my skills in encryption and decryption, put there are too many ways to encryption, what ideas are common in this subject, are there any books that talk about that? thanks alot. ...

How to use flex to create a person

Based on user input height, weight, measurements and other data, dynamically generate a person (can produce 3D graphics?, if you can please tell me how to do) Who can tell the specific technology, if can please tell me some reference material. ...