- 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
hi all, can u plz email me the codes i am also working on a flashing light project game for my installed. i need php code as soon as possible my mail id is [email protected]
Admin
Is that licensing fees and won or licensing fees++ ?
Admin
Unless it's a Microsoft installer, in which case it's, "Guess how many times the bar will go from empty to full".
Admin
Good UI design, IMO, implies correct feedback. If the machine is tied up doing something, it should tell me that - or, if I'm in a command line, it should not offer me a prompt. If I see a prompt, I want to be able to enter my next command, and if I see a desktop and a mouse cursor I want to be able to fiddle with my mouse and make something happen. (paging zuneisis: there is low-hanging fruit for you) (oh, dear, I think I just set him up twice in one post)
The problem that C-Octo is pointing to is exactly one of incorrect feedback. If the machine hasn't finished starting up, it shouldn't show me the screen that indicates it's ready for action.
Admin
I don't know, I counted three...
I don't know if it's sad or funny that we're starting to think like the little perverted douchebag...Admin
It IS ready for some action, and some people may enjoy this fact. It just isn't as responsive as others may wish.
Most OS's do exactly this when starting up. Windows/X etc start up and mouse/keyboard drivers are loaded and the user is able to do some things for the (hopefully) short amount of time while applications are still starting. I use this time to 'queue' which apps to start up as soon as Windows is ready to load things, so I prefer it this way.
Admin
Four. You forgot "low-hanging fruit"...
Admin
Here is an algorithmical way to solve it manually without much bruteforce (the bruteforce has been done by computing the "rainbow" table below). Implementing it (in anything else than wetware) is left as an exercise to the reader.
It will find a solution if there is one, but not in the minimum number of steps:
STEP 1: Start in the upper line, then when done go down to the next lines; for every square that is wrong, click the square below. That way you can solve all squares but those in the last row.
STEP 2: Look up the pattern of remaining squares in the bottom row in the list below (the obvious case that it is solved has been omitted) and click the numbered squares (counted from the left) in the TOP row given next to the pattern. If you cannot find the pattern, it is not solvable.
STEP 3: Repeat step 1 (but not step 2). After that, your puzzle will be solved.
Here is the "rainbow table" (If there are any mistakes, sorry for not having written any test cases for it g. It only shows the shortest way of solving the row):
Admin
Just for you, friend.
Admin
I didn't even have to edit this one.
Admin
Douchebag?
You know what's funny, is that the same guy who posts as this same posts under a several others, a couple of which you voice agreement with and sometimes, though rarely, even compliment for their contribution to the discussion.
Just thinking about this fact gives a stiffy, btw. Thanks, man!
Admin
One of the worst ones was Windows CE. It would go from 0 to 95% in about 2 minutes, then stick at 95% for the next hour or two (or four). Alas, they fixed it in CE6 or CE7. It still takes several hours, but at least the bar doesn't jump nearly to the end in the first few minutes of install.
Admin
You are a pervert though...
Admin
I guess you'll just have to trust him. Ha!
Admin
Admin
Well, you could ask him to post those names and if the name is used by someone else, that guy will speak up right? Of course, someone will undoubtedly fake post using those names to "disprove" the claim... Hmmmm...
Admin
Cue Mr. Inzunendo...
Admin
Where to send solution? Some email or how?
Admin
Admin
What's the subtitle of this website?
"Curious Perversions in Information Technology"
I offer curious perversions and I work in information technology. I thought I was a perfect fit.Yeah, I know, you're not slipping anything past me. Not even the sentence just before this one.
Admin
Admin
Admin
You may claim this one's a joke. Maybe it was even intended as one. But I've seen way too many times where people say--completely serious--that you can't create an accurate progress bar because of the Halting Problem.
Admin
Get wid da riddum ... a) Get into office. b) Turn on machine. c) Do all that logging in crap. d) Take coat off, make cup of coffee, get a sandwich, shag the boss, etc. e) Computer should by now have finished booting up. If not, go to john and wipe dick.
Admin
Admin
Admin
(:
captcha - "eros" ...nice...
Admin
john's the office admin, dick's the boss.
Admin
Admin
Admin
Admin
I suspect that when you hear people talk about "the Halting Problem" you are assuming they mean something that they don't...
Admin
Has zuensis changed his name to zuensys to fool akismet?
Admin
Admin
I bet you don't know the first thing about non-windows machines.
Admin
Do you honestly think that there is more then literally 2 users out there, in the whole world, using non-windows machine as their home desktop, for any purpose (excluding mac-fools who won't admit that they wasted money on that stupid piece of crap)? Unix is mostly server-OS, and I bet all of your home machines are windows 7.
Admin
Oh, Lord, murder all of these dicky wannabe programmers. Go flip burgers or something.
Admin
Admin
My instinct suggests you're a troll, especially the bit about "...mostly server-OS..." - what does this actually mean? I think you're trying to suggest that there are more servers than PC's running *nix however I'm not convinced this is even remotely true. I've worked in places where all our terminals were *nix based etc, etc, lalala. You're either naiive, stupid or just a troll....
Admin
While not specifically that game, and not even in an installer, the sample code I keep on for my portfolio is a game (which makes some sense, as I am a gameplay programmer). It's a little 2-player connect 4 game, which you can play with the keyboard (A, S, D or left, down, right). Maybe I'll add some AI to it, then you could technically use it for your installers...
Completely C++ though. If you wish to compile it you'll need an up to date version of the DirectX 9c SDK and Visual Studio 2008 Professional or better.
You can find it at http://portfolio.sg01.net/files/Connect4Code.2011.zip
Admin
A 4x4 board with exactly one square "on" is never solvable.
Admin
Wow... I got flamed by my alter ego... neat...
Admin
Sure it is. Number the cells 0,1 by 0,1. (0,0) is on. Play on (0,0), now (1,0) and (0,1) are on. Play on one of those two, then the opposite square. Done, unless I've missed something.
Admin
You have: the definition of "4".
Admin
I have: just come back from playing music. As a corollary, I have: more beer in me than is consistent with doing actual math.
My bad. I'll go drink more beer until I can do math again.
Admin
Sadly, someone patented this a long time ago. It's why game loading screens can't have a mini-game in them either.
Admin
Have fun!
http://pastebin.com/DWqT33bL
Admin
My solution program on random square 4x4 says it's solvable only in 6% cases. 5x5 - 25% 2x2, 3x3, 6x6, 7x7, 8x8 seem to be solvable always. If you have the same results, maybe we solved it right or made the same mistake ,.)
Admin
That's 2x2, not 4x4.
1 in 16, to be exact.
Admin
This program solves task from gif in this post. Then it tries to solve for 10 seconds random squares of each size 2..15
If square is of width N: #1. N times do: on the empty square click on Nth cell in the top row and do the algorithm of 'turn out each light from top to bottom' and see, which cells on bottom row remained to be on. #2. Apply algorithm 'turn out each light from top to bottom' to the initial game task and see, which cells on bottom row remained to be on. #3. Find combination of bottom row lights from stage #1, which after XOR with each other return the lights from stage #2. #4. Reset square to initial game task. #5. Click in the top row on cells, which was found by combining at stage #3. #6. Do the algorithm of 'turn out each light from top to bottom'. #7. DONE!
Here is my post about it in russian: http://nakilon.blogspot.com/2011/07/turning-lights-out.html