- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Forgot source ..) http://pastebin.com/ZMSsu1wD
Admin
So, it doesn't work if you make one move and then double click the '(double click me)'
just sayin'...
Admin
It is also quite unrelated to the game of "Guess how long it takes for the software to install". I've seen installers that finished with the bar less than half full, or filled it in a few minutes and then took forever while the full bar was hovering there.
Some coders will spot this problem and resort to the "99%" trick, which works like this:
Admin
Here my brute force solution. It always finds a solution (if there is one otherwise an exception is raised) on any given 5x5 field (any number of moves). Solution is probably not optimal. Performance is not optimal. But doing it with Linq was fun.
Admin
One of the greatest features of Lycoris Desktop Linux was that the installer would let you play Solitaire while you waited. That was about five or six years ago now, and I've never seen another operating system or Linux distribution do that since.
Admin
As I am a mathematician, the method that's most fun for me is the efficient one based on linear algebra.
Algorithm ripped off from this paper, which I found on wikipedia: http://www.ripon.edu/academics/macs/summation/2010/articles/M.%20Madsen%20-%20Lights%20Out.pdf . Variable names chosen to match the paper.
Written in Sage (an extension of Python for mathematicians). Could be modified to pure python easily by adding the appropriate matrix routines.
Confirmed to work in over 1 test cases!
http://pastebin.com/LjHJk2r7
Admin
I always enjoy the jokes that are included in the EULA.
Admin
"!=" != "=!"
CAPTCHA: Oh wait, I don't have a CAPTCHA because I'm logged in.
Admin
The reason why all installers don't have minigames in them is because of patents.
Yes, some bastard went and patented it.
Thus, no minigames for you.
Admin
TRWTF is the short attention span of contemporary users so they have to be given some dickwit "game" to play while waiting. Fer cry sake go and do something useful with your time.
Pff, complaining about time being wasted and posting comments on trwtf. Soz.
Admin
Simplified version that works with any sized array and is guaranteed to return the smallest possible solution.
http://pastebin.com/6Mp5T12X
Admin
Oh.. i'm suddenly reminded of Invade-a-Load on the C64. "Just when you thought it was safe to make a cup of tea.. its... INVADE-A-LOAD".
It had a great Rob Hubbard soundtrack as well.
Admin
Admin
To: Anonymous Morons on TDWTF Forumns From: REAL Lawyer Subject: Patent Notions Date: 14 Jul 2011
To all the MORONS who insist that installers cannot have games on them:
No such patent exists, nor is it legally feasible to apply for one.
Please stop pounding the drum of idiocy.
Admin
What's really nice is my fake Nagesh post got deleted, but nobody bothers deleting you're possibly-illegal posts.
Admin
Sweet!!!!! Alex brags of patent infringement on one of the most-read tech blogs in the world!!!
Admin
@REAL Lawyer
This is true, but interestingly, Namco have a patent on offering a game to play while a main game loads from optical media.
I'm guessing the "optical media" part is due to prior art for other media, such as INVADE-A-LOAD. Seems stupid to me that they'd get a patent at all, since the media source is kind of irrelevent.
Note that all the "facts" from this are from the Wikipedia Invade-A-Load page, and i'm too lazy to do any research to see if its actually true.
Admin
Just to be clear, it was intented as a joke.
Admin
Admin
Admin
Fixed
Admin
Admin
Welcome to The Daily Where's the Funny?
Admin
Admin
Admin
Emacs, then?
Admin
By symmetry, wouldn't the number of solvable cases be a multiple of 4?
Admin
Admin
Admin
Only corners --> 4 Only centers --> 4 Only edges --> 8
Plus various combinations.
Admin
Admin
Dear aspi. I see that you have never written an enterprisy installer yourself. It often happens that check for if something is in a certain condition, then do this, later check back. This can easily get you into an endless loop when you are not careful and change things forth and back, because you have a queue of things to be done and one item adds to the queue, and another one adds that one. Or you could be waiting for some file operation that is blocked indefinetly by the OS for whatever reason. While I wonder if you suffer from facilisis, I have to admit that I am so sick of people that never think fully through some problem and just quickly think they can rant over someone, just because something never happened or occured to them.
Admin
As for xunisys' comment above; I'm sorry, but it seems my filters still managed to block your post*. Perhaps my methods were more creative than your keen intellect could surmise?
Admin
The game I used to play with installers was putting my mouse inside the unfilled portion of the box while the blue bar crept ever toward it and pretend my cursor was running from a flood.
I guess that's why I became a game programmer (although I work sixty hour weeks, not eighty)
Admin
I love how you claim to not be able to hear me despite there being no way to prove it.
Anyway, is this some sort of challenge?
Admin
Admin
For n=4, the solvable boards correspond to a 12 dimensional (12 = the rank of the matrix A from the article I posted) subspace of a 16 (=4^2) dimensional vector space over Z/2Z. The subspace has 2^12 elements, and the full space has 2^16, so 2^12/2^16 = 6.25% will be solvable.
For n=5, the rank is 23, and the proportion is 2^23/2^25 = 25%
For 6,7,8, the matrix has full rank, so all boards are solvable
For 9, the matrix has rank 73, so less than 1% will be solvable
Full rank: 1, 2, 3, 6, 7, 8, 10, 12, 13, 14, 15, 18, 20 Not full rank: 4, 5, 9, 11, 16, 17, 19
If there's a pattern there, I don't see it right off.
Admin
Always solvable: 1, 2, 3, 6, 7, 8, 10, 12, 13, 15, 18, 20, 21, 22, 25, 26, 27, 28, 31, 36, 37, 38, 40, 42, 43, 45, 46, 48, 51, 52, 55, 56, 57, 58, 60
Not always solvable: 4, 5, 9, 11, 14, 16, 17, 19, 23, 24, 29, 30, 32, 33, 34, 35, 39, 41, 44, 47, 49, 50, 53, 54, 59
(14 was on the wrong list in my last post)
Admin
I like it how you save space by abbreviating words from being 10 characters long to 8 characters long.
Not only do you save 2 bytes of storage per variable name, you also annoy the hell out of anyone reading your code. Do tell me how LIGHTS_ARY is better LIGHTS_ARRAY or even LIGHTS - as it is obvious from the index accessor that it is indeed an array. You save negligible amount of screen space and ruin readability as a tradeoff..
Style can be a WTF too.
Admin
That patent is rather unfortunate much like most software patents.
I have a feeling it would be unenforcable anyway, as you can demonstrate that products described by that patent were already being sold by other companies years before the patent was published, therefore prior-art had definately and provably been established.
In quite a few countries, certainly Britain, such a patent would be unenforcable, as software can only be patented if it provides a non-obvious technical solution to a technical problem... people being bored whilst waiting for a game to load is not a technical problem, therefore by solving that problem you haven't come up with a patentable invention. The US may take a different view (in fact i'm almost certain that it does).
My view, is that this "invention" is basically no different from including a piece of paper with step-by-step instructions on how to twiddle your thumbs, which would definately not be patentable (although the instructions would be covered by copyright).
Admin
Ahh, I see you're familiar with Websphere...
Admin
"execution means for running said main game using said program code means loaded by said loading means and executing predetermined processing of reading and running of said game in accordance with said auxiliary program code means, wherein said execution means first performs said predetermined processing in accordance with said auxiliary program code means while displaying said game image on said monitor, and said loading means loads said main-game program code means for said main game in parallel with said predetermined processing, and after said predetermined processing in accordance with said auxiliary program code means has ended, said execution means then runs said main game while displaying a main-game image on said monitor, using said main-game program code means for said main game that was loaded by said loading means."
Then yes, I'd say it is the product of a deranged mind.
Admin
QFT, This comment should be blue.
Admin
Admin
Admin
Depends on if it's happy hour not, yes?
Admin
Comic genius.
Admin
Anyone remember 'Invaderload' on the old C64?....Some games that loaded via tape cassette, first loaded a spaceinvader minigame, which you could play, while the rest of the game loaded...
Admin
Is Zunesys sick today? No comment about "Invade-a-Load"?
Admin
i totally agree... especially MS products.. :D