Live data from Hacker News

What algorithm did Windows XP use to choose your initial user picture?

devblogs.microsoft.com

41–50 of 166 posts

Re: What algorithm did Windows XP use to choose your initial user picture?

#41

Earlier quoted context omitted.

because you don't know the number of images before running the code so no number to do the mod part

Why wouldn't you know that? It's a set of preloaded stock photos, it's always gonna be the same number.

> As a final safety check, the code stops after sampling 100 pictures. This avoids pathological behavior if somebody puts a million files in the Default Pictures directory

Re: What algorithm did Windows XP use to choose your initial user picture?

#42
post #8

A couple of screenshots would've been useful for the post-millennial generations that never got to see the "beauty" (cough) of XP.

XP is Microsoft's prettiest OS by far.

I like the installation music :-)

Re: What algorithm did Windows XP use to choose your initial user picture?

#43

Earlier quoted context omitted.

That's a matter of taste, but for many it was the Windows they used first and/or spend the most time on and there's a lot of love for that reason alone. I never used XP all that much, but I always changed the theme to the Windows 2000 look. I really didn't like the default, it looked unprofessional and clunky in my eyes. Upon release XP was also pretty universally mocked as a Fisher Price-like UI. To me Windows 95/NT…

Took me years to like Windows XP. Hated the new start menu. I always kept installing Windows 2000 (or ME, probably because it could use Windows 98 drivers but look like Windows 2000). I eventually got used to it and ended up liking it.

[deleted]

Re: What algorithm did Windows XP use to choose your initial user picture?

#45
post #27

Man, every post from Raymond Chen regarding Windows internals is like a little Xmas. I wonder whether he has to ask someone for permission before publishing this knowledge, though.

I also wonder what his thoughts on “modern Windows” are

His silence speaks a thousand words.

Re: What algorithm did Windows XP use to choose your initial user picture?

#47
post #8

A couple of screenshots would've been useful for the post-millennial generations that never got to see the "beauty" (cough) of XP.

XP is Microsoft's prettiest OS by far.

https://devblogs.microsoft.com/oldnewthing/20040331-00/?p=39...

>During the Luna studies, that people’s reaction to Luna was often, “Wow this would be a great UI for X,” where X was “my dad” or “my employees” or “my daughter”. People didn’t look at it as the UI for themselves; rather, they thought it was a great UI for somebody else.

(Luna is the name of the default look of Windows XP)

Re: What algorithm did Windows XP use to choose your initial user picture?

#48
post #46

>Raymond has been involved in the evolution of Windows for more than 30 years. He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

That made me chuckle too. No utility, but I did find it interesting.

Re: What algorithm did Windows XP use to choose your initial user picture?

#49

For those interested, here's the actual code Chen talks about: https://github.com/tongzx/nt5src/blob/daad8a087a4e75422ec96b...

Didn't know that NT5 source is available for the public. Why Microsoft does not ban/delete it on GitHub?
Post reply on HN