News for hackers. Stuff that matters.
Re:I made a fake-cake generator for my 30th birthday by dr_lego on Sunday October 03, 2010 @11:21PM (#1754488)
Re:I made a fake-cake generator for my 30th birthday by chime on Sunday October 03, 2010 @11:23PM (#1754493)
How can you drop that which doesn't exist? There's no DB behind this site.
Re:I made a fake-cake generator for my 30th birthday by Groxx on Sunday October 03, 2010 @11:29PM (#1754508)
Are you saying the cake doesn't exist? That it's... a lie? Why would anyone lie about cake?

For that matter, why would anyone intentionally drop cake? That's a waste of good cake! Shame on you, dr_lego!

Re:I made a fake-cake generator for my 30th birthday by dr_lego on Monday October 04, 2010 @01:05AM (#1754661)
Aw, I would never really try to hack cakesy!

For whatever reason, I just found the statement "drop cake" hilarious. Nevermind it's not valid sql.

Re:I made a fake-cake generator for my 30th birthday by devmonk on Monday October 04, 2010 @07:37PM (#1758012)
It's cakeql:

SELECT BOWL FROM CABINET FULL JOIN EGGS ON COUNTER WITH MIXER, FULL JOIN FLOUR ON COUNTER WITH MIXER, FULL JOIN SUGAR ON COUNTER WITH MIXER WHERE CHEF IS NOT NULL; UPDATE OVEN SET TEMP = F(450); INSERT INTO OVEN VALUES CAKE AFTER REMOVE FREAKIN_TRAY FROM OVEN WITH MITT; BAKE CAKE; REMOVE CAKE WHERE CAKE = BAKED; DROP CAKE; REMOVE CAKE WHERE CAKE ON FLOOR WHERE FIVE_SECOND_RULE = TRUE; CROSS APPLY ICING(RED) AS DECORATION; CUT CAKE; SELECT SLICE(LARGE) AS "PIECE" FROM CAKE AND EAT("PIECE");

Re:I made a fake-cake generator for my 30th birthday by JoachimSchipper on Monday October 04, 2010 @07:35AM (#1755317)
Are you just using regular files?
Re:I made a fake-cake generator for my 30th birthday by chime on Monday October 04, 2010 @08:19AM (#1755400)
The only files I'm creating are .jpg files. The file name is a hash of the form values. Put in the same form values and you get the same .jpg file.