Now I have FOUR separate and distinct
python versions on my system:
python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1
Note the python version 12. Now I have FOUR separate and distinct python versions on my system:
python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1
Holy fuckin' moley! What a fuckin' clusterfuck!
What the fuckin' fuck? Who would ever need that cockamamie
load of python malarkey?
python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1
I have only one version of python, so clearly Linux can run without all
those versions.
On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
Now I have FOUR separate and distinct
python versions on my system:
python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1
I have had more than that. Very handy to be able to have multiple versions installed side by side, so I can test a library I write to ensure it works properly with a suitable range of versions.
Can you do this on M****s*ft W**d*ws? No.
This lovely morning, my lovely and incomparable
Gentoo machine automagically downloaded, configured, compiled, and installed,
all according to my strict
specifications, the following software packages:
portage
dev-ruby/reline
'=dev-lang/python-3.12.1_p1'
itstool
'=qtxml-5.15.12'
'=qtnetwork-5.15.12'
'=qtconcurrent-5.15.12'
'=linguist-tools-5.15.12:5'
qpdf
hatch-fancy-pypi-readme
'=qtgui-5.15.12'
netpbm
'=qtwidgets-5.15.12'
'=qtmultimedia-5.15.12'
'=qtopengl-5.15.12'
'=qtprintsupport-5.15.12'
'=qtsvg-5.15.12
Note the python version 12. Now I have FOUR separate and distinct python versions on my system:
python-2.7.18
python-3.8.18
python-3.11.7
python-3.12.1
Holy fuckin' moley! What a fuckin' clusterfuck!
Note also the python package: hatch-fancy-pypi-readme.
What the fuckin' fuck? Who would ever need that cockamamie
load of python malarkey?
Also, the whole friggin' QT system (or only the parts that _I_
want) was updated.
How much time was required to accomplish this highly practical
act of inimitable magic?
Shoot! I stood up to scratch my testicles and when I sat back
down is was complete.
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
Gentoo Linux. It serves only the Big Boys.
On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
Now I have FOUR separate and distinct python versions on my system:
python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1
I have had more than that. Very handy to be able to have multiple
versions installed side by side, so I can test a library I write to
ensure it works properly with a suitable range of versions.
Can you do this on M****s*ft W**d*ws? No.
I've done it for years on Windows 10 and 11 (with 2 python versions).
https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/
Apparently, the contributors to jbig2enc don't want to waste time
re-writing the code to use a new python version.
We will now create copies of the python executable and rename them
to python27 and python310. This is necessary so that system knows
the python version to run.
I lost the will to live at that point ...
On Sun, 7 Jan 2024 10:15:30 -0500, DFS wrote:
On 1/7/2024 12:44 AM, Lawrence D'Oliveiro wrote:
On Sat, 06 Jan 2024 14:08:21 +0000, Farley Flud wrote:
Now I have FOUR separate and distinct python versions on my system:
python-2.7.18 python-3.8.18 python-3.11.7 python-3.12.1
I have had more than that. Very handy to be able to have multiple
versions installed side by side, so I can test a library I write to
ensure it works properly with a suitable range of versions.
Can you do this on M****s*ft W**d*ws? No.
I've done it for years on Windows 10 and 11 (with 2 python versions).
I can see why you would have trouble with more than that.
https://www.c-sharpcorner.com/article/how-to-manage-multiple-versions-of-python-on-windows-11/
Quote:
We will now create copies of the python executable and rename them
to python27 and python310. This is necessary so that system knows
the python version to run.
I lost the will to live at that point ...
On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
Apparently, the contributors to jbig2enc don't want to waste time
re-writing the code to use a new python version.
Line 165 print(str(doc))
On 1/7/2024 2:39 PM, rbowman wrote:
On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
Apparently, the contributors to jbig2enc don't want to waste time
re-writing the code to use a new python version.
Line 165 print(str(doc))
That syntax will execute in Python 2.x and 3.x.
"print str(doc)" will execute in 2.x but not in 3.x.
3.x will throw:
SyntaxError: Missing parentheses in call to 'print'.
On Mon, 8 Jan 2024 09:08:39 -0500, DFS wrote:
On 1/7/2024 2:39 PM, rbowman wrote:
On Sun, 07 Jan 2024 12:29:26 +0000, Farley Flud wrote:
Apparently, the contributors to jbig2enc don't want to waste time
re-writing the code to use a new python version.
Line 165 print(str(doc))
That syntax will execute in Python 2.x and 3.x.
"print str(doc)" will execute in 2.x but not in 3.x.
3.x will throw:
SyntaxError: Missing parentheses in call to 'print'.
While it made the purists happy to have print be a 'real' function it certainly was a major pain in the ass. I didn't have the files to
actually run the script but the interpreter didn't complain after that
fix.
From its location, indentation, ...
and unneeded inclusion I assume it was a
leftover debug statement.
That stupid block indentation of Python drives me apeshit.
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
Python
I can't imagine having a purpose for it.
Linux is a great platform to
just write C code and compile it, can be done the same on NT, but
programmers use a lot of elaborate crap that seems irrelevant to non-
GUI, non-prefab code-dependent work.
Of course C programs generally execute an order of magnitude faster than python.
DFS <nospam@dfs.com> wrote:
But once you learn
enough python, you'll question having a purpose for C.
A bold claim.
It takes 3x to
10x as long to get something done in C as in python, and much more code.
Of course C programs generally execute an order of magnitude faster than >>python.
Neither reason means much to me. I like lower level coding.
It can be fun to get into the weeds. About 35 years ago I had a job
that involved writing MASM. The downsides were that the project leader required the CapsLock key to be on all the time (which made the comments difficult to read);
the team had the most turgid and odd way of jumping between 64k
segments, and there was so much code that there was a lot of basically duplicate code. No source-code control. And they used EDLIN, and one of
the modules was about a megabyte in size. (I eventually bought a copy
of VEDIT for myself).
... I don't find it at all tedious to use C or even
assembly.
A simple example: drawing a suitably-oriented line using Cairo
graphics in C:
x1 = scope_radius * sin(trace_width_angle);
y1 = scope_radius * cos(trace_width_angle);
cairo_line_to(ctx, x1, y1);
On Mon, 08 Jan 2024 17:37:00 -0500, Joel wrote:
... I don't find it at all tedious to use C or even
assembly.
A simple example: drawing a suitably-oriented line using Cairo
graphics in C:
x1 = scope_radius * sin(trace_width_angle);
y1 = scope_radius * cos(trace_width_angle);
cairo_line_to(ctx, x1, y1);
versus a high-level Python wrapper I wrote:
ctx.line_to(Vector(0, scope_radius).rotate(trace_width_angle))
DFS <nospam@dfs.com> wrote:
On 1/8/2024 1:13 PM, Joel wrote:
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
Python
I can't imagine having a purpose for it.
That's because you don't write computer programs.
I have, though, and I don't find it at all tedious to use C or even
assembly. Why do you think I was interested in this NG, in 2009? I've
always had an interest in the lower level operations of OSes. Even as
a Wintroll, back then, I was talking about cool aspects of Windows,
what is more properly called NT, not just the bells and whistles.
It's the same reason I think Linux is even better, it doesn't require
the commercial layers of crud of Winblows.
But once you learn
enough python, you'll question having a purpose for C.
A bold claim.
It takes 3x to
10x as long to get something done in C as in python, and much more code.
Of course C programs generally execute an order of magnitude faster than
python.
Neither reason means much to me. I like lower level coding.
C
--------------------------------------------------------------
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:
C
--------------------------------------------------------------
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
Ahahahahahahahahahahahaha! The retarded code monkey fails again!
A "word" can be delimited by a lot more than a single space.
A "word" can be delimited by double or triple spaces or n-spaces,
a tab or several tabs, by a line feed, and probably many other
possibilities.
Then there is the question of what exactly constitutes a "word."
The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
employ a lexer, like GNU flex, to rigorously define a "word,"
using strict regex conventions, as opposed to a "word delimiter."
https://github.com/westes/flex
So do it -- if you can. Ahahahahahahahahahahahahahahahaha!
Code monkeys, like you, belong only in a fucking zoo.
Code monkeys, like you, belong only in a fucking zoo.
On 1/14/2024 4:51 PM, Farley Flud wrote:
On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:
C --------------------------------------------------------------Ahahahahahahahahahahahaha! The retarded code monkey fails again!
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
A "word" can be delimited by a lot more than a single space.
Rarely.
On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:
C
--------------------------------------------------------------
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
Ahahahahahahahahahahahaha! The retarded code monkey fails again!
A "word" can be delimited by a lot more than a single space.
A "word" can be delimited by double or triple spaces or n-spaces,
a tab or several tabs, by a line feed, and probably many other
possibilities.
Then there is the question of what exactly constitutes a "word."
The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
employ a lexer, like GNU flex, to rigorously define a "word,"
using strict regex conventions, as opposed to a "word delimiter."
https://github.com/westes/flex
So do it -- if you can. Ahahahahahahahahahahahahahahahaha!
Code monkeys, like you, belong only in a fucking zoo.
Or:
https://github.com/coreutils/coreutils/blob/master/src/wc.c
https://github.com/coreutils/coreutils/blob/master/src/wc.c
On Sun, 14 Jan 2024 20:23:38 -0500, DFS wrote:
On 1/14/2024 4:51 PM, Farley Flud wrote:
On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:
C --------------------------------------------------------------Ahahahahahahahahahahahaha! The retarded code monkey fails again!
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
A "word" can be delimited by a lot more than a single space.
Rarely.
https://en.wikipedia.org/wiki/Comma-separated_values
"Comma-separated values (CSV) is a text file format that uses commas to separate values. "
On Sun, 14 Jan 2024 13:09:33 -0500, DFS wrote:
C
--------------------------------------------------------------
//count lines in a text file
-----------------------------------------------------------------//count words in a text file = count of spaces + 1
Ahahahahahahahahahahahaha! The retarded code monkey fails again!
A "word" can be delimited by a lot more than a single space.
A "word" can be delimited by double or triple spaces or n-spaces,
a tab or several tabs, by a line feed, and probably many other
possibilities.
Then there is the question of what exactly constitutes a "word."
The TRUE PROGRAMMER, as opposed to a retarded CODE MONKEY, will
employ a lexer, like GNU flex, to rigorously define a "word,"
using strict regex conventions, as opposed to a "word delimiter."
https://github.com/westes/flex
So do it -- if you can. Ahahahahahahahahahahahahahahahaha!
Code monkeys, like you, belong only in a fucking zoo.
Chris Ahlstrom wrote:
https://github.com/coreutils/coreutils/blob/master/src/wc.c
Did you know that I'm so utterly without a clue that I thought that
stuff like that doesn't need to be tested to make sure that it works correctly?
According to the shameless liar DumFSck, anyway.
I've always solved my problems by myself, using programs that I wrote
myself. I don't use other people's subroutines. Even in school, I almost never used any of the hundreds of scientific subroutines available to
us. I always did it myself. The time invested to go through someone
else's program to see if it does it correctly wasn't worth it. It was
faster that I write the program myself based on math and physics
involved. I'd review such parts quickly, then I'd find out what
numerical methods would solve them, then I'd convert the methods to
computer program.
I never programmed for others, although I made a lot of money using VBA
at work. But even there, I was doing it to make my own work easier. It
wasn't someone else's project or part of one of company's grand
programs. From begin to end, it was to make my own work easier and more accurate.
What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default, Microslop includes NOTHING. It is just a useless digital appliance that allows the user to receive personalized ads. The user can install Microslop's .NET framework but it is a junk monstrosity that is tailored
to Microslop's proprietary garbage and it ignores universal standards. Microslop is USELESS for serious personal computing.
On Tue, 16 Jan 2024 12:13:13 +0000, Farley Flud wrote:
What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default,
Microslop includes NOTHING.
It is just a useless digital appliance that
allows the user to receive personalized ads.
Every OS *must* include a compiler to allow the user to create his own software. Linux includes GCC, the GNU Compiler Collection, which can
build not only C/C++ but several other languages a well. Linux also
includes many other interpreters by default as well: Perl, Bash, Csh,
Tk/Tcl, Python, etc. Linux is a personal computing dream.
What about Microslop Winblows? Ha, ha, ha, ha, ha, ha!
By default, Microslop includes NOTHING.
It is just a useless digital appliance
that allows the user to receive personalized ads.
The user can install Microslop's .NET framework
but it is a junk monstrosity that is tailored
to Microslop's proprietary garbage and it ignores universal standards.
Microslop is USELESS for serious personal computing.
On 1/16/2024 7:13 AM, Farley Flud wrote:
Every OS *must* include a compiler to allow the user to create his own
software. Linux includes GCC, the GNU Compiler Collection, which can
build not only C/C++ but several other languages a well. Linux also
includes many other interpreters by default as well: Perl, Bash, Csh,
Tk/Tcl, Python, etc. Linux is a personal computing dream.
Linux is a piecemeal kit that includes absolutely NOTHING unless a
distro developer decides to add it.
And each distro in the Linux hobbyware bizarro world includes a
different desktop and apps and versions. So much for "standardization".
By default, Microslop includes NOTHING.
idiot
Windows 11 comes with:
SQLite
.NET 4.8
Windows Terminal
Powershell
Edge (browser) Dev Tools
Settings | System | For Developers (very lame)
Which isn't much, but anything else you need is free, in abundance and minutes away.
Windows was built for and succeeded mightily with less technical
end-users, but there was never any good reason for MS to not include at
least a minimal set of dev tools for those that wanted to dabble.
In the future it would be nice if they preinstalled at least Python,
Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent programmer's editor, like Visual Studio Code or Notepad++.
It is just a useless digital appliance
that allows the user to receive personalized ads.
It allows you to make a living.
but it is a junk monstrosity that is tailored
to Microslop's proprietary garbage and it ignores universal standards.
Good! I LOVE it when companies create their own proprietary products,
and let the market accept them or not.
What kind of control-freak shitbird would force MS to utilize only "open standards"?
Microslop is USELESS for serious personal computing.
Linux: made for developers, has the worst developers on the planet
Windows: not made for developers, has the best developers on the planet
ouch!
In the future it would be nice if they preinstalled at least Python,
Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent programmer's editor, like Visual Studio Code or Notepad++.
Nothing of use, at the very least. If your standards are very low, the
new Windows Media Player will satisfy you. As far as browsers go, Edge
is pretty good as are the bundled Office web apps. By default though and without any charge whatsoever, what Linux offers is superior in terms of utility.
DFS <nospam@dfs.com> wrote:
On 1/16/2024 7:13 AM, Farley Flud wrote:
Microslop is USELESS for serious personal computing.
Linux: made for developers, has the worst developers on the planet
Windows: not made for developers, has the best developers on the planet
ouch!
Where do you get that from? I've found Linux perfectly stable.
On 2024-01-16 9:53 a.m., rbowman wrote:
On Tue, 16 Jan 2024 12:13:13 +0000, Farley Flud wrote:
What about Microslop Winblows? Ha, ha, ha, ha, ha, ha! By default,
Microslop includes NOTHING.
I don't make it a habit to reply to Larry Pietraskiewicz, but this one
is worthwhile.
Nothing of use, at the very least. If your standards are very low, the
new Windows Media Player will satisfy you. As far as browsers go, Edge
is pretty good as are the bundled Office web apps. By default though and without any charge whatsoever, what Linux offers is superior in terms of utility.
It is just a useless digital appliance that
allows the user to receive personalized ads.
< snip >
On Tue, 16 Jan 2024 13:44:17 -0500, DFS wrote:
In the future it would be nice if they preinstalled at least Python,
Visual Studio Community Edition, Tiny C Compiler, Apache, and a decent
programmer's editor, like Visual Studio Code or Notepad++.
Except for VisualStudio and Notepad++ all are available for Linux, free,
in abundance, and minutes away. Ironic you should include TCC.
I've been using it for years. It's extremely fast and small. The
author, Fabrice Bellard, was an Obfuscated Code Contest winner.
Linux is a piecemeal kit that includes absolutely NOTHING unless a
distro developer decides to add it.
And each distro in the Linux hobbyware bizarro world includes a
different desktop and apps
and versions.
So much for "standardization".
Windows was built for and succeeded mightily with less technical
end-users, but there was never any good reason for MS to not include at
least a minimal set of dev tools for those that wanted to dabble.
Let say that Powershell is pretty recent. Microsoft tried very hard to
force people using the mouse instead of the shell.
On 19 Jan 2024 21:45:51 GMT, Stéphane CARPENTIER wrote:
Let say that Powershell is pretty recent. Microsoft tried very hard to
force people using the mouse instead of the shell.
I suppose 16 years is pretty recent on a geological time scale. Windows Script Host was optional on Windows 95 and included in Windows 98 and
above. Originally it accepted JScript* and VBScript but has been extended
to other languages. You could automate apps with an exposed COM/OLE interface. You could also script WMI (Windows Management Instrumentation) with it.
* JScript is pretty much ECMAScript with a couple of added features but Microsoft didn't want to deal with Sun. Oracle owns the trademark these
days but they haven't defended it. They'd already been sued by Sun over Visual J++. (Java).
Microsoft made the tools available. Whether people used them or even knew they existed is another matter.
Joel wrote this copyrighted missive and expects royalties:
DFS <nospam@dfs.com> wrote:
But once you learn
enough python, you'll question having a purpose for C.
A bold claim.
They each have their sweet spots. Python in fact is written in C, for example.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:17:48 |
Calls: | 6,706 |
Calls today: | 6 |
Files: | 12,236 |
Messages: | 5,350,356 |