Author Topic: Automated cake ordering process failure  (Read 1201 times)

Manedwolf

  • friend
  • Senior Member
  • ***
  • Posts: 14,516
Automated cake ordering process failure
« on: February 07, 2009, 06:47:03 PM »
Edible ink + website ordering form + bad code + mostly automated process:



Tasty code! :lol:

Cromlech

  • friend
  • Senior Member
  • ***
  • Posts: 1,402
  • English bloke
Re: Automated cake ordering process failure
« Reply #1 on: February 07, 2009, 07:25:04 PM »
The cake is a lie.

Seriously though, that's funny.  =D
When in deadly danger, when beset by doubt, run in little circles, wave your arms and shout!

Regolith

  • friend
  • Senior Member
  • ***
  • Posts: 6,171
Re: Automated cake ordering process failure
« Reply #2 on: February 07, 2009, 07:31:00 PM »
 :O


I'm curious as to whether that resulted because there was a carriage return inserted in the middle of the very last comment closing tag, or if someone tried to use HTML comments in something that wasn't HTML....It doesn't seem that one borked comment tag would screw all the others up. 

Going to have to test that....

Edit:  Looks like the html, as presented works.  Firefox, at least, ignores a carriage return in the code.  They borked it up somewhere else, probably by mixing HTML comments with whatever language they were using to process the orders. 

Edit Redux:  Looks like IE 7 doesn't ignore the malformed comment, however, and does display the rest of the comments due to it.  So maybe it is just crappy HTML.
« Last Edit: February 07, 2009, 07:42:16 PM by Regolith »
The price of freedom is eternal vigilance. - Thomas Jefferson

Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves. - William Pitt the Younger

Perfectly symmetrical violence never solved anything. - Professor Hubert J. Farnsworth

Physics

  • ∇xE=-1/c·∂B/∂t, ∇·E=4πρ, ∇·B=0, ∇xB=1/c·∂E/∂t, F=q(E+v/cxB)
  • friend
  • Senior Member
  • ***
  • Posts: 1,315
Re: Automated cake ordering process failure
« Reply #3 on: February 07, 2009, 10:13:16 PM »
:O


I'm curious as to whether that resulted because there was a carriage return inserted in the middle of the very last comment closing tag, or if someone tried to use HTML comments in something that wasn't HTML....It doesn't seem that one borked comment tag would screw all the others up. 

Going to have to test that....

Edit:  Looks like the html, as presented works.  Firefox, at least, ignores a carriage return in the code.  They borked it up somewhere else, probably by mixing HTML comments with whatever language they were using to process the orders. 

Edit Redux:  Looks like IE 7 doesn't ignore the malformed comment, however, and does display the rest of the comments due to it.  So maybe it is just crappy HTML.

Nerdsniped!   =D
In the world of science, there is physics.  Everything else is stamp collecting.  -Ernest Rutherford

Standing Wolf

  • friend
  • Senior Member
  • ***
  • Posts: 2,978
Re: Automated cake ordering process failure
« Reply #4 on: February 07, 2009, 10:28:34 PM »
Quote
Edible ink +

That's the point at which my alleged "mind" blew a gasket.
No tyrant should ever be allowed to die of natural causes.

Manedwolf

  • friend
  • Senior Member
  • ***
  • Posts: 14,516
Re: Automated cake ordering process failure
« Reply #5 on: February 07, 2009, 10:57:21 PM »
That's the point at which my alleged "mind" blew a gasket.

All the cake places do that. Go look at their sites. It's a modified inkjet that does a transfer with food-grade dyes instead.

Regolith

  • friend
  • Senior Member
  • ***
  • Posts: 6,171
Re: Automated cake ordering process failure
« Reply #6 on: February 07, 2009, 11:24:46 PM »
The price of freedom is eternal vigilance. - Thomas Jefferson

Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves. - William Pitt the Younger

Perfectly symmetrical violence never solved anything. - Professor Hubert J. Farnsworth