May. 14th, 2007

omly: peacock tail feather (Default)
13 days until the bridal shower
7 negatives
17 positives
28 'no reply yet's
omly: peacock tail feather (knitting)
Mark with bold the things you have knit at least once, with italics the ones you plan to do sometime, and leave the rest.

kitting meme )

HFCS

May. 14th, 2007 03:31 pm
omly: peacock tail feather (squash)
So I know I haven't written much about the trip. I will make an effort this week. I am waiting for Roger to post some more pictures on his photo blog, so I can point in that direction at the same time.

One interesting development was in regards to high fructose corn syrup, (which coincidentally [livejournal.com profile] inhumandecency posted about recently as well). Some of you may be aware that I have been suffering from headaches, which for the most part I only noticed if I had had candy or soda beforehand. Since those were pretty much the only places I have significant refined sugar, I sort of just took at as I sign that I should avoid such.

When we were in Hong Kong though, I said to Roger that you think I would learn. It hurts when I have these things. Yet every once in a while it seems like a good idea anyways. When we arrived in Europe he suggested that I try the soda there, since apparently it is sweetened with cane sugar rather than corn syrup. Miracles of miracles, no headaches! I totally overindulged, but it was so novel to be able to have soda without suffering horribly. I am not sure of the reason exactly why my body would respond that way, but at least I know what to avoid now.
omly: peacock tail feather (And then a miracle occurs...)
I am not sure that anyone here has experience with Python, but I am having some code issues. I am trying to create a loop that will create several iterations of the process combining different variables. The relevant part looks like this:

bulkcell = []
for a in (4.55, 5.2, 0.10):
for c in (2.8, 3.05, 0.05):
bulk append (a, 0, 0),
(0, a, 0)
(0, 0, c)])
bulkcell = ([(a, 0, 0)
(0, a, 0)
(0, 0, c)])

bulk.SetUnitCell(bulkcell)

The problem is that when I look at the file that it creates it tells me that the cell dimensions are 0.1X0.1X0.05, meaning that it is taking what I was thinking of as the step as the input instead of the range of numbers that I thought that it would. Also it only does this once; there are no other permutations.

I have been trying to look up similar looping code examples and instruction, but for the most part I am find examples that are integer only for indexing purposes. Can anyone help?

Profile

omly: peacock tail feather (Default)
omly

January 2024

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 15th, 2026 09:45 pm
Powered by Dreamwidth Studios