Re: [SLUG] quiet computer

2009-10-06 Thread Chris Johns

Jeff Waugh wrote:


Turns out it's quite scary when the disks go crazy in the dead of night when
the TV isn't on. :-)



I have found it helps to draw the curtains when there is a full moon. ;)

Regards
Chris
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] quiet computer

2009-10-06 Thread Matthew Hannigan


If it's mostly the 2am noise that bothers you,
the first thing you might try is turn off whatever
is scheduled at that time.  Popular offenders are
prelinking and manpage indexing but there are many
other possibilities.  Turn them off or move them to
say 10am in the morning when no one is around.

You can also try out powertop (from intel) which
is intended to find things that use a lot of power.
Those things also of course tend to make the cpu
run hotter and start up the fans as well.

If you do enough plus some power settings, you can even get
to the point where the machine goes to sleep when not used.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] quiet computer

2009-10-06 Thread Dean Hamstead
larger fans are quieter than smaller fans, and much cheaper than liquid 
cooling


you can also get extremely large cpu coolers that will reduce noise.


Dean

Ken Foskey wrote:

My computer is too noisy.   It is not graphics because it is not used
much and when it does there is enough background noise.  It is the power
supply and cpu fan that kicks in with cron at 2 am in the morning.

I was thinking about adding fluid cooling,   is this worth it or else
can I where can I get a powerful 24 hour home system that will run
quietly?

Thanks
Ken

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] quiet computer

2009-10-06 Thread Jeff Waugh


> My computer is too noisy. It is not graphics because it is not used much
> and when it does there is enough background noise. It is the power supply
> and cpu fan that kicks in with cron at 2 am in the morning.
> 
> I was thinking about adding fluid cooling, is this worth it or else can I
> where can I get a powerful 24 hour home system that will run quietly?

You can get very quiet CPU and PSU fans these days. (I've always found GPU
fans to be the most problematic, because they're cheap and usually difficult
to replace.)

My current solution: An HTPC style case for my desktop system, which has no
PSU fan at all (it uses a laptop-style power supply)... and a quietish CPU
fan... which is getting louder with age. ;-)

The server in the lounge room just has quiet fans, and is only audible in
the dead of night, when the TV isn't on. Or when the disks go crazy.

Turns out it's quite scary when the disks go crazy in the dead of night when
the TV isn't on. :-)

- Jeff

-- 
linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/
 
Ye shall be cursed to fall in love so easily, and yet be so cold of
   heart as never to express it.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] quiet computer

2009-10-06 Thread Ken Foskey

My computer is too noisy.   It is not graphics because it is not used
much and when it does there is enough background noise.  It is the power
supply and cpu fan that kicks in with cron at 2 am in the morning.

I was thinking about adding fluid cooling,   is this worth it or else
can I where can I get a powerful 24 hour home system that will run
quietly?

Thanks
Ken
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] django/rails

2009-10-06 Thread Daniel Bush
I'd like to venture something but I can't really because I only know one
side of this - ruby/rails.
I think you could probably flip a coin and just go with one or the other.

It might come down to picking a language.  If python grabs you, then django
is probably the way to go and vice versa.  (If you like oop or iterators,
ruby is probably your thing :) )  Both languages run on jvm and probably
.net; I think jruby is maturing well from I what I've read (not done); don't
know about python.

That being said,  I think rails has more recognition than django although
both are probably not considered even close to "mainstream" yet and are
likely to attract blank stares from grizzled verterans hunched in their
trenches.

If I were looking at django based on rails I'd be looking at:
- testing: not only models but controllers and integration
(sessions,cookies, moving around); also integration with more behaviour
driven testing via rspec if you prefer that to TDD
- handling of test, development and production environments including the
database
- migrations - incrementally adding stuff like new columns etc
- authentication and other plugins like pagination etc
- models/orm - activerecord is nice (you've got get your head around:
associations, validations and callbacks - and it takes some time if you like
punching out sql) although it's easy to end up generating large wodges of
sql without you realising it
- templating/views; I like erb and how easy it is to print and/or execute
statements within a template; there are alternatives like haml which look
cool; I can't believe how clunky php is by comparison
- partials - rendering blobs of html within a template or other blob; this
is a nice way to organise your templating
- caching: page caching, fragment caching etc; so you can do expensive
things and not feel bad about how wasteful they are :)
- controllers: filters, sessions; subclassing controllers
- debugging: ability to debug a live controller/model; although I rarely
need to do this

etc etc


2009/10/6 david 

> I'm reading up on both, trying to make an intelligent decision which to
> use.
>
> I'm agnostic about ruby/python, although I have a faint feeling that python
> may be better. In either case I have to learn the language.
>
> Does anyone care to venture an opinion? Flame war anyone?
>
> David
>
>
>
> PS:
> I've noted that Ruby has a DB migration facility which looks useful.
> 
> There are two key advantages to Rails' incremental migrations compared with
> Django. First, Rails provides a standard mechanism for deploying new
> releases to already running production systems while preserving data. For
> example, if a database column's type is changed from char to integer, the
> accompanying Rails migration script would specify the steps required to move
> the data from the old char column to the new integer column. To perform
> similar operations in Django, the developer would need to write an ad-hoc
> SQL script.
>
> The second advantage is that, being easily rolled back, migrations
> encourage a certain amount of experimentation with the model classes and
> database schema. Certainly some experimentation with models is possible in
> Django, especially if the model code is kept under source code control, but
> as data is not preserved through such changes, it is less attractive unless
> there is a mechanism for quickly loading test data.
>
> At the time of writing, the Django development community is working toward
> introducing a schema evolution mechanism.
> 
>
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



-- 
Daniel Bush
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] MythTV issues

2009-10-06 Thread Jake Anderson

I know its windowsish, but have you tried rebooting?

If some of the backend library's get updated when you start myth up 
again it'll be using the new libs but half the stuff its talking to will 
be using the old ones and it'll all get horribly screwed up.


Meijer, Luke wrote:

Hello

Hoping someone is familiar with MythTV.

I built a new HTPC box last week and had everything working perfectly.

It was a vanilla Ubuntu 9.04 build then I installed MythTV + the avenard repo 
for the 0.21+fixes and VDPAU support.

HDMI video / audio, LCD screen, Shepard EPG and mythweb were all perfect.

Last night I got notified that updates were available and after installing (a 
lot came down from the avenard repo) I launch Mythtv and it just kicks me back 
to the desktop.

Running the mythfrontend -v all gives me a segmentation fault and checking the 
'crashes' log tells me mythbackend is not configured.

If I launch mythbackend it tells me to run mythfilldatabase, if I run 
mythfilldatabase and run the mythbackend it just tells me the same thing over 
and over.

I thought I could re-install so I removed then added it back in through the 
package manager but just get the exact same problem.

Does anyone have any angles for me to go down? I don't mind re-installing 
mythtv (is there some way to restore what I had previously working?).

If I get it working again I think I will skip any updates until Ubuntu 9.10 and 
0.22 are officially released (hopefully soon!).

Thanks for any help

Luke
**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
  


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CodeCon 2009

2009-10-06 Thread Andreas
All right, another exciting CodeCon!  I'll be comming up from canberra
by train, so if
there's anyone who needs a navigator, I'll contribute towards travel
costs, and try
not to get us lost. ;-)  Somewhere in the city would be the best place
for a rendezvous,
but I can make my way to anywhere with a train station.

- Andreas

2009/10/7 Peter Miller :
> It's that time of year again, and I'm running another CodeCon.  That's
> coding and camping, for the uninitiated.  Real tents, no Internet, no
> phone reception.  I do hire a generator, so the laptops still work.
>
> This year we return to Olney State Forest, in the NSW Central Coast
> hinterlands.  Last time we were there, several ultra-urban geeks learned
> the binary chop technique can be applied to logs, with a fire.
>
> Information and driving instructions may be found at
> http://miller.emu.id.au/pmiller/codecon2009/
>
>
> (Btw, who has blog entries for previous CodeCons?  I'd like to link.)
>
>
> Regards
> Peter Miller 
> /\/\*        http://miller.emu.id.au/pmiller/
>
> PGP public key ID: 1024D/D0EDB64D
> fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
> See http://www.keyserver.net or any PGP keyserver for public key.
>
> "A computer is like air conditioning: it becomes useless when you open
> windows." -- Linus Torvalds
>
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] django/rails

2009-10-06 Thread Nicholas Jefferson
I'm agnostic about ruby/python, although I have a faint feeling that 
python may be better. In either case I have to learn the language.


Hi David, I use both python and ruby, but I prefer ruby. I find it 
easier to develop code incrementally in ruby because I can extract code 
into classes or modules with few modifications. I like the convenient 
syntax for passing and calling closures, and ruby's metaprogramming 
features are also often useful.


Thanks,

Nicholas
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] MythTV issues

2009-10-06 Thread Meijer, Luke
Hello

Hoping someone is familiar with MythTV.

I built a new HTPC box last week and had everything working perfectly.

It was a vanilla Ubuntu 9.04 build then I installed MythTV + the avenard repo 
for the 0.21+fixes and VDPAU support.

HDMI video / audio, LCD screen, Shepard EPG and mythweb were all perfect.

Last night I got notified that updates were available and after installing (a 
lot came down from the avenard repo) I launch Mythtv and it just kicks me back 
to the desktop.

Running the mythfrontend -v all gives me a segmentation fault and checking the 
'crashes' log tells me mythbackend is not configured.

If I launch mythbackend it tells me to run mythfilldatabase, if I run 
mythfilldatabase and run the mythbackend it just tells me the same thing over 
and over.

I thought I could re-install so I removed then added it back in through the 
package manager but just get the exact same problem.

Does anyone have any angles for me to go down? I don't mind re-installing 
mythtv (is there some way to restore what I had previously working?).

If I get it working again I think I will skip any updates until Ubuntu 9.10 and 
0.22 are officially released (hopefully soon!).

Thanks for any help

Luke
**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CodeCon 2009

2009-10-06 Thread Erik de Castro Lopo
Peter Miller wrote:

> It's that time of year again, and I'm running another CodeCon.

Awesome!!

> That's coding and camping, for the uninitiated.

I'm initiated!!!

> (Btw, who has blog entries for previous CodeCons?  I'd like to link.)

I have these two:

http://www.mega-nerd.com/erikd/Blog/codecon06.html
http://www.mega-nerd.com/erikd/Blog/codecon08.html

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] CodeCon 2009

2009-10-06 Thread Peter Miller
It's that time of year again, and I'm running another CodeCon.  That's
coding and camping, for the uninitiated.  Real tents, no Internet, no
phone reception.  I do hire a generator, so the laptops still work.

This year we return to Olney State Forest, in the NSW Central Coast
hinterlands.  Last time we were there, several ultra-urban geeks learned
the binary chop technique can be applied to logs, with a fire.

Information and driving instructions may be found at
http://miller.emu.id.au/pmiller/codecon2009/


(Btw, who has blog entries for previous CodeCons?  I'd like to link.)


Regards
Peter Miller 
/\/\*http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

"A computer is like air conditioning: it becomes useless when you open
windows." -- Linus Torvalds




signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Invision phpBB Site Content ripping

2009-10-06 Thread Daniel Pittman
Amos Shapira  writes:
> 2009/10/6 Kyle :
>> Hi Folks,
>>
>> how hard/easy would it be to get something written which could log onto one
>> IP.Board forum, crawl that site and download the content only, to import
>> into another IP.board db?
>>
>> So users, forums, threads, PM's, user galleries, etc.
>>
>> Assuming one doesn't have access to the DB from the original site.
>
> We used Perl WWW::Mechanize (http://search.cpan.org/dist/WWW-Mechanize/) to
> write up something similar to Forum Proxy Leacher. I'll try to get
> permission to release it.

If you do go down this path I ♥ the HTML::TreeParser::XPath module[1], which
will parse the HTML into a DOM-like structure, then let you get at the content
with XPath expressions.

I find that extremely powerful in accessing the content in a meaningful
fashion, either through the XPath queries, or through the TreeParser
per-instance objects.

Daniel

Footnotes: 
[1]  http://search.cpan.org/~mirod/HTML-TreeBuilder-XPath-0.11/

-- 
✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707
   ♽ made with 100 percent post-consumer electrons
   Looking for work?  Love Perl?  In Melbourne, Australia?  We are hiring.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html