Fun Stuff > CHATTER

Re: Blog Thread IIIb : Look Who's Blogging Now

<< < (710/832) > >>

Jace:

--- Quote from: Papersatan on 08 Nov 2012, 20:13 ---[python group stuff]

--- End quote ---

If the subset you want is in a sorted set, you can just program a binary search. I don't know anything about programming really, but I know a bit of pseudocode and I recently learned about various searching algorithms and binary search is pretty fast if I recall.

Papersatan:
So the emails were converted to text files, and the file names were a long string that was the subject and the date.  They were sorted into folders based on whose inbox they had been in.  The easy thing would have been to pick a person and take their inbox.  What we wanted to do was search the folders for the top executives and pull out any emails they had written to each other.  That ended up not being enough files, so I just took any email that anyone with an '@enron.com' email had sent to Kenneth Lay. 

The program looked at the .txt files contained in its home folder and opened each one, searched for the line that started 'From:' then found the email address on that line and then split that email at the '@'.  If what was after the '@' was 'Enron' it made a copy of the file in a new directory. 

The searching and splitting part I had learned about in my intro class.  It was the looking into multiple files and then saving new copies of the files that I have to figure out from online tutorials. 

lepetitfromage:
I am definitely thankful for soup season. This is forcing me to experiment a little more. I made a delicious cheddar soup with shredded potato and sour cream last night. Probably not so healthy, but sooooooo delicious. And I'm also thankful for the fact that I'll be able to have a lot of Turkey Day food. Mashed potatoes, sweet potatoes, cranberry sauce, stuffing, biscuits made soft by sopping them in butter.....om nom nom. I think I may consume more calories this year than during ones I could eat the food I had to chew lol


--- Quote from: Carl-E on 09 Nov 2012, 00:45 ---
--- Quote from: lepetitfromage on 08 Nov 2012, 12:33 ---So. Today I got my fabulous "dental device" for my TMJ. Woo.


It is not as large and scary as I thought it would be, but it's giving me a headache and I've officially started my soft food diet. Even chicken soup is difficult to eat. Wish me luck  :-\

--- End quote ---

Buy a blender.  I did when my mouth was wired shut (broke my jaw in '86), and you can make almost anything into liquid.  I dropped a burger from Steak & Shake in one day just to see... no added liquid, it was smooth and tasted... delicious.  Just like a steak and shake burger should taste.  I broke the jaw in November, and so for thanksgiving I had "turkey through a straw" "(da-dum, da-dum-dum, turkey through a straw...)

Still have the blender, too.  Makes good margaritas...

--- End quote ---

Y'know.....I've heard that from a few people but it kinda scares me. Thankfully, I don't have to have a completely liquid diet, just things that don't require much effort to chew- supposedly to help minimize the time that my jaw is spent in the "bad" position. I tried the chicken soup with the splint in my mouth and it was a huge pain in the ass, then I had to go take it out to clean it off anyway, so I think I'm going to just eat with it out and put it back in when I'm done. As long as I'm not chomping on steak and carrots while it's out, I think I'll be ok. Just sucks because I loooooooooove crunchy food. I'm currently not allowed to eat 75% of the stuff in my apartment. But margaritas......now there's a diet I can stick to.  :-P

Zingoleb:
When I got sent to the hospital for gallstones, they told me I had to cut all fat out of my diet for three days.

The only thing I could find in the house that was fat-free was vodka.

nekowafer:
I couldn't do liquefied food, even when I couldn't get anything solid down at all, after my tonsillectomy. I just went a month without "real" food, surviving on juice and various slushy drinks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version