text
stringlengths
1
330k
Jessica: I think planning. I think a food journal's great, but also planning ahead of time. Going to the store in the beginning of the week and planning your meals. Also, accountability. Have a workout buddy, have a fitness friend that you talk to on a regular basis that you share results with. And the last thing is ma...
Jessica said take your food journal high tech. Using a couple of weight loss apps she recommends to her patients.
My Fitness Pal tracks your calories, workouts and results with easy to read charts. And Calorie Counter has healthy recipes, inspirational quotes and a barcode scanner to easily input packaged foods.
Print this article Back to Top
Take the 2-minute tour ×
I'm looking for something that I'm sure is out there, but I can't find it.
I have a long running program (Matlab simulation) that runs for 24 hours or more on the Mac in my office. Occasionally the program crashes, so I'm looking for a program or command that can periodically check to make sure the process is still running, and if it is not, send me an email so I can log in remotely and resta...
The more user-friendly the better, as I'd like non-advanced users to be able to use it on their own.
share|improve this question
I don't know if there's such a program, but how about this: Use launchd (with StartInterval) to periodically launch a script, use ps to find the process you're looking for, mailx or Mail.app scripting to send mail. –  Daniel Beck Nov 16 '10 at 23:14
3 Answers 3
I haven't used Matlab in a while, but from what I understand from MathWorks support, if your code crashes you would get a matlab_crash_dump.XXXX file in your home folder, where XXXX is a number. You can then use Hazel to detect the addition of that file and then use an Automator workflow to send you an email.
I would have liked to test this but don't currently have anything that crashes Matlab.
share|improve this answer
You could accomplish this with a simple script. Any script you're comfortable with, be it bash, ruby, applescript or whatever.
I had a bash script set on a cron job that would check if a Teamspeak server was running and if not, start it.
share|improve this answer
Understand a script could do this, I was just hoping there was a utility out there, that was a little more user friendly, and would let me be lazy and not have do much more than pointing and clicking :) –  Millhouse Nov 16 '10 at 23:37
Ugh. Pointing and clicking is so much work. Wouldn't you rather just type a few keystrokes? –  user31752 Nov 17 '10 at 0:30
If you want to keep a process running (or, rather, restart it if it exits) use launchd. There's a recipe for keeping TextEdit alive here, and Lingon is available as a GUI to set it up.
This isn't perfect for your particular problem, though - launchd will restart your process whenever it exits, regardless of whether it was successful or not. This could be a big pain if your program were to overwrite the perfectly good output from the previous run. To get round this, you could wrap your program in a sc...
#$? is the exit value of your program - convention is 0 for success, non-zero otherwise
if [ $? = 0 ]
launchd unload keep.my.matlab.running
If Matlab produces output as fideli suggests, you could use a folder action on the folder that Matlab would put its error report into. Simply write an Applescript or Automator workflow that takes the files that have been added, checks if they are a Matlab error and, if so, sends you an e-mail. One of the built-in ones ...
share|improve this answer
Your Answer
Friday, June 1, 2012
6th year baby
so, sasquatch has come and gone and I have to say that after 6 years of attending this magical/wonderful/amazing festival, this year was definitely one for the books! I couldn't have asked for a better group of people to spend my time with!
we drove down in a massive suburban: 5 girls, 5 nights, 1 suburban. the suburban of love. the suburban love nest of secrets. suburban of secrets. I learned so many wonderful secrets while in that bad boy, and none of them are ever leaving that big blue beauty.
we got into so many wild and crazy adventures and created way too many inside jokes that I never want to forget. this list may mean nothing to you unless you were there, and it will probably just make you feel really left out so i apologize...but none the less, here are the highlights of my 5 night 6 day adventure.
1. Pulling up to Wendy's in a huge suburban playing "no scrubs" and taking up 5 stalls.
2. Playing "i have never" "would you rather" and "who in our friend group has hooked up with another?"(our friend group is fucked!) on the drive down.
3.Waiting in line for 3 hours to get our wristbands, probably one of the best times ever - eating weed brownies and drinking copious amounts of beer to pass the time
4. Poochie Pouch! ( "for just 3 easy payments of 19.99, this poochie pouch can be yours, it looks real and feels real! perfect for festivals and going out with your friends")
5. Enjoy. Life. Robyn Cameron.
6. Munching so hard at the back of the suburban and devouring way too many tortilla chips.
7. You wanna know what time it is? I'll fucking tell you what time it is!?! It's 12:33 (whilst pretending to pull a gun out of your jean vest, only to reveal a watch)
8. Completing the challenge of "be on someone's shoulders" the first day
9. Matt Gilmore
10. Waiting in line 'to get into the festival' and having curtis tell us we were in the wrong one and having no one believe him
11. Getting our faces painted by annie
12. "Man i wish i was at couer de pirate with you guys"...."you were, and you loved it"..."yay!"
13. Getting so angry at people that they wouldnt come with me because I had something amazing to show them, only to present them with a bouncy castle and filling it with wayyyy too many people that they had to kick us all off by spraying us with water guns.
14. The sasquatch yearbook booth
(dave wins)
(i'm preeeeetttyyy sure they chose the worst of the three pictures...)
15. The honda car shots - "remember, you have to return these props"
16. Waking up one morning to open our tent and be greeted by our beloved nathan with a joint
17. "in my armpit..."
18. Discovering curtis and I have matching onesie's
19. Being barefoot as often as possible
 i'm having a blast with my friends
you can find me down in the USA
now its time to sing it all again
21. Being on wyatt's shoulders for Little Dragon
(this can of tuna is clearly very funny)
22.Cepacol numbing throat spray
23.The fact that seeing trevor without a wig was weirder than with - clearly Ash.
24. Not wearing a shirt for an entire day
25. Cee-lo Green
26. Pig-tying cameron because he needed to take a break
27. Literally sitting in piles of trash/beercans
29. Writing the following words on people for who knows what reason: Sasha- Free love, Jessica- Sexual, Cam - Emotions, Tayelor - musky, Myself- No monogamy
30. Being told that when I sit on people's lap I have a tendency to forget they are an actual person : "SHUT UP, CHAIR!"
31. Cam & Trevor doing dubstep, always.
31. Taking a 'minor' pit stop in ephrata and eating the garbage burrito, whilst contemplating how to get our friend out of jail
32. Proposing to Smasha
33. Watching matt suitor put on chapstick with his pinky.
34. dirty fingernails, stinky armpits, and nasty fucking hair
Well, party people, it was definitely the highlight of my summer thus far, so I can only imagine what's in store for the next 3 months. Speaking of which, stay tuned for robyncam's summer to do list! (sure to be filled with wild and crazy adventures)
much love, stay classy
1. I feel so privileged to know what every single one of these is. You're my main bitch.
2. Ah SHIT I just saw this now. I am CRYING. DYING. This was the best 5 days of my entire life thus far. I LOVE YOU ROBJOB.
3. Ahhhhh shit. I'm so friggen sad I missed out on this!
BEGIN:VCALENDAR METHOD:PUBLISH PRODID:-// jCal Pro VERSION:2.0 X-WR-CALNAME:JCal Pro Calendar X-WR-CALDESC:Your online events calendar X-WR-TIMEZONE:America/New_York BEGIN:VEVENT UID:350e2d5ea64f100245690ba69c20a2bb DTSTAMP:20140820T193311Z DESCRIPTION:Playing on Select Dates - Rated G\nIn a world where the only go od ...
Please enable javascript to view this page in its intended format.
Queen's University
Human Rights Office
• Multifaith Calendar
Queen's Multifaith Calendar
The Multifaith calendar is a valuable resource for community members who seek to demonstrate inclusivity and provide a welcoming environment for students, staff, faculty, visitors and guests of the University. In today's diverse and multicultural society, festivals and faith-based holidays are an important part of many...
The duty to accommodate can arise with respect to all protected grounds under human rights legislation, including faith. An important aspect of accommodation involves celebrating and encouraging diversity to reinforce the commitment to equality. This approach also encourages individuals to make requests for accommodati...
In order to promote awareness, dialogue and inclusivity in our community and workplaces, Queen's has made the Multifaith Action Society's calendar available electronically to al of Queen's community members. The Multifaith Action Society is an organization that is dedicated to promoting interfaith and multifaith dialog...
Kingston, Ontario, Canada. K7L 3N6. 613.533.2000
or Connect
New Posts  All Forums:
Posts by Dapp
Mother of god...
Hey nan, did you get my pm? I'm sure you're pretty backed up so it's not a big deal if you haven't!
There's literally dozens of threads on jeans like this, just look around and you'll find some. But if you must, there's APC. N+F, Momo, 3Sixteen, etc. etc.
Oh my god, please stop.
^Don't look the tuck first of all, but I feel like it also makes your feet look massive compared to the size of your legs/rest of body.
Haha, I'm just screwing with you. The watch zoom is just something you'd more likely see in MC.
#WatchPorn. Oh wait, this isn't MC?
Yeah, saw a guy with an Everlane backpack the day I got mine. That was the first time I'd ever noticed and I was all . My roommates from freshman year are about the only people I know with any interest in clothes. But the ratio of running shoes and sweats to anything else is still overwhelmingly tipped the wrong way.
See right hand side of website.
Yeah, it was definitely kind of surreal haha. I wanted to tell the people I was with, but I know they wouldn't understand! I'm sure it's less of a big deal in a big city, but when you're in a college town...I wanted to say something but I figured it would be a little too weird..
New Posts  All Forums: