PlanetCrap 6.0!
Front Page (ATOM) • Submission Bin (4) • ArchivesUsersLoginCreate Account
You are currently not logged in.
T O P I C
Duke Nukem Forever - IT'S DONE!! (Confirmed for May 2011)
February 10th 2011, 23:46 CET by FrankZulu

This is my first submission. Please vote yes. :P
C O M M E N T S
Home » Topic: Duke Nukem Forever - IT'S DONE!! (Confirmed for May 2011)

|«« - Previous Page - Next Page - »»|
#205 by Milan Brezovský
2011-03-31 01:17:59
http://uglycode.com
I would play either over DNF.

Parhelic Triangle is coming. Eventually.
#206 by Penguinx
2011-03-31 11:35:01
BALLS OF STEEL
#207 by Penguinx
2011-03-31 11:35:50
If I can shrink a stripper and step on her, GOTY.
#208 by gaggle
2011-04-03 21:54:10
Darth Vader vs. Hitler is a pretty epic rap battle.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#209 by gaggle
2011-04-04 01:50:05
Troll 2 is this old trainwreck of a movie well deserving of its "Worst movie ever" status (I saw 15+ years ago)

However,
The documentary about that movie is great! Best Worst Movie is hilarious, insightful and occasionally sad, but always interesting. All thumbs up.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#210 by Milan Brezovský
2011-04-04 01:51:47
http://uglycode.com
Argh. My friends freestyle better than that, even when sober.

Parhelic Triangle is coming. Eventually.
#211 by gaggle
2011-04-04 02:03:30
Bullshit, no one can best "here, step into my shower". Except maybe Stephen Hawking's mama joke.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#212 by gaggle
2011-04-04 04:10:40
Huh. I've come across the silliest of problems in developing my product webpage: What is the correct way to make a hyperlink that downloads a file?

I get an error with my current technique: I have a "download.php" file that contains header data to transmit the file as binary. The file is transmitted just fine, but I get this console error in Safari when using the link:
Failed to load resource: Frame load interrupted

Eh the error is ignorable I suppose, but I assume it means I'm doing something wrong.

The download.php code is simple:
< ?php
header('Content-type: application/octet-stream');
header('Content-disposition: attachment; filename=foundation_installer.mel');
readfile('http://mayafoundation.googlecode.com/files/foundation_installer_1.0.mel');
? >


Any of you amazing web guys can slap some sense into me? Downloading a file cannot be where I stumble and fail.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#213 by bishop
2011-04-04 07:57:25
http://www.darkintel.org/00FF00/
I just use an "a href" and the direct link to the file, but I'm not fancy.
#214 by G-Man
2011-04-04 09:47:39
Googling suggests that the notification is a Webkit security feature since you are using a script to generate the header. However Safari handles the warning differently from Firefox etc. (despite using the same engine) so you mostly see people complaining about it in reference to Safari.
#215 by Gabe
2011-04-04 20:02:46
http://www.dartpublishing.com
The script is server side, so doubt it's a Webkit security feature related to scripting. Not that I know what is actually going on.

I'm kind of with bishop, though, why this convolution vs just a normal link to a file?
#216 by G-Man
2011-04-04 23:12:33
Maybe it needs to be able to serve up links to dynamically generated files?
#217 by gaggle
2011-04-05 02:15:18
I did start off with just a simple link to the file itself but I think it actually generated the same error. I can test that later to be sure. But more importantly the file is a .mel file, which I'm pretty sure on some machines will be read as a text file. The purpose of my product is to be downloaded, not displayed in the browser.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#218 by Shadarr
2011-04-05 02:16:58
shadarr@gmail.com http://digital-luddite.com
Most people just put a note to right-click and save as.

"I hope you one day decide to smarten the fuck up so I can stand to look at your posts." - gaggle
#219 by gaggle
2011-04-05 02:23:11
Maybe I'll do the same.

