pigfoot’s weblog

We should forget about small efficiencies — Donald Knuth

Archive for August, 2006

Key Porting Differences from LinuxThreads to NPTL, from OSNews.

The LinuxThreads project originally brought multithreading to Linux, but didn’t conform to POSIX threading standards.

The introduction of Native POSIX Thread Library (NPTL) however, overcame many of these disadvantages.

This article describes some of the differences between these two Linux threading models for developers who may need to port their applications or who simply want to understand where the differences lie.

Popularity: 8% [?]

  • 0 Comments
  • Filed under: Develop
  • What’s New

    Mozilla Firefox 1.5.0.6 Release en_US (20060805)

    Mozilla Firefox 1.5.0.6 Release zh_TW (20060805)

    Mozilla Firefox 1.5.0.6 Release zh_CN (20060805)

    Mozilla Firefox 1.5.0.6 Release ja (20060805)

    Mozilla Firefox 1.5.0.6 Release de (20060805)

    Mozilla Firefox 1.5.0.6 Release hu (20060806)

    Mozilla Firefox 1.5.0.6 Release nl (20060806)

    1. my vs7.1-release patch
    2. my tweaks profile patch
    3. Adobe Flash Player (9.0.16.0)
    4. Used branding artwork by JairoB
    5. UAO of zh_TW.Big5 Unicode Fix
    6. P0/P1/P2/P3 all build with VC7.1
    7. P0 build build with /GAL7 arch:SSE and mmoy’s SSE patches, for Athlon XP, and Duron 1.1 GHz+
    8. P1 build build with /GAL6 and mmoy’s MMX patches, for Generic CPU
    9. P2 build build with /GAL6 arch:SSE and mmoy’s SSE patches, for Pentium III ,Celeron 500+
    10. P3 build build with /GAL7 arch:SSE2 and mmoy’s SSE2 patches, for AMD Athlon 64, AMD Sempron, Pentium 4, Pentium M, and Celeron 1.7 GHz+

    Popularity: 11% [?]

  • 5 Comments
  • Filed under: Gecko, IT
  • [FX/TB] Win32 Branch build

    Mozilla Firefox 2.0b1 Branch builds (20060802)

    Sepecial Check-in

    • Firefox 2.0 Beta 1 Branch
    • Bug 330895, set extensions.checkCompatibility as false instead of app.extensions.version.

    Known Issues

    • Bug 346308, CPU Spikes to 100%, Bon Echo Hangs [@ nsTextNode::Release] [@ nsRange::OwnerChildRemoved]
    • Bug 346316, Focus leaves address bar shortly after loading
    1. checkout finish: Wed Aug 2 01:11:31 PDT (UTC -0700) 2006
    2. All Chech-in, FX Chech-in from last build
    3. my vs7.1-BonEcho patch
    4. my tweaks profile patch
    5. Adobe Flash Player (9.0.16.0)
    6. Used branding artwork by JairoB
    7. UAO of zh_TW.Big5 Unicode Fix
    8. P0/P1/P2/P3 all build with VC7.1
    9. P0 build build with /GAL7 arch:SSE and mmoy’s SSE patches, for Athlon XP, and Duron 1.1 GHz+
    10. P1 build build with /GAL6 and mmoy’s MMX patches, for Generic CPU
    11. P2 build build with /GAL6 arch:SSE and mmoy’s SSE patches, for Pentium III ,Celeron 500+
    12. P3 build build with /GAL7 arch:SSE2 and mmoy’s SSE2 patches, for AMD Athlon 64, AMD Sempron, Pentium 4, Pentium M, and Celeron 1.7 GHz+

    Popularity: 7% [?]

  • 9 Comments
  • Filed under: Gecko, IT
  • If you try to re-build kernel in RHEL 4, but encounter this error message:

    [/usr/src/kernels/2.6.9-34.0.2.EL-i686]# make bzImage
    CHK include/linux/version.h
    CHK include/asm-i386/asm_offsets.h
    UPD include/asm-i386/asm_offsets.h
    /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory
    mv: cannot stat `include/asm-i386/asm_offsets.h.tmp’: No such file or directory
    make: *** [include/asm-i386/asm_offsets.h] Error 1

    This is because RHEL4 doesn’t install kernel source package by default, but install a package including minimum kernel header and source file (kernel-devel-$(uname -r).i686.rpm).

    This package provides kernel headers and makefiles sufficient to build modules against the kernel package. Hence it cannot be used to build kernel source.

    To re-build kernel, please to see the “kernel” section in the release-notes in RHEL 4.

    In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel’s .src.rpm file, Red Hat Enterprise Linux 4 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel.src.rpm file.

    To create an exploded source tree from this file, perform the following steps:

    1. Obtain the kernel-$(uname -r).src.rpm file from one of the following sources:
      • The SRPMS directory on the appropriate “SRPMS” CD iso image
      • By running the following command:
        up2date –get-source kernel
    2. Install kernel-$(uname -r).src.rpm
      rpm -Uvh /var/spool/up2date/kernel-$(uname -r).src.rpm (if kernel.src.rpm is gained by up2date)
    3. Change directory to /usr/src/redhat/SPECS/
    4. rpmbuild -bp –target=$(uname -m) kernel-2.6.spec
    5. Issue the following command:
      make oldconfig

    You can then proceed as usual.

    Popularity: 36% [?]

  • 1 Comment
  • Filed under: IT, Linux, RedHat, Unix
  • Changes to IDN in IE7 to now allow mixing of scripts, from IEBlog.

    IE7 added support for IDN in Beta 2, and implemented a nice approach to accommodate the IDN spoofing as well.

    If a user navigates to an IDN URL and if the scripts that are present in the URL are not part of the user’s configured Accept language, IE7 will convert the URL into Punycode and display it in the address bar.

    IE7 also displays the information bar saying that the website address contains characters which cannot be displayed using the current language settings.

    Consider the following example where a URL label contains Hang and ASCII (website for LG Korea). IE will now display this URL in Unicode for a user who has added Korean language support, since the non-ASCII script belongs to the Korean language set.

    This is really a pretty user experience! Good Job, IE Team!

    Popularity: 34% [?]

  • 2 Comments
  • Filed under: IT, Microsoft