Live data from Hacker News

Show HN: Socrates.io - clean and shareable markdown

socrates.io

21–30 of 45 posts

Re: Show HN: Socrates.io - clean and shareable markdown

#21

Oh my god. That website has javascript that adds and removes a pipe "|" to the end of the page title, and it looks like a blinking caret for text input. My OCD is going insane.

If I place it as an application tab in Firefox (16), it will highlight the tab because it assumes the content has changed... it doesn't happen always, though.

Re: Show HN: Socrates.io - clean and shareable markdown

#23

Earlier quoted context omitted.

The effect would be a lot nicer if it stopped when the tab lost focus. I would prefer not doing it at all, but my tastes are not everyone's.

Just fixed it to use the page visibility API to do just that. Thanks for the idea!

Looks like it only alternates between the two states (flashing and not flashing), so if the page is opened as a new tab (i.e. not focused to begin with) then the flashing occurs when the tab is not focused.

Re: Show HN: Socrates.io - clean and shareable markdown

#24
Looks awesome, great job! One thing though: if you have a YT video embedded (like in the example) and you edit some text or whatever, the video keeps flashing. I'm guessing you are refreshing the whole right pane. It's rather annoying and creates needless requests to YT (not that they'd notice, but still).

Re: Show HN: Socrates.io - clean and shareable markdown

#26
post #24

Looks awesome, great job! One thing though: if you have a YT video embedded (like in the example) and you edit some text or whatever, the video keeps flashing. I'm guessing you are refreshing the whole right pane. It's rather annoying and creates needless requests to YT (not that they'd notice, but still).

Yeah we debounced the Youtube rendering by 1 second for that reason, but it still flashes if you aren't typing continuously =\

Re: Show HN: Socrates.io - clean and shareable markdown

#27

Earlier quoted context omitted.

Just fixed it to use the page visibility API to do just that. Thanks for the idea!

Looks like it only alternates between the two states (flashing and not flashing), so if the page is opened as a new tab (i.e. not focused to begin with) then the flashing occurs when the tab is not focused.

Yup good call, the first call to the interval shouldn't assume focus

Re: Show HN: Socrates.io - clean and shareable markdown

#28
Congrats on your taking action. It puts you ahead of 90% of the people who read and don't execute.

A few questions....

*Is your project for fun or for profit?

If the latter, what pain does it alleviate, whom is it targeted towards and before you created it, was there any indication they wanted a solution strong enough to pay someone for the answer

(to elucidate, skip to 1:03 http://www.youtube.com/watch?v=K9m9vPAlb_0&feature=relat... )

Re: Show HN: Socrates.io - clean and shareable markdown

#29
post #18
post #17

Earlier quoted context omitted.

hey, one of the authors here. We did realize this. This is a weekend hackathon project to allow the hacker news community to write nice clean markdown. Firebase offers security, but we just didn't get around to using yet. You shouldn't choose to use it for sensitive information, but for Github readmes and other already public content, it's a great tool.

Ok, when I was last talking to them[1], they did not have anything at all for security but a vague idea that it was important and a possible "would something like this work?" that was more about securing the API than the data ;P. Their FAQ still states they are working on it, but maybe they have something more in-depth now for the beta users (such as yourselves)? [1] https://twitter.com/Firebase/status/19095489676430…

(Firebase Founder here)

Saurik - We're glad that there are people like you searching for holes in services like Firebase. Hopefully it'll keep making all of us better. Please keep doing it.

As ivolo noted, we do have a security feature set we're testing. It has taken a little while to build something that is both functional and usable. We're pretty confident we've got something that our users will love.

Excited to show you soon!

Post reply on HN