It does seem this error only occurs in Safari and only shows up in the console. If that's the only symptom I'll stop panicking and carry on with life.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#220 by deadlock
2011-04-05 02:31:21
http://www.deadlocked.org/
G-man:

Safari uses WebKit, Firefox uses Gecko.

#221 by Wudi
2011-04-05 02:32:38
ZIP it and be done with it. ur using a jackhammer to break a pebble. nub.

Zep--

w0rd up!
#222 by OwenButler
2011-04-05 04:42:32
http://blog.owenbutler.org/
#217 by gaggle

I did start off with just a simple link to the file itself but I think it actually generated the same error. I can test that later to be sure. But more importantly the file is a .mel file, which I'm pretty sure on some machines will be read as a text file. The purpose of my product is to be downloaded, not displayed in the browser.

Usually if I want something to be downloaded vs displayed in the browser I'll set a mime type with apache (httpd.conf):

AddType application/octet-stream .mel

Which probably does the same thing as the first line in your snippet.  Given that apache is good at these things, I'd probably try that first given it's the "simplest thing that might work".  One other place I've had strange errors like this was when trying to set headers using the php header() function after content has already been sent to the browser (even a random space or carriage return at the top of the file).  See here in the description for an example.

planetcrap quote script ? firefox : chrome : safari - my blag
#223 by m0nty
2011-04-05 06:56:44
http://tinfinger.blogspot.com
I agree with Wudi.

A little piece of me just died inside.
#224 by OwenButler
2011-04-05 09:09:30
http://blog.owenbutler.org/
There's an old proverb that applies here.

A man had a problem, which he decided to solve using php. Now he has two problems.

planetcrap quote script ? firefox : chrome : safari - my blag
#225 by Shadarr
2011-04-05 11:02:49
shadarr@gmail.com http://digital-luddite.com
There's nothing wrong with PHP, just like there's nothing wrong with Visual Basic.  The problem is it's so easy to use, a lot of people write really bad code with it.

"I hope you one day decide to smarten the fuck up so I can stand to look at your posts." - gaggle
#226 by m0nty
2011-04-05 11:12:23
http://tinfinger.blogspot.com
Especially people like me!
#227 by Gunp01nt
2011-04-05 11:41:12
supersimon33@hotmail.com
#217 by gaggle

I did start off with just a simple link to the file itself but I think it actually generated the same error. I can test that later to be sure. But more importantly the file is a .mel file, which I'm pretty sure on some machines will be read as a text file. The purpose of my product is to be downloaded, not displayed in the browser.


Why not cache the file on disk after it's generated and provide a link? That's much less computationally expensive than generating the file on the fly everytime the user clicks 'download'.

But if you're going to autogenerate it, don't forget a <meta http-equiv="PRAGMA" content="NO-CACHE"> tag.

She's probably had sex with like 4 different guys by now and has no idea who he is anymore, his face lost in a memory sea of dicks.
#228 by gaggle
2011-04-05 13:21:06
Oh I don't generate it. The php file just sends a file with a specific MIME type.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#229 by gaggle
2011-04-05 13:23:15
And thanks Owen, I'll check that out. Makes sense I can get Apache to do the same thing.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#230 by OwenButler
2011-04-05 16:56:19
http://blog.owenbutler.org/
#229 by gaggle

And thanks Owen, I'll check that out. Makes sense I can get Apache to do the same thing.

In the same theme, and also keeping with the theme of "the simplest thing that works":  I'd use a simple filesystem symlink to do the masking of filenames that you are doing with the second line.  That way when you upload a new version you just change the symlink, you don't have to edit the php file.  In fact, there wouldn't even be a php file!

planetcrap quote script ? firefox : chrome : safari - my blag
#231 by OwenButler
2011-04-05 16:58:10
http://blog.owenbutler.org/
#225 by Shadarr

There's nothing wrong with PHP, just like there's nothing wrong with Visual Basic.  The problem is it's so easy to use, a lot of people write really bad code with it.

