Chemical Forums

Please login or register.

Login with username, password and session length

Sponsored links

Pages: [1] 2 3 ... 7   Go Down

Author Topic: Sandbox?  (Read 34862 times)

0 Members and 1 Guest are viewing this topic.

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Sandbox?
« on: December 01, 2012, 02:39:17 AM »

Can I request a Sandbox thread or area? Often I can't get my LaTex code or SMILE right at first go and it'd be nice to have somewhere to test. I sweat trying to compete against the 30 minute modify limit.   :)

PS. The Preview feature doesn't seem to render Tex? Or maybe it's only my stupid browser?

Wondering what others think..
Logged

Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Mole Snacks: +1528/-388
  • Online Online
  • Gender: Male
  • Posts: 23217
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Sandbox?
« Reply #1 on: December 01, 2012, 02:55:16 AM »

Tex is not rendered in the preview and unfortunately there is not much that can be done about it - preview is fetched from the server without reloading the page, and MathJax script runs on a page load. On the other hand SMILES images are created server side, so they are displayed in the preview.

We can devote some thread to testing and delete the content now and then, no problem. I can't think of a better solution at the moment. But I am open to suggestions.

It is possible to create some simple sandbox for MathJax, but it would be not integrated with the forum itself, not the idea that I like.
Logged
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info, pH-meter.info

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #2 on: December 01, 2012, 02:56:56 AM »

We can devote some thread to testing and delete the content now and then, no problem.

That's the solution I had in mind.
Logged

Dan

  • Global Moderator
  • Sr. Member
  • ***
  • Mole Snacks: +460/-72
  • Online Online
  • Gender: Male
  • Posts: 4640
  • Organic Chemist
    • My research
Re: Sandbox?
« Reply #3 on: December 01, 2012, 03:07:55 AM »

This would be useful, I also never get Tex right first time.

Just had a thought, can you PM yourself to test it?

You can PM yourself Tex to test it.
Logged
My research: Google Scholar and Researchgate

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #4 on: December 01, 2012, 03:10:21 AM »

This would be useful, I also never get Tex right first time.

Just had a thought, can you PM yourself to test it?

You can PM yourself Tex to test it.

Yep! Works.
Logged

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #5 on: December 12, 2012, 07:23:18 AM »

Just testing to see if I could draw the species in this thread with SMILES

http://www.chemicalforums.com/index.php?topic=64389.0;topicseen

c1ccccc1C=C=Cc2ccccc2

c1ccccc1CC([Fe+][CO4])Cc2ccccc2
« Last Edit: December 12, 2012, 08:24:26 AM by curiouscat »
Logged

Yggdrasil

  • Retired Staff
  • Sr. Member
  • *
  • Mole Snacks: +478/-21
  • Online Online
  • Gender: Male
  • Posts: 3172
  • Physical Biochemist
Re: Sandbox?
« Reply #6 on: December 12, 2012, 07:33:36 AM »

The following site has a nice sandbox for testing out LaTeX code (and is a good reference as well).

http://www.forkosh.com/mimetextutorial.html
Logged

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #7 on: December 12, 2012, 07:36:21 AM »

The following site has a nice sandbox for testing out LaTeX code (and is a good reference as well).

http://www.forkosh.com/mimetextutorial.html

Thanks! Loved the site!
Logged

Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Mole Snacks: +1528/-388
  • Online Online
  • Gender: Male
  • Posts: 23217
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Sandbox?
« Reply #8 on: December 12, 2012, 08:13:18 AM »

Thanks Ygg, I have added link to the forkosh sandbox to the post formatting info.
Logged
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info, pH-meter.info

Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Mole Snacks: +1528/-388
  • Online Online
  • Gender: Male
  • Posts: 23217
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Sandbox?
« Reply #9 on: December 12, 2012, 08:15:20 AM »

<br />c1ccccc1C=C=C<br />

Apparently SMILES don't like new lines in the SMILES code. Obvious, but I have never thought about it earlier.

c1ccccc1C=C=C
Logged
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info, pH-meter.info

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #10 on: December 12, 2012, 08:16:58 AM »


Apparently SMILES don't like new lines in the SMILES code. Obvious, but I have never thought about it earlier.


Ahhhh!   :P  Thanks!
Logged

Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Mole Snacks: +1528/-388
  • Online Online
  • Gender: Male
  • Posts: 23217
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Sandbox?
« Reply #11 on: December 13, 2012, 02:11:56 AM »

New lines should be dealt with (almost) correctly now.

ALT text is still wrong, but this is more difficult to deal with due to the way things are organized in the forum code.

CCNCC

<br />CCNCC<br />

Logged
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info, pH-meter.info

curiouscat

  • Chemist
  • Sr. Member
  • *
  • Mole Snacks: +121/-35
  • Offline Offline
  • Posts: 2998
Re: Sandbox?
« Reply #12 on: December 13, 2012, 02:54:57 AM »

Trying to test the limits by rendering Palytoxin. Let's see if I can break anything. :)

<br />CC1CC2(C(OC(C1)(O2)CCCCCCCC(CC3C(C(C(C(O3)(CC(C(C)C=CC(CCC(C(C4CC(C(C(O4)CC(C(CC5C(C(C(C(O5)CC(C=CC=CCC(C(C(CC=CC(=C)CCC(C(C(C(C)CC6C(C(C(C(O6)C=CC(C(CC7CC8CC(O7)C(O8)CCC9C(CC(O9)CN)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)O)CC(C)CCCCCC(C(C(C(C(C1C(C(C(C(O1)CC(C(C(=CC(CC(C)C(C(=O)NC=CC(=O)NCCCO)O)O)C)O)O)O)O)O)O)O)O)O)O)C<br /><br />
Logged

sjb

  • Global Moderator
  • Sr. Member
  • ***
  • Mole Snacks: +197/-38
  • Offline Offline
  • Gender: Male
  • Posts: 3063
Re: Sandbox?
« Reply #13 on: December 13, 2012, 03:13:59 AM »

Yeah, I looked at that the other day for the other thread, note that the wiki SMILES doesn't have stereochemical information on it.
Logged

Borek

  • Mr. pH
  • Administrator
  • Deity Member
  • *
  • Mole Snacks: +1528/-388
  • Online Online
  • Gender: Male
  • Posts: 23217
  • I am known to be occasionally wrong.
    • Chembuddy
Re: Sandbox?
« Reply #14 on: December 13, 2012, 03:45:13 AM »

Not always good for forum formatting, but apparently the engine survived.

Although rendered image is not following IUPAC suggestions - it should be more compact. There are things that can be improved in the indigo, so far one of my suggestions made its way into the code (but I have no idea when it is will be released).
Logged
ChemBuddy chemical calculators - stoichiometry, pH, concentration, buffer preparation, titrations.info, pH-meter.info
Pages: [1] 2 3 ... 7   Go Up
 

Mitch Andre Garcia's Chemical Forums 2003-Present.

Page created in 0.608 seconds with 23 queries.