[gentoo-user] swi-prolog-7.3.7 missing digest

2015-10-01 Thread Mick
I saw this last night:

/usr/bin/eclean-dist
 * Building file list for distfiles cleaning...
 * Missing digest for '/usr/portage/dev-lang/swi-prolog/swi-
prolog-7.3.7.ebuild'

Does it need reporting or will it be OK on the next resync?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] clean-up root partition

2015-10-01 Thread Philip Webb
151001 the...@sys-concept.com wrote:
> How do you folks clean-up root partition, I have too much junk in there.
>   df -h
>   Filesystem  Size  Used Avail Use% Mounted on
>   /dev/sda374G   61G  9.3G  87% /
> I've already removed all the files from  /usr/portage/distfiles .

'du' is your friend : it has lots of options, so read the 'man'.
that will tell you what's using so much space, then you can delete stuff.
My system shows :

  root:505 ~> df -h
  Filesystem  Size  Used Avail Use% Mounted on
  802  30G  6.4G   24G  22% /
  tmpfs   395M  516K  395M   1% /run
  dev  10M 0   10M   0% /dev
  none2.0G 0  2.0G   0% /dev/shm
  cgroup_root  10M 0   10M   0% /sys/fs/cgroup
  /dev/sda530G   12G   19G  40% /home
  /dev/sda615G  6.7G  8.4G  45% /usr/portage
  /dev/sda740G  8.1G   32G  21% /z
  /dev/sdb1   9.8G  3.5G  6.3G  36% /usr/local
  /dev/sdb5   9.8G  1.6G  8.3G  16% /usr/src
  tmpfs   2.0G  8.0K  2.0G   1% /tmp

 /z  is a large hangar space for handling very big files.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Alan McKinnon
On 01/10/2015 13:35, Tanstaafl wrote:
> Thanks Alan (and everyone else),
> 
> One important follow-up below...
> 
> On 9/29/2015 8:28 PM, Alan McKinnon  wrote:
>> It would be wise to clarify with the devs exactly what it is they are
>> looking for.
> 
> That is the purpose of my upcoming phone call with him.
> 
>> And overall, in your shoes I would be firm, adamant and above all polite
>> and say that infrastructure changes go through you and you alone, and
>> must be vetted by you with full transparency.
> 
> That is what I've been doing so far, but I think the boss is getting
> close to just saying 'give it to them'...

Depending on how senior you are in the place, as technical guy you have
a duty to perform diligence. Persist.

> 
> But - no one has addressed my main question...
> 
> I understand that 301 redirects are performed by web servers only, you
> can't really do these in DNS. However, some Managed DNS providers -
> DNSMadeEasy included - offer this ability as a service. DNSMadeEasy
> calls  them 'http redirects', and the actual redirect is accomplished by
> one of their own web servers they have set up to handle these.

Information is still sparse, so I'm having to fill in the blanks a lot.
Here's what I imagine is probably happening:

The only useful thing you can get out of DNS for an HTTP request is an A
record for an IP address.

Say you are example.com and do your own DNS; www.example.com is 1.2.3.4.
A SaaS provider can control your DNS and they set the TTL on that A
record very low so (like DynDNS does) they can point it at their web
servers.

A request comes in for http://www.example.com/index.html, and your DNS
cache needs to query it. The provider's DNS returns 2.3.4.5 which is the
provider's front end web server. That web server figures out the address
is your's, and issues a 301 to the user, which takes them to the
production web server with the real site on it.

Providers do this a lot so they can load balance web sites, redirect
users to local nearby web servers and other optimizations. The downside
is they need to control your DNS.

Me, personally I would never allow that, not for the entire domain. I
would rather delegate the specific address they want to control
(www.example.com) and let them tweak that all day if they like.

> Is it 'normal' to do these 301 redirects at the DNS level like that? I
> would think they should be using the current web server hosting the
> current site to start doing the redirects as they get the new landing
> pages done?

Depends what their business model is. If they deliver the full service,
they'd have to do something like I described above for it to work.

This is assuming the contractor is a full SaaS provider and not only a
web-site developement company

> Apache does this using a .htaccess file (if I'm interpreting
> my googling responses correctly).

