Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacy
Date : 13. Apr 2024, 16:52:18
Autres entêtes
Organisation : None
Message-ID : <uve674$32826$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
User-Agent : slrn/1.0.3 (Linux)
vallor wrote this copyrighted missive and expects royalties:

On Fri, 12 Apr 2024 15:16:26 -0400, Chris Ahlstrom <OFeem1987@teleworm.us>
wrote in <uvc1aa$2h40t$1@dont-email.me>:
>
rbowman wrote this copyrighted missive and expects royalties:
 
On Fri, 12 Apr 2024 12:23:37 -0400, DFS wrote:
>
It's common knowledge MS used the BSD FOSS TCP/IP code, but they wrote
their own brand new implementation 16 frickin' years ago.  That's
sixteen.
>
And winsock.h  still is a little strange.
 
All windows headers are bloated monstrosities. Ya better just include
the massive universe of <windows.h> :-D
>
That doesn't sound very POSIX, but I might be biased (see domain name).
>
On the other hand, GNU code is full of IFs ANDs BUTs and MAYBEs.
 
Jesus the gettext headers and code are ... obtuse.
>
But how often do you have to go into those?  Don't you just enable
a feature macro and Bob's your uncle?

I want to parse .mo files without using the GNU API for that.
First you have to figure out what the code does. There's the rub.

Let's say you want to figure out how a function like ngettext() works.
You find two files: intl/ngettext.c and src/ngettext.c.

In the first one, #ifdef _LIBC then NGETTEXT is defiend as __ngettext,
otherwise it is defined as libintl_ngettext. Then

GETTEXT (const char *msgid1, const char *msgid2, unsigned long int n)
{
      return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES);
}

where DCNGETTEXT is defined as __dcngettext or libintl_dcngettext.

Also __ngettext is a "weak_alias" for ngettext, or maybe vice versa.

Now we look in intl/dcngettext.c and find macros similar to the above.
And then

DCNGETTEXT (const char *domainname,
        const char *msgid1, const char *msgid2, unsigned long int n,
                int category)
{
      return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category);
}

At this point I want to kick Ulrich Drepper's ass!

In dcigettext.c we find more macros and finally the dcigettext() function.
It's chock full of conditional macros, uses some lock/unlock code and
indirection galore. About 460 lines of crappily-indented code. Supported
by a number of other functions loaded with pointer arguments, including another
400+ liner.

You bet your roots toots it's tons of fun!

--
Avoid reality at all costs.

Date Sujet#  Auteur
5 Apr 24 * GNU/Linux is the Empowerment of the PC. So What Do You Do?111Farley Flud
5 Apr 24 +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Joel
5 Apr 24 +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?6Physfitfreak
6 Apr 24 i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?5Physfitfreak
6 Apr 24 i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4Physfitfreak
6 Apr 24 i  +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
6 Apr 24 i  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Farley Flud
6 Apr 24 i   `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
6 Apr 24 +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
6 Apr 24 +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1candycanearter07
6 Apr 24 +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Stéphane CARPENTIER
6 Apr 24 +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Chris Ahlstrom
6 Apr 24 `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?99vallor
6 Apr 24  +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Farley Flud
7 Apr 24  i`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Stéphane CARPENTIER
6 Apr 24  +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?95vallor
7 Apr 24  i+- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
7 Apr 24  i+- Re: 🏳️‍🌈GNU/Linux is the Empowerment of the PC. So What Do You Do?🏳️‍🌈1=?UTF-8?B?8J+MiPCfkpDwn4y78J+MuvCfjLnwn4y78J+SkPCfjLfwn4y68J+MiA==?=Jen=?UTF-8?B?8J+MiPCfkpDwn4y78J+MuvCfjLnwn4y78J+SkPCfjLfwn4y68J+MiA==?= Dershmender 💐🌻🌺🌹🌻💐🌷🌺🐶笛🌈💐🌻🌺🌹🌻💐🌷🌺🌈
7 Apr 24  i+* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?83Farley Flud
7 Apr 24  ii+* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?3Stéphane CARPENTIER
7 Apr 24  iii`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Farley Flud
7 Apr 24  iii `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Stéphane CARPENTIER
7 Apr 24  ii+* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?78Physfitfreak
7 Apr 24  iii`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?77Farley Flud
8 Apr 24  iii `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?76Physfitfreak
8 Apr 24  iii  +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?12candycanearter07
9 Apr 24  iii  i`* Re: .mp4/.mp3 files in Surround Sound.11Joel
9 Apr 24  iii  i +* Once you've heard it, nothing else will do.2Relf
9 Apr 24  iii  i i`- Re: Once you've heard it, nothing else will do.1Joel
11 Apr 24  iii  i `* Re: .mp4/.mp3 files in Surround Sound.8DFS
11 Apr 24  iii  i  `* Re: .mp4/.mp3 files in Surround Sound.7Joel
11 Apr 24  iii  i   `* Re: .mp4/.mp3 files in Surround Sound.6DFS
11 Apr 24  iii  i    +* Re: .mp4/.mp3 files in Surround Sound.3Joel
11 Apr 24  iii  i    i`* Re: .mp4/.mp3 files in Surround Sound.2Chris Ahlstrom
11 Apr 24  iii  i    i `- Re: .mp4/.mp3 files in Surround Sound.1Joel
12 Apr 24  iii  i    `* Re: .mp4/.mp3 files in Surround Sound.2rbowman
12 Apr 24  iii  i     `- Re: .mp4/.mp3 files in Surround Sound.1Chris Ahlstrom
8 Apr 24  iii  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?63Farley Flud
8 Apr 24  iii   `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?62Physfitfreak
9 Apr 24  iii    +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
9 Apr 24  iii    +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?21rbowman
9 Apr 24  iii    i+* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?7Chris Ahlstrom
9 Apr 24  iii    ii`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?6rbowman
9 Apr 24  iii    ii `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?5Chris Ahlstrom
10 Apr 24  iii    ii  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4rbowman
10 Apr 24  iii    ii   +- How much will it cost ?1Relf
10 Apr 24  iii    ii   +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1-hh
10 Apr 24  iii    ii   `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
9 Apr 24  iii    i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?13Farley Flud
9 Apr 24  iii    i +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?11candycanearter07
9 Apr 24  iii    i i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?10Farley Flud
9 Apr 24  iii    i i +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4Joel
10 Apr 24  iii    i i i+* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Farley Flud
10 Apr 24  iii    i i ii`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Joel
12 Apr 24  iii    i i i`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Stéphane CARPENTIER
10 Apr 24  iii    i i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?5candycanearter07
10 Apr 24  iii    i i  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4Diego Garcia
11 Apr 24  iii    i i   `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?3candycanearter07
11 Apr 24  iii    i i    `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Farley Flud
15 Apr 24  iii    i i     `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1candycanearter07
10 Apr 24  iii    i `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1rbowman
9 Apr 24  iii    +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
9 Apr 24  iii    +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Joel
9 Apr 24  iii    +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?36DFS
11 Apr 24  iii    i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?35-hh
11 Apr 24  iii    i +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?27vallor
11 Apr 24  iii    i i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?26rbowman
11 Apr 24  iii    i i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?25-hh
11 Apr 24  iii    i i  +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?17DFS
11 Apr 24  iii    i i  i+* Col. Sanders.2Relf
11 Apr 24  iii    i i  ii`- Re: Col. Sanders.1DFS
11 Apr 24  iii    i i  i+- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1rbowman
11 Apr 24  iii    i i  i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?13Chris Ahlstrom
11 Apr 24  iii    i i  i +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
11 Apr 24  iii    i i  i +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Joel
11 Apr 24  iii    i i  i +- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
12 Apr 24  iii    i i  i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?9Chris Ahlstrom
12 Apr 24  iii    i i  i  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?8vallor
12 Apr 24  iii    i i  i   +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?5DFS
12 Apr 24  iii    i i  i   i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4rbowman
12 Apr 24  iii    i i  i   i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?3Chris Ahlstrom
13 Apr 24  iii    i i  i   i  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2vallor
13 Apr 24  iii    i i  i   i   `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Chris Ahlstrom
12 Apr 24  iii    i i  i   `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Lester Thorpe
14 Apr 24  iii    i i  i    `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
11 Apr 24  iii    i i  `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?7rbowman
11 Apr 24  iii    i i   +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2DFS
12 Apr 24  iii    i i   i`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1rbowman
11 Apr 24  iii    i i   `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4Chris Ahlstrom
12 Apr 24  iii    i i    `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?3rbowman
12 Apr 24  iii    i i     `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2Chris Ahlstrom
14 Apr 24  iii    i i      `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
11 Apr 24  iii    i +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2rbowman
11 Apr 24  iii    i i`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1rbowman
11 Apr 24  iii    i +* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?4-hh
11 Apr 24  iii    i i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?3Physfitfreak
11 Apr 24  iii    i i `* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?2-hh
11 Apr 24  iii    i i  `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
11 Apr 24  iii    i `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS
9 Apr 24  iii    `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Physfitfreak
7 Apr 24  ii`- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1Joel
7 Apr 24  i`* Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?9Stéphane CARPENTIER
11 Apr 24  `- Re: GNU/Linux is the Empowerment of the PC. So What Do You Do?1DFS

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal