polls

Is this a good way to use controllers and views in CodeIgniter?

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...

What approach do you use to find information on how a class/method/framework works?

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 ...

Show us your best obfuscated identity function

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. ...

What is the most dangerous feature in Java?

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. ...

What features to implement in a version control system?

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...

What technology protocol or standard are you most excited about? why?

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. ...

How does the above-average programmer learn today ?

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...

When is it worth getting a DBA?

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? ...

What group collaboration/information tools are useful?

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...

The most abusive C++ you've ever seen used?

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. ...

Want to learn Plugin/Template Development. Wordpress or Joomla?s

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. ...

Problem with polling sockets in python.

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() ) ...

Worst example of you duplicating existing functionality?

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? ...

ActionScript and Flex Programming Blogs?

What's your favorite ActionScript or Flex programming blog? ...

Poll: What is stopping you from switching (from Java) to Scala ?

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...

Fullstack or Glue web framework?

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...

What are the most useful shortcuts for performing back-of-the-envelope calculations of computing problems?

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 ...

Which concept from mathematics has helped you the most in development?

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...

Python bracket convention

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. ...

What is the best documented IOC framework for .net?

I am looking for the IOC/DI framework with the best documentation which would it be? ...