Live data from Hacker News

My first project in Rails – Pastebin for Mathematicians

texpaste.herokuapp.com

21–30 of 67 posts

Re: My first project in Rails – Pastebin for Mathematicians

#21
post #18
post #5

Hmm, this doesn't work in Chrome on your https page, because you load JavaScript (MathJax) with http and Chrome refuses to do that...

Thanks for the report. Will be working on it!

On the CDN urls, you can just change them to use protocol relative urls. It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare

//cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js

Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa

Re: My first project in Rails – Pastebin for Mathematicians

#23
post #21
post #18

Earlier quoted context omitted.

Thanks for the report. Will be working on it!

On the CDN urls, you can just change them to use protocol relative urls. It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare //cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa

Thank you for going the extra mile.

On a seperate note, I'm surprised that people actually try it on the https version (or be extra careful and manually add the https).

Re: My first project in Rails – Pastebin for Mathematicians

#25
post #23
post #21

Earlier quoted context omitted.

On the CDN urls, you can just change them to use protocol relative urls. It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare //cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa

Thank you for going the extra mile. On a seperate note, I'm surprised that people actually try it on the https version (or be extra careful and manually add the https).

HTTPS Everywhre does it automatically for known sites that support https, eg. *.herokuapp.com

Re: My first project in Rails – Pastebin for Mathematicians

#26
post #23
post #21

Earlier quoted context omitted.

On the CDN urls, you can just change them to use protocol relative urls. It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare //cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa

Thank you for going the extra mile. On a seperate note, I'm surprised that people actually try it on the https version (or be extra careful and manually add the https).

Many have plugins in their browsers that automatically try to get the https version of any website.

Re: My first project in Rails – Pastebin for Mathematicians

#27
post #21
post #18

Earlier quoted context omitted.

Thanks for the report. Will be working on it!

On the CDN urls, you can just change them to use protocol relative urls. It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare //cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa

Note that this won't work for MathJax, since the certificate won't match the domain. For a workaround: http://www.mathjax.org/resources/faqs/#problem-https

Re: My first project in Rails – Pastebin for Mathematicians

#28
post #24

This is pretty cool! I think the usability is better than mathbin, and I like the list of easily findable/clickable examples. Could even be useful for learning math formatting with LaTeX.

That's what I have in mind too. This would be so much easier for Latex beginners to pick up latex!

Re: My first project in Rails – Pastebin for Mathematicians

#29
post #12
post #8

Earlier quoted context omitted.

There was already a search engine when Google started.

There still are search engines besides Google. ;)

There were already search engines before those search engines (that exist side by side with Google). Stop complaining about free "stuff"'s existence.

What does the world owe to you?

Re: My first project in Rails – Pastebin for Mathematicians

#30
Great work! This will make more people start to see the beauty of LaTeX. As I suppose the target users of this project are those who like WYSIWYG approach, they may not want to replace the default element in the text field one by one. Is it possible to prompt the user in request for values before passing it to the textfield? Or let the user create their own default values after logged in?
Post reply on HN