The 2nd Monitor
We all [hopefully - if not you're missing out!] work with at least two monitors. I noticed I keep the chat window open on my 2nd monitor [almost] all the time.
Having a 2nd monitor is also quite handy during an actual peer review. I think it makes a perfectly suited name for our...

@JeroenVannevel This is fine to an end user of the library who will know that he's selecting something that can be thought of as an Employee object with an ID and FullName property. I'm developing a library that needs to generically handle ANY sort of query and generically return the results to the user in a way in which the user can know which result belongs to which column.

Okay wait.... before I spend too much time trying to figure out really what this is and if there's a way to do it in Objective-C (if there is, it still may not be worth it because ObjC developers certainly won't be used to it)

How can I possibly, pre-query, know that the user has appropriately set all of the columns correctly?

I just want to know how I can make this program use less resources
Any improvements would be welcomed
#include <stdio.h>
#include <string.h>
typedef struct
{
int client_id;
char client_business_name [30];
char client_first_name [20];
char client_last_name [20];
...

> A woman tells her programmer husband to go to the store for some milk and while he’s there, get some eggs. He takes egg carton after egg carton, until there are none left. He reaches for empty space. The ground splits beneath his feet. The universe trembles and collapses.

This is how the world ends. Not with a bang but with a Null Pointer Exception.

I'm just created a test to create my table gateway class. I've written about 8 tests and all are passing. I'm hoping anyone can offer any advise on what to do next to make these better. This is quite a small app and just one of my own, but at work I want to write tests for much bigger application...

I'm working on a set of helper classes for working with libpq in C++ and I want to be able to pass in objects to the helper classes and have them internally represented as strings when sent to the db, and convert from string to objects when fetching data. I'm not particularly after a crazy ORM al...

Example Outcomes
The code I wrote is long enough to be ashamed of -_- click here for the code which needs to be modified however I just want to have a try and see if anyone can offer some practical suggestions to simply this code to get the same ideal outcome.
Thanks.

Problem:
Each new term in the Fibonacci sequence is generated by adding the
previous two terms. By starting with 1 and 2, the first 10 terms will
be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequence whose values do not
exceed four milli...

I had previously asked about how to evenly distribute the items in n lists into a single list and was referred to this question.
I made a practical example of my solution for this in VBA for Excel, since my application for this was resorting my Spotify lists which can be easily pasted into Excel...

I'm working on a web-based on/off controller for multiple switches. I'm looking for a good way to manage the current state of a switch and updating the current state on change.
So far I've got a lib.json file which looks like this..
{
"Lights":[{
"name": "light-one",
"pin...

Here is my plunker example of what I am doing.
jQuery is a great way to use slide transitions and seem to work well with angular as long as you are only using the methods on the element object inside a directive.
Basically I am using a directive for divs I want to slide toggle which listens fo...

You could use a Global-Command.
just before you close the modal window :
BindUtils.postGlobalCommand(null,null,"refreshUsers",null);
and in your ViewModel of the user list :
@GlobalCommand
@NotifyChange("users")
public void refreshUsers(){}
Note : I'm assuming you have a method getUsers. o...

I am working on a communication protocol that will communicate with a device over a USB or TCP connection.
In the code I have a class called Device that represents the device. From here I would like to be able to do two things; communicate with the device (requesting and writing data), and backu...

Here is a simple reusable AngularJS factory I came up with to initialize Google Maps Asynchronously, which somehow does not seem to be supported by major libraries (see below):
Following Google's guidelines I am using global callback function (which seems to be unavoidable harm), that resolves a...

again I'm stuck with vba and it is legging. The latest code I added was the code below. I think this is the cause of legging (taking to long). I was wondering if there is a faster way to do this:
With Sheets("Groups")
.Cells(1, 1).Value = "Groups"
.Cells(1, 2).Value = "Aantal"
.Cells...

I'm stuck with the slow VBA routine below, which I think is the cause of lagging (taking to long). I was wondering if there is a faster way to do this:
With Sheets("Groups")
.Cells(1, 1).Value = "Groups"
.Cells(1, 2).Value = "Aantal"
.Cells(2, 1).Value = "9N4"
.Cells(2, 2).Value ...

Maybe someone here can help me sort out this implementation and make it better.
First the following constraints:
1 Controller & Action that accepts all post requests, these post requests will always be XML data but can be different in the sense that the elements and the element count can diffe...

I've recently begun learning Scala, and while I've run into its concepts before (immutability, tuples, first-class functions) I'm not sure whether I'm using the language how it's supposed to be used. My learning project is going to be a simple little dungeon crawler, and while you can see the cod...

@Vogel612 Yes. About the loop. Assume the BubbleSort is not implemented, calling if (!mapping.TryGetValue(algo, out impl)) will be true, so owner.SelectAlgo(Algorithm.BUBBLESORT);would have been called. This will then call GetAlgoImplementationFor() again..and again...

Hmm, writing documentation is not fun. But I want my library to have some extraordinarily helpful documentation to go with it.

So I'm doing a Github Wiki. Yesterday I finished the home page and the "Getting Started" page which serves as a guide line for getting the library into your Xcode project for those that don't know how.

@Bhathiya-JaDogg-Perera, do you ever have the issue that scrollbars are being weird? Say that when a vertical scrollbar is needed, then because of the scrollbar being added, now also a horizontal one is needed?

Inspired by the non-locking implementation proposed in this thread:
Locking during cache population , the following code is an attempt to (about) do the same using the azure cache. As I'm totally green on the azure cache I'd appreciate input on best practices or pitfalls... I should add that this...

I don't know what are buzzy numbers.
I find a question on a newspaper article.
Write a program to check if a number is buzzy number or not.
I just wants to know the logic of program and meaning of buzzy number.

In short, I need to modify the current stack trace in C#, so that method that I call (which I cannot modify) would think that it was someone else who called it.
Now, to give a little context about why I need to do such a horrible hack.
In Unity3d, Debug.Log creates a new record in developer con...

I am learning to grab pictures from URL and found a q&a here http://stackoverflow.com/questions/8286352/how-to-save-an-image-locally-using-python-whose-url-address-i-already-know .Since it's py3 now, I changed
"import urllib" to "import urllib.request"
and
urllib.urlretrieve("http://www.digimouth...

I would like my Form Generator Class to be Reviewed. I want to know about the following topics:
Is this efficient?
Is this having flaws?
Is this using the concepts in the proper way?
Are there any security issues?
Is my coding style correct?
<?php
class FormBuilder
{
public function buildF...