Re: Where are the moderators?

2018-01-19 Thread Percival John Hackworth
On 18-Jan-2018, Mike Driscoll wrote
(in article<73f42561-d7bf-4cba-97c7-8e63b87a9...@googlegroups.com>):

> Hi,
>
> What happened to the moderators? I have always liked this forum, but there's
> so much spam now. Is there a way to become a moderator so this can be cleaned
> up?
>
> Thanks,
> Mike

Google Groups is unmoderated, as has already been said here. I use a 
commercial news service but individual.net offers a year of the non-binary 
groups for €10 but there are free accounts out there. The individual.net 
account isn't filtered by my news reader takes care of most of the spam.

YMMV

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: we want python software

2017-12-08 Thread Percival John Hackworth
On 05-Dec-2017, km wrote
(in article):

> I dont know how these students are selected into b tech stream in India.
> they are so dumb. All they know is a to open a program we need to double
> click it and it runs.- windoze legacy. most of the time they pay huge
> amount to a greedy college and get into tech stream.
> Now that Java boom (jobs) is over in India and python is booming in AI and
> machine learning these people want to learn python and get easy jobs
> (software coolies). pls dont even entertain such posts.
A friend who deals with outsource Indian developers told me something
interesting. Apparently, the programmers are paid very poorly in India.
Managers are paid much better. So the career path over there is to "pay your
dues" writing code, then become a manager where you no longer have to write
code. It means that all the product teams that are outsourced to India
*always* get new, green people because as soon as they get any good, they
become managers.

That explains a lot, doesn't it. It also means when your company lays off a lot
 of technical staff and outsources tech pubs, 1st line support, and development
 to India, the people left in the US are the "Tiger Team" to fix screw ups or
major issues in a product release. Then they sell the company.

Another friend hired a programmer from India to develop a java-based web site
to sell their product in the iOS App Store. He asked me to look at problems
they were having with the site. I'm a sysadmin, not a java programmer, but I
knew that you're not supposed to run a Tomcat web server as root. According to
friends, you're not supposed to expose Tomcat to the internet at all. That's
not what this developer did. It looked like it was a school project that he
setup stuff but didn't know how it's done in production with security enabled.
Nor could he deal with AWS.

It's a nightmare out there for people looking to get development done "on the
cheap". The good people (e.g. the friends I asked for advice) are to busy to do
 such little projects to bother. So the market is left with Junior people in
India making crap. It's not a question of them taking jobs away from U.S.
developers. It's a question of the good ones already have work. Can we train
Joe to setup Wordpress and secure it or write a Java Web site when all he's
done before is manufacturing or worked in a grocery store.

Other groups aren't so nice to beginners - the perl group is brutal and tell a
student to do their own homework. I'm just dipping my toe into python here and
you guys more helpful. Mostly because there's so much possibility in python
(compared to other scripting languages).

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: we want python software

2017-12-06 Thread Percival John Hackworth
On 05-Dec-2017, km wrote
(in article):

> I dont know how these students are selected into b tech stream in India.
> they are so dumb. All they know is a to open a program we need to double
> click it and it runs.- windoze legacy. most of the time they pay huge
> amount to a greedy college and get into tech stream.
> Now that Java boom (jobs) is over in India and python is booming in AI and
> machine learning these people want to learn python and get easy jobs
> (software coolies). pls dont even entertain such posts.
A friend who deals with outsource Indian developers told me something 
interesting. Apparently, the programmers are paid very poorly in India. 
Managers are paid much better. So the career path over there is to "pay your 
dues" writing code, then become a manager where you no longer have to write 
code. It means that all the product teams that are outsourced to India 
*always* get new, green people because as soon as they get any good, they 
become managers.

That explains a lot, doesn't it. It also means when your company lays off a 
lot of technical staff and outsources tech pubs, 1st line support, and 
development to India, the people left in the US are the "Tiger Team" to fix 
screw ups or major issues in a product release. Then they sell the company.

Another friend hired a programmer from India to develop a java-based web site 
to sell their product in the iOS App Store. He asked me to look at problems 
they were having with the site. I'm a sysadmin, not a java programmer, but I 
knew that you're not supposed to run a Tomcat web server as root. According 
to friends, you're not supposed to expose Tomcat to the internet at all. 
That's not what this developer did. It looked like it was a school project 
that he setup stuff but didn't know how it's done in production with security 
enabled. Nor could he deal with AWS.

It's a nightmare out there for people looking to get development done "on the 
cheap". The good people (e.g. the friends I asked for advice) are to busy to 
do such little projects to bother. So the market is left with Junior people 
in India making crap. It's not a question of them taking jobs away from U.S. 
developers. It's a question of the good ones already have work. Can we train 
Joe to setup Wordpress and secure it or write a Java Web site when all he's 
done before is manufacturing or worked in a grocery store.

Other groups aren't so nice to beginners - the perl group is brutal and tell 
a student to do their own homework. I'm just dipping my toe into python here 
and you guys more helpful. Mostly because there's so much possibility in 
python (compared to other scripting languages).

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [OT] - Re: Has anyone worked on docker with windows

2017-12-01 Thread Percival John Hackworth
On 30-Nov-2017, Michael Torrie wrote
(in article):

> Marking this message as off topic, since it has nothing much to do with
> Python and Python programming. In fact this whole thread should have
> been started on a Docker-specific forum, mailing list, or USENET group.
> To the original poster: you should visit the Docker web site and access
> the community resources they have there:
>
> https://www.docker.com/docker-community
>
> On 11/29/2017 09:03 PM, Percival John Hackworth wrote:
> > To clarify, I think the OP was asking if they could Windows inside a Docker
> > container. Since Docker uses the kernel of the OS it's running on, that
> > would
> > mean it would have to run natively on Windows.
>
> Unless things have changed Docker has always been about running Linux
> software in Linux containers on all supported OSes, which includes Mac
> and Windows. On Mac and Windows this requires running a VM, although now
> with Docker for Windows it can run the Linux containers on the
> integrated HyperV virtualization system, so you don't necessarily need
> to install VirtualBox or VMWare.
>
> https://www.microsoft.com/en-ca/cloud-platform/containers
>
> > Back in January, it didn't run on Windows. Now apparently you can run a
> > Windows 10 or Server 2016 environment in a container. I would think, given
> > the architecture of Docker, that you can only do this on a Windows machine,
> > not a Linux box. So the ability to containerize an application on Linux and
> > run it anywhere Docker is installed (even MacOS) only applicable to Linux
> > apps.
>
> Docker has run on Windows since very early on. Not quite sure why you
> say it didn't run on Windows back in January.
>
> As for running Windows applications in a Windows container, this is not
> possible using any container technology I'm aware of. I'm sure MS could
> one day build Windows-centric containerization into Windows, but there's
> no support now. I guess they haven't figured out how to work out the
> licensing. Proprietary licensing and containers would be complex.

When I said "Didn't run on Windows" I should have written "Didn't run on 
Windows *natively*". Back then, Docker had come out with a MacOS version that 
stopped using the Docker-machine CoreOS VM and Virtual Box and ran directly 
on supported Intel-based MacOS. My 2009 MacPro desktop is to old to run the 
right processor and boot ROM to run Docker natively but my 2011 laptop has no 
problem. In May, I played with Docker on Windows 10 and discovered their new 
distribution model of a free community edition and an paid Enterprise 
edition. Neither supported running *native* Windows and still required 
docker-machine and a Virtual Box VM to run Linux Kernel 3.10 or greater based 
containers. You could not, at that time, run Windows anything inside a 
container.

Apparently, today in Dec 2017, you can run Windows inside a docker container 
natively on a Windows 10 or Windows 2016 server machine without a VM. And it 
uses hyperV or some other technology to run a Linux container with a Linux VM 
natively on Windows 10/Windows 2016 Server. Or so the site says. Licensing 
Linux software depends on the software. Windows, as you say, is complex. Or 
as Steve Jobs said "a huge bag of hurt" (he was referring to licensing and 
support for BluRay on MacOS at the time).

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Has anyone worked on docker with windows

2017-11-29 Thread Percival John Hackworth
On 29-Nov-2017, Irving Duran wrote
(in article):

> I attempted configuring docker on Win, but quit. This was like six months
> ago, I will assume that the install and integration with the VM is smoother
> now, but still not native to Win.
>
> Thank You,
>
> Irving Duran
>
> On Wed, Nov 29, 2017 at 1:05 AM, Robert Clove  wrote:
>
> > i was also of the same opinion , but docker is available on windows too
> > https://www.docker.com/docker-windows
> >
> >
> > On Wed, Nov 29, 2017 at 12:22 PM, Percival John Hackworth<
> > p...@nanoworks.com
> > > wrote:
> >
> > > On 28-Nov-2017, Robert Clove wrote
> > > (in article):
> > >
> > > > Hi,
> > > >
> > > > what am i trying to achieve is, container of windows with an
> > application
> > > > like slack on it.
> > > > Does window container has an UI?
> > > >
> > > > Has anyone worked on it, is it feasible?
> > >
> > > AFAIK, docker is linux/CoreOS only. Ask docker.com this question. AFAIK,
> > > the
> > > only way to get docker to run on Windows is to run docker-machine with
> > > virtual box. That's a coreOS VM.
> > >
> > > --
> > > https://mail.python.org/mailman/listinfo/python-list
> > --
> > https://mail.python.org/mailman/listinfo/python-list

