Closing down.

Posted in About this blog, Blogging and WordPress on November 8th, 2011 by Logical – Be the first to comment

I seriously doubt anybody follows this, but if you do, I’m closing this place down. The new location is a Google+ page by the same name. Assuming everything goes well, this will eventually become just a redirect to it. I don’t need or want to maintain a WordPress page anymore. WordPress requires regular updates to stay secure, and I don’t always have the time to do so.

So if for some reason you do follow this blog, time to update your bookmarks.

test

Posted in Uncategorized on June 21st, 2010 by Logical – Be the first to comment

This is a test connecting the WordPress blogging platform to Microsoft Live.

XML: 1, Microsoft: 0

Posted in Uncategorized on February 5th, 2009 by Logical – Be the first to comment

Wrestled with a Word file today. It was corrupted, and the result was that two of the XML files inside the .docx file were truncated to a zero length. They were NOT, however, the contents of the document itself: By opening the XML of the document itself, I could see very plainly that my document was intact. I had to decompress another similar document, copy over the missing XML files, and then recompress and rename all of the files back together again.

Finally my document was working again, but it felt like a pretty hollow victory – this is not something most people can do by themselves, and furthermore Word’s own document recovery was not able to perform the task of recovering my file, even though all of my data was still intact!

Only some structural stuff about the document was missing – the data was still there. Turns out that Word 2007 is pretty pathetic at recovering data, even though the XML theoretically makes it easier.

Antivirus deleting legit stuff

Posted in Computing, Technology on September 14th, 2008 by Logical – Be the first to comment

Okay, I’ve been banging my head over AVG 8 a bit. Apparently, the heuristic analysis detects a lot of legit stuff, and the virus vault cleans itself after so many days. The result? I’ve actually lost a lot of stuff over the years, and I simply can’t recover all of it. I’ve known that AVG deletes stuff, but I could always recover it from the vault.

BUT this “delete after 30 days” thing seems to be a recent addition :( . It’s killed a lot of stuff I wanted to keep!

In addition, “Web Shield” seems to slow down my Internet connection so much that it times out and makes it nearly useless.

Now I’ve disabled Heuritsic analysis, turned off the 30 day delete period, and I may just keep Web Shield disabled for now. In the meantime, I’m seriously considering switching to another antivirus vendor.

This is great!

Posted in About this blog, Blogging and WordPress on September 9th, 2008 by Logical – Be the first to comment

This is great – better registration options, some very nice plugins, and everything is working properly :-) . The spammers are completely gone as far as I can tell, especially now that I require registration to comment. Hopefully this means I can make this into an active blog again, which I haven’t really been able to do because to do so would have meant sifting through and approving comments among a lot of spam. Now I probably won’t even require approval anymore, since only registered users can create posts.

Now all I need to figure out is the next thing to blog about :-) .

Back up with major improvements :)

Posted in About this blog, Blogging and WordPress on September 6th, 2008 by Logical – Be the first to comment

After a while of having to deal with all sorts of troubles, including a lack of time, I’ve finally got around to doing some things I should have done a long time ago.

  • I’ve consolidated several of my hosting accounts into a single account and switched from monthly to yearly billing, saving me money in the long run.
  • This also means that everything is paid for, and nothing has to be ad supported anymore.
  • Frankly, GoDaddy’s ads were getting in the way of WordPress’s JavaScript, making administration difficult.
  • In addition, I’ve updated to the latest stable version of WordPress :) .

Hopefully, this will mean more frequent updates, and I hope the new WordPress is better at blocking spam. The older version was just flooded with comments waiting for approval, nearly all spam, and it made it virtually impossible to sort out the real comments from the spam. I sincerely hope this has improved.

faster vs simpler

Posted in Computing, Technology on December 24th, 2007 by Logical – Be the first to comment

One thing that kinda annoys me about a lot of other programmers is a “rule” some person names Rob Pike invented and something that I occasionally encounter in other programmers. It goes like this (quoted from a wikipedia article on Unix philosophy): “Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants.”

