Archive for the ‘information technology’ Category

Sprint, Stumbling Backward

Tuesday, 26 April 2011

Until recently, when the subject of cellular phone service arose, my report was always that, while I'd read and heard complaints about Sprint, I'd always been satisfied with their performance. That's no longer the case.

Last year, I added a number with a wireless modem and data plan to my account. That seemed to work pretty well until a couple of billing cycles ago, when I got hit with a huge bill. Since I'd not been monitoring my use, I assumed that I'd somehow gone way over my allotment, and paid the bill. Thereäfter, I started watching my use carefully. During the present cycle, Sprint claimed that, less than half-way through the cycle, I'd already used about 9/10 of my 5 GB allotment. I dropped-back to doing nothing with that connection but text email, and an aggregate of less than a few minutes on the WWWeb. But, a couple of days later in the early morning of 23 April, when I checked my ostensible use, by way of a café WiFi LAN, I found that Sprint was claiming that I'd gone well past the remainder of the allotment. I snapped-off an angry message to them.

Then, as I continued to watch, from the café WiFi LAN, with my modem powered-off and back at home, I watched the reported use climb by about an additional 100 MB! I snapped-off another angry message, and added that it was now plain that the whalloping overage charges of a few cycles ago should be refunded.

I also posted to a Sprint forum, and within a few days learned that essentially the same problem is being reported by other users. Sprint is claiming that powered-off and detached devices are gobbling-down capacity!

On the morning of 23 April, Sprint sent me e.mail

To ensure your needs are addressed, I have forwarded your request to our Account Services department. One of our specialists will contact you within 24-48 hours.
but the promised contact has not been attempted. My own plan had been to wait until to-day or to-morrow before using other channels or beginning the process of using other institutions.

Logged-out, Locked-Out

Tuesday, 26 April 2011

FWVLIW, for the last few days, I've not been able to log-in to LiveJournal using my OpenID. I submitted a support request when it seemed that the problem would persist.

Investigation suggests that the very same problem has affected other OpenIDs at LJ, beginning at least as far back as earlier September, with access never restored once it is lost.

I am not sure, however, that this is actually a bug in the LJ code; I think that the problem might be in the interaction between my OpenID server code and the version of PHP installed by the hosting service that I use.

Until-and-unless the problem is fixed, I cannot read Friends-only entries there, nor comment where anonymous comments are disallowed.

Installing Firefox 4.0 under Red Hat Enterprise Linux 6.x

Wednesday, 23 March 2011

If you're actually trying to install another version of Firefox, then click on the Firefox tag, as there may be an entry on that other version.

Since a fair number of the hits to this 'blog are from searches as to how to install earlier versions of Firefox on earlier versions of RHEL, I'm going to infer that people are and will be surfing the WWWeb for instructions on how to install Firefox 4.0 under RHEL 6.x. Here are the steps that I recommend:

  1. Download the archive, firefox-4.0[.n].tar.bz2.
  2. The tarball contains a directory, firefox, which should be dropped-in as a sub-directory of something. If you want to ponder where, then study the FHS. As for me, as root, I put it in /opt:
    tar -xjvf firefox-4.0[.n].tar.bz2 -C /opt/
    (Omit that [.n] if it isn't in the name of the archive that you downloaded. Replace it with the actual number from the name of the archive if such a number was included.)
  3. You'll need a .desktop file for Firefox (though you may already have one). As root, edit/create /usr/share/applications/firefox.desktop, ensuring that it reads
    [Desktop Entry]
    Categories=Application;Network;X-Red-Hat-Base;
    Type=Application
    Encoding=UTF-8
    Name=Firefox
    Comment='WWW browser'
    Exec='/opt/firefox/firefox'
    Icon='/opt/firefox/icons/mozicon128.png'
    Terminal=false
    (If you didn't install in /opt, or changed the name of the firefox directory, then you'll need to change the above accordingly.)
  4. Log out and back in or restart the system (to up-date the GUI).

Whatever

Thursday, 17 March 2011
[image capture of the MiKTeX dialogue window for the end of its installation process] [detail of the previous image, showing instructions to 'click Finish', when the only buttons are labelled 'Close' and 'Cancel' (with the latter nullified)]

LyXing the Problem

Wednesday, 16 March 2011

Last night and this morning, I used Writer2LAΤΕΧ to export the notes for my principal paper-in-progress from ODT format to a LAΤΕΧ file, imported that into LyX, and then spent some time cleaning things. This was in an attempt, which looks fairly successful, to overcome the problem that I now have of OpenOffice under RHEL failing to render various mathematical characters.

The results for the formulæ are not really WYSIWYG (nor does LyX seek to offer exactly a WYSIWYG display of formulæ), but they are close enough that, as I look at them, I don't have to spend most of my time thinking about the mark-up rather than thinking about the theoretical constructs that they are supposed to represent. (In fact, I'm one of those folk who prefers to word-process with the non-printing characters represented, and I'm quite comfortable with most of the extra stuff here in the representation of formulæ.) The symbols that I want are being rendered nicely, with the notable (but not egregious) exception of a symbol for definitional equality which is presently displayed as \defeq. (It's defined in a LAΤΕΧ document preamble as \stackrel{\mathrm{def}}{=}.)

I still have to learn more of my way around LyX but, barring some unexpected remedial action on the part of OpenOffice programmers, I will probably migrate to LyX for the production of technical documents.

The Red Death

Sunday, 27 February 2011

