Search found 14 matches

by brazzy
Fri Dec 19, 2008 11:53 pm
Forum: Wormageddon
Topic: Valid java code
Replies: 3
Views: 22010

Re: Valid java code

This is a pretty stupid question but a equation example: (1 = 1) returns 1 or 0 right so why would this not work?: int right = dir + 1 - 4(dir = 4); int left = dir - 1 + 4(dir = 0); Not sure what that code is supposed to do, but it's definitely invalid as long as there is no operator in front of th...
by brazzy
Fri Dec 19, 2008 11:20 pm
Forum: Challenges Solved
Topic: Exclusive Or
Replies: 24
Views: 4466

I agree with tails. And I think we should also cherish the "hacker" term. Hacker works alone. Don't reduce it to "script kiddie". I disagree, violently so. Script kiddies work alone. Hackers most of all want to understand and learn, and both of those are much easier when talking...
by brazzy
Mon Dec 15, 2008 10:52 pm
Forum: Challenges Solved
Topic: Forced Entry
Replies: 17
Views: 1614

I used manual SQL injection attacks and finally managed to get the password published by an MySQL error ("Unknown column 'password' in where clause"). How did you manage that? I couldn't think of a way and had to resort to getting the result bit by bit following the method suggested in th...
by brazzy
Sun Dec 14, 2008 1:58 am
Forum: Challenges Solved
Topic: Fast Mod
Replies: 7
Views: 740

It's a separate challenge. I suppose there might be people whose solution for "Mod" involves iterated subtraction, though I'd actually consider that far more difficult. Maybe instead of "Fast Mod" have an "Undivided Mod" where you can't use the / instruction?
by brazzy
Sun Dec 14, 2008 1:30 am
Forum: Challenges Solved
Topic: King Rat
Replies: 19
Views: 2020

BTW, lukas, you code has a bug: it terminates when it encounters a 0, so if that's part of the actual data, and the largest number comes afterwards, the result is wrong. But apparently that case does not occur in the tests that determine whether you pass. And after sitting over this for 3 hours, I c...
by brazzy
Sat Dec 13, 2008 3:27 am
Forum: Challenges Solved
Topic: King Rat
Replies: 19
Views: 2020

Bah. I'm a Java programmer, I don't do terse. So here's one that neither (ab)uses the call stack nor writes to memory:

0<991++1^1^<0^2v:1+4?1v2vd1-0^8?084*1+-gdp
by brazzy
Fri Dec 12, 2008 10:29 pm
Forum: The Hacker's Server
Topic: MY FIRST PROGRAMING!!!!!
Replies: 5
Views: 8039

Re: MY FIRST PROGRAMING!!!!!

Also I was wondering if The Java SE Development Kit 6 (JDK 6), is the only compiler out there (if I'm correct and it is a compiler). Sun's JDK contains, among many other things, a compiler. It is by no means the only Java compiler, there's also a JDK from IBM as well as gcj from the GNU compiler su...
by brazzy
Wed Dec 10, 2008 9:38 pm
Forum: The Hacker's Server
Topic: possible to hack winrar files??
Replies: 2
Views: 6109

Re: possible to hack winrar files??

Yes, WinRAR uses 128 AES, which is considered impossible to crack. I've seen references to a paper claiming to have found weaknesses in the way WinRAR implements AES, but probably not bad enough to make it crackable. OTOH, the average user has crap passwords, so a dictionary attack is always worth t...
by brazzy
Mon Dec 08, 2008 9:48 pm
Forum: Challenges Solved
Topic: Bigger Fib
Replies: 10
Views: 883

You know, a little bit of pretty basic applied math knowledge makes this (and BiggestFib as well) solvable without any fancy libraries in 2 or 3 lines of code and a very small fraction of a second.
by brazzy
Sun Dec 07, 2008 5:46 pm
Forum: Mortal Coil
Topic: Basic strategy: how do you get into the top 10?
Replies: 16
Views: 60523

Basic strategy: how do you get into the top 10?

Hi! I'd like to ask whether any of the top scorers in this puzzle would be willing to give some hints as to how their solutions work. I started out with a straightforward brute force approach; this got me to about level 50, when it became clear it was too slow. Technical optimizations and a multi-th...
by brazzy
Thu Dec 04, 2008 6:29 pm
Forum: Challenges
Topic: Big Fib
Replies: 36
Views: 50119

I think one reason why many people are having problems is that some definitions of the Fibonacci sequence have it start with 0 and 1, and others start with 1 and 1, so that the numbering is one off between those two definitions.
by brazzy
Sun Nov 30, 2008 3:33 am
Forum: Challenges Solved
Topic: Russian Dolls
Replies: 40
Views: 3185

I used a bash shell script, and it took several minutes - I didn't count iterations, but it must have been hundreds! I can't imagine doing that manually.
by brazzy
Sun Nov 30, 2008 2:49 am
Forum: Challenges
Topic: AVE?? what does it mean??
Replies: 13
Views: 18236

In fact, the title does give you the necessary hint if you've ever read an introduction text to cryptography. "Ave" is a Latin greeting. Latin was the language of ancient Rome. And it was a Roman Emperor who allegedly came up with a certain (very simple) encryption that was then named afte...
by brazzy
Tue Nov 11, 2008 11:29 pm
Forum: Wormageddon
Topic: Suggestion: randomized starting positions
Replies: 5
Views: 25750

Suggestion: randomized starting positions

I propose that the starting position of both bots should be random. Currently, multiple matches between bots with deterministic behaviour proceed identically (except for who gets the first move) and are thus a waste of CPU time. The intention of making results more meaningful by increasing the sampl...