Live data from Hacker News

Show HN: Ray.so – Create images of your code

ray.so

11–20 of 129 posts

Re: Show HN: Ray.so – Create images of your code

#11

Fun to play with. Most surprising is the auto-indent when typing Clojure code. The #1 missing feature is the ability to select a different typeface. #2 would be the ability to serve up an image from a URL like a pastebin or a-la speedtest.net speed test ( https://www.speedtest.net/result/10946633415.png )

The URL with a preview is on our radar. Gonna look into it when we have some spare time. This is a side project of our team that came out of a hackathon.

Re: Show HN: Ray.so – Create images of your code

#13
post #6

Earlier quoted context omitted.

It's par for the course with Apple-esque UIs. Like the classic "invisible scrollbar"[0] that prevents you from knowing you can scroll something down and see more. Form > Function [0] https://svenkadak.com/blog/scrollbar-blindness

How can you make text look editable?

Blink the cursor at the end or highlight the text area sound reasonable to me

Re: Show HN: Ray.so – Create images of your code

#17
post #6

Earlier quoted context omitted.

It's par for the course with Apple-esque UIs. Like the classic "invisible scrollbar"[0] that prevents you from knowing you can scroll something down and see more. Form > Function [0] https://svenkadak.com/blog/scrollbar-blindness

How can you make text look editable?

My point is that when you focus too much on beauty, you tend to sacrifice some functionality. There are tons of ways to signal that text is editable, but most of them are "ugly" or not elegant. To go to the opposite extreme, you could build a functionally equivalent website that is super basic and has no CSS - literally just a textarea to edit the code, checkboxes for the options, and buttons to generate the image. You get the same output, but it's not as pleasing to look at - but hey, it's highly functional and you know everything you are allowed to do at a glance.

The goal for most people is to strike a balance between form and function. In my opinion, I personally think you should always err on more function than form, but the Apple-esque UI design philosophy tends to favor form over function - you know, getting rid of "ugly" UI elements that traditionally telegraphed functionality.

Re: Show HN: Ray.so – Create images of your code

#18

This is awesome! Would love the ability to alter the background of the window beyond light & dark.

We wanted to keep a native-like feel. Anything specific in mind? More color ranges?

Makes sense - I specifically want some darker shade of blue or purple, but that's because I want the window to match the colors from my brand palette, and not just be grayscale.

The dark/light definitely look good on most palettes regardless, so great defaults.

Re: Show HN: Ray.so – Create images of your code

#20
Love it! Congrats and cool project. I think you killed this and have something awesome in your portfolio for a long time.

My only suggestion is these code snippets are fire on Twitter for a lot of people getting their RT/likes/following on.

Specifically, that means maybe adding an option for forcing some sizes that are ideal for share graphics (width/height, auto font-size, auto centering, etc..). Take the guess work out of it. Good luck!

Post reply on HN