WTF! Chrome this time
-
Nishant Sivakumar wrote:
There is nothing WTF about that. That's the DWORD representation of the IP address. Not a bug in Chrome. All decent web browsers and HTTP clients would know how to convert a DWORD address to an IP address form.
Wow, first time I have ever heard or came across this. Why would you want such a feature though?
leppie wrote:
Wow, first time I have ever heard or came across this.
Why would you want such a feature though?Well that was the original form of the number. The dotted form is for human convenience. So I guess from those old days browsers had code to do the conversion as required.
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
-
markkuk wrote:
so where's the WTF?
No WTF then I guess, just blissful ignorance on my part ;P
leppie wrote:
No WTF then I guess, just blissful ignorance on my part ;-P
Yeah this didn't turn out to be of those awesome "leppie crashes visual studio" threads that casts you in ultimate glory! :)
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
-
leppie wrote:
No WTF then I guess, just blissful ignorance on my part ;-P
Yeah this didn't turn out to be of those awesome "leppie crashes visual studio" threads that casts you in ultimate glory! :)
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
You win some, you lose some ;P
-
Chrome does the correct conversion between decimal and dotted-quad representations[^] of the IPv4 address, so where's the WTF? :confused:
WTFEBKAC
FILETIME to time_t
| FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy -
OriginalGriff wrote:
I just tried pasting 805241 into my Chrome address bar - and it goes to a search for that number. Nothing mysterious there.
Try /805241/ . Does it on home PC too.
Doesn't surprise me:
Decimal 805241
= Hex 0C4579
= Bytes 00 0C 45 79
= IP 0. 12.073.121Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
Doesn't surprise me:
Decimal 805241
= Hex 0C4579
= Bytes 00 0C 45 79
= IP 0. 12.073.121Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
You mean you can't do decimal <=> hex conversion in your head? :omg:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
markkuk wrote:
Chrome does the correct conversion between decimal and dotted-quad representations[^] of the IPv4 address, so where's the WTF? :confused:
What I asked above, 7 minutes ago![^]
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
Wouldn't it have been easier just to type "Repost!"? :laugh:
-
Wouldn't it have been easier just to type "Repost!"? :laugh:
Marc A. Brown wrote:
Wouldn't it have been easier just to type "Repost!"? :laugh:
Programmers - doing simple things the hard way since 1965! :-D
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
-
You mean you can't do decimal <=> hex conversion in your head? :omg:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
I can up to 255 with a lot of difficulties, I just picture in my head hex-dec matrix with the first row and the first column in the matrix taking all hex digits and the decimal numbers 0-15 inside. But as I said it takes me some time.
There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.
-
TorstenH. wrote:
why are you then arguing about chrome?
Read again... Failing to understand it, notice the transformation when you copy a number and paste in chrome. The proxy is not even involved yet... Do you understand now, or do you need more layman language?
-
I can up to 255 with a lot of difficulties, I just picture in my head hex-dec matrix with the first row and the first column in the matrix taking all hex digits and the decimal numbers 0-15 inside. But as I said it takes me some time.
There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.
I have been using hex since my first computing job (a very long time ago) so it has just "stuck". Mind you, I used to add up my shopping basket in the queue in the days before barcodes, so there is probably something wrong with my brain anyway! In this case, 800000 in decimal is in the Cxxxx range in hex, and C is 12, so it kinda leapt out at me.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water