Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Instacode (linology.info)
109 points by hpaavola on Jan 29, 2013 | hide | past | favorite | 43 comments


Really disappointed with the lack of APL[1] support. (You've probably never heard of it.) No character set support, no syntax highlighting.

[1]: http://en.wikipedia.org/wiki/APL_(programming_language)


(You've probably never heard of it.)

Is this a hipster joke?


Yes.



I used the simpsonfont for that: http://codebubble.heroku.com/


Very nice. Though it doesn't apply the font for me on Firefox 19, Ubuntu Linux. Chromium works though.

Checking out Google Web Fonts for appropriate hand writing fonts I noticed that all the good/suitable ones seems to be by the same person, Kimberly Geswein. I can't seem to link to all her fonts via a URL but searching for "Kimberly" brings them all up.


The code is over 2 years old, I did it on a whyday back then in about 10minutes. Had no time to make it work across all browsers.


I paste this in and it just spins forever saying "Magic in progress."

  # :: [event] -> [String, Int]
  def temporal_correlation_of_classes events
    events.group_by {|e| [e.day,e.committer]}
          .values
          .flat_map {|e| e.map(&:class_name).uniq.combination(2).to_a }
          .pairs
          .freq
          .sort_by(&:second)
  end
  
  # :: [event] -> { String => date }
  def classes_by_closure events
    class_names = method_events(events).map(&:class_name).uniq
    classes = Hash[class_names.zip([Time.now] * class_names.length)]
    method_events(events).each {|e| classes[e.class_name] = e.date }
    classes.to_a.sort_by {|_,date| date }
  end


Same thing for me (different code). I believe the server is on it's knees.


Damn. I was hoping the code had too much magic.


Before clicking I thought this was a service where you can paste a snippet in any programming language and it gets automatically rewritten to FORTRAN 77 (with a few random bugs added).


I was hoping for a real hipsteruby filter :(


If you haven't done so already, open it in Internet Explorer for an... alternative... stylesheet :)


Just add class 'ie' to the html tags.


Here's an obscure crypto algorithm I hand-rolled: http://instacode.linology.info/15261

You've probably never heard of it.


probably hackernews effect, but I'm getting a mix of 502 errors and slow page loads.

love the generate wallpaper tough


Ditto. I think it broke :/


Phew, for a second there I thought this was going to be what I'm trying to create, namely an online repository for functions within an executable environment, plus dependency management. Gist + play.golang.org + Cloud9 in one.


That’s something I’d like to see :)


Then please star https://github.com/shurcooL/Conception, I'm working as fast as I can on making it happen. :)


One suggestion: handle excess indentation. If I copy code from something and it's been indented 3-4 levels, it's pushed almost all the way (if not all the way) off the picture.

Love the support for Solarized, by far my favorite color scheme!


our code editor is the super-duper CodeMirror. Just Ctrl-A and Shift-Tab


Cool, thanks! Perhaps an inclusion of such tips on the site, then? Definitely useful!


This is what the developer equivalent of Dribbble should be!

Gorgeous work. I hope this means people will finally use proper presentation slides with syntax highlighting.

EDIT: I will say this, though: the thumbnail settings are so small, they could basically be text. The syntax settings are easier to make sense of, but I suggest just turning the remaining settings into text/buttons and instead use a placeholder example with the chosen settings.


I am trying to paste this beautiful letter to Augusta http://jpfuentes2.tumblr.com/post/39935683274/a-letter-to-my..., anticipating the most beautiful ever wallpaper in code, but it is still magic in progress after 5 minutes of wait though.


Magic in progress just takes infinite time when code contains Unicode... Or is it just me?


Nothing happens here, also. I just pasted some random Go code and got infinite 'Magic in progress'.


hackernews-effect, sorry, take your ticket for the queue :D


I've had a tab in magic-in-progress for about an hour now :(


I know it would be very difficult, but I also know it's possible, so what about live preview? I generated something, it wasn't as good as I hoped, and I wish I could tweak it a bit.

If not, maybe I'll try to hack this with <canvas> this weekend...


actually there's a Remix button that lets you just try the same data with different settings


Just so you know, I couldn't horizontally scroll or zoom out on my iPhone (iOS 6.1) on the page, so I couldn't see the other half of the site.


So this is kind of what its like to have interesting things to share as filtered images and friends who care enough to enjoy them!

Now I just need friends :'-(


Final image shows only part of the code (Why ?)


Its using some custom fonts or something, weird icons showing up where I would assume there is some nice looking icons...


It would be much more useful if you could select where the snapshot focuses in and the zoom level.

Still made me smile very much.


Well played whoever made this


Absolutely gorgeous.


10-line minimum?


I found this strange as well... especially when you consider the magic that can be done on a single line by a real coding-craftsman.

I wonder if it's purely a cosmetic issue (i.e. one line looks naff in a square box).


Probably.


if only it didn't ask for github's private email address for signup


great idea! :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: