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.07 | ChoHag | Oh yes, chef. Make your log files world writable. |
08:32.45 | bilarh | brilliant :) |
08:33.31 | wethrin | ha |
08:39.55 | ChoHag | I 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.00 | ChoHag | And a vital component failed on Sunday morning with nothing complaining. In fact according to the UI, the nodes have been running perfectly. |
08:41.42 | ChoHag | I 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.35 | bilarh | http://i55.tinypic.com/e9dd9t.gif |
09:02.22 | antiphase | The technical wonder of the Internet has never been put to a better use than that |
09:14.45 | AndyMillar | ChoHag: 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.45 | j0nr | I 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.23 | antiphase | Moar information required |
11:20.25 | j0nr | theres nothing wrong with the PDF if I just view it directly |
11:21.28 | j0nr | ok. 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.47 | wethrin | maybe the file doesn't start with %PDF- |
11:21.54 | wethrin | % is, IIRC, a Postscript comment |
11:22.37 | j0nr | I'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.41 | antiphase | Do you mean you're serving the content using a PHP script? |
11:24.06 | j0nr | yes |
11:24.17 | antiphase | So the user GETs then |
11:24.21 | antiphase | not the dscript |
11:24.37 | antiphase | What does `curl -I` say about it? |
11:24.50 | j0nr | I guess. The user presses a button which calls up the script which basically uses readfile() |
11:25.04 | antiphase | Welll you wrote it :P |
11:25.29 | j0nr | I'm not sure what to do with curl -I |
11:26.02 | antiphase | It performs a HEAD operation, so you need to give it the URL of your script |
11:26.11 | j0nr | oh ok |
11:26.47 | antiphase | It's to satisfy my curiosity about the Content-Type that's being given |
11:27.44 | j0nr | antiphase: http://pastebin.com/HRbnQ6r6 |
11:28.14 | j0nr | but like I said, some entries work, some do not |
11:28.40 | antiphase | You'd have to save them and look at them then |
11:28.51 | j0nr | oh bugger hang on... |
11:29.05 | antiphase | They're probably Apache error pages that don't start with %PDF- |
11:30.47 | j0nr | helps if there is actually an PDF there |
11:31.35 | antiphase | People 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.39 | dick_turpin | Afternoon all |
11:36.18 | j0nr | antiphase: you reckon? |
11:37.18 | dick_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.50 | dick_turpin | Sending 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.37 | dick_turpin | "I'm afraid Jason was there for 6 weeks" |
13:38.03 | Alex | '80GB computer' |
13:40.57 | dick_turpin | Refurb HP 7600 |
13:41.28 | dick_turpin | I sell loads of them :-) |
17:28.25 | *** join/#gllug ChoHag (~mking@109-170-148-201.xdsl.murphx.net) |
17:46.40 | gregj | http://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) |