12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 17y ago · link · parent
Python's built-in "unittest" module is an example of that. While it's not perfect, you can quickly form good habits by using it.
And it is not limited to Python. For instance, I've written unittest-compatible classes that basically run other programs as test cases. Either way, you're forced to think about things like "how do I automatically detect that this failed?" and "is the purpose of this test clear?".
comment 17y ago · link · parent
This simply doesn't happen on Mac OS X, although a given application can still bring itself to its knees. And technically throughput per processor may be less optimal than Linux, but it's not obvious to me that this is a problem that needs solving. For one thing, firing off a bunch of compile runs with GCC on my Intel Mac is perfectly smooth, and I can still click on things; whereas, at work, I may have to go for coffee before I can click on my next E-mail message when doing a similar compile.
Apple's multi-core strategy is also among the clearest and most successful that I've seen to date. They may actually meet the challenges of interactive responsiveness and total throughput with one system design.
comment 17y ago · link · parent
Windows isn't the only revenue that counts (e.g. people may not upgrade other software either, if they haven't upgraded Windows). And revenue isn't the only effect on long-term viability. They are no doubt spending a lot to maintain Windows right now. If they gave a free upgrade to Windows 7, they could pretend Vista doesn't exist and eliminate most of its support costs; simply tell all customers that Vista will not be supported because Windows 7 is free and is compatible.
[1] http://www.guardian.co.uk/business/2009/apr/23/microsoft-rev...
comment 17y ago · link · parent
Investors can never know everything about how a company works. Despite efforts to minimize risk, there are "hit by a truck" hazards all over the place. Arguably, losing a lowly engineer with critical knowledge can do more damage than changing the CEO, but companies aren't digging up and disclosing all of those cases.
It's also important to realize that many of Steve Jobs' contributions are already sufficient: radically changing management, refocusing product lines, pushing into new markets. Apple can survive on those decisions alone. You have to believe that Steve doesn't change managers unless he's appointing someone that he trusts to do the job. In the case of Apple, I suspect that constant leadership isn't as important as a few key decisions.
Only by working at a company for a few years, can you begin to understand how that company works. Investors claim a lot more insight than they could ever have, which probably explains the volatility of the stock market.
comment 17y ago · link · parent
I suppose any reduction is good, but $10 isn't much for something purchased every few years (or simply bundled on an expensive new machine), especially when it comes from a company that could easily afford to give the OS away for free.
comment 17y ago · link · parent
E-mail is a great place to start being clear and concise. This encourages people to read everything you say, without skimming. Plus, they can always mail you back if you left out anything important.
comment 17y ago · link · parent
I assume the tabs on a story are to represent duplicates? You might want to make them more subtle or not make them at the top. When a tabbed link is shown first on the page, it looks like the entire page is tabbed, and it also makes the site confusing (e.g. is the entire site about Dinosaur comics?).
comment 17y ago · link · parent
If someone tries to prepare for every possible contingency, kids grow up under the grand illusion that not much can go wrong, and then crumble when they're faced with the smallest unanticipated problem. (Some more along these lines in this article: http://timesofindia.indiatimes.com/articleshow/861651.cms )
This is reminiscent of dumbing-down projects in software. :) Something brilliant is created, but over time the original developers move on and there is a push to make the thing maintainable by cheaply-employed people who are relatively mindless automatons. Most of what they do is memorize remedies for the common issues. Their effectiveness is therefore proportional to how predictable the problems are; should something unusual occur, they have no idea how to fix it and their effectiveness goes out the window. So imagine if you're a child, you grow up feeling basically capable of living your own life, only to be given the rudest of awakenings when unexpected things start revealing just how unprepared you really are.
comment 17y ago · link · parent
Remember that any source of information should not be implicitly trusted. [Trust me! ;) ] If an individual decides to believe Microsoft's statements without doing any further research, and downloads and permanently switches to IE8 based on lies, then it's that person's problem.
comment 17y ago · link · parent
But it certainly could be done by one user for his/herself. Safari and OmniWeb let you set default stylesheets, and Firefox will recognize one too if you create a [profile]/chrome/userContent.css file.
2627.
Always show a vertical scrollbar in Firefox, Chrome, Safari and Opera(electrictoolbox.com ↗)
4 points · by makecheck · 17y ago · 5 comments
comment 17y ago · link · parent
comment 17y ago · link · parent
HTML 5 could present everything in mostly the same way, but still be an improvement because the browser would be aware of it all.
Problems that I see only in Flash:
- Fixed-size text in a fixed-size box in the browser.
- Text that can't be selected/copied/pasted.
- Unnecessary customizations to video player interfaces.
- "Navigation" that is completely unable to interact with the rest of my browser, e.g. can't figure out what URLs things go to, or how to go back.
- Needing to go to Adobe's own web site to bring up Flash configuration panels to edit further redundancies like Flash's own cookie storage, etc.
comment 17y ago · link · parent
Are people willing to read a full page analysis, and are they willing to wait while someone dredges up the tidbits to make that page? Or, are they at least willing to do their own research? Not really, and I think that's the real point of the article. It's not that sources are necessarily bad, but that it takes time to know which are good. Ironically, the impatience that gave us instant access to information has now created so much information that it takes more time to process it all.
Twitter is just the latest example of being able to instantly talk to the world, and it feeds on everyone's impatience. News organizations know this too, that's why we have a culture of "breaking news" where all that's needed for relevance is to be the channel that brought you the story: even if there is no story yet, and you're seeing 4 hours of pontificating over a recycled video clip.
comment 17y ago · link · parent
From a software developer's point of view, a single target is most valuable. If I have to worry about the availability of APIs or libraries based on Microsoft's arbitrary bundles, it's a huge problem (not only because explaining the "problem" to customers becomes my job, but because it means Microsoft is arbitrarily limiting the size of the potential market).
If 3rd party programs all work the same no matter what version of Windows 7 is in use, it should be fine.
comment 17y ago · link · parent
While technically Python doesn't import anything twice, it still takes nonzero time to check the module registry (a dictionary lookup). So if this happens every time your functions are called, it's unnecessary work, even if it's fast.
I personally tend to do all imports in one place, with the exception of test routines: I figure that a user of a module shouldn't really "depend" on modules that are only needed in test mode, so e.g. I would do a local "import" inside a _test() function.
comment 17y ago · link · parent
I haven't seen a lot of vision in current IT groups; more like, CYA. So it may take a generation or more before enough of the establishment changes to even consider moving away from the current stack of Windows/IE-based enterprise software (the quality of which is oddly irrelevant to many managers). Either that, or a catastrophe so substantial that upper management is forced to start over with IT.
Making competing applications on other platforms is technically doable. But, unfortunately, most of the work that needs doing isn't interesting. Years have gone by, and it shouldn't be surprising that people have avoided spending their precious free time developing open-source business apps when they could do something more fun. What's more, with each passing year, the number of new enterprise apps bolting businesses to Windows is increasing (as is their data dependency on existing apps).
And then there's the transition. How do you even convince companies to change, much less address the technical hurdles (e.g. different data formats, software bugs) and the user community (different user interface, retraining costs, etc.)?
For what it's worth, I really want Windows' share to decrease, but these are big challenges. I do what I can to help. :)
comment 17y ago · link · parent
Keep in mind that the "preparation" they're doing could be as simple as scrubbing everything to make sure they don't accidentally release anything proprietary. For example, even for open-source packages, it's conceivable that they have developed some of their own internal tests that use proprietary data, and so their internal copy of the packages would contain more than they intend to release to the public.
comment 17y ago · link · parent
I'd bet that even this Put Back feature will be a poor imitation of the old one, just like everything else. Scrollable stacks that can dive into folders? Please, Mac OS 8.5's pop-up windows were brilliant, scrollable windows that could do everything else that Finder windows could do, and it doesn't even look like Stack pop-ups can be resized.
comment 17y ago · link · parent
Regardless of their terms, I think Apple is out of line to dictate how paying customers use their devices.
Part of the problem, I think, is that until Apple's iPhone OS 3.0 "pay for content" feature is available, the application and the content are merged.
I can only hope that once content can be purchased separately, Apple will loosen its restrictions on viewers.
Personally, I think society should trust people "not to buy" things they don't like, or "change the channel". This pre-screening of "offensive" material is frankly the only thing that I find offensive about Apple, YouTube, etc.