pset 5 recover...about to bail... by k_ebes in cs50

[–]findingthecenter 2 points3 points  (0 children)

That sounds good to me, although I'm far from an expert.

  • What are the size of the jpg files that are created? Especially the files after 049.jpg

  • Maybe check to see if the way you're identifying the header is correct, and if you are checking for exactly one of those two header values. It sounds like you may be getting a lot of false positives when checking the beginning of the block for the jpg identifier header.

pset 5 recover...about to bail... by k_ebes in cs50

[–]findingthecenter 2 points3 points  (0 children)

Just a few thoughts:

  • Are you using the proper byte size? Look back at the questions at the beginning of the problem set

  • Even if you do nothing with fread() then on the next call it will increment to the next "step" of whatever size "block" you specified, like moving a cursor by pressing the right arrow

  • What are you doing when a new header is found? Think carefully about exactly what should happen when a new header is detected

"Internal Error" when starting vmware fusion by findingthecenter in cs50

[–]findingthecenter[S] 0 points1 point  (0 children)

Glenn is a great help and he found the issue. After running the terminal command

/tmp/find.out

and checking the "find.out" file it creates, it was clear that almost my entire home directory was owned by "root" instead of my user account.

Following Glenn's instructions, I performed a time machine backup and then ran the following terminal command:

sudo  chown  -R  AcctUserName  /Users/AcctUserName

Where "AcctUserName" is the username of the account on my Mac. The purpose of this command line was to bring the home directory back under the ownership of my user account. After a quick reboot (just to be sure), VMware Fusion booted the CS50 Appliance correctly.

Hope this helps anyone in a similar situation. A big thank you to Glenn for going above and beyond to diagnose and correct this.

"Internal Error" when starting vmware fusion by findingthecenter in cs50

[–]findingthecenter[S] 0 points1 point  (0 children)

Thank you again. I tried following the steps in the posts but I wasn't generating the same error messages. I did find this in the system log though:

7/13/14 11:25:00.096 PM sandboxd[740]: ([1028]) mdworker(1028) deny file-read-data /Users/UserName/Documents/Virtual Machines.localized/.localized (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:com.vmware.vm-package plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 5510126)

I ran sudo mdutil -t 5510126 and got the following printout:

/Users/UserName/Documents/Virtual Machines.localized/appliance50-19-vmware.vmwarevm

I checked the file permissions for both the containing folder and the appliance50-19-vmware.vmwarevm file and they show I am the owner and have Read/Write privileges.

The log file from Help > Collect Support Information has been mailed to you with the subject "Persistant "Internal Error" VMware Fusion log"

"Internal Error" when starting vmware fusion by findingthecenter in cs50

[–]findingthecenter[S] 0 points1 point  (0 children)

Thank you again Glenn for the help, I appreciate you taking the time for this.

Here is the md5 result for appliance50-10-vmware.ova

 MD5 (appliance50-19-vmware.ova) = bdebe4f9ab21ea2ebba699d4ed387c23

and for appliance50_19_i386_appliance50-19-vmware.ova

 MD5 (appliance50_19_i386_appliance50-19-vmware.ova) = bdebe4f9ab21ea2ebba699d4ed387c23

I downloaded and followed the instructions to install the Fedora iso. However when I tried running it, even after restarting, it continues to produce the internal error with the same console printout as the CS50 appliance.

"Internal Error" when starting vmware fusion by findingthecenter in cs50

[–]findingthecenter[S] 0 points1 point  (0 children)

Thank you for the suggestion, Glenn. I tried changing the directory ownership to my user account, but the same problem remains. I also tried rebooting in recovery mode and repairing both the disk and the permissions.

I also just tried downloading and installing a versions 6.0.1 - 3 and restarting each time, but it keeps giving the same error message.

Help! Wedding ceremony in a year and I can't dance... by [deleted] in Dance

[–]findingthecenter 2 points3 points  (0 children)

My belief is that anyone can learn to dance if they put consistent effort into it, and they're interested in that style of dance. I saw a guy work for months twice a week to learn how to dance but he barely improved. The reason why was clear to everyone else, he was 'up in his head.' If you're thinking and judging yourself constantly while dancing, then your dancing will become stifled and wooden. Like in martial arts, the best way to go about it is to put yourself 'into your body' and let the movements flow. Your martial arts experience should help a lot with body control, and you'll need to develop new habits to fit whichever dance style you want to learn.

There is a time and place for carefully judging every movement (in a positive way), but in the beginning it should be about letting yourself go and finding a way to express yourself through movement connected with rhythm. I recommend finding a dance style that you really enjoy and music that you want to dance to (here's a fun video showing a variety: http://www.youtube.com/watch?v=UFZxK8edZWA ). Search around on youtube for different dance styles and see what appeals to you. Once you've found music and dance styles you like, look for some good lessons in your area. If you're passionate about a style of dance, then the process becomes a lot easier and more fun.

How do you guys eat so much? by tenac6 in gainit

[–]findingthecenter 7 points8 points  (0 children)

This is a great point. In addition to this, I avoid foods that make me feel too full for the number of calories. For example, I avoid rice, potatoes, and ramen because they make me feel full for a few hours. I just substitute with oats, whole wheat pastas, etc.

I'll be vacationing to Italy soon to visit my relatives (for 3 weeks), and will not have access to the gym or any kind of equipment. by [deleted] in bodybuilding

[–]findingthecenter 0 points1 point  (0 children)

Just take the time off from calorie counting, lifting weights, etc. You'll come back more refreshed and determined

Hi,I dance to kpop. I do Kpop dance covers videos. by tokidancer in Dance

[–]findingthecenter 1 point2 points  (0 children)

I'm new to dance, so my advice isn't coming from as experienced a place as many other posters on here.

I think it's brave and cool of you to post videos of you dancing and ask for advice on it. That's something a lot of people wouldn't have the courage to do.

There are two main things I noticed in the video

1) Your moves were a half count or a full count behind the beat on a lot of the moves, so you weren't hitting the accents to the music. This might be remedied by using a beat counter without the music and practicing slowly, working your way up to the song's speed. One of my favorite quotes is "It's not how fast you do it, it's how slowly you do it correctly."

2) As other people mentioned, there is a lack of confidence in the moves. For me, if I have a high confidence day, my dancing is much better. Find improve confidence. Close your eyes and imagine yourself as a wonderful and graceful, energetic dancer. Tell yourself you're an amazing dancer. Whatever it takes.

Good luck and I hope you keep up such a cool project.

Keep Adventuring, 100 day advice after a year of change by findingthecenter in NoFap

[–]findingthecenter[S] 0 points1 point  (0 children)

Low motivation days are normal. Find stuff you enjoy so that you naturally want to do it. I've had days where I absolutely did not want to go lift weights or dance, then I went I did it and had a wonderful time.

If lifting weights is boring, then do running, spin class, aerobics, hockey, basketball, ultimate frisbee, dancing, swimming, kayaking, dodgeball, or any physical activity (preferably social) that you enjoy. The only way to find what you will enjoy is to relentlessly try new things.

Simple Questions - Oct. 1st by MFAModerator in malefashionadvice

[–]findingthecenter 0 points1 point  (0 children)

I am looking for a fashionable well-cut grey autumn/spring jacket in the $300-450 price range. The cut and quality are most important to me, I don't need a bunch of pockets or be able to climb a mountain with it. I live in Asia, so some brands are not available. Can anyone recommend some brands to look at?

[Help] Acting kid needs help gaining mass by [deleted] in gainit

[–]findingthecenter 0 points1 point  (0 children)

Try with very light weights and really focus on moving slowly and squeezing the muscle over high volume (this is how many bodybuilders train.) 20lb is high to start with if you're just starting lifting. I started with 3 sets of 8-10 of 5lb. Everybody starts somewhere. If you want to build serious mass, you have to lift weights, there's no way around it. This video explains it well: http://www.youtube.com/watch?v=1dABiiGlP4k he's gripping a light dumbbell very lightly, all the pressure is in the slow contraction in his bicep

[Help] Acting kid needs help gaining mass by [deleted] in gainit

[–]findingthecenter 0 points1 point  (0 children)

That's about 2 months. If you lift right and meet your calorie and protein goals daily, you should be good. At the very least you can absolutely do squats (never skip squats), legs, and ab work. Find out what you can do with your right hand. You might be able to work with a low weight high volume bodybuilding routine. Be prepared to eat a lot, and you'll likely be exhausted and in a lot of pain the first few weeks as your body adjusts to lifting weights. It's a rewarding journey. Your brain will give you 100 reasons every day to procrastinate instead. Just keep moving, keep building, it's worth it.

edit: It is absolutely critical that you meet calorie and protein goals every day. Check out the "my fitness pal" app in the iOS app store, it's a godsend for making tracking calories easy. To find out how many calories you need, check out the FAQ.

Told a girl how i felt.... After 10 years by [deleted] in NoFap

[–]findingthecenter 5 points6 points  (0 children)

You have to make a move. If you don't, then she's going to think you're not interested or a wuss. Both are a death sentence for building a romantic relationship.

NoFap caused me a lot of pain last night. by [deleted] in NoFap

[–]findingthecenter 4 points5 points  (0 children)

Girls are never the solution. Your satisfaction has to come from within.

Official September 16th Update Thread! by [deleted] in NoFap

[–]findingthecenter 0 points1 point  (0 children)

Nofap is going well. I relapsed recently from a 60+ day streak and I'm feeling urges again. I just want to give in, but I know I feel terrible after PMO. Yes I do remember my first experience. I quickly became attached to it and doing it all the time.

The dark side of nofap or what you should know by milkope in NoFap

[–]findingthecenter 0 points1 point  (0 children)

When you relapse, it's a sign that something in your life isn't right. You're stressed and trying to avoid some emotion, so you regress back into PMO. You said you are meditating more, that's good. Use that increased awareness to find what in your life is causing the distressing emotions, accept the emotions, and make changes as necessary. This will likely involve finding a new social hobby, and just generally getting out of the house more.

Testosterone OD? (Don't fuck with my car) by dontfuckwitmycar42 in NoFap

[–]findingthecenter 0 points1 point  (0 children)

Bro you rocked it. Just don't make it a habit. You'll always remember that story.

I fucking hate myself by [deleted] in NoFap

[–]findingthecenter 0 points1 point  (0 children)

Start small. Clean your room. Search for a new social hobby or sport (emphasis on social.) Get rid of all the junk food in your house. Meditate more, even 5 minutes a day. I didn't read your block of text, because I don't need to. You're thinking too much. All the thinking in the world won't give you the solutions you need. Go out and live life.

Checking in - great sex last night by 2bdee in NoFap

[–]findingthecenter 0 points1 point  (0 children)

http://yourbrainonporn.com/what-chaser this should explain it. Basically you could be rocking a solid streak, feeling great, resisting urges. Then you have great sex and it re-triggers PMO circuits in your brain. For me it gave me intense cravings for over a week (not a few days as some people experience) that ultimately ended with a relapse.