|
I would like to see how it goes on base 2...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I was actually thinking about posting the entire binary sequence so people could count for themselves, but Excel only goes up to 511 in DEC2BIN.
|
|
|
|
|
Then go on to the next one:
To enter our office area, you must tap the correct four digit code on the keypad by the door.
For some strange reason, the checking is implemented as pipeline: The last four digits typed must be the correct ones. So, if the correct code is 2345 and you start typing 1234 the door won't open. Then you add the 5, and the door opens.
In other words: You have tested two 4-digit keystrokes by 5 keypresses.
Problem 1: What is the minimal number of keypresses required to go through all 10000 possible coded?
Problem 2: Describe the algorithm for generating the order of keypresses
Problem 3: Prove that this is the minimal number of keypresses
Problem 4: The average number of codes you have to try to find the right one is 5000. How many keypresses have you made before having tried 5000 codes? Does it depend on the order of these keypresses?
(Note: I do not have the answers)
|
|
|
|
|
The easy way: I made a program and the result is:
0: 192 times
1: 301 times
2...9: 300 times.
So, everyone is right
|
|
|
|
|
Interesting one . .
It's about two things - the Interval of integers under consideration and the fact that poor zero never gets to be the first (most significant) digit.
For a range of 1 to 10^n, lucky "1" gets representation in both the first AND last, so has a count of one more than all the rest other than zero.
Zero never starts an integer, so looses out greatly but does indeed benefit slightly from (n-1) representations in the last number in the series.
I don't think I have ever actually replied to anything on CP - many thanks for interesting me so much as to prompt me to do so this time!
Russ
A few are great.
I am small.
Together we are the Universe.
|
|
|
|
|
I have been surfing around and I found that SO was actually down; first a simple blank page, then an officially "We are down" page.
Their Twitter tweet was,
We are having database or network issues on Stack Overflow - investigating now. Some admins might be losing their jobs over this.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
|
Then, look for a solution, Dave and help them out.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Yeah..... no.
|
|
|
|
|
|
Yep, still works.
Maybe a regional thing? Perhaps they have mirrored sights that are not working.
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: Some admins might be losing their jobs over this.
And half the planet's work won't get done since being able to Google SO is how devs get things done these days.
Jeremy Falcon
|
|
|
|
|
Apparently they were off topic.
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: Some admins might be losing their jobs over this If they're having problems, they can always post a question on CP or S--- Oh
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
There seems to be some internet ddos crap going around today.
Someone must be mad that it's Tuesday or somthing.
|
|
|
|
|
They must be on the same server as something important, then.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Could have been an issue with their hosting service provider.
|
|
|
|
|
So one of our customers requires me to have an account in their system.
The account gives me an email @theircompany which I cannot access without VPN and I can only make VPN in a VM which does not have an email client installed.
With the account I also get access to another account which gives me access to their servers, which I need to release software.
For the past six months or so I've been logging into their systems on a weekly basis, but somewhere in December I suddenly couldn't log on anymore.
Turned out, because I failed to extend my contract, which only involved changing some value on my profile on their website, they just locked my account.
I didn't even know I had to extend my contract, last time I've made that mistake.
So, of course I emailed our contact who referred me to someone who could make a request for me to have my account restored.
Of course they sent all emails to my @theircompany account which I could not access at all without VPN which I didn't have because they blocked my account.
Took me about a week or two to get my VPN and account access back.
But then I still needed access to the server...
Long story short, I've talked to three people about it, filled out some forms, at least five people needed involvement (because I needed to get "approval" of two people), the help desk people weren't able to fix it for me, two more people got involved and almost two months later I still don't have access to their servers and six people are involved...
Who the hell comes up with these idiotic policies?
Why the hell can they close an account automatically, but is it nearly impossible to get it back?
Ah well, I'm not working for them at the moment so I'm not in a hurry and I can see the humor in it
|
|
|
|
|
Sander Rossel wrote: Who the hell comes up with these idiotic policies?
The Russians are responsible.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I just wanted to Putin my password, but it looks like they're just Stalin me.
I'm not in a hurry, but I wish they'd Russian on it.
It Marx the overall state of IT though...
At least they apologized and told me they're Tsarry for the trouble.
As long as it gets Soviet in the end, I'm happy
|
|
|
|
|
Is it your version of "five rounds, rapid"?
CALL APOGEE, SAY AARDWOLF
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"Go ahead, make my day"
|
|
|
|
|
billing for the time it takes you, I hope....
|
|
|
|
|
Of course
|
|
|
|
|
And there was me assuming you'd started spamming CP!
I was about to point you to Sugs'n'Bugs
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I'm posting on CP using my CP account about getting my CP account back?
|
|
|
|