Yeah I kid.  I've never built anything of merit with it myself but I'm sure it's possible as with any language!  I use wordpress every day and it's pretty damn sweet.

planetcrap quote script ? firefox : chrome : safari - my blag
#232 by jjohnsen
2011-04-05 18:38:31
http://www.johnsenclan.com
My wife just got an Android phone, and tight there on the home page is a Bing app that it won't let you delete.  wtf?

#233 by LPMiller
2011-04-05 19:12:21
lpmiller@gotapex.com http://www.gotapex.com
that is usually the fault of the carrier in question. The only way around it is to root the phone.

"Testiculos habet et bene pendentes" - "He has testicles, and they dangle nicely."

"LP, your big balls are a religion." - Jibble
#234 by jjohnsen
2011-04-05 20:07:43
http://www.johnsenclan.com
I'll have to look into that, she probably won't use it for anything intense so I was thinking of rooting it so I could lower the cpu to extend battery life.

#235 by gaggle
2011-04-06 01:03:48
Btw Owen did you know Planetcrap quote script (WHICH I LOOOOOVE) throws an error when visiting the first page of The Thread?

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#236 by Shadarr
2011-04-06 03:03:53
shadarr@gmail.com http://digital-luddite.com
That's understandable, so do I.

"I hope you one day decide to smarten the fuck up so I can stand to look at your posts." - gaggle
#237 by gaggle
2011-04-06 03:08:10
+4 Funny

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#238 by OwenButler
2011-04-06 05:16:17
http://blog.owenbutler.org/
#235 by gaggle

Btw Owen did you know Planetcrap quote script (WHICH I LOOOOOVE) throws an error when visiting the first page of The Thread?

Hey cool.  I assume you mean the safari version?  I'll have a look and hopefully I can fix it as I would love to try out the autoupdate feature of the safari extensions.

planetcrap quote script ? firefox : chrome : safari - my blag
#239 by OwenButler
2011-04-06 08:55:25
http://blog.owenbutler.org/
#235 by gaggle

Btw Owen did you know Planetcrap quote script (WHICH I LOOOOOVE) throws an error when visiting the first page of The Thread?

I've pushed an update to the script.  If you've set automatic updates for extensions it will happen automatically, otherwise you might have to go to Preferences -> Extensions -> Update all.

The autoupdate feature for safari works as advertised, I inevitably stuffed it up a bit by mismatching version numbers in a plist file somewhere, but worked it out after a bit of head scratching.

planetcrap quote script ? firefox : chrome : safari - my blag
#240 by Gabe
2011-04-06 19:49:09
http://www.dartpublishing.com
Out of curiosity I finally decided to check out Owen's script and got this dialog and I thought it was funny. No sane person would want to install planetcrap on their computer.
#241 by gaggle
2011-04-06 21:04:02
You are a rock God Owen. I verified that the error still occurred, then restarted Safari and instantly the error is gone. That is too cool. Good catch on the Safari assumption, that wasn't my most informative bug-report to date.

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#242 by OwenButler
2011-04-07 05:06:31
http://blog.owenbutler.org/
#240 by Gabe

Out of curiosity I finally decided to check out Owen's script and got this dialog and I thought it was funny. No sane person would want to install planetcrap on their computer.

Yeah, that should really come with a more serious health warning.

planetcrap quote script ? firefox : chrome : safari - my blag
#243 by gaggle
2011-04-07 05:28:23
So, websites.

I've pushed the first online version of a product site I've been working on to my staging area, can I ask you guys to check it out for errors and stuff? The "product" itself is a super niche Maya script that makes it easy to load scripts from any folder and probably isn't worth all the glitzy images. But I wanted to stretch my HTML legs.

Anyway,
If I can get you to pretend you're really interested in this amazing product and/or service and visit http://foundation.staging.jonlauridsen.com/ then that'd be super cool. User/Passw is guest / guest1. Please post whatever thoughts you have, whether it be usability issues, bugs or trolling.