An .htaccess file is nothing special, all it is is a config file that
can contain whatever directives are allowed in httpd.conf but applies
only to the directive .htaccess is in. Everything in .htaccess is a
valid directive that can go in httpd.conf, but not necessarily the other
way round. They are especially useful for shared hosting where you want
your customers to be able to tweak specific directives for their sites
and you can't give them access to httpd.conf and really can't be
bothered doing it for them for every requested change :-)

So when google gives a result saying "do it in .htaccess", that's the
internetz being meaningless. What it really means is "configure apache
to do a redirect for URLs that look like so"


> And now that I worded it that way - how would they do that exactly?
> Would the proper method be to redirect it to a new test domain, ie:
> 
> www.example.com/page1.htm >> www.new-example.com/newpage1.htm ?
> 
> Or save the new page on the old server, then do:
> 
> www.example.com/page1.htm >> www.example.com/newpage1.htm ?
> 
> Now I'm confusing myself...


It can get confusing. Best to ask them directly what they intend to do.
We can presume all day and never figure it out.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] clean-up root partition

2015-10-01 Thread Alan McKinnon
On 01/10/2015 14:41, the...@sys-concept.com wrote:
> How do you folks clean-up root partition, I have too much junk in there.
> df -h
> Filesystem  Size  Used Avail Use% Mounted on
> /dev/sda374G   61G  9.3G  87% /
> 
> I've already removed all the files from:
> /usr/portage/distfiles
> 

for each item_of_shit in all_items_in_/
  || ( rm item_of_shit)
 ( mv item_of_shit some_other_place)
update fstab if some_other_places are on new volumes
mount new volumes


So that's a Microsoft answer: 100% completely technically correct, and
nonetheless still tells you absolutely nothing.

But it's the best answer I can give you until you read this:

www.catb.org/esr/faqs/smart-questions.html

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] clean-up root partition

2015-10-01 Thread Alan McKinnon
On 01/10/2015 15:02, the...@sys-concept.com wrote:
> On 10/01/2015 06:57 AM, Philip Webb wrote:
>> 151001 the...@sys-concept.com wrote:
>>> How do you folks clean-up root partition, I have too much junk in there.
>>>   df -h
>>>   Filesystem  Size  Used Avail Use% Mounted on
>>>   /dev/sda374G   61G  9.3G  87% /
>>> I've already removed all the files from  /usr/portage/distfiles .
>>
>> 'du' is your friend : it has lots of options, so read the 'man'.
>> that will tell you what's using so much space, then you can delete stuff.
>> My system shows :
>>
>>   root:505 ~> df -h
>>   Filesystem  Size  Used Avail Use% Mounted on
>>   802  30G  6.4G   24G  22% /
>>   tmpfs   395M  516K  395M   1% /run
>>   dev  10M 0   10M   0% /dev
>>   none2.0G 0  2.0G   0% /dev/shm
>>   cgroup_root  10M 0   10M   0% /sys/fs/cgroup
>>   /dev/sda530G   12G   19G  40% /home
>>   /dev/sda615G  6.7G  8.4G  45% /usr/portage
>>   /dev/sda740G  8.1G   32G  21% /z
>>   /dev/sdb1   9.8G  3.5G  6.3G  36% /usr/local
>>   /dev/sdb5   9.8G  1.6G  8.3G  16% /usr/src
>>   tmpfs   2.0G  8.0K  2.0G   1% /tmp
>>
>>  /z  is a large hangar space for handling very big files.
> 
> Thanks.
> Yes, I used:
> du -a /var | sort -n -r | head -n 10
> 
> and found my /var/log/messages was over 5Gb


Junk can accumulate in hundreds of places, it all depends how you set
the host up. These are often culprits:

