What is the best way to use controllers/views in CodeIgniter?
Is the following a bad way to go about making my pages?
function index()
{
$this->load->library('carabiner');
$this->load->view('include/head');
$this->load->view('include/home');
$this->load->view('top');
$this->load->view('featured');
$this->l...
I ran into a question today, where the author referenced the documentation for a particular framework but had questions about how a class actually worked. The documentation was not as clear as it could be -- turned out the information was there once you figured out that you needed to look at the parent class for a description of one of ...
Rules are simple. Write an obfuscated function in any language that takes in an integer and returns the same integer. Try to use math tricks and not language tricks. IE. Try to make your function portable.
...
Which feature of the Java-language is the source of the most misunderstandings and bugs in your experience? The scope of this question is about the language, not the class-library.
...
Hi all,
I will be implementing a version control system in C++ for my final year project.
I would like to know:
What are the features a version control system should must support.
What features do you consider are missing in existing implementations (so that my version control system does more than just reinventing the wheel )
Referen...
Here's some links for inspiration:
List of Web Protocols
Web Standards
I don't know what prompted this question but I'm curious to see people's responses.
...
Most of us know the quote "The average software developer reads less than one professional book per year..." from Peopleware
I am curious to know how (or if) it has changed since then - it's nice to know the trends in our 'profession'... and this seems to be a nice focus group to get some relevant answers from.
So I'm looking here for...
I've now worked at a few tech companies ranging from 10 people to ~150 and I've never encountered a real DBA. How big does a company need to get before it merits getting a DBA? What are the criteria that need to be met?
...
Being part of a company with hundreds (if not thousands) of developers arrayed over a wide range of projects, it can be very hard to get the information you need from the right person about a piece of software you are working on. What kinds of tools (and practices) have you found useful for finding answers, knowledge transfer, documentat...
I'm curious to know, what is the most abrasive, caustic, abusive but perfectly legal and correct C++ you've ever seen ship out the door?
This question isn't meant to be a C++ bashing session, but a humorous introspection into the world of C++ we allow ourselves (or others) to get away with.
...
i seem to be getting the impression that Wordpress is more popular than joomla nowadays. but i also get the impression joomla is more powerful.
so which shld do u think will give better prospects if i were to want to learn to develop for one.
...
After I begin the polling loop, all messages printed after the first iteration require me to press enter in the terminal for it to be displayed.
#!/usr/bin/python
import socket, select, os, pty, sys
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', 5007))
s.listen(5)
mypoll = select.poll()
mypoll.register(s.fileno() )
...
I've certainly done this : written a load of code to do some operation, then discovered that the language already had that functionality built in. An early case i remember is writing a function to reverse a string in VB6, then stumbling across StrReverse a week later.
What's your worst example of this?
...
What's your favorite ActionScript or Flex programming blog?
...
What would make you to switch to Scala ?
If you are negative on the switching to Scala, please state the reason as well (or upvote).
As with all StackOverflow Poll type Q&As, please make certain your answer is NOT listed already before adding a new answer
If it already exists, vote that one up so we see what the most popular answe...
Working in web development we see numerous amount of web frameworks growing everyday. We also see people comparing framework X vs framework Y. But technically they all boil down to two types: fullstack or just a glue webframework.
A fullstack web framework is a web framework that offers front to back framework. Django and RIFE can bee s...
With a back-of-the-envelope calculation you can mentally obtain an answer to a question, within an order of magnitude of its actual value. Some shortcuts can simplify these calculations. In computing I've found the rule
103n is-close-to 210n
invaluable. For instance, through this I can say that I can binary search through a billion ...
It is well known there is a strong link between computer science and mathematics. In looking to improve my own software engineering skill set I'm interested to know what concept from mathematics has helped you to gain deeper understanding of software development as a whole? What would be the biggest bang-for-your-buck concept to learn fr...
What do you think is the convention that is mostly used when writing dictionary literals in the code?
I'll write one possible convention as an answer.
...
I am looking for the IOC/DI framework with the best documentation which would it be?
...