According to the Docker.io web site, Docker on Windows is native, like the 
MacOS version of docker. But you can probably only run Windows containers on 
a windows machine, not a Linux machine. I don't know if you can build a Linux 
container on Windows and have it work on a Linux box. If Docker for Windows 
only works on Windows 10 or Server 2016, that may work. I read that there's a 
linux that runs under Windows 10, so Docker is probably using that.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Has anyone worked on docker with windows

2017-11-29 Thread Percival John Hackworth
On 28-Nov-2017, Robert Clove wrote
(in article):

> i was also of the same opinion , but docker is available on windows too
> https://www.docker.com/docker-windows
>
> On Wed, Nov 29, 2017 at 12:22 PM, Percival John Hackworth > wrote:
>
> > On 28-Nov-2017, Robert Clove wrote
> > (in article):
> >
> > > Hi,
> > >
> > > what am i trying to achieve is, container of windows with an application
> > > like slack on it.
> > > Does window container has an UI?
> > >
> > > Has anyone worked on it, is it feasible?
> >
> > AFAIK, docker is linux/CoreOS only. Ask docker.com this question. AFAIK,
> > the
> > only way to get docker to run on Windows is to run docker-machine with
> > virtual box. That's a coreOS VM.
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list

To clarify, I think the OP was asking if they could Windows inside a Docker 
container. Since Docker uses the kernel of the OS it's running on, that would 
mean it would have to run natively on Windows.

Back in January, it didn't run on Windows. Now apparently you can run a 
Windows 10 or Server 2016 environment in a container. I would think, given 
the architecture of Docker, that you can only do this on a Windows machine, 
not a Linux box. So the ability to containerize an application on Linux and 
run it anywhere Docker is installed (even MacOS) only applicable to Linux 
apps.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Has anyone worked on docker with windows

2017-11-28 Thread Percival John Hackworth
On 28-Nov-2017, Robert Clove wrote
(in article):

> Hi,
>
> what am i trying to achieve is, container of windows with an application
> like slack on it.
> Does window container has an UI?
>
> Has anyone worked on it, is it feasible?

AFAIK, docker is linux/CoreOS only. Ask docker.com this question. AFAIK, the 
only way to get docker to run on Windows is to run docker-machine with 
virtual box. That's a coreOS VM.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Repairing Python installation?

2017-10-28 Thread Percival John Hackworth
On 28-Oct-2017, Martin Schöön wrote
(in article ):

> It seems something is amiss with my Python 2.7 installation. Revisiting
> Nikola (static web site generator written in Python) for the first time
> in several years the other day I experience some unexpected problems. I
> got some help form the Nikola people and the conclusion is something
> is broken with my Python 2.7. Pip list throws exceptions at me while
> pip3 list works the way I expect it to do.
>
> All this is happening on a Debian machine.
>
> Questions:
>
> Should I try to pinpoint what is broken (and how is that done) or should
> I just remove everything Python 2.7 and re-install?
>
> Could mixing pip installs with Debian distro installs of Python
> packages lead to conflicts or other problems?
>
> TIA,
>
> /Martin

If this site is accessible from the internet, have you looked around other 
parts of the system? Like date/timestamps for /bin/*. I recently was asked to 
look at a friends web site and found they were doing several things that I 
consider a security no-no, like running the tomcat server as root to serve 
their web site. It had been root-kitted. I helped them setup a new system 
that ran tomcat under a non-priv user.

It's just a SWAG, but perhaps something further is amiss that you don't see. 
I was really surprised that my friend, a pretty good programmer, was clueless 
about such things.

The only other time I've seen python "damaged" was when some developer 
decided they wanted a more current version than the default installed on the 
CentOS system (2.6) which is required for updating the system. They borked it 
beyond repair and my boss took away root access after we repaired it.

-- 
https://mail.python.org/mailman/listinfo/python-list