News for hackers. Stuff that matters.
Re:Pictures of kittens for use as placeholders in your desig... by rbanffy on Monday February 28, 2011 @04:11PM (#2272933)

	 /*_/| 
	 =0-0=
	 \'I'|
	 |<|,,\_
	 |[>,,/,\ 
	 |[|,\_,,)
	 ((J(=_*/
This one is valid C/C++/ObjC, Java, PHP, CSS...
Re:Pictures of kittens for use as placeholders in your desig... by Stormbringer on Monday February 28, 2011 @04:49PM (#2273101)
Brilliant!! This was actually what I was expecting.

But it makes me think - are there any code editors that you can literally just drag pictures in, or put in urls and it replaces them with pictures? I could be stuck in some IDE ghetto and not even know about these things.

Re:Pictures of kittens for use as placeholders in your desig... by rbanffy on Monday February 28, 2011 @04:55PM (#2273132)
You can probably do that with Emacs ;-)
Re:Pictures of kittens for use as placeholders in your desig... by soamv on Tuesday March 01, 2011 @03:57AM (#2274792)
(insert-image (create-image "/path/to/image/file")) inserts an image into a buffer.

But I'm not sure one would want to actually use that while editing; emacs is not very good about flowing text around the displayed image.

Re:Pictures of kittens for use as placeholders in your desig... by lanstein on Monday February 28, 2011 @08:06PM (#2273730)
the code to do it starts with (
Re:Pictures of kittens for use as placeholders in your desig... by rbanffy on Monday February 28, 2011 @10:09PM (#2274062)
It shouldbe a minor mode that renders images instead of image-like URLs. Not that impossible to do. It's a bit beyond my magical powers, but I am sure it also ends with a ")"
Re:Pictures of kittens for use as placeholders in your desig... by leif on Monday February 28, 2011 @11:50PM (#2274319)
auctex does the rendering-inside-text part, but I don't know of one that does it for html img tags

can't be hard

Re:Pictures of kittens for use as placeholders in your desig... by limmeau on Tuesday March 01, 2011 @02:44AM (#2274686)
There's aview (ASCII-art image viewer which uses libaa); aview can render Ascii pictures to stdout.
Re:Pictures of kittens for use as placeholders in your desig... by leif on Wednesday March 02, 2011 @01:11PM (#2280498)
aview solves a different problem
Re:Pictures of kittens for use as placeholders in your desig... by shkb on Monday February 28, 2011 @05:55PM (#2273349)
You can paste images into Dr.Racket.
Re:Pictures of kittens for use as placeholders in your desig... by Stormbringer on Tuesday March 01, 2011 @05:50AM (#2274930)
Looks interesting... supports languages called Racket and Swindle...?!

obligatory:

http://wikifaqs.net/index.php/Admiral_Ackbar

Re:Pictures of kittens for use as placeholders in your desig... by waterhouse on Thursday March 03, 2011 @08:56PM (#2286618)
You can also have it generate huge text with semicolons.

http://i54.tinypic.com/20ssqk7.png

Re:Pictures of kittens for use as placeholders in your desig... by gjm11 on Tuesday March 01, 2011 @08:20AM (#2275233)
... and for exactly the same reason, if you paste it into a comment (which seems like the most obvious use) then you lose.
Re:Pictures of kittens for use as placeholders in your desig... by rbanffy on Tuesday March 01, 2011 @08:49AM (#2275317)
This is a cat that can be pasted right in the middle of your code and everything will still work.

ASCII-art within comments is for n00bs ;-)