Search found 15 matches

by nik-w
Wed Oct 08, 2008 1:46 am
Forum: General
Topic: [Gentoo] Console-based hardware monitoring
Replies: 10
Views: 2481

One safe speed-up I do use is cache.metadata_overlay.database but the only major difference it makes is to prevent the need to do a meta-data transfer after an emerge --sync. That SQLite speed-up should have made a significant different though so maybe something went wrong. I have my box sync in th...
by nik-w
Sat Oct 04, 2008 11:12 pm
Forum: General
Topic: [Gentoo] Console-based hardware monitoring
Replies: 10
Views: 2481

They are. That's why there's Gentoo/FreeBSD. :P But evidently hardware monitoring is something they do a bit differently, probably because FreeBSD doesn't have sysfs (the /sys directory). Oh well! Think I'll just look into buying a new fan for it or something - especially as I'm going away for a we...
by nik-w
Thu Oct 02, 2008 11:11 pm
Forum: General
Topic: [Gentoo] Console-based hardware monitoring
Replies: 10
Views: 2481

Chewi wrote:Nice find. Let's hope it's the right socket.

Just looked at app-admin/consolehm. The reason it says that is because it's for FreeBSD, not Linux. :P
So why's it in the Gentoo repository? I thought BSD and Linux were fairly compatible with each other, anyway?
by nik-w
Thu Oct 02, 2008 11:04 pm
Forum: General
Topic: [Gentoo] Console-based hardware monitoring
Replies: 10
Views: 2481

99mm x 93mm x 86mm Would you be able to squeeze that in there? http://www.overclockers.co.uk/showprodu ... 39/940/AM2 )[/url] http://www.overclockers.co.uk/showprodu ... =HS-031-AK The middle one might just fit being as it's a sort of tiered design - there's a row of capacitors right behind the CPU...
by nik-w
Wed Oct 01, 2008 12:03 am
Forum: General
Topic: [Gentoo] Console-based hardware monitoring
Replies: 10
Views: 2481

Ok, so my server may be ill. All *seems* well (minus the odd wobble here and there - including the most amusing error message to date the other day: "bread failed"), but the BIOS is not happy - not happy at all. It's problem is that it says the CPU fan has failed. When I go into the BIOS, ...
by nik-w
Thu Sep 11, 2008 12:33 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

That's cool! I'll look into that if ever I need to start storing passwords and stuff (none of my sites require logins)!:) My sites all have fairly low userbases, so there's less chance of someone wanting to try and attack my server than a more widely-used site. Regardless, I try and do what I can re...
by nik-w
Wed Sep 10, 2008 9:05 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

So to get past the SQL injection thing, apart from making sure that the db user has as few privs as necessary (only root ever has DROP privs, but obviously you can just "DELETE FROM `table`"), I could strip out [a-zA-Z] which would work for most cases, but not where the parameter has to co...
by nik-w
Wed Sep 10, 2008 6:03 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

Hrm... I've heard of SQL injection, but I thought that was just relevent if you actually did something with the stuff being transferred between the database (like store bits of code in the database). All I ever do is store text then retrieve it later (and the most processing I ever do on stuff pulle...
by nik-w
Wed Sep 10, 2008 3:41 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

ok, you should have it now (again)!
by nik-w
Wed Sep 10, 2008 3:33 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

Chewi wrote:Hmm I didn't get it. Should be instant.
Grumble. Should have clicked "save to sent folder"!

Will retype/resend!
by nik-w
Wed Sep 10, 2008 3:26 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

Chewi wrote:Looking forward to this PM. :D
It's been sent - feel free to have a look round, just try not to laugh too hard!:p
by nik-w
Wed Sep 10, 2008 3:10 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

I've just been talking to my best mate from uni (we learnt to program C/C++/PHP together - he also taught me more Perl than the lecturer ever did) - I was telling him about my confusion about the whole MVC thing and he's pretty much explained it to me a bit clearer (he knows the sort of crap I write...
by nik-w
Wed Sep 10, 2008 12:37 am
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

I'm gonna remove mod_ruby as I have no idea how to make the bloody thing work!:p The apache config basically implies that whenever apache comes across a .rbx file, it'll give it to mod_ruby. I created foo.rbx which just contained 'puts "foo!"' - ran "ruby foo.rbx" - no probs. Tri...
by nik-w
Tue Sep 09, 2008 6:00 pm
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

I forgot to mention that there is also a Rails book called Agile Web Development with Rails . I have the first edition and I was going to say that even the second edition is probably quite outdated now but the third edition is coming out next month. There are a lot of other Rails books but make sur...
by nik-w
Tue Sep 09, 2008 1:03 am
Forum: General
Topic: Ruby on Rails
Replies: 21
Views: 4064

As I said, brain fade re: the new topic thing!:p Had a look at those sites - it's certainly an interesting language! The "why's guide" thing is quite interesting at first, but I started skipping through the waffle after a while and just trying to read the code and figure it out! I think th...