LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-16-2019, 03:34 PM   #136
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413

It's just the build system we're talking about. It's got nothing to do with the "browser experience". My system is going to have everything I need to compile the software that I use. What do I care if I have autoconf-2.13 (program suffix so it can coexist)? Python2 can coexist with Python 3 as well. I will keep it around for as long as I need to, I don't give a toss about ideals of correctness.

I use Firefox on my mobile devices too. I hate Chrome on Android, because it doesn't respect my choices. For example, it insists on loading the last session and there's no setting to override that behaviour. I don't ever want that, it's a nuisance and opens the door to tomfoolery. It also doesn't support extensions like Ublock Origin, like mobile Firefox does. If other users knew what they could have, they might seek it out too but no... things like Chrome and/or vendor supplied software like "Samsung Internet Browser" and its ilk, are thrust in their faces. They can't even be removed on a typical consumer (non rooted) device.
 
Old 09-16-2019, 06:10 PM   #137
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I've been thinking more on this and have partly changed my opinion, to agree with putting Python2 in /pasture. As long as it's there, and the package does the right thing (doesn't step on the Python 3 environment). I didn't strongly disagree with that. The reason I think I was wrong to want to keep it in the distro is because it's unreasonable to expect Pat to maintain it, after it is deprecated during the maintenance cycle of Slackware 15 (as was pretty much said by someone) and pasture is kind of like use at your own risk for as long as it still works for you. Python2's use cases are likely to be pretty rare after that point anyway. I'm sure even Mozilla will bite the bullet and upgrade their build toolchain environment, though I don't envy them the task.
 
Old 09-17-2019, 04:15 AM   #138
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by TheRealGrogan View Post
I'm sure even Mozilla will bite the bullet and upgrade their build toolchain environment, though I don't envy them the task.
They made their own bed..
 
Old 09-17-2019, 10:48 AM   #139
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by TheRealGrogan View Post
It's just the build system we're talking about. It's got nothing to do with the "browser experience". My system is going to have everything I need to compile the software that I use. What do I care if I have autoconf-2.13 (program suffix so it can coexist)? Python2 can coexist with Python 3 as well. I will keep it around for as long as I need to, I don't give a toss about ideals of correctness.
I agree that it in these cases, it doesn't really cause a problem to coexist, but the fact we have to do that with a major open source program like Firefox is pretty ridiculous. They're forward in some cases, requiring Pat to include rust in 14.2 to be able to build a newer version of Firefox, but then we're still stuck with an ancient version of autoconf, requiring everyone to make special arrangements to build Firefox. Unless they port over to python3, people are going to have to make those same special arrangements for python (I imagine some distros are already making those arrangements since they've moved to python3).

Quote:
Originally Posted by TheRealGrogan View Post
I use Firefox on my mobile devices too. I hate Chrome on Android, because it doesn't respect my choices. For example, it insists on loading the last session and there's no setting to override that behaviour. I don't ever want that, it's a nuisance and opens the door to tomfoolery. It also doesn't support extensions like Ublock Origin, like mobile Firefox does. If other users knew what they could have, they might seek it out too but no... things like Chrome and/or vendor supplied software like "Samsung Internet Browser" and its ilk, are thrust in their faces. They can't even be removed on a typical consumer (non rooted) device.
And this just goes to show that there is no one-design-fits-all. I prefer Chrome to keep my tabs active and only close them out when I choose to close them out. I would love to have extension support, but Firefox's UI kept me from using it (plus AdAway works fine for system-wide blocking). I tried using Firefox for over 2 weeks, just to see if I could get used to it, but I constantly hated it. Maybe there's a way to tweak it, but when I last researched it, I couldn't find anything.
 
Old 09-17-2019, 02:26 PM   #140
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Mobile Firefox is a slower renderer than Chrome, but I find Ublock Origin more than makes up for that. Note that I don't use mobile versions of pages, I have "request desktop version" enabled and I manage to navigate OK by pinch zooming. So blocking crap really helps me.

One of these days I'm going to try the new Mobile Vivaldi, as I'm sure it will give me a preference on how I want the browser to load. I loved the Vivaldi browser on Linux, but phased out its use because it's binary, and I'll be left with no recourse when the binary stops working due to system changes. ALREADY, if the linker finds the nss/nspr in my /opt/firefox the Vivaldi binaries are broken (using the system's, from Slackware's mozilla-nss package is still good). Also, Firefox has gotten close in real world performance nowadays (practically so, benchmark scores are another matter). At least my optimized builds are pretty damned good.

It's not that uncommon for a distro to provide multiple versions of the autotools programs. I don't expect Slackware to do that, as it's more DIY but it will build one for you during the .SlackBuild if you use it to compile Firefox. I just installed it myself with suffix, to /usr/local because I'm going to be needing it, I build every release of Firefox. There was a time when you needed multiple automake/autoconf versions installed, I remember hitting such snags often back in the good old days. Nowadays you need to be familiar with toolchain components like cmake, meson, ninja etc. if you want to be able to build all your stuff.
 
Old 09-19-2019, 02:49 PM   #141
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
LLVM 9.0 was just released
https://lists.llvm.org/pipermail/llv...er/135304.html
 
Old 11-21-2019, 01:55 PM   #142
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Fedora's begun the process of removing Python 2:

Python 2 exodus is happening now
 
2 members found this post helpful.
Old 11-22-2019, 03:04 AM   #143
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Isn't there a translation layer for python 2 <-> python 3?

I think I stumbled upon something called "six"?
 
Old 11-22-2019, 04:39 AM   #144
gouttegd
Member
 
Registered: Nov 2019
Location: London, UK
Distribution: Slackware
Posts: 92

Rep: Reputation: 161Reputation: 161
Quote:
Originally Posted by SCerovec View Post
Isn't there a translation layer for python 2 <-> python 3?
There is, and it’s installed in Slackware-current (l/python-six). But it’s far from enough to get rid of Python 2.

Six is intended to allow developers to write Python code that will work as well under Python 2 as under Python 3. But it can only help if developers actually use it. If you have a Python 2 script that does not use six, you still need to port that code to six before you can run it under Python 3—and if you have to do that you might as well port to Python 3 directly and skip six altogether.
 
Old 11-22-2019, 08:38 AM   #145
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
There's also this in Python 2:

Code:
from __future__ import *
Neither this nor six are compatibility laters. This is to help you write Python 2 code that would be as forward compatible as possible.

Last edited by dugan; 11-22-2019 at 08:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current - Openssl and python2 update broke python-setuptools? orbea Slackware 28 03-14-2016 03:16 PM
[SOLVED] How can I make Python2.7 my default Python without deleting/removing python2.6. steves504 Linux - Server 2 03-21-2014 11:57 AM
[SOLVED] Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8... Robert.Thompson Slackware 6 05-10-2011 08:23 AM
Python2.5-devel is unable to find installed Python2.5 Setya SUSE / openSUSE 1 06-08-2007 01:35 AM
python2.2 Dependencies webboss Linux - General 3 03-06-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration