So, i wanted to created a puzzle about programming because it is one of my hobbies.
I kept this one pretty easy, maybe I'll make a harder one later.

The giveaway ends on 10th februari 6pm.

http://www.itstoohard.com/puzzle/l6sbD1sP
The price is awesomenauts.

Sharing answers or giving hints is not allowed and will get you kicked from this giveaway!
Automatic hints are added after 24 hours.

Good luck!

12 years ago*

Comment has been collapsed.

You could say the game this giveaway is for, so people can skip it if they own it already :P

I own it, but it was a nice and simple puzzle which I wouldn't skip anyway ;)

12 years ago
Permalink

Comment has been collapsed.

Oh boy, programs.

12 years ago
Permalink

Comment has been collapsed.

Ah.....

hands in nerdcard

walks away in shame

12 years ago
Permalink

Comment has been collapsed.

What question are you stuck on? :)

12 years ago
Permalink

Comment has been collapsed.

Too easy ;)

12 years ago
Permalink

Comment has been collapsed.

stuck on first question. Don't know what "\1" do.

12 years ago
Permalink

Comment has been collapsed.

It's strange that you know the rest and not that :P

12 years ago
Permalink

Comment has been collapsed.

I've never used reg expressions before today ):

12 years ago
Permalink

Comment has been collapsed.

Got it!

12 years ago
Permalink

Comment has been collapsed.

how

12 years ago
Permalink

Comment has been collapsed.

logic. :)

12 years ago
Permalink

Comment has been collapsed.

Q1: RegEx. I created a mini OS from scratch (it only edits text), but fuck regex, I refuse to learn it. It is my crutch and I bear it proudly.

12 years ago
Permalink

Comment has been collapsed.

I'm verry happy I learned it, because I use it in almost every project I make.

12 years ago
Permalink

Comment has been collapsed.

Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.

12 years ago
Permalink

Comment has been collapsed.

three if you count their supervisor / project lead.

12 years ago
Permalink

Comment has been collapsed.

I was like you for a while, but then I had to learn it for something (parsing nmap results), and it was so much easier and more useful than I thought it would be.

12 years ago
Permalink

Comment has been collapsed.

Regex is the greatest thing ever
except when it isn't

wish the world would adopt a standard regex implementation, though. the mini nuances here and there are trippy

12 years ago
Permalink

Comment has been collapsed.

I have re learnt it quite a few times, but I need it maybe once a year. I find there are often better solutions.

12 years ago
Permalink

Comment has been collapsed.

I replied to another comment but I'm in pretty much the same boat. I've needed a regex once or twice and at that time I looked up and learned the syntax and promptly forgot it. Regex is overused by a vast majority of people. If you're using them appropriately you shouldn't need them very often.

12 years ago
Permalink

Comment has been collapsed.

using reg ex correctly is like good code commenting. it so rarely happens, it is praised as a miracle when it does.

12 years ago
Permalink

Comment has been collapsed.

AWESOME HINT was here, lol=/

12 years ago
Permalink

Comment has been collapsed.

I suggest removing this comment (no hints).

12 years ago
Permalink

Comment has been collapsed.

Yay for great puzzle! =]

12 years ago
Permalink

Comment has been collapsed.

I tried Q4 in an online compiler, than on Visual Studio.
They both had the exact same error message, but the exception shown doesn't work.

12 years ago
Permalink

Comment has been collapsed.

Don't forget about capital letters and also !spaces

12 years ago
Permalink

Comment has been collapsed.

Capitalization doesn't matter at itstoohard.
I tried spaces too.

12 years ago
Permalink

Comment has been collapsed.

what is the syntax for Q4 ? i mean is it "<anserw> exception" or juz <anserw> ?

12 years ago
Permalink

Comment has been collapsed.

Just the exception.

12 years ago
Permalink

Comment has been collapsed.

It's realy not that hard, just one word. :)

12 years ago
Permalink

Comment has been collapsed.

You should really have added multiple answers for Q4, but this was a great hint to solve it. Just missing the RegEx, ugh I hate them.

12 years ago
Permalink

Comment has been collapsed.

For example, PathTooLongException is 3 words right? (without the exception part)

I really don't get why my answer is wrong. :(
Everything I use gives me the same exception.

edit: I give up. The compilers say the same thing, it's in the list, I know what's wrong, I know how to fix the code... yet I can't get it right.

12 years ago
Permalink

Comment has been collapsed.

"It's realy not that hard, just one word. :)"

From that your PathTooLongException would be 1 word (not that its really a word thats why you're confused)

Also stupid regex. I dont get how to know how many possible matches it has :(

12 years ago
Permalink

Comment has been collapsed.

I'm going to be angry at this Regex for another 4 days I think. The first three were easy, but this darn regex..

12 years ago
Permalink

Comment has been collapsed.

Thanks for this puzzle!

12 years ago
Permalink

Comment has been collapsed.

anyone programming in Pascal ? need help for 1 task :D add me if :)

12 years ago
Permalink

Comment has been collapsed.

I'm starting to learn this now, lol as I see I'm an idiot programmer.

I like to see how much takes this practice to make? to know how stupid I'm XD https://dl-web.dropbox.com/get/Public/Pr%C3%A1ctica%20Examen.pdf?w=AAD7ofo09k9D-ETrxjx8Aol9hYYygB_3Me4lYuvPOsa_JQ To translate you can just CTRL + A and paste on Google translator, Spanish to English.

You have to do all these working on C/C++: int FechaValida(const char cad); means validate date, int EnteroValido(const char cad, int val); means validate integer or entire, int RealValido(const char cad, double val); means Real Validate, int FechaComp(const char cad1, const char cad2); Date compare, TIPO ObtenerTipo(const char valor); means get/obtain type, void Trim(char cad);, int NumCampos(const char lin, const char sep); means NumFields, int ObtenerCampo(const char lin, const char sep, int pos, char campo); means obtain field( all these are only suggestions, so you need to make more.) How much takes to do all of these?

12 years ago
Permalink

Comment has been collapsed.

Could I ask for hints for Q4?
What am I doing wrong if the only exception I get is S.NR which doesn't work?
I think I tried every possible format to enter that too.

12 years ago
Permalink

Comment has been collapsed.

Yeah, I am definitely stuck on number 1.

No idea where to start on it.

12 years ago
Permalink

Comment has been collapsed.

This is ridiculous... I brute forced every exception in the list and nothing worked. -.-

12 years ago
Permalink

Comment has been collapsed.

Oh man, I'm so bad at RegExps.

12 years ago
Permalink

Comment has been collapsed.

Closed 12 years ago by Nuva.