Quite frequently, the best algorithms are also a bit more complex – they can handle large loads easily, but at the expense of having some extra overhead when the set of data is small. This is the most apparent with sorting algorithms, where a more complex algorithm can be several orders faster than a simple algorithm for large data sets.

This violates another programming principle that I always follow: Always assume that the users will push your software to the limits. Quite frankly, assuming that n is small is a big, huge mistake. In the real world, there are always people who will put a heavy load on the software for some reason or another – and I frankly don’t want my software to break down when it is being used heavily. I want it to remain responsive and robust.

Besides – when n is small, then it doesn’t matter if you’ve for a bit more overhead! Who in the world is going to notice that your sort is slower when it’s only taking a few milliseconds to sort?

This philosophy makes no sense to me at all. Assuming n is going to be small is a very poor assumption, and when n is small, nobody is going to notice anyways. Unless you’re really being pressed by your boss to finish the project quickly, I’d say take the extra time to implement a proper algorithm that scales nicely when n gets large. Otherwise you’re going to find yourself in a lot of pain rewriting your code when your users push your algorithms to their limits – and they will, no doubt about it.

The only time it really makes sense is when you’re implementing a hybrid algorithm that detects when the data set is small and uses the simpler algorithm for the more trivial cases. But even then – profile the code to make sure the hybrid is faster, don’t just assume it is just because it’s simpler. Also profile the code to adjust the size at which it switches algorithms is optimal.

I think many developers overestimate how much overhead some of the better algorithms have. Are they more complex? Sure. Are they hundreds of times slower for small data sets? I seriously doubt it. They’re actually not that complex, and the best algorithms are actually based off of simple concepts.

eBay sale . . .

Posted in Uncategorized on December 10th, 2007 by Logical – Be the first to comment

Ok, so I try to sell something on eBay – at first things go pretty well. A potential customer contacts me, asks some questions, etc. We negotiated a lower starting price, so I start the bidding at a lower price.

In the message I tell him that if he isn’t outbid, he gets the item.

Well, guess what? He got outbid. As a favor (or so I thought), I tell him about the other bidder.

So, what does he do? He rails against me whining about how he wanted to “buy” the item at a lower price and accuses me of purposefully bidding to artificially raise the price!

Now, I understand that this could be a problem on eBay – and since I have zero reputation so far since I’m so new, I understand somebody could be suspicious.

However, it IS an auction, and nobody makes any guarantees that somebody else won’t come along and bid higher. That’s how an auction works – the sale goes to the highest bidder. Somebody outbid him and was willing to pay more for it – so that’s who it goes to. Sorry, but that’s just the economics of an auction, and that’s how eBay works. I can’t control it. Economics never guarantees that people always get the price they want.

Sooo . . . lesson learned.

- No longer am I going to remind people of new bids. I think eBay has the ability to remind them anyways.

- If somebody asks to “buy” something, I’m going to make it clear that it’s an auction, not a sale. I looked up eBay’s policy, and once an item is on eBay, it’s against their rules to take down the auction and do a separate sale anyways. If you really want to get it, outbid everybody else. If you can’t afford to outbid everybody else, then you’ll just have to live with the fact that you’re not going to get the item.

- Lowered prices are not going to happen anymore. Either accept the minimum bid or don’t buy at all. The minimum bid from now on is going to be the absolute minimum price I’ll accept, or $0.99 if I just want to sell it for any price.

65 “mistakes”- or not?

Posted in Blogging and WordPress, Technology on November 29th, 2007 by Logical – Be the first to comment

Just ran across an article claiming that Vista has 65 Mistakes. It’s an old article, but it’s worth talking about.

  1. This seems to be an issue with IE7, not with Vista itself. This problem would appear in XP as well as Vista, so it seems silly to label this as a Vista mistake.
  2. Ditto.
  3. Dunno what he’s talking about, there’s not much detail. It sounds like it’s a video card or driver issue.
  4. Ditto.
  5. Right click on Desktop -> Personalize -> Window Color and Appearance -> Open Classic Appearance . . . -> Advanced
  6. It’s a bit hidden, but it’s there.

  7. This amounts to personal taste – not really a problem with Vista itself, just an art issue.
  8. Outlook didn’t come with Vista. Vista came with Windows Mail. Outlook is a horrible email client anyways, I avoid it at all costs.
  9. Quite frankly, all it would tell you is that your system wasn’t sped up at all. ReadyBoost is more a gimmick than a real performance booster. You’d get a much larger performance gain by putting more memory on your system.
  10. Ditto.
  11. This is a misunderstanding of how ReadyBoost works. Readyboost does not add more RAM to the system! It adds to the hard drive cache, not the RAM.
  12. Personal taste, what can I say? See #5 on how he can adjust the fonts.
  13. The event viewer’s job is to view events. Not to tell him how Vista is performing. Performance info is found in Control Panel -> Performance Information and Tools, and more information including some system resource information is found in Control Panel -> Administrative Tools -> Reliability and Performance monitor. He didn’t look too hard.
  14. Sounds like a Beta 2 bug that was eventually fixed when Vista went to RTM.
  15. Dunno, but they’re not really in the business of improving every little toy that comes with the OS – I’d rather they focus on real problems with the OS. Besides, I don’t like the alternate skin, and it doesn’t fit with the Aero theme – although the conversion functionality is nice. I will say this, however: They really need to update Power Toys to work in Vista.
  16. Try “Display settings” instead of “Windows Color and Appearance” – and I don’t have dual monitors, so I really can’t say much else.
  17. You love it – and it’s a “mistake”?
  18. This is a design issue – yes, better consistency would help.
  19. Don’t have mobility center on my system.
  20. Ditto.
  21. Sounds like a Beta 2 bug – and Notepad and Explorer are so different graphically it’s very difficult to figure out what he’s talking about.
  22. Again, don’t have mobility.
  23. Because they rewrote the sound system in Vista from scratch, and implemented a stupid DRM thing that intentionally makes recording more difficult. I would agree this is a problem. Although I must admit that the per-application volumes are nice :) .
  24. Sounds like a Beta 2 bug that was fixed upon RTM.
  25. See #23, even the command prompt has an Aero border now.
  26. See #23
  27. See #23
  28. Try the drop down arrows. Also, if you click on an empty part of it, you get an editable path. Very convenient, although I still wish it were a bit easier to reach stuff on the left. The dialog box should be resizeable, and that will adjust the size of the breadcrumb.
  29. See #23
  30. Apparently not. Not a major bug, though, and Process Explorer from Sysinternals is free and far superior.
  31. Get Process Explorer from Sysinternals. It’s free.
  32. Try editing autorun.inf or Desktop.ini – no need to wade through the registry to change icons on removable media. This would happen in XP as well, so this is not a Vista specific problem.
  33. Because you decreased your security. Shame on you. If you insist on running with sub-secure settings, click “Change the way Security Center alerts me.” I do not recommend turning the security center off. Ever. I don’t care who you are.
  34. See #23
  35. Agreed.
  36. There is no “System Settings” in Power Options anymore, and the scroll bar issues were fixed. See #23.
  37. Dunno, they still exist in RTM.
  38. Scroll bar issues were fixed, see #23. BTW, it was renamed to “Reliability and Performance monitor” in RTM.
  39. See #23
  40. See #23
  41. Never liked the sidebar. Turned it off after a week of playing with it. Besides, it uses its own system for widgets that doesn’t integrate well with the rest of Windows.
  42. See #23
  43. A pause button I can see – but what would a slider control do?
  44. See #23
  45. I don’t have any empty folders to test with, and I’m too lazy to create one, but I assume that it’s a beta issue.
  46. See #23
  47. See #23 – it appears they’ve adjusted it to be more consistent in RTM.
  48. The size of the icons and previews are now adjustable, and the previews resize with the icons. Appears to be fixed in RTM.
  49. This has been changed so that the “All Programs” has smaller font and icon sizes – this is really a matter of fitting more items into the “All Programs” view. When you’re a power user like me, that list of programs gets pretty long, and believe me I like to see more at a time. The biggest beef I have with Vista’s new start menu is that it’s forced to be one size – I’d prefer to be able to resize it so I can get the most out of it on my high resolution monitor.
  50. See #23
  51. I’m seeing a whole lot of stuff that has been fixed in RTM, so Microsoft has done a good job fixing it before they released Vista. BTW, there are different people working on what’s underneath, so it’s pretty unfair to judge Vista based on poor art. Remember that Microsoft is a huge organization, so there are different people working on the GUI and on the internals.
  52. See #23
  53. Not using a laptop, so no battery icon – but I’m guessing see #23
  54. Because the Internet Explorer team – excuse my language – sucks.
  55. Wording changed in RTM. BTW, the “index” is a place where extra information is stored so that Vista can search faster.
  56. It opens up the default browser with the default browser’s default search engine.
  57. Okay, so there are still some UI inconsistencies. But Outlook is horrid. Don’t use it. If you want seamless integration, use Windows Mail.
  58. Because Windows Live is new, unfinished, and oh, yeah – it’s an Internet application.
  59. Advanced options are now hidden in RTM.
  60. Apparently, it was redesigned before RTM. I don’t see such an option.
  61. A nice suggestion, but I don’t remember being able to do this in any other version of Windows and sadly it fell on deaf ears.
  62. See #59
  63. Dunno. Not a major issue, though.
  64. See #23 – it collapses stuff when I resize it. And Outlook is still horrible.
  65. Well, you can always change back to the “classic” theme and adjust all of your colors there, at the expense of not having Aero anymore. Or you can get Windows Blinds from Stardock if you want complete control over the theme. Unfortunately, themes are something Microsoft largely ignores.
  66. See #23
  67. See #23 – now it’s a folder with a star. I guess they’re trying to make that star the universal symbol of favorites.
  68. I dunno. It’s been something that we’d like to have since Windows 95. It would be nice, but unfortunately it appears we won’t be seeing such a thing any time soon.

