I was wondering what kind of ranking lists (if any) you use in your team. What is their purpose and how do you reward/punish someone who join the list? Do you have any special ceremonies in case of a new rank ...?
Here is a list of ranks I heard about and some of them been using myself:
TOP 10 list of most broken builds per day
TOP 10...
Hello,
I am using python 2.4 and I am having some problems with unicode regular expressions. I have tried to put together a very clear and concise example of my problem. It looks as though there is some problem with how Python is recognizing the different character encodings, or a problem with my understanding. Thank you very much for ...
I want to know what people think are the most important soft skills (e.g patience, tenacity, competitiveness) for programmers.
I’m not really interested in communication skills, but more the skills you use when you’re hunched over the keyboard.
...
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.
...
Is it possible to do the following layout with CSS but not using absolute/relative positioning?
We tried to solve this riddle for several days but we couldn't fit the box 10.
Edit : Please also provide css + html files of your solution. So we can discuss solutions.
...
Say I have an $input array, that contains something like this :
array
0 => string 'a' (length=1)
1 => string 'b' (length=1)
2 => string 'c' (length=1)
3 => string 'd' (length=1)
4 => string 'e' (length=1)
5 => string 'f' (length=1)
6 => string 'g' (length=1)
7 => string 'h' (length=1)
8 => string 'i' (length=1)
9 => ...
I was wondering if anyone knew of a "World's Smallest Chess Program". By this I mean a text based program that can play a game of chess following all the rules (castling, en passent, underpromotion, game ends with mate(stale), draw by repetition or insufficent material) in the least amount of code. I found some forums on this when I ch...
For fun I'm learning about graph theory and I came across this problem. Given a set of vertices V, a set of edges E, and a weight for each edge in E, how can I efficiently construct a graph G such that:
G is connected (all vertices are connected via some path)
the sum of the weights of the edges is minimized
Cheers!
Edit: the edge...
Here's an interesting problem to solve in minimal amounts of code. I expect the recursive solutions will be most popular.
We have a maze that's defined as a map of characters, where '=' is a wall, a space is a path, '+' is your starting point, and '#' is your ending point. An incredibly simple example is like so:
====
+ =
= ==
= #
=...
In the UK throughout the 80's and 90's (70's too I believe!) there was a classic TV program called "Blockbuster", which had a display of hexagons in a honeycomb grid, like this (sorry for blurry pic!):
As you can see, there are 5 columns of letters and four rows. 1 person or team is trying to travel horizontally, one is trying to tra...
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.
...
For the fun of it, I would like to see someone use and abuse LINQ to solve this money problem.
I really have no idea how you would do it - I suppose Populating some set and then selecting off of it.
If given a total number of coins and give the total amount of all coins added together:
Show every possible combination of coins. Coins are...
In C# 3.0 we got a lot of cool tools at our disposal with anonymous types, lambda expressions etc. This sometimes leads to some... interesting looking code that contains a smaller sequence of special characters.
Although it's not Friday yet, I thought I'd ask: What's the longest, most obscure sequence of non-character C# code you can wr...
All,
I need a clever way to implement this algorithm (for work) as quickly and cleanly as possible:
I think I've removed all the language specific issues and boiled it down to this:
I have two arrays: A and B.
A has a list of names in it {Apple, Apple, Banana, Banana, Banana, Carrot, ...} each i-th value has no upper limit on the num...
Hello,
First of all, thank you for taking the time to read this. I am new to developing applications for the Mac and I am having some problems. My application works fine, and that is not the focus of my question. Rather, I have a python program which essentially does this:
for i in values:
os.system(java program_and_options[i])
...
Hi,
As a programmer, I know sometime all has to write some code which they think -"Thank God! It's done" or "Ohh, how did I write it?"...
Do you have any such piece of code.
...
I've just had a "discussion" with a developer about naming classes in C#. My final throw away line was, "Let's not put any emoticons in our class names."
I can't think of a way you could put emoticons in C# class names, but I haven't thought too hard about it. Is this possible?
Does any programming language allow it? What would be the...
I believe the word is "recurse" instead of 'start over.' I've created this program to hone my multiplication skills in the morning. I can get it to give me a multiplication problem, but how do I get it to ask me another one?
from random import randint
print 'Good Morning Pete!'
X = randint(0, 10)
Y = randint(0, 10)
A = X * Y
Z = ...
I've been a lead developer of a very successful and promising project for several years now. The team I've been working with is just great. Now the top management wants to move the project to another department because that department has responsibility area they feel is closely related with the project. Most likely nothing will prevent ...
We recently had a new-hire who everyone loved in the interview, but when their first day came around......well, let's just say not everyone was as high on their skills as before.
The first issue came up at lunch, when he couldn't figure out how to get a very simple microwave to work. He was just randomly pressing buttons, finally got it...