IRC log for #gllug on 20100915

01:18.28*** join/#gllug ChoHag (~mking@109-170-148-201.xdsl.murphx.net)
02:06.25*** join/#gllug Alex (alexjs@goatse.co.uk)
04:30.56*** join/#gllug Leeds (~richardc@www.scorefive.com)
07:09.24*** join/#gllug boudiccas (~boudiccas@unaffiliated/boudiccas)
08:25.14*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
08:32.07ChoHagOh yes, chef. Make your log files world writable.
08:32.45bilarhbrilliant :)
08:33.31wethrinha
08:39.55ChoHagI once asked in #chef how to make logging use syslog. I was told to insert a 4/5 line block of code in the config file.
08:41.00ChoHagAnd a vital component failed on Sunday morning with nothing complaining. In fact according to the UI, the nodes have been running perfectly.
08:41.42ChoHagI don't think they take logging very seriously. They were full of fail but no part of the system bothered to tell me.
08:56.35bilarhhttp://i55.tinypic.com/e9dd9t.gif
09:02.22antiphaseThe technical wonder of the Internet has never been put to a better use than that
09:14.45AndyMillarChoHag: they don't take non-hobby stuff seriously :p
10:34.44*** join/#gllug an0key (~an0key@n0rty.an0key.net)
11:12.31*** join/#gllug Leeds (~richardc@n219078058021.netvigator.com)
11:19.45j0nrI am not sure if this is the right place to ask, but I am working on a php script and when I ask to download a PDF file, I get an error "File does not begin with '%PDF-'" anyone know why that is?
11:20.23antiphaseMoar information required
11:20.25j0nrtheres nothing wrong with the PDF if I just view it directly
11:21.28j0nrok. I created a pdf using pdflatex, then use a php script to 'get' it and allow the user to download it. some work and other dont. I dont understand why some do and some dont. the one's that don't display that error
11:21.47wethrinmaybe the file doesn't start with %PDF-
11:21.54wethrin% is, IIRC, a Postscript comment
11:22.37j0nrI'm not sure where the %PDF- is meant to go... I basically create a .tex file and just use the command pdflatex on it.
11:23.41antiphaseDo you mean you're serving the content using a PHP script?
11:24.06j0nryes
11:24.17antiphaseSo the user GETs then
11:24.21antiphasenot the dscript
11:24.37antiphaseWhat does `curl -I` say about it?
11:24.50j0nrI guess. The user presses a button which calls up the script which basically uses readfile()
11:25.04antiphaseWelll you wrote it :P
11:25.29j0nrI'm not sure what to do with curl -I
11:26.02antiphaseIt performs a HEAD operation, so you need to give it the URL of your script
11:26.11j0nroh ok
11:26.47antiphaseIt's to satisfy my curiosity about the Content-Type that's being given
11:27.44j0nrantiphase: http://pastebin.com/HRbnQ6r6
11:28.14j0nrbut like I said, some entries work, some do not
11:28.40antiphaseYou'd have to save them and look at them then
11:28.51j0nroh bugger hang on...
11:29.05antiphaseThey're probably Apache error pages that don't start with %PDF-
11:30.47j0nrhelps if there is actually an PDF there
11:31.35antiphasePeople can probably use your script to download your password file as well, which is conventional with PHP scripts
11:35.09*** join/#gllug dick_turpin (~dick_turp@host217-34-163-30.in-addr.btopenworld.com)
11:35.39dick_turpinAfternoon all
11:36.18j0nrantiphase: you reckon?
11:37.18dick_turpin"123456 road runner road runner! Going faster miles an hour"
13:23.04*** join/#gllug stu_ (~stu@dyn1240-137.vpn.ic.ac.uk)
13:24.50dick_turpinSending me a confirmation of work ordered email that says "Please provide 80GB computer as discussed for £250 plus Jason's time" is a like offering me your bank account details
13:25.37dick_turpin"I'm afraid Jason was there for 6 weeks"
13:38.03Alex'80GB computer'
13:40.57dick_turpinRefurb HP 7600
13:41.28dick_turpinI sell loads of them :-)
17:28.25*** join/#gllug ChoHag (~mking@109-170-148-201.xdsl.murphx.net)
17:46.40gregjhttp://i.imgur.com/68UG7.gif
22:00.54*** join/#gllug stu__ (~stu@94-30-86-45.xdsl.murphx.net)
23:42.50*** join/#gllug Leeds (~richardc@n219078058021.netvigator.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.