So – why am I harping on an old beta article? Because somebody bought it up in another forum just to thrash at Vista. Unfortunately that list is from a beta version of Vista, and the vast majority of stuff in this particular list was fixed long ago. It seems that people who dislike Vista will do anything to make it look like a horrible OS.

Spam.

Posted in Controversial issues, Technology on November 1st, 2007 by Logical – Be the first to comment

I’ve been looking into the problem of spam, which seems to be as prevalent as ever. Seems to me that people are trying to create a lot of non-solutions for it, and we’re just stuck with “solutions” that at best reduce it a bit and at worst don’t do anything at all.

Non-solutions:

-Blocking port 25. Getting around a port block is Networking 101. It’s easy, practically trivial. In addition, this also blocks legitimate connections – people who don’t use their ISP’s email often use SMTP to send messages via their own domain name service.

-Telling ISPs to fix their own stuff. While this can ensure that a good ISP is not a spam source, this does nothing about the person who has a bad ISP. It’s well known that many major ISPs are irresponsible and do nothing about spam. We need a solution where the user can control his/her email without having to rely on the ISP. We cannot rely on our ISPs to fix our solution for us.

-Blacklists. They need to be constantly updated, and spammers are constantly changing addresses and using zombie machines. This is a very reactive solution, and guarantees that some spam will get through before the blacklist is updated. This is all the spammer needs. We need more proactive solutions.

-Waiting for other people to implement the solution first. This just leads to everybody waiting and nothing happening.

-Pretending user authentication isn’t important or is ineffective. One of the biggest problems of spam is that it can be hard to identify legitimate users. As long as that continues to be the case, the spammers will just keep pretending to be somebody they’re not and get though spam filters. Positively identifying good people is every bit, if not a whole lot more, important than identifying bad people.

-Creating closed solutions covered with IP protection. All this does is to create a niche market and does not solve the problem on a wide scale. If the solution is to be adopted widely, the protocols must be open and free from patents.

We need to quit burying our heads in the sand with passive “solutions” that do not work and start using more proactive solutions that do work.