Uhm, Firefox programmers? I have a question for you: What does this thing [enlarged image of red button with central 'x' from Navigation Toolbar] actually mean? You know, that red button with the central white x on the Navigation Toolbar. [image of red button on Navigation Toolbar] What's s'posed to happen when I click on it?

Let me explain my question. Traditionally, browsers gave me something like this [image of hexagon] It looks a lot like a stop sign, and clicking on it was a lot like stepping on a brake. The browser stopped what it was doing. That's not exactly what happens when I click on your little red-circle-with-the-eks. Now, it's as if my brakes have been redesigned by a passive-aggressive sociopath. Metaphorically speaking, the car will no longer stop before it goes into the intersection; instead, it will stop either on the other side or just in the intersection.

Really, I mean, when I'd discover that a site was trying to send me some big-ass graphic, I would use the friendly stop-sign button, and it would stop the loading of that thing. The new red button says Just a minute; let me finish loading this big-ass graphic. Or I'd click on a link, and things would churn and churn, so I'd decide to bail. With the stop-sign button, the browser just stopped, leaving me at the prior page on which the link was; with the new red button, it goes to a blank screen (and then, to back-up, Firefox demands that the server of the previous page be re-sent everything to reload the page from scratch, which might not even be directly possible).

Anyway, I'd like either to get the functionality associated with the old button restored, or at least some honest revelation of the functionality associated with this new button. It seems, well, evil.

TNX.

FavIcons, Apple Touch Icons, Site Thumbnail Images, and WordPress

Saturday, 26 February 2011

While someone somewhere has surely written a nice clean, unified explanation on associating favicons, Apple Touch icons, and site thumbnail images with WordPress 'blogs, I've not seen it; and, when it comes to supporting site thumbnail images in WordPress themes, I have seen an awful lot of discussion that is unclear, and PHP code that is inflexible, breakable, or already broken. Perhaps I'm now about to contribute to the problem, but I'm here going to make my own attempt at discussion.

[This entry was written at the suggestion of the Woman of Interest, but she's really not to blame for how it turned-out.]

FavIcons, Apple Touch Icons, and Site Thumbnail Images

First, I'll try to explain the rôles and invocations of these images without peculiar reference to WordPress or to PHP.

Working Code and How to Use It

I think that a great many people are just going to want code that they can drop into a theme, and a practical explanation of how to use that code, so I'll provide such code, with an explanation of how to use it.

PHP and WordPress Coding Issues

A few hardy or lost souls are going to want to know what motivated that code, how it actually does what it does, or what I see might be done differently. (Some of them might do a rather better job than have I.) For those readers, I have prepared a very boring discussion.

Installing OpenOffice 3.3.x under Red Hat Enterprise Linux 6.x

Friday, 11 February 2011

If you’re actually trying to install another version of OpenOffice or under a different version of RHEL, then click on the OpenOffice tag, as there may be an entry on that other version.

Because of a font-fallback problem with the combination of RHEL 6.0 and OpenOffice 3.2 or 3.3, I am considerably less happy with OpenOffice and more unhappy with Red Hat. But a fair number of the visits to this 'blog are by people looking to install OpenOffice on RHEL, so this entry updates my suggested procedure for installing OpenOffice 3.2.x under RHEL 6.x:

  1. If you don't have a JRE installed, then install one. As I write, Sun is at update 23 (while OpenOffice is at update 22), but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.3.x_Linux_x86_install_wJRE_en-US.tar.gz or OOo_3.3.x_Linux_x86-64_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO33x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO33x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run these three commands

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U
    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    rpm -U userland/*.rpm

  6. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)

Installing Haskell to Red Hat Enterprise Linux 6.x

Saturday, 27 November 2010

I don't normally draw packages from EPEL, because some of them have conflicted with packages from other repositories that I use. But packages for Haskell on RHEL can be found there, and I haven't found working .RPMs elswehere. On the assumption that one is going to use those EPEL packages, gmp-devel, which is available from RHN, must be installed. To do so, as root, enter

yum install gmp-devel

There are at least a couple of ways to fetch and install the EPEL packages for Haskell. I think that the easiest is to use yum. As root, creäte a file

/etc/yum.repos.d/epel.repo
with contents
[epel]
name=RHEL 6 - epel - $releasever - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/beta/6/$basearch/
gpgcheck=0
enabled=1
priority=1
exclude=*release
Then as root enter
yum install haskell-platform
(After that, as root I delete that .repo file
rm /etc/yum.repos.d/epel.repo
so as not to have those previously mentioned conflicts with packages from other repositories.)

Installing OpenOffice 3.2.x under Red Hat Enterprise Linux 6.x

Friday, 12 November 2010

If you’re actually trying to install another version of OpenOffice or under a different version of RHEL, then click on the OpenOffice tag, as there may be an entry on that other version.

My suggested procedure for installing OpenOffice 3.2.x under RHEL 6.x is essentially the same, mutatis mutandis, as that for installing OpenOffice 3.2.x under RHEL 5.x.:

  1. If you don't have a JRE installed, then install one. As I write, Sun is at update 22 (while OpenOffice is at update 20), but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.2.x_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO32x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO32x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You may need to log-out and back-in for the Applications menu to be up-dated and list the latest OpenOffice components. Your previous version may continue to be listed on the menu.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It may not be listed on the applications menu unless you have logged-out and back-in. Before then, you may be able to launch it from the menu by way of a listing for a previous version.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)