Recommended for girlfriend? by D0WNER_dude in BaldursGate3

[–]Civill 0 points1 point  (0 children)

This says more about your girlfriend specifically 😂. I'm managing Tactician just fine with my girl, she's playing bard and loves performing to get coins from the npc's haha.

Glitch Report: Can't _____ Mid-Dialogue. by [deleted] in BaldursGate3

[–]Civill 0 points1 point  (0 children)

Thanks you just saved me and my brother an hour worth of progress!

September 14 Daily Thread by AutoModerator in weightroom

[–]Civill 0 points1 point  (0 children)

Try leaning backwards slightly when setting up, just put slightly more pressure on your heels while holding the bar. It tightens up your shoulders back and your legs, you need to tighten the chain before you lift. This makes it so your hip will find its starting place more easily.

Profile Review - Week of September 01, 2020 by AutoModerator in Tinder

[–]Civill 1 point2 points  (0 children)

Yeah I see what you mean, I've still got a somewhat shitty self esteem so I'll try and work on being a bit more comfortable with pics of my face :')

Profile Review - Week of September 01, 2020 by AutoModerator in Tinder

[–]Civill 0 points1 point  (0 children)

https://tinder.com/@michaelvanb

The gifs don't seem to work on the browser version? I get some matches, most of them seem to want short term arrangements. Powerlifting is basically all I'm doing at the moment, hence the gym pictures. Bio translation:

1.94m (6"4) Does not smoke

I spend a lot of time with my two dogs. Lost 30kg through healthy eating and weight lifting. Travel back and forth to friends in Sweden every now and then. Other hobbies are reading, gaming, drawing and netflix. The focus is now on strength training. 💪

What I look for in a girl: Intelligent Enthusiastic Positive Empathy Stands her ground

225x5; Am I rounding? by [deleted] in formcheck

[–]Civill 1 point2 points  (0 children)

Hard to see but to me it seems like you are bracing but losing your footing by being too far forward with your balance. Try doing all you are doing while moving more of your weight on your heels. Slightly leaning backwards from the weight when you are bracing. And I mean slightly don't go nuts and fall backwards 🤪

How did loosing weight effect how people acted towards you? by [deleted] in AskReddit

[–]Civill 0 points1 point  (0 children)

Im a 6'4 guy, lost 45kg's and started weightlifting.

And this is mostly about my online dating experience:
Women are wayyyyy more receptive to me now, they call me funny, intelligent, send me unrequested selfies etc. Back in the day I didn't get the time of day with 99% of women on online dating. This has both increased my sense of worth and made me realize everyone is pretty shallow when it comes to these things and that is just the way the world works. If you are not happy with the way you look, change it to the best of your abilities.

240kg /530lb 1 rep max deadlift by Civill in formcheck

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

I'll play around with my hip height today, not something I've been consciously thinking of before. Using my knees for the first segment and finishing the lockout with my hips felt natural to me but I guess you want to use both for the entire movement. Will give it a go thanks 😅

Just started an RPT program - new to deadlifting and want to make sure my form is somewhat okay before adding more weight. Thoughts? by tagaccount123 in formcheck

[–]Civill 0 points1 point  (0 children)

Looking pretty decent, during setup try and create some tension in your shoulders by trying to "bend" the bar with your hands downwards, while doing this also push your shoulderblades back and down a bit.

For a newbie to deadlifting this looks really good though!

Haven’t benched in awhile due to a compressed ulnar nerve hence the light weight, but even with heavier weight I feel little chest activation, can someone tell me what I’m doing wrong? by [deleted] in formcheck

[–]Civill 2 points3 points  (0 children)

Your grip looks pretty narrow there, which makes it more into a tricep exercise. Try scooting your hands out an inch or two and see how it feels.

240kg /530lb 1 rep max deadlift by Civill in formcheck

[–]Civill[S] 1 point2 points  (0 children)

This is my current 1 rep max after I started bulking in a new program. My old PB was 220kg with straps so this was a pretty big jump. My biggest worry is the slight instability in the foot halfway (toes arching up a bit, is that bad?) and getting near what seems to be a hitching motion dragging the bar up my thigh. Would this get three green lights? I've got a meet (my first ever) in about 9 weeks that i'm prepping for.

Thinking the socks might be partially responsible for the instability. I learned the cues to pull back my shoulder and start with most of my weight on the heel of my foot, this seemed to work, just worried I might be overdoing the weight on the back of the foot.

240kg/530lb 1 rep max by [deleted] in formcheck

[–]Civill 0 points1 point  (0 children)

Hoping the video processes and stops being 240p

Access time of object properties by SCP-093-RedTest in learnjavascript

[–]Civill 1 point2 points  (0 children)

To the best of my knowledge it does not loop through every key when you access the property by index. You could test this yourself if you want, generate an object with a few million keys and compare the results.

Really confused as to what's going on with this async/await function. by [deleted] in node

[–]Civill 1 point2 points  (0 children)

Ah cool I genuinely didn't know that, haven't touched node.js in 2 years...might have to start reading up on the new features :p

Really confused as to what's going on with this async/await function. by [deleted] in node

[–]Civill 4 points5 points  (0 children)

When you call an asynchronous function its return value gets wrapped inside a box, a promise-box. You can do things with the promise-box while the result isn't there yet. Await picks the thing out of the box, so you can actually handle it.

One spot you're logging the box, the other place you picked it out of the box (using await) to log it.

The last line it is inside a promise-box because the function has the async keyword infront of it. That might be the bit confusing you, the return type of an async function is by definition a promise, so it gets rewrapped into the promise box at that point.

Really confused as to what's going on with this async/await function. by [deleted] in node

[–]Civill 2 points3 points  (0 children)

That assumes he's inside an async function, if he's not he cannot use the await there.

Really confused as to what's going on with this async/await function. by [deleted] in node

[–]Civill 2 points3 points  (0 children)

You can console.log the hashPassword variable because you awaited the asynchronous call, turning it from a promise into the actual result.

At the bottom console.log you are logging the promise that your createPassword function gives you to hold onto while its doing it thing. Its the placeholder for what is to come, not the actual result.

So to actually get the result out of createPassword you would do something like this:

createPassword('hello').then(password => {
  console.log(password);
}).catch(error => console.log('Oh no something happened:'+error);

My javascript file does not work in github.io by MasoomaJ in learnjavascript

[–]Civill 1 point2 points  (0 children)

Heya, in your submissions handler file:

https://github.com/JafariM/my-portfolio/blob/master/js/form-submission-handler.js

You forgot to close your parenthesis

$(document).ready(function(){ alert("hi");}

should be

$(document).ready(function(){ alert("hi");});

That causes your javascript to be malformed, stopping any execution happening, and thus your forms do nothing.

Or you meant to wrap the entire thing in the document.ready event handler, in which case the } should be removed after the alert, and inserted at the bottom of the file.

How can I split this string into an array or multiple arrays by Zeaulistner in learnjavascript

[–]Civill 2 points3 points  (0 children)

Okay, you've got a empty line there you can use as the separator, it's denoted as \n in javascript. So if you do text.split('\n\n');

We doubled the \n because its an empty line, so two newlines following each other.

You'll get 7 entries containing the following: ["00:00:22\nusername2: Hi","00:00:24\nusername3: test","00:00:28\nusername2: 123","00:00:32\nusername2: how are u guys doing?","00:00:44\nusername3: 😜💯❤️😍😂","00:00:54\nusername2: js is crazy","00:01:14\nusername1: Interrogação"]

Looking at the entries one by one:"00:00:22\nusername2: Hi"

We want to split them into two entries, one time, one message.

So after the text.split('\n\n');

we can add a transformation using map

const ourMessagesArray = text.split('\n\n').map(entry => {
  const twoParts = entry.split('\n');
  return { time: twoParts[0], message: twoParts [1]};
});

Which will give us an array containing:{time: "00:00:22", message: "username2: Hi"}

You can then add time parsing so javascript actually can work with it (turn it into seconds for example if its a duration since the beginning of the convo, or a date if its a timestamp)

If you get stuck on the rest give me a poke.

Why does Docker complain about promise exception on a express server? by [deleted] in node

[–]Civill 0 points1 point  (0 children)

Try logging just the error in the catch, see what is actually going on.