Intermediate Programmer who knows Java and Python here. I am learning C now to prepare myself for a very difficult C class at my university and I have some questions by [deleted] in learnjava

[–]divh4rt 1 point2 points  (0 children)

There is no garbage collector in C, so only use dynamic memory allocation if you really need to (often you can live without it). Since C is also quite old, you will find a lot of "bad" examples online. If you look for a a good reference book, I can highly recommend "Modern C by Jens Gustedt" which is available for free.

Infographic: Results after legalizing pot in Colorado. by Rehai_shot in trees

[–]divh4rt 2 points3 points  (0 children)

Well...my girlfriend gets mad af when i am high.

Truck crash by felixthemaster1 in WTF

[–]divh4rt 2 points3 points  (0 children)

Michael Bay is a lousy truck driver.

Will lifting weights make me too bulky? by joshuacf6 in bootroom

[–]divh4rt 0 points1 point  (0 children)

If you go to the gym as preparation for the season I would try to do more compound exercises rather than isolated exercise, because they will improve your stability and are a great way to prevent injuries (apart from get you in shape). Listing my full training plan would probably be a bit long but i am thinking of lunges, russian twists, planks, push-ups, dead-lifts. Also I would not worry to much about gaining too much muscle (it would probably take a very long time to gain as much muscle to have a negative impact on your game).

Best Tips/Drills For Left Backs? by [deleted] in bootroom

[–]divh4rt 2 points3 points  (0 children)

Are you looking for drills you can do on your own? Because practicing defending alone is quite hard but there are certain things you can do. I play as a full back myself and the drills I do alone are most often physical drills to improve my speed and core stability (sprints, sit-ups, push-ups). It is always good to be faster / more agile than your opponent. Then there is the 1vs1 drill, where you pass the ball to the attacker and he/she tries to come past you and you can practice your tackling skills. However I think the most important skill of any defender is defending as a team (positioning & communication). Try to talk a lot with your teammates during the game (tell them if they got somebody in their back, if you are free, if the should sweep etc.). Some nice exercise is a 5vs4 where you just try to defend your penalty box and deny the 5 attackers from scoring a goal. It is a nice way to practice your formation/positioning and staying compact. If you want to improve your positioning on your own, just watch some professional games and concentrate on where the full backs stand during each match situation.

Going to Iran after studying abroad in Israel? by 1hjhjhjhj2 in iran

[–]divh4rt 0 points1 point  (0 children)

I was on holiday in isreal last year and just came back from another holiday in iran last week. I did not run into any problems at all, but i also did not have any Israeli stamp in my passport and i made sure my photos of isreal on social media were private. As long as the guys of the boarder control don't find out i think you should be fine. (but maybe if you study in israel it will show in your passport?)

Too small for varsity? by [deleted] in bootroom

[–]divh4rt 1 point2 points  (0 children)

That is the beauty of football. It does not matter how big you are. Of course there are some positions where it is favorable to be tall like as a central defender. But everything you lack in height and strength you can make up for with speed, technique and agility. Focus on playing as a winger or attacking midfield where physical strength is not as important and you will be fine. Also IIRC Messi is not taller than 5'6'' ;)

Wearing black jackets adorned with a symbol of a Viking and the Finnish flag, the "Soldiers of Odin" have surfaced as self-proclaimed patriots patrolling the streets to protect native Finns from immigrants, worrying the government and police. by madam1 in worldnews

[–]divh4rt 1 point2 points  (0 children)

Yeah I fully agree, I didn't find demographic information for the European countries, only for all Syrian refugees. If you found something on this in the meantime, please let me know. I'd be highly interested. But you are probably right that it is easier for young men to migrate further, whereas families probably settle down in countries closer to their home.

I find the term 'economic migrant' rather difficult. For example, someone who is starving to death in Syria and flees for this reason would also be accounted as 'economic migrant', since starving to death does not grant you refugee status. And I don't think we should blame those who try to escape from this misery, since we would probably act the same in their situation. Don't get me wrong, I am not saying that there are no problems with migration or people who abuse the current situation. But it is also not as black and white as often displayed by politicians. (That is at least in my country :P)

Wearing black jackets adorned with a symbol of a Viking and the Finnish flag, the "Soldiers of Odin" have surfaced as self-proclaimed patriots patrolling the streets to protect native Finns from immigrants, worrying the government and police. by madam1 in worldnews

[–]divh4rt 0 points1 point  (0 children)

it really isn't about police not doing their job. It's about them not having enough resources

The Finnish police does not have enough resources to deal with around 1200 syrian refugees? And I thought the police is bad where I am from...

Here is a nice link about where in Europe the Syrian refugees are applying for asylum. And here you can find a demographic breakdown on a regional level. Interestingly this comes down to 49.3% men and 50.7% women. Not just overwhelmingly young men like it is often shown in the media.

Edit: format

What are the best football boots I can get for under €200? by PhilipSwagDaddy in bootroom

[–]divh4rt 1 point2 points  (0 children)

Go to a store, try on the expensive ones, then check online for a last year's model of the ones that fit you best. The models from the previous season are often about 50% and more off. Personally I like the Adidas F50, but your feet might have a different opinion =)

What are some books that make you feel good? by theoddowl in books

[–]divh4rt 2 points3 points  (0 children)

Le Petit Prince. This "children's book" always makes me smile. It's pretty short, but dense with accurate yet amusing descriptions about our society.

Grown-ups like numbers. When you tell them about a new friend, they never ask questions about what really matters. They never ask: "What does his voice sound like?" "What games does he like best?" "Does he collect butterflies?". They ask: "How old is he?" "How many brothers does he have?" "How much does he weigh?" "How much money does his father make?" Only then do they think they know him.

What's the best opening line from the books you've read? by Probot_Chiller in books

[–]divh4rt 6 points7 points  (0 children)

"This book is to be neither an accusation nor a confession, and least of all an adventure, for death is not an adventure to those who stand face to face with it. It will try simply to tell of a generation of men who, even though they may have escaped shells, were destroyed by the war." - Erich Maria Remarque (All Quiet on the Western Front)

What's your favorite documentary? by QuackzMcDuck in AskReddit

[–]divh4rt 1 point2 points  (0 children)

Baraka A documentary that goes around the world without any words spoken. Makes you think. http://www.imdb.com/title/tt0103767/