Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.033 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'wed,': 0.12; 'wrote:': 0.15; 'apis.': 0.16; 'apps.': 0.16; 'callback': 0.16; 'disagree.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guis': 0.16; 'precedent,': 0.16; 'sucks': 0.16; 'pm,': 0.16; 'possibly': 0.16; 'executing': 0.19; 'functions,': 0.19; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'starts': 0.19; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'code': 0.24; 'parameters': 0.25; 'windows': 0.26; 'process,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'seem': 0.31; 'andrew': 0.32; 'to:addr:python-list': 0.34; 'there': 0.34; 'weird': 0.35; 'pretty': 0.35; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'week.': 0.40; 'address': 0.61; 'waiting': 0.62; 'play': 0.63; 'making': 0.66; 'with,': 0.77; 'selling': 0.78; 'historical': 0.84; 'wm_timer': 0.84; 'bald': 0.91; 'sell,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=54I8m6B6i6TfmjBj3OA51AK2V6KshImN3A9Eq2SPvPs=; b=A78e5gJvvTeQULwysFuWAyVEZPBTqGL+wthj5ooUivC2wv3539CWVEphioeSqbOfcI Dyy1A+w4BYAkDtGr6ruQ9Sjot9d0kBjtklPVK1IH4xjPVry7STk6ESxEZiVUpqaEO5xo 1oiitwK5dMq/VFNIkEw1zn+5Y8cl/Vsb9O4wk= MIME-Version: 1.0 In-Reply-To: <4E13EA4D.3040504@gmail.com> References: <1bf8cf87-b173-470a-a05e-a65616c988a0@d22g2000yqn.googlegroups.com> <41f31477-48ee-4a8a-ab2d-87073a918996@r18g2000vbs.googlegroups.com> <6dd92755-c8e9-47ef-aa08-ffffbc3d1893@5g2000yqb.googlegroups.com> <97a7q6FtqcU1@mid.individual.net> <6a9373cd-4b27-447a-8be4-db74effde338@g16g2000yqg.googlegroups.com> <61329ec7-da3e-49fe-bf25-3c179dc8cd2c@j14g2000prn.googlegroups.com> <05c559ee-983d-414b-a499-5e675e6592c7@5g2000yqb.googlegroups.com> <4e124b92$0$29967$c3e8da3$5496439d@news.astraweb.com> <4E13E0F0.20705@gmail.com> <4E13EA4D.3040504@gmail.com> Date: Wed, 6 Jul 2011 15:43:38 +1000 Subject: Re: Microsoft GUIs From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309931021 news.xs4all.nl 21847 [2001:888:2000:d::a6]:34287 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8900 On Wed, Jul 6, 2011 at 2:53 PM, Andrew Berg wrote: >> Let Microsoft play with, and sell, pretty GUIs and pretty apps. > I completely disagree. MS sucks at making GUIs. > I never said they were good at making GUIs. I said they were good at selling GUIs. Dan is right about the ugliness of the Windows APIs. There are innumerable anomalies between otherwise-similar functions, weird behaviours that may and may not have historical precedent, and enough hair-pulling fuel to turn you bald in a week. Also, and possibly more serious, the security features that Windows has mostly seem to have been monkey-patched in; and there are ridiculous vulnerabilities just waiting to be exploited. The WM_TIMER message can be sent by any process to any process, and one of its parameters is the address of a callback - and voila, other process starts executing code at that address. And this works even if the program doesn't use timers. ChrisA