» Home » Challenge » Page 1
How to Mod an F1 Challenge
by Twista in Hobbies, Games & Toys
"F1 Challenge '99-'02" is a PC racing game based on the four seasons of Formula One racing between 1999 and 2002. It was a cutting-edge racing simulator for its time and remains popular today due to the number of user-built modifications that add new tracks, new cars and new racing series to an already extensive game. The modifications include previous Formula 1 seasons, the European Touring Car C
TAGS : Challenge

Challenge: C# Foreach - Before, After, Even, Odd, Last, First
by Asif in C & C++ & C#

Since C# doesn't have a before,after,last,first etc. as part of its foreach. The challenge is to mimic this behavior as elegantly as possible with the following criteria:

Must allow: before, first, even, odd, last, after events
Give an option execute/not execute the primary function (function executed on all objects of the collection) during the events listed in #1

If you

ASP.NET MVC 4 Web API IQueryable<T> challenge
by asp.net in Programming Languages

I want to use the following pattern in my controllers:


Example: api/customers/123/addresses

But I want to return IQueryable Of T from the corresponding Get action. I want something like this (simplified):

public IQueryable<????> GetCollection(int id, string collection)

Authentication Challenge
by jch in Mobile Programming

i try to access a protected webfolder with the webview. with "hard coded" user and pass it works, but my plan is to pop up an alertview to enter user and pass. here is the part of code:

-(void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge{
NSLog(@"Need Authentication");
UIAlertView *webLogin = [[

DB Sorting Challenge
by Hosein Mohtasham in Databases

I have a table as follows,

B B1
A A1
A A2
B B3
A A3
B B2

My result set should be,

A A1
A A2
A A3
B B1
B B2
B B3

Note: A, A1 are all GUIDs.

I have tried quite a f

CSS positioning challenge
by Madmick in Web Design

This is a problem I have encountered several times over the years, and I always give up and use JavaScript to do the calculations on the page resize event. Can it be done with pure CSS?

I need to fashion a CSS layout like this:

header -->
menu | scrollable content
| --->

CSS Challenge: INPUT going outside of DIV
by Krysole in Web Design

I'm trying to accomplish something specific around platform constraints I'm under.

I created a somewhat self-explanatory jsfiddle of the problem at http://jsfiddle.net/MrV5M/4/

The specific problem:

On Chrome, the right border of the input box is cut off.
On Safari, the width of the content class cell exceeds the container so it spills over the border.

Regex challenge: can't use '^'
by Glenntoy in Programming Languages

Long story short, I'm working with a library with a bug that causes a crash if I use a regex that has a caret after a bracket (for example, the regex [^a]). The bug is being worked on, and switching libraries is not an easy option, and I'd like to be able to continue work between now and when the bug is fixed.

Thus, I need to express the following two regexes without using the caret

TAGS : Regex challenge

Python Challenge :
by cerebusPu in Coding

I am doing the coin-change problem. I have finished the problem, that it prints out how many coins I need to make the least amount of change possible, but how do I change my program so that it also prints those coins??

Here is a sample I/O:

input: coin_change(48, [1, 5, 10, 25, 50])
output: [6, [25, 10, 10, 1, 1, 1]]
input: coin_change(48, [1, 7, 24, 42])
TAGS : Python Challenge

PHP's crypt challenge
by Ryan in Development Tools & Services

A friend gave me a challenge: he encrypted a string using PHP's crypt function (CRYPT_STD_DES) (from PHP4). I know the salt used to encrypt, and as crypt is a one-way algorithm I must use brute-force method, and I know that passwords only consist of lower-case letters.

Now, I have machine with 16 cores (2x Xeon), and lots of RAM. What is most efficient way to implement this force at

TAGS : crypt challenge

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .