Re: Baby X is bor nagain

Liste des GroupesRevenir à cl c  
Sujet : Re: Baby X is bor nagain
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.c
Date : 20. Jun 2024, 08:55:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v50n9s$2fkko$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 21 22 23
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 19/06/2024 22:42, Malcolm McLean wrote:
On 19/06/2024 18:49, David Brown wrote:
On 19/06/2024 18:52, Malcolm McLean wrote:
>
Yes, but that's not quite what we want. A typical input would go.
>
It's extremely hard to guess what you want (not "we", but "you" - no one else wants this kind of thing) when you have bizarre requirements and only give bits of them.  So modifying the Python code is left as an exercise if you are interested, especially as it is off-topic.
>
This was a work project, so "we". I would never set up such a system. But we hasd light-themed and dark-themed icons and they hsd to be arranged just so so that the program would find them and show the right theme. And as you can imagine, it was a nuisance to we programmers to set up the resource scripts so that eveything was right.
 So why not get Python to do the job? But there wasn't much enthusiasm. So, despite not knowing Python, I decided to have a go, and I got a sorted list of icons quite easily, and it looked promising. But now the special requirement for a little deviation from alphabetical sort. And I couldn't work out how to do that.
 And it wasn't what I was supposed to be doing or paid to do. We used to have a weekly meeting where we discussed work done. If I said "oh, and I spent an afternoon knocking up this little Python script to help get those resource files together", then that's OK. If I say that was my main focus for the week, no, and if I say I spent substantial time on it and it didn't even work - well that really wouldn't go down well.
So I had to abandon it once it became clear that it would take many hours of trawling through docs and online tips to try to work out a way. And no-one has posted a solution here. And, whilst there will be a way, I suspect that it just doesn't use the mainstream langage facilities. I suspect that Python isn't really a programming language - a language designed to make it easy to apply arbitrary transforms to data - it's a scripting language - a language designed to make it easy to call pre-existings code to do the things it is designed to do.
 But maybe I'm unfair.
 
It's not so much that you are being unfair, it is that you are arguing from a position of almost total ignorance.  It's fine to say you know little about Python and can't comment much on it.  It is /not/ fine to say (and demonstrate) that you know almost nothing about a language and then make wild claims about what it can and cannot do.
This is not a Python group, so I have not bothered writing code for your weird requirements.  Suffice it to say that it would not be hard, and it would use "mainstream language facilities" (I take that to mean the language and its standard libraries, rather than third-party tools).
Yes, Python is a "programming language" by any reasonable definition of that term.  (It is /also/ useful as a scripting language - languages can be suitable for more than one task.)  Yes, it is designed to make it easy to "apply arbitrary transforms to data" - it is usually very much easier to do this than in C, at the cost of less efficient run-time performance.  And no language has pre-existing code or standard functions to handle your highly unusual sorting requirements - such things always need their own code.
You've made it clear you know nothing about the language.  Fair enough - we all know almost nothing about almost all programming languages.  But trust someone who does.

Date Sujet#  Auteur
12 Jun 24 * Re: Baby X is bor nagain314Bonita Montero
12 Jun 24 +* Re: Baby X is bor nagain311David Brown
12 Jun 24 i+* Re: Baby X is bor nagain2Malcolm McLean
12 Jun 24 ii`- Re: Baby X is bor nagain1David Brown
12 Jun 24 i+- Re: Baby X is bor nagain1Bonita Montero
12 Jun 24 i`* Re: Baby X is bor nagain307bart
12 Jun 24 i +* Re: Baby X is bor nagain4Bonita Montero
12 Jun 24 i i`* Re: Baby X is bor nagain3bart
12 Jun 24 i i `* Re: Baby X is bor nagain2Bonita Montero
12 Jun 24 i i  `- Re: Baby X is bor nagain1bart
12 Jun 24 i `* Re: Baby X is bor nagain302David Brown
12 Jun 24 i  `* Re: Baby X is bor nagain301Michael S
12 Jun 24 i   +- Re: Baby X is bor nagain1Malcolm McLean
13 Jun 24 i   `* Re: Baby X is bor nagain299David Brown
13 Jun 24 i    +* Re: Baby X is bor nagain5bart
13 Jun 24 i    i+* Re: Baby X is bor nagain3tTh
13 Jun 24 i    ii`* Re: Baby X is bor nagain2bart
14 Jun 24 i    ii `- Re: Baby X is bor nagain1Bonita Montero
13 Jun 24 i    i`- Re: Baby X is bor nagain1Michael S
13 Jun 24 i    `* Re: Baby X is bor nagain293Michael S
14 Jun 24 i     +* Re: Baby X is bor nagain3David Brown
14 Jun 24 i     i`* Re: Baby X is bor nagain2bart
15 Jun 24 i     i `- Re: Baby X is bor nagain1David Brown
17 Jun 24 i     `* Re: Baby X is bor nagain289James Kuyper
17 Jun 24 i      +* Re: Baby X is bor nagain86Kaz Kylheku
17 Jun 24 i      i+- Are Javascript and Python similarly slow ? (Was: Baby X is bor nagain)1Michael S
17 Jun 24 i      i+* Re: Baby X is bor nagain2Michael S
18 Jun 24 i      ii`- Re: Baby X is bor nagain1Tim Rentsch
17 Jun 24 i      i+* Re: Baby X is bor nagain80David Brown
18 Jun 24 i      ii`* Re: Baby X is bor nagain79Michael S
18 Jun 24 i      ii `* Re: Baby X is bor nagain78David Brown
18 Jun 24 i      ii  +* Re: Baby X is bor nagain7bart
18 Jun 24 i      ii  i`* Re: Baby X is bor nagain6David Brown
18 Jun 24 i      ii  i +* Re: Baby X is bor nagain2bart
18 Jun 24 i      ii  i i`- Re: Baby X is bor nagain1David Brown
18 Jun 24 i      ii  i `* Re: Baby X is bor nagain3DFS
18 Jun 24 i      ii  i  `* Re: Baby X is bor nagain2Mark Bourne
18 Jun 24 i      ii  i   `- Re: Baby X is bor nagain1DFS
18 Jun 24 i      ii  +* Re: Baby X is bor nagain3Malcolm McLean
18 Jun 24 i      ii  i+- Re: Baby X is bor nagain1David Brown
18 Jun 24 i      ii  i`- Re: Baby X is bor nagain1Mark Bourne
18 Jun 24 i      ii  `* Re: Baby X is bor nagain67Michael S
18 Jun 24 i      ii   +* Re: Baby X is bor nagain65Malcolm McLean
18 Jun 24 i      ii   i+* Re: Baby X is bor nagain59Keith Thompson
19 Jun 24 i      ii   ii`* Re: Baby X is bor nagain58Malcolm McLean
19 Jun 24 i      ii   ii +* Re: Baby X is bor nagain56David Brown
19 Jun 24 i      ii   ii i`* Re: Baby X is bor nagain55Malcolm McLean
19 Jun 24 i      ii   ii i `* Re: Baby X is bor nagain54David Brown
19 Jun 24 i      ii   ii i  `* Re: Baby X is bor nagain53Malcolm McLean
19 Jun 24 i      ii   ii i   +* Re: Baby X is bor nagain10bart
20 Jun 24 i      ii   ii i   i`* Re: Baby X is bor nagain9David Brown
20 Jun 24 i      ii   ii i   i `* Re: Baby X is bor nagain8bart
20 Jun 24 i      ii   ii i   i  `* Re: Baby X is bor nagain7David Brown
20 Jun 24 i      ii   ii i   i   `* Re: Baby X is bor nagain6bart
20 Jun 24 i      ii   ii i   i    +* Re: Baby X is bor nagain2Michael S
20 Jun 24 i      ii   ii i   i    i`- Re: Baby X is bor nagain1bart
20 Jun 24 i      ii   ii i   i    `* Re: Baby X is bor nagain3David Brown
20 Jun 24 i      ii   ii i   i     `* Re: Baby X is bor nagain2bart
21 Jun 24 i      ii   ii i   i      `- Re: Baby X is bor nagain1David Brown
20 Jun 24 i      ii   ii i   `* Re: Baby X is bor nagain42David Brown
20 Jun 24 i      ii   ii i    `* Re: Baby X is bor nagain41Malcolm McLean
20 Jun 24 i      ii   ii i     +- Re: Baby X is bor nagain1David Brown
20 Jun 24 i      ii   ii i     `* Re: Baby X is bor nagain39Ben Bacarisse
20 Jun 24 i      ii   ii i      +* Re: Baby X is bor nagain2Malcolm McLean
20 Jun 24 i      ii   ii i      i`- Re: Baby X is bor nagain1Ben Bacarisse
20 Jun 24 i      ii   ii i      +* Re: Baby X is bor nagain9Tim Rentsch
20 Jun 24 i      ii   ii i      i`* Re: Baby X is bor nagain8Malcolm McLean
20 Jun 24 i      ii   ii i      i +* Re: Baby X is bor nagain2James Kuyper
20 Jun 24 i      ii   ii i      i i`- Re: Baby X is bor nagain1Keith Thompson
20 Jun 24 i      ii   ii i      i +- Re: Baby X is bor nagain1Vir Campestris
20 Jun 24 i      ii   ii i      i +* Re: Baby X is bor nagain2Keith Thompson
20 Jun 24 i      ii   ii i      i i`- Re: Baby X is bor nagain1vallor
21 Jun 24 i      ii   ii i      i +- Re: Baby X is bor nagain1Tim Rentsch
21 Jun 24 i      ii   ii i      i `- Re: Baby X is bor nagain1David Brown
20 Jun 24 i      ii   ii i      `* Re: Baby X is bor nagain27Keith Thompson
20 Jun 24 i      ii   ii i       `* Re: Baby X is bor nagain26Ben Bacarisse
20 Jun 24 i      ii   ii i        +* Re: Baby X is bor nagain2Michael S
21 Jun 24 i      ii   ii i        i`- Re: Baby X is bor nagain1Ben Bacarisse
20 Jun 24 i      ii   ii i        +- Re: Baby X is bor nagain1Keith Thompson
21 Jun 24 i      ii   ii i        +* Re: Baby X is bor nagain2James Kuyper
21 Jun 24 i      ii   ii i        i`- Re: Baby X is bor nagain1Keith Thompson
22 Jun 24 i      ii   ii i        `* Re: Baby X is bor nagain20Tim Rentsch
23 Jun 24 i      ii   ii i         `* Re: Baby X is bor nagain19Ben Bacarisse
23 Jun 24 i      ii   ii i          +* Re: Baby X is bor nagain9James Kuyper
23 Jun 24 i      ii   ii i          i`* Re: Baby X is bor nagain8Tim Rentsch
23 Jun 24 i      ii   ii i          i +* Re: Baby X is bor nagain4Ben Bacarisse
24 Jun 24 i      ii   ii i          i i`* Re: Baby X is bor nagain3Tim Rentsch
25 Jun 24 i      ii   ii i          i i `* Re: Baby X is bor nagain2Ben Bacarisse
25 Jun 24 i      ii   ii i          i i  `- Re: Baby X is bor nagain1Tim Rentsch
24 Jun 24 i      ii   ii i          i `* Re: Baby X is bor nagain3Keith Thompson
24 Jun 24 i      ii   ii i          i  `* Re: Baby X is bor nagain2Tim Rentsch
24 Jun 24 i      ii   ii i          i   `- Re: Baby X is bor nagain1Keith Thompson
23 Jun 24 i      ii   ii i          `* Re: Baby X is bor nagain9Tim Rentsch
23 Jun 24 i      ii   ii i           +* Re: Baby X is bor nagain2Malcolm McLean
24 Jun 24 i      ii   ii i           i`- Re: Baby X is bor nagain1Tim Rentsch
23 Jun 24 i      ii   ii i           `* Re: Baby X is bor nagain6Ben Bacarisse
24 Jun 24 i      ii   ii i            `* Re: Baby X is bor nagain5Tim Rentsch
25 Jun 24 i      ii   ii i             `* Re: Baby X is bor nagain4Ben Bacarisse
26 Jun 24 i      ii   ii i              `* Re: Baby X is bor nagain3Tim Rentsch
26 Jun 24 i      ii   ii i               `* Re: Baby X is bor nagain2Ben Bacarisse
27 Jun 24 i      ii   ii i                `- Re: Baby X is bor nagain1Tim Rentsch
19 Jun 24 i      ii   ii `- Re: Baby X is bor nagain1Keith Thompson
19 Jun 24 i      ii   i`* Re: Baby X is bor nagain5David Brown
19 Jun 24 i      ii   `- Re: Baby X is bor nagain1David Brown
18 Jun 24 i      i+- Re: Baby X is bor nagain1James Kuyper
20 Jun 24 i      i`- Re: Baby X is bor nagain1Vir Campestris
17 Jun 24 i      +* Re: Baby X is bor nagain199bart
17 Jun 24 i      `* Re: Baby X is bor nagain3Malcolm McLean
12 Jun 24 `* Topicality is not your strong suit (Was: Baby X is bor nagain)2Kenny McCormack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal