ladymercury_10: (AmyBlue)
[personal profile] ladymercury_10

I finished studying for my CS exam and was derping around on the internet before I went to bed, and, uh, I guess I should not be allowed to write my posts in straight HTML ever again.  Because I happened to look at a story I posted last week and found about a bajillion and a half formatting errors, most of which seem to have come from when I edited the post to have the HTML done manually, which was in itself a bad choice related to needing to fix some other non-HTML things but doing so in Word and then needing to preserve formatting....gah.  

Also, I hate how LJ converts line spacing, and these new cuts are potentially useful but confusing.

I think everything is all fixed now, but if something looks weird, or you ever find a typo or a line error, please tell me, and sorry if you read the crappy version.  *headdesk*  I hate line space errors because they make it look like I don't understand how paragraphs work, when in fact I do.  I just suck at HTML.  

It's like 1am, and I am rambling, so I should probably shut up and go to sleep now.  So I can, you know, pass that exam, which is not until the afternoon, but still.  Should it tell me something that I am having HTML woes the night before a computer science exam?  Probably not...HTML is markup and not, I think, particularly related to programming in C++.  Oh my goodness, I really need to stop and just go to bed.  *flops over*

Date: 2012-10-04 09:44 am (UTC)
From: [identity profile] eve11.livejournal.com
Ugh. I do my stories in TextEdit for the Mac. I don't put in the HTML for line breaks but I do use html tags for italics. And the WIP-o-Doom has tables. Which I recently realized that, when they aren't in my nice lj format, may squish the numbers together because they fill the cells right to the edge. This displeases me.

I'm not sold yet on the new cut tags. On the one hand it's nice to click a cut and be taken to the page. On the other it streamlines flist reading.

I have some private posts that are the most recent version of the WIP-o-Doom--so that, in light of above HTML tables I can still easily get word counts for the whole thing. Except it doesn't all fit on one post. It takes up 4 posts. I had them back-dated chronologically, but with the new cuts, actually it's easier to do them reverse chronologically. Then I can just type the tag for my one-shot post of them and expand them and voila, easy cut&paste, in order on the page.

Date: 2012-10-04 04:02 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
I don't know if I can use TextEdit--I'm on a PC? I used to just put in the italics tags after the fact. But because I didn't like LJ preserving all Word's default font and line spacing options, I had to paste it all somewhere else to clear the formatting, put in the tags, and then paste it again, possibly having to put the spaces back manually (usually just by hitting return, not with the p tag). But I always mess up my paragraphs when I do that, and I messed them up even worse this time when I tried p tagging everything instead. *bangs head on wall*

What exactly is a table? I think part of my problem is that most of my knowledge of HTML comes from the day last year when I was bored at my internship and worked through like 6 chapters of HTML tutorials online. But I definitely quit before the tables chapter.

Date: 2012-10-04 05:01 pm (UTC)
From: [identity profile] eve11.livejournal.com
TextEdit is closest to WordPad I think. I always used WordPad or NotePad when I wrote stories on my PC.

Tables are just putting things in basic tabular format. So eg in my story file, part 3 starts out looking like this:


Response perception: location 
Blocking variables: electromagnetic fields
Confounding mapped vectors: aural, visual, tactile
Total Observations: 150

Exploratory Analysis:
Response perception: location 
Blocking variables: electromagnetic fields
Confounding mapped vectors: aural, visual, tactile
Total Observations: 150

Exploratory Analysis:
<table border="0" cellpadding="3"><tr><th>Variable</th>   <th align="RIGHT">Estimate</th> <th align="RIGHT">StdErr</th> <th align="RIGHT">T</th> <th align="RIGHT">Pr(>|t|)</th></tr>
<tr><td>Intercept</td>   <td align="RIGHT">12.450</td><td align="RIGHT">4.050</td>  <td align="RIGHT">3.074</td> <td align="RIGHT"> 0.003</td> </tr>
<tr><td>distance (m)</td><td align="RIGHT">  0.132 </td><td align="RIGHT">  0.233</td>  <td align="RIGHT">0.567</td> <td align="RIGHT">0.572</td> </tr>
<tr><td>flux (T)</td><td align="RIGHT"> -4.431 </td><td align="RIGHT"> 3.764   </td>  <td align="RIGHT">-1.178 </td> <td align="RIGHT">0.241 </td> </tr>
<tr><td>charge (C)</td><td align="RIGHT">  6.350 </td><td align="RIGHT">  3.890 </td> <td align="RIGHT">1.632 </td>  <td align="RIGHT">0.105</td>  </tr></table>
ANOVA: 
<table border="0" cellpadding="3"><tr><th>Source</th>  <th align="RIGHT">DF</th> <th align="RIGHT"> SS</th> <th align="RIGHT">MS</th><th align="RIGHT">F</th><th align="RIGHT">Pr(>|f|)</th></tr>
<tr><td>Regression</td> <td align="RIGHT">3</td>  <td align="RIGHT">1038.4</td> <td align="RIGHT">346.1</td> <td align="RIGHT">0.954 </td><td align="RIGHT">0.595</td></tr>
<tr><td>Residual Error</td> <td align="RIGHT">146</td> <td align="RIGHT">79982.2</td> <td align="RIGHT">547.8</td> <td align="RIGHT"> </td><td align="RIGHT"></td></tr>
<tr><td>Total</td> <td align="RIGHT">149</td> <td align="RIGHT">81020.6</td> <td align="RIGHT"></td> <td align="RIGHT"> </td><td align="RIGHT"></td></tr></table>




And lj comments tell me that my original post is too long so I will continue this reply in the next comment:

Date: 2012-10-04 05:02 pm (UTC)
From: [identity profile] eve11.livejournal.com
Which when marked up in lj looks like this:

Response perception: location
Blocking variables: electromagnetic fields
Confounding mapped vectors: aural, visual, tactile
Total Observations: 150

Exploratory Analysis:
Variable Estimate StdErr T Pr(>|t|)
Intercept 12.4504.050 3.074 0.003
distance (m) 0.132 0.233 0.567 0.572
flux (T) -4.431 3.764 -1.178 0.241
charge (C) 6.350 3.890 1.632 0.105

ANOVA:
Source DF SS MSFPr(>|f|)
Regression 3 1038.4 346.1 0.954 0.595
Residual Error 146 79982.2 547.8
Total 149 81020.6


(Also it reminds me to change the Pr(>|f|) to Pr(>f) since F-statistics are always non-negative.)

But when I looked at it on the meme, not logged in, despite the fact that I told it to use cellpadding, it had formatted the tables strangely. Centered them on the page, for one, and for second, glommed the cells right next to each other so, ect you'd see:

Total 14981020.6

as the last line of that ANOVA table.

This is also going to be problematic for archiving this story on Teaspoon, since their scripting just blows away anything that isn't the most basic HTML. So it doesn't recognize tables at all. The archivist told me I could use an image instead, and Teaspoon does support inserting images. But for the visually impaired, I'd want to at least link that image to a description or to the real table, so they could read it.

Date: 2012-10-04 08:02 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
Oh, I have Notepad. I don't like it very much, though--the window size in particular annoys me. I'd rather write a story in Word or an HTML post on a practice board, even though I know that's sort of dangerous because the internet could do something funny and eat my post before I finished editing it. I wish I could find a more basic text editor that would let me preserve line spacing and italics and not things like font or anything like that, but I haven't really looked for one.

Wait, how did you end up needing an ANOVA in your story in the first place? :P Was that from one of the declassified transcripts or something? But yeah, that would be tricky for archiving. I mean, usually it's nicer to convert HTML on the Teaspoon because their HTML doesn't try to do all the fancy things LJ does, but yeah, if it won't support tables....you could always put a link in the author's note at the beginning, I guess? That's kind of annoying, though, that there isn't an easier way to do it than with an image.

Date: 2012-10-04 09:56 pm (UTC)
From: [identity profile] eve11.livejournal.com
Well I can't help you out on the search for the text editor; if I'm not using TextEdit, chances are I'm using Emacs or (gasp) vi. And they don't preserve anything!

Yeah, it's one of the lab notes pages. The meme request started out as "The Doctor gets interrogated at Area 51," and then it morphed to "When they discover he's alien, they experiment on him." And me being a stats person and plugged in to the sciences, I figured, if experiments are going to be performed, they should properly analyze and report their results. Experiments (real experiments) are dreadfully picky and boring.

Date: 2012-10-04 11:21 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
Haha, that is true, there is a lot of data analysis in any good experiment. Or, uh, in this case, not so good experiment? :P

Date: 2012-10-05 12:03 am (UTC)
From: [identity profile] giallarhorn.livejournal.com
I tend to do most of my post in html, mostly just because I don't trust LJ to not mistranslate something. Especially when it comes to spacing, and trying to get things from Word to LJ. I've mostly found it easier to copy-paste from Word into a html post, and then formatting it by hand from there. Which is really time consuming, but otherwise it's really hard to get the spacing to stick.

You could also try writing it in a txt file and format it as you write it, but that's also really aggravating. A good method of practice would be to use LaTex, but it takes forever to actually write anything in that because you have to format everything yourself.

Haha, I've always felt like html is like learning a new language- eventually, you just pick up enough of it to figure out what it looks like when posted.

Date: 2012-10-05 04:07 am (UTC)
From: [identity profile] ladymercury-10.livejournal.com
Yeah, I usually end up doing some variation of typing up in Word, putting in the tags in manually, and then posting with the HTML editor, although usually I can get it to preserve the formatting for the spacing without having to tag that.

People write non-math things in LaTex? I thought that was mostly for mathematical typsetting. Like if you were writing up a long proof with a lot of notation in it.

The problem isn't even really that I don't understand HTML. I mean, I don't know very much, but more often what goes wrong is that I just leave off a tag somewhere crucial out of carelessness and then my paragraphs get sloppy. Gah.

Date: 2012-10-07 05:12 pm (UTC)
From: [identity profile] giallarhorn.livejournal.com
LaTex is pretty popular in the scientific writing area since it tends to be one of the best ways to actually readily format a paper for publication- a lot of journals have hyper specific formatting regulations that you have to follow, and sometimes it's just easier to work from a clean slate than reconfigure Word. And that there's a lot of arguments over which file format should be used, where formatting can be lost in translating files, etc and etc so they turned to LaTex.

Haha, yeah. Coding and CS and programming in general is a study in scrutiny and never ever ever rushing things.

Date: 2012-10-07 05:16 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
Oh, I didn't realize it was popular in the scientific community at large. That's neat!

Yeah, I guess I expect that when I'm programming, but then it'll crash if I do something wrong and I'll know. If it's HTML, it can go wrong in more subtle ways and I might not even notice until later.

Date: 2012-10-07 05:26 pm (UTC)
From: [identity profile] giallarhorn.livejournal.com
It's mostly because no one can decide on a common file format they actually want to use XD LaTex is easy to get, though, plus typesetting power and etc. I think it's pretty large in most academic circles, since my sister used a variant of it and she's in Middle Eastern Studies.

It'll crash if you're lucky :P Or it might be like html, and be subtlety wrong. Though html, particularly with LJ posts, are a lot harder to notice unless you just sit down and scan it.

Date: 2012-10-07 05:36 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
Yeah, LaTex is free in addition to having a lot of fancy options.

Well, yeah, there is that. Especially if you do something dumb like switch your variables inside the program like I did last week. Oh, the joys of coding! :P

Date: 2012-10-08 02:52 am (UTC)
From: [identity profile] eve11.livejournal.com
Oh yeah, I use LaTeX all the time at work. And it's less math writing and more scientific writing. Though my dissertation did have some ridiculous formulas in it. But it was all done in LaTeX too. And all of the articles I've submitted for journals/conferences.

And my workplace, being from the stone age, is like, "No we don't have a standard LaTeX template. Why would we have that when people can use Word?" *headdesk*

Date: 2012-10-08 03:04 am (UTC)
From: [identity profile] ladymercury-10.livejournal.com
They want you to typeset in Word? O_O

Date: 2012-10-08 03:22 am (UTC)
From: [identity profile] eve11.livejournal.com
They don't really understand about typesetting. They're more about wishy-washy processes than doing real math, in general.

Date: 2012-10-05 07:34 am (UTC)
From: [identity profile] lonewytch.livejournal.com
I feel your pain. I bloody hate it when i post and then have to edit edit edit over and over again. I stopped using Dreamwidth, because the formatting transferring from there to LJ was just a joke.

Date: 2012-10-05 04:10 pm (UTC)
From: [identity profile] ladymercury-10.livejournal.com
The thing that's really annoying about it is that the reason LJ is so impossible to format in properly is because they've made its formatting preservation work too well. Like, I can't just paste into the rich text editor because it'll keep my font choices and whether I've single or double or 1.15 spaced or whatever and I really don't want any of that, ergo the need to go to HTML in the first place....

Date: 2012-10-07 04:16 am (UTC)
From: [identity profile] lady-with-cats.livejournal.com
I'm pretty much used to writing in html by default at this point.

Date: 2012-10-07 04:19 am (UTC)
From: [identity profile] ladymercury-10.livejournal.com
I should be almost decent at it by now, but I always seem to either skip a line or hit the same line twice or SOMETHING and manage to screw up the formatting. :|

December 2012

S M T W T F S
       1
2 3456 7 8
9 101112 131415
1617181920 2122
23242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 21st, 2017 11:47 am
Powered by Dreamwidth Studios