/home/*
/tmp/
/var/tmp/portage
/usr/src




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] update problems

2015-10-01 Thread Neil Bothwick
On Thu, 1 Oct 2015 07:10:52 -0400, Rich Freeman wrote:

> Short-term if somebody wants to write up a wiki page full of common
> confusing portage error messages and improved versions of the same,
> and instructions on how to handle each situation, that would both help
> users today, and give the portage devs something to contemplate in
> their enhancements.  There is no reason portage couldn't even figure
> out which case an error falls into and either output the text on the
> page or give the user a link to go look up instructions on how to
> resolve.

Yes, I mentioned that earlier in this thread, but haven't had a chance to
do anything more constructive about it yet.


-- 
Neil Bothwick

"It compiled? The first screen came up? Ship it!" -- Bill Gates


pgp7mLUPyDgTz.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] clean-up root partition

2015-10-01 Thread J. Roeleveld
On Thursday, October 01, 2015 07:02:47 AM the...@sys-concept.com wrote:
> On 10/01/2015 06:57 AM, Philip Webb wrote:
> > 151001 the...@sys-concept.com wrote:
> >> How do you folks clean-up root partition, I have too much junk in there.
> >> 
> >>   df -h
> >>   Filesystem  Size  Used Avail Use% Mounted on
> >>   /dev/sda374G   61G  9.3G  87% /
> >> 
> >> I've already removed all the files from  /usr/portage/distfiles .
> > 
> > 'du' is your friend : it has lots of options, so read the 'man'.
> > that will tell you what's using so much space, then you can delete stuff.
> > 
> > My system shows :
> >   root:505 ~> df -h
> >   Filesystem  Size  Used Avail Use% Mounted on
> >   802  30G  6.4G   24G  22% /
> >   tmpfs   395M  516K  395M   1% /run
> >   dev  10M 0   10M   0% /dev
> >   none2.0G 0  2.0G   0% /dev/shm
> >   cgroup_root  10M 0   10M   0% /sys/fs/cgroup
> >   /dev/sda530G   12G   19G  40% /home
> >   /dev/sda615G  6.7G  8.4G  45% /usr/portage
> >   /dev/sda740G  8.1G   32G  21% /z
> >   /dev/sdb1   9.8G  3.5G  6.3G  36% /usr/local
> >   /dev/sdb5   9.8G  1.6G  8.3G  16% /usr/src
> >   tmpfs   2.0G  8.0K  2.0G   1% /tmp
> >  
> >  /z  is a large hangar space for handling very big files.
> 
> Thanks.
> Yes, I used:
> du -a /var | sort -n -r | head -n 10
> 
> and found my /var/log/messages was over 5Gb

Permanent solution to that:
% eix logrotate
[I] app-admin/logrotate
 Available versions:  3.8.8 3.8.9 3.8.9-r1{tbz2} 3.9.1{tbz2} ~3.9.1-r1 
{acl +cron selinux}
 Installed versions:  3.9.1{tbz2}(11:02:17 AM 08/07/2015)(acl cron -
selinux)
 Homepage:https://fedorahosted.org/logrotate/
 Description: Rotates, compresses, and mails system logs

Install and configure.

--
Joost



Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Tanstaafl
Thanks to Alan and the others for the responses...

The main problem is this project is being managed by a non-tech manager
who apparently thinks they know a lot more than they do, and the Boss is
technically challenged, so it is easy for someone to convince him of
almost anything (like, he should delegate this to a non-tech person and
not involve his one tech guy)...

One reason he sometimes doesn't involve me until things get to this
point is because I tend to be a 'wet blanket', ruining bright shiny
sales pitches with injections of reality. You'd think he'd have learned
by now. The last time, about 5 years ago, the person who managed the
project (different person) didn't get ownership of the source code in
the contract, so we didn't get all of the source files for the Flash
junk they created, then when we wanted to make some changes to the text
embedded in  the Flash, I had to ask them for the source files, and
they wanted a bunch of money. Unbelievable.

We'll see how the dev(s) respond to my questions, but I may come back
here with more info and more advice if I need it.

Thanks again to all, it has been a big help!

On 10/1/2015 7:58 AM, Alan McKinnon  wrote:
> On 01/10/2015 13:35, Tanstaafl wrote:
>> Thanks Alan (and everyone else),
>>
>> One important follow-up below...
>>
>> On 9/29/2015 8:28 PM, Alan McKinnon  wrote:
>>> It would be wise to clarify with the devs exactly what it is they are
>>> looking for.
>>
>> That is the purpose of my upcoming phone call with him.
>>
>>> And overall, in your shoes I would be firm, adamant and above all polite
>>> and say that infrastructure changes go through you and you alone, and
>>> must be vetted by you with full transparency.
>>
>> That is what I've been doing so far, but I think the boss is getting
>> close to just saying 'give it to them'...
> 
> Depending on how senior you are in the place, as technical guy you have
> a duty to perform diligence. Persist.
> 
>>
>> But - no one has addressed my main question...
>>
>> I understand that 301 redirects are performed by web servers only, you
>> can't really do these in DNS. However, some Managed DNS providers -
>> DNSMadeEasy included - offer this ability as a service. DNSMadeEasy
>> calls  them 'http redirects', and the actual redirect is accomplished by
>> one of their own web servers they have set up to handle these.
> 
> Information is still sparse, so I'm having to fill in the blanks a lot.
> Here's what I imagine is probably happening:
> 
> The only useful thing you can get out of DNS for an HTTP request is an A
> record for an IP address.
> 
> Say you are example.com and do your own DNS; www.example.com is 1.2.3.4.
> A SaaS provider can control your DNS and they set the TTL on that A
> record very low so (like DynDNS does) they can point it at their web
> servers.
> 
> A request comes in for http://www.example.com/index.html, and your DNS
> cache needs to query it. The provider's DNS returns 2.3.4.5 which is the
> provider's front end web server. That web server figures out the address
> is your's, and issues a 301 to the user, which takes them to the
> production web server with the real site on it.
> 
> Providers do this a lot so they can load balance web sites, redirect
> users to local nearby web servers and other optimizations. The downside
> is they need to control your DNS.
> 
> Me, personally I would never allow that, not for the entire domain. I
> would rather delegate the specific address they want to control
> (www.example.com) and let them tweak that all day if they like.
> 
>> Is it 'normal' to do these 301 redirects at the DNS level like that? I
>> would think they should be using the current web server hosting the
>> current site to start doing the redirects as they get the new landing
>> pages done?
> 
> Depends what their business model is. If they deliver the full service,
> they'd have to do something like I described above for it to work.
> 
> This is assuming the contractor is a full SaaS provider and not only a
> web-site developement company
> 
>> Apache does this using a .htaccess file (if I'm interpreting
>> my googling responses correctly).
> 
> An .htaccess file is nothing special, all it is is a config file that
> can contain whatever directives are allowed in httpd.conf but applies
> only to the directive .htaccess is in. Everything in .htaccess is a
> valid directive that can go in httpd.conf, but not necessarily the other
> way round. They are especially useful for shared hosting where you want
> your customers to be able to tweak specific directives for their sites
> and you can't give them access to httpd.conf and really can't be
> bothered doing it for them for every requested change :-)
> 
> So when google gives a result saying "do it in .htaccess", that's the
> internetz being meaningless. What it really means is "configure apache
> to do a redirect for URLs that look like so"
> 
> 
>> And now that I worded it that 

[gentoo-user] clean-up root partition

2015-10-01 Thread thelma
How do you folks clean-up root partition, I have too much junk in there.
df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda374G   61G  9.3G  87% /

I've already removed all the files from:
/usr/portage/distfiles

-- 
Thelma



Re: [gentoo-user] Re: Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Tanstaafl
On 9/29/2015 8:02 PM, James  wrote:
> Another point of concern. When radically changing infrastructure like this,
> why not just do the entire thing under a new DNS and have both online for a
> while, until the new site if vetted and the actual real bugs worked out?

Well... not sure how that would work, since we are not changing domain
names, only redesigning the site.

What I would do if I was a web dev is just set up a test site, then set
up the development site for the customer under a subdirectory, ie:

https://mycustomtestingsite.com/customer-a/index.html

> Also, your company should force this contractor to take a large liability
> policy, in the name of your company, should things go really fubar

Interesting idea. Not sure how well it would go over.

Is that a common thing in the industry for large corporate redesigns
like this?

Thanks James



Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Tanstaafl
Thanks Alan (and everyone else),

One important follow-up below...

On 9/29/2015 8:28 PM, Alan McKinnon  wrote:
> It would be wise to clarify with the devs exactly what it is they are
> looking for.

That is the purpose of my upcoming phone call with him.

> And overall, in your shoes I would be firm, adamant and above all polite
> and say that infrastructure changes go through you and you alone, and
> must be vetted by you with full transparency.

That is what I've been doing so far, but I think the boss is getting
close to just saying 'give it to them'...

But - no one has addressed my main question...

I understand that 301 redirects are performed by web servers only, you
can't really do these in DNS. However, some Managed DNS providers -
DNSMadeEasy included - offer this ability as a service. DNSMadeEasy
calls  them 'http redirects', and the actual redirect is accomplished by
one of their own web servers they have set up to handle these.

Is it 'normal' to do these 301 redirects at the DNS level like that? I
would think they should be using the current web server hosting the
current site to start doing the redirects as they get the new landing
pages done? Apache does this using a .htaccess file (if I'm interpreting
my googling responses correctly).

And now that I worded it that way - how would they do that exactly?
Would the proper method be to redirect it to a new test domain, ie:

www.example.com/page1.htm >> www.new-example.com/newpage1.htm ?

Or save the new page on the old server, then do:

www.example.com/page1.htm >> www.example.com/newpage1.htm ?

Now I'm confusing myself...



Re: [gentoo-user] clean-up root partition

2015-10-01 Thread Jeremi Piotrowski
On Thu, 1 Oct 2015, Philip Webb wrote:

> 151001 the...@sys-concept.com wrote:
> > How do you folks clean-up root partition, I have too much junk in there.
> >   df -h
> >   Filesystem  Size  Used Avail Use% Mounted on
> >   /dev/sda374G   61G  9.3G  87% /
> > I've already removed all the files from  /usr/portage/distfiles .
> 
> 'du' is your friend : it has lots of options, so read the 'man'.
> that will tell you what's using so much space, then you can delete stuff.

I highly recommend sys-fs/ncdu, an ncurses front end to du. Definitely
much better than piping du output through sort. You can even directly
delete folders/files when you see that something is taking up more space
than expected.



Re: [gentoo-user] swi-prolog-7.3.7 missing digest

2015-10-01 Thread Rich Freeman
On Thu, Oct 1, 2015 at 3:43 AM, Mick  wrote:
> I saw this last night:
>
> /usr/bin/eclean-dist
>  * Building file list for distfiles cleaning...
>  * Missing digest for '/usr/portage/dev-lang/swi-prolog/swi-
> prolog-7.3.7.ebuild'
>
> Does it need reporting or will it be OK on the next resync?

https://bugs.gentoo.org/show_bug.cgi?id=561966

-- 
Rich



Re: [gentoo-user] update problems

2015-10-01 Thread Rich Freeman
On Thu, Oct 1, 2015 at 5:39 AM, Neil Bothwick  wrote:
> On Tue, 29 Sep 2015 20:45:10 +0200, lee wrote:
>
>> Go ahead and show me where I have demanded something.
>
> Your insistence that it should be changed amounts to a demand. Your
> assertion that it can be done easily only demeans the efforts of the
> devs, implying that the fix is simple but they cannot be bothered.

Guys, please take a break.  We're up to over 50 messages in this
thread, most of which are basically a back and forth on this.

Nobody likes the output of portage here, we get it...

The next council meeting will include proposals to stop relying on
dynamic deps, which should cut down on some of these issues.  There
are always ideas floating around for substantially changing how
dependencies are handled in portage, and those might help.

Short-term if somebody wants to write up a wiki page full of common
confusing portage error messages and improved versions of the same,
and instructions on how to handle each situation, that would both help
users today, and give the portage devs something to contemplate in
their enhancements.  There is no reason portage couldn't even figure
out which case an error falls into and either output the text on the
page or give the user a link to go look up instructions on how to
resolve.

I find more tends to happen when you direct your energy at creating
something.  Clearly you are both interested in Gentoo and going back
and forth isn't helping anybody.

-- 
Rich



Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Tanstaafl
On 9/30/2015 3:36 AM, Mick  wrote:
> I couldn't agree more with all the warnings that have been posted.  However, 
> it may simply be that they want to build a new website and they want to 
> redirect your DNS from your currently hosted server to theirs.

You mean change the DNS servers at the Domain Registrar?

That would be even worse - they would need to completely reproduce
everything that is in there prior to transferring it, and then our DNS
is no longer ours.

> Are they offering SaaS, or will you be hosting the new website on
> prem?

That is one of my questions. Currently the site is hosted at Rackspace.

> In any case, they could just ask you to do this, if you agree. Given
> that "possession is nine-tenths of the law" I would not let them
> anywhere near your DNS records - period.

Hmmm... above it sounded like  you were ok with their desire to
'redirect our DNS from our currently hosted server to theirs'. Did I
misunderstand?

> With regards to being blacklisted by Google, you have to be careful indeed.  
> Google will blacklist bad code and malicious code.

At this point I'm more worried about bad links/hundreds of thousand
pages suddenly giving 404 errors, etc...



Re: [gentoo-user] Re: Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Alan McKinnon
On 01/10/2015 13:22, Tanstaafl wrote:
> On 9/29/2015 8:02 PM, James  wrote:
>> Another point of concern. When radically changing infrastructure like this,
>> why not just do the entire thing under a new DNS and have both online for a
>> while, until the new site if vetted and the actual real bugs worked out?
> 
> Well... not sure how that would work, since we are not changing domain
> names, only redesigning the site.
> 
> What I would do if I was a web dev is just set up a test site, then set
> up the development site for the customer under a subdirectory, ie:
> 
> https://mycustomtestingsite.com/customer-a/index.html

Yes, that's the sane way

>> Also, your company should force this contractor to take a large liability
>> policy, in the name of your company, should things go really fubar
> 
> Interesting idea. Not sure how well it would go over.
> 
> Is that a common thing in the industry for large corporate redesigns
> like this?

Oh yes, most definitely if the contractor is being paid to provide an
entire solution end-to-end.

Not so much if they are just providing a small definite component of a
larger system that you control and direct.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] clean-up root partition

2015-10-01 Thread thelma
On 10/01/2015 06:57 AM, Philip Webb wrote:
> 151001 the...@sys-concept.com wrote:
>> How do you folks clean-up root partition, I have too much junk in there.
>>   df -h
>>   Filesystem  Size  Used Avail Use% Mounted on
>>   /dev/sda374G   61G  9.3G  87% /
>> I've already removed all the files from  /usr/portage/distfiles .
> 
> 'du' is your friend : it has lots of options, so read the 'man'.
> that will tell you what's using so much space, then you can delete stuff.
> My system shows :
> 
>   root:505 ~> df -h
>   Filesystem  Size  Used Avail Use% Mounted on
>   802  30G  6.4G   24G  22% /
>   tmpfs   395M  516K  395M   1% /run
>   dev  10M 0   10M   0% /dev
>   none2.0G 0  2.0G   0% /dev/shm
>   cgroup_root  10M 0   10M   0% /sys/fs/cgroup
>   /dev/sda530G   12G   19G  40% /home
>   /dev/sda615G  6.7G  8.4G  45% /usr/portage
>   /dev/sda740G  8.1G   32G  21% /z
>   /dev/sdb1   9.8G  3.5G  6.3G  36% /usr/local
>   /dev/sdb5   9.8G  1.6G  8.3G  16% /usr/src
>   tmpfs   2.0G  8.0K  2.0G   1% /tmp
> 
>  /z  is a large hangar space for handling very big files.

Thanks.
Yes, I used:
du -a /var | sort -n -r | head -n 10

and found my /var/log/messages was over 5Gb

--
Thelma




Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Mick
On Thursday 01 Oct 2015 13:21:48 Tanstaafl wrote:
> Thanks to Alan and the others for the responses...
> 
> The main problem is this project is being managed by a non-tech manager
> who apparently thinks they know a lot more than they do, and the Boss is
> technically challenged, so it is easy for someone to convince him of
> almost anything (like, he should delegate this to a non-tech person and
> not involve his one tech guy)...

This is uncanny!  Do you work in the same company as I?  O_o


> One reason he sometimes doesn't involve me until things get to this
> point is because I tend to be a 'wet blanket', ruining bright shiny
> sales pitches with injections of reality. You'd think he'd have learned
> by now. The last time, about 5 years ago, the person who managed the
> project (different person) didn't get ownership of the source code in
> the contract, so we didn't get all of the source files for the Flash
> junk they created, then when we wanted to make some changes to the text
> embedded in  the Flash, I had to ask them for the source files, and
> they wanted a bunch of money. Unbelievable.
> 
> We'll see how the dev(s) respond to my questions, but I may come back
> here with more info and more advice if I need it.

I bet they will ask to point the DNS record for your domain to their own (or 
Rackspace's) nameservers instead of your current nameservers.  However, as it 
has been commented already, the sane thing to do is develop the whole new 
website on their own subdomain with an appropriate robots.txt file, to stop 
spiders indexing it at this stage.  Once it is ready for UAT and assuming the 
boss approves it, they can ask *you* to point the DNS record to their 
Rackspace nameservers.

This way *you* can also point it back to a holding page/mirror/new site, when 
they no longer serve your needs.


> Thanks again to all, it has been a big help!

PS.  I hope someone will show them the door if they suggest designing a new 
Flash based web interface ...
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] swi-prolog-7.3.7 missing digest

2015-10-01 Thread Mick
On Thursday 01 Oct 2015 11:53:09 Rich Freeman wrote:
> On Thu, Oct 1, 2015 at 3:43 AM, Mick  wrote:
> > I saw this last night:
> > 
> > /usr/bin/eclean-dist
> > 
> >  * Building file list for distfiles cleaning...
> >  * Missing digest for '/usr/portage/dev-lang/swi-prolog/swi-
> > 
> > prolog-7.3.7.ebuild'
> > 
> > Does it need reporting or will it be OK on the next resync?
> 
> https://bugs.gentoo.org/show_bug.cgi?id=561966

Thank you Rich. :-)

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] System76 Hardware

2015-10-01 Thread Hunter Jozwiak
Hi gang. I am looking in to buying a System76 rig, and I am curious as to
how Gentoo and System76 play together. What installation steps do I need to
beware of when installing to such laptops? What CFLAGS are good to have, and
CXXFLAGS, for that matter? Aside from the obvious hardware modules, what
else would be good to build in to a kernel? I have been doing some research
on the matter, but my results have been inconclusive.

Thanks,

Hunter



[gentoo-user] Re: clean-up root partition

2015-10-01 Thread Nikos Chantziaras

On 01/10/15 15:41, the...@sys-concept.com wrote:

How do you folks clean-up root partition, I have too much junk in there.
df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda374G   61G  9.3G  87% /

I've already removed all the files from:
/usr/portage/distfiles


You can maintain that with "eclean-dist -d". Also check portage/packages 
for old binary packages.


ncdu also makes it easier to find where the space is consumed. "ncdu /" 
will scan and sort by size.





[gentoo-user] Re: clean-up root partition

2015-10-01 Thread Nikos Chantziaras

On 01/10/15 23:14, Nikos Chantziaras wrote:

ncdu also makes it easier to find where the space is consumed. "ncdu /"
will scan and sort by size.


Sorry, should have been:

  ncdu -x /

This will exclude mounted filesystems.





Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-01 Thread Walter Dnes
On Thu, Oct 01, 2015 at 03:35:48PM +0100, Mick wrote
> 
> PS.  I hope someone will show them the door if they suggest designing
> a new Flash based web interface ...

  Especially true given that Ipads/Iphones do not support Flash.  Another
major problem is websites that parse the user agent, and assume that any
browser they don't recognize is a mobile device.  It's a standing joke
amongst geeks... see https://xkcd.com/869/ and https://xkcd.com/1174/
Back in the day when "smartphones" only had 320x240 pixel screens, a
separate mobile site may have been necessary.  But not today with
pinch+zoom and smartphones/tablets with higher pixel counts than many
notebooks.  And with the idiots at Mozilla going off the deep end, there
are multiple forks of Firefox out there (Seamonkey, Palemoon, etc), by
people who are disgusted with Firefox's insanity.  A company that kicks
those browsers off their main website to a mobile site, or demands they
download an "app", will lose customers.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] update problems

2015-10-01 Thread Neil Bothwick
On Tue, 29 Sep 2015 20:45:10 +0200, lee wrote:

> Neil Bothwick  writes:
> 
> > Patches are always more welcome than suggestions. "Fix it!" is never
> > as welcome as "here's how". I think it was Canek who said "code
> > talks".   
> 
> Do you have an example for such a case?

Just look at b.g.o. Many bug reports include a patch submitted by a user
that makes its way into the tree.

> My experience has disproved
> this claim, and I've even seen people fixing stuff multiple times after
> I told them it's broken and provided a perfectly working version before
> telling them, much better coded, which they could have used instead of
> insisting on their crappy code and trying to fix it several times.

You cannot judge one group of people on the behaviour of an unrelated
group.

> >> and now even if you
> >> came up with some pointer what to look at (since emerge, for
> >> example, is a wrapper script from which I couldn't see where to
> >> start),  
> >
> > Really? The first few lines of the script tell you where the real
> > scripts are? The wrapper seems to be there to deal with different
> > default Python versions.  
> 
> Yes, really.  I don't know python and I can see that emerge points to
> some library directory while I can not see which script would actually
> run other than the wrapper.

#!/usr/lib/python-exec/python-exec2-c
# vim:fileencoding=utf-8:ft=python
# (c) 2012 Michał Górny
# Released under the terms of the 2-clause BSD license.
#
# This is not the script you are looking for. This is just a wrapper.
# The actual scripts of this application were installed
# in subdirectories of /usr/lib/python-exec.
# You are most likely looking for one of those.

In there you will find python2.7/emerge and python3.4/emerge (depending
on which Python versions you have installed).

> I don't believe that they let everyone modify what they're working on,
> so they are the only ones who /can/ fix it.  Besides, show me where I
> said something like "I want the devs to fix it".

They don't. You submit the modifications in the bug report and they vet
and apply the patches.

> > Adding the word "just" to a demand does not make the task any
> > simpler, nor does it increase your chances of getting what you want.  
> 
> Go ahead and show me where I have demanded something.

Your insistence that it should be changed amounts to a demand. Your
assertion that it can be done easily only demeans the efforts of the
devs, implying that the fix is simple but they cannot be bothered.
 
> > On the contrary, it serves to illustrate that you do not grasp the
> > complexity of the situation.  
> 
> Perhaps you can enlighten me how it is so difficult to change a message
> from "slot conflict" to "slot conflict (can probably be ignored while
> there are other problems)" and what the complexity is which makes it
> impossible to do so.

Changing the message is trivial, knowing when to change it is not. Unless
you can provide a means to tell unimportant slot conflicts from important
ones, Context is everything and the variety of Gentoo systems out there
make it extremely difficult for portage to understand the context in
human terms. 


-- 
Neil Bothwick

Sometimes too much to drink is not enough.


pgpVoyZgOoNp9.pgp
Description: OpenPGP digital signature


[gentoo-user] Using KDE apps in a non KDE environment

2015-10-01 Thread Andrew Lowe
Hi all,
I'm getting disillusioned with the direction KDE is taking, with
respect to forcing users to use things they don't want to. The semantic
desktop, or whatever they are now calling bits and pieces of it, is one
thing that comes immediately to mind.

Anyway, I've decided to move on and am thinking of going to lxqt. The
problem is that I'm used to several KDE apps, kwooty, kwrite and a few
more. Is it possible to run something such as lxqt and then emerge in
kde apps where it will bring in just a few kde libraries, which I can
live with, but not the whole desktop environment?

Thoughts greatly appreciated,

Andrew



Re: [gentoo-user] Using KDE apps in a non KDE environment

2015-10-01 Thread Alan McKinnon
On 02/10/2015 05:31, Andrew Lowe wrote:
> Hi all,
>   I'm getting disillusioned with the direction KDE is taking, with
> respect to forcing users to use things they don't want to. The semantic
> desktop, or whatever they are now calling bits and pieces of it, is one
> thing that comes immediately to mind.
> 
>   Anyway, I've decided to move on and am thinking of going to lxqt. The
> problem is that I'm used to several KDE apps, kwooty, kwrite and a few
> more. Is it possible to run something such as lxqt and then emerge in
> kde apps where it will bring in just a few kde libraries, which I can
> live with, but not the whole desktop environment?

Yes. Remove all of KDE then emerge back in the apps you want, they have
deps on the libs they need. Whatever they pull in is required.



-- 
Alan McKinnon
alan.mckin...@gmail.com