The page isn't optimized at all yet so don't look too closely at the underlying structure :)

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#244 by gaggle
2011-04-07 05:30:35
More Safari Planetcrap script feedback: An error occurs when going to Profile -> Edit Profile.

I don't even care if you fix it or not, did I mention the script is great just the way it is? :)

"Roses are red, violets are blue, rubbish is dumped and so are you." - FML
#245 by Chunkstyle
2011-04-07 05:38:59
At the very bottom of the page your home link doesn't work.

Game Developers: Don't forget the zombie monkeys.
#246 by G-Man
2011-04-07 06:03:45
None of the links work. At least I think they are supposed to be links. The stuff that says "2001," "PC and Mac," "run the installer again," "BSD License," and "google code." If they aren't supposed to be links they why are they in a different font and bolded like links?

Also clicking on the photo launches a photo viewer thing but no actual photos.

I don't have Maya so I can't test the actual thingy.
#247 by OwenButler
2011-04-07 06:08:06
http://blog.owenbutler.org/
Looks good.  Modern look, in that I mean it's clean, nice column layout, big chunky download link.  It's a style that you see a lot today and I like it!  As g-man noted, the click to zoom image thingy doesn't work, just spins forever.

planetcrap quote script ? firefox : chrome : safari - my blag
#248 by gaggle
2011-04-07 06:21:42
Ups. Thanks Chunk, fixed.

"Roses are red, violets are blue, rubbish is dumped and so are you.":." - FML
#249 by gaggle
2011-04-07 06:26:26
The screenshot viewer doesn't work?


.. *facepalm*, I didn't shut down my local server so I didn't notice the images were being loaded from it instead of the staging server! Thanks guys, I've implemented a quick fix so the screenshots should load now.

"Roses are red, violets are blue, rubbish is dumped and so are you.":." - FML
#250 by gaggle
2011-04-07 06:30:45
I hear ya g-man, I've been discussing with myself if they should be links or not. I agree visually they suggest being links. Next revision I'll make them links and see how it feels.

"Roses are red, violets are blue, rubbish is dumped and so are you.":." - FML
#251 by gaggle
2011-04-07 06:31:57
Thanks Owen. I've stolen liberally from my favorite product sites, sounds like it paid off :)

"Roses are red, violets are blue, rubbish is dumped and so are you.":." - FML
#252 by gaggle
2011-04-07 07:02:00
That spinner actually took some effort to get going, it's a .png sprite containing 12 frames and javascript animates the pixel offset. Most googling suggests using an animated .gif as a spinner but they have such shitty transparencies.

"Roses are red, violets are blue, rubbish is dumped and so are you." : :" - FML
#253 by lwf
2011-04-07 07:06:49
The logo/splash takes up way too much vertical space.

Handsome like a coat hanger. Wii.
#254 by Matt Perkins
2011-04-07 07:09:19
wizardque@yahoo.com http://whatwouldmattdo.com/
Looks really good, gags. I am going to hire you!

"programmers talk from a very deep gnome cavern, full of gold mechanics" - wisdom from the ancients
C O M M E N T S
Home » Topic: Duke Nukem Forever - IT'S DONE!! (Confirmed for May 2011)

|«« - Previous Page - Next Page - »»|
P O S T   A   C O M M E N T

You need to be logged in to post a comment here. If you don't have an account yet, you can create one here. Registration is free.
C R A P T A G S
Simple formatting: [b]bold[/b], [i]italic[/i], [u]underline[/u]
Web Links: [url=www.mans.de]Cool Site[/url], [url]www.mans.de[/url]
Email Links: [email=some@email.com]Email me[/email], [email]some@email.com[/email]
Simple formatting: Quoted text: [quote]Yadda yadda[/quote]
Front Page (ATOM) • Submission Bin (4) • ArchivesUsersLoginCreate Account
You are currently not logged in.
There are currently 0 people browsing this site. [Details]