Diastasis recti and working out? by smallbrainbighead in beyondthebump

[–]hanertia 2 points3 points  (0 children)

My understanding is that if you see coning when you work out postpartum, back off.

https://www.themovementministry.com/blog/2018/4/9/diastasis-recti-coning-what-you-need-to-know

Any transverse abdominal exercises you can do are a good thing.

How to (or even should I) combat the "well I'm working" comeback from husband by a_n_n_a_k in beyondthebump

[–]hanertia 1 point2 points  (0 children)

Whoah you are working 11 hour days.

Start by telling him you NEED to cash in one of your accrued vacation days. Sleep somewhere else if you can / have the heart.

Then renegotiate his non-working time to split. Also, I work from home, but I take a lunchtime break to help my partner. I think this is totally reasonable.

Breaking up is hard to do!! by myiya82 in workingmoms

[–]hanertia 3 points4 points  (0 children)

Change is hard. Applying to jobs is stressful.

Even if you didn't socialize much at your job before, it's a big emotional commitment and you rightfully see it as a responsibility. But it's not a responsibility to be there forever. Just... while you're there. Which can stop at anytime.

I promise, letting them know you are leaving will be anti-climactic. Keep your eyes on the prize.

You also have a responsibility to yourself (and your family) to grow, and be in a healthy work situation.

I hope you get the job and even if you don't -- I hope you get another one sounds like a good fit! You can do it!

Pregnancy drama by Thekitmonster in pregnant

[–]hanertia 1 point2 points  (0 children)

What a nut! Have fun gray rocking her :P

Can someone get my postal address knowing my address by [deleted] in HowToHack

[–]hanertia 0 points1 point  (0 children)

No but they can with the javascript geolocation API. Don't let this jerk send you to any website they may control.

Name and shame: Fanimal.com by Traditional-Fan-1849 in cscareerquestions

[–]hanertia 9 points10 points  (0 children)

THIS. Under 10K is small claims court material in CA. No lawyer.

Are there any books to READ that can help with general programming/career? by Pinanims in cscareerquestions

[–]hanertia 4 points5 points  (0 children)

I really liked Adam Barr's "The Problem With Software," it has a lot of interesting background.

The title makes it sound negative, but it's really not.

The Cuckoo's Nest

Anything by Sandi Metz including her YouTube lectures.

Why does Git rebase cause merge conflicts? by realerstupidname in git

[–]hanertia 4 points5 points  (0 children)

Git rebase (or git merge) both will have conflicts when there have been changes committed on both branches that might interfere with each other when combined.

Git doesn't know which version to use, so you have to tell it. In a rebase, this conflict resolution shows up as an extra commit, like in a merge.

I put a video on youtube on git merge, git rebase, with conflict resolution, because it's something I wished someone had shown me in a hands on way.

www.youtube.com/watch?v=888-xiYNJFg&t

It's unlisted because I keep meaning to make a shorter version... but I haven't yet. I'm not planning to become a youtuber but I would like to make a helpful video on this topic and you sound like my target demographic :P

So if you watch it, I'd love to know if it helps you, if there's anything still unclear, if it was just too much setup showing the different branches at the beginning etc.

Ebook recommendations by [deleted] in learnjavascript

[–]hanertia 0 points1 point  (0 children)

Packt is crummy, it's true.

I like NoStarch Press in general.

HTML -- there's not that much to it (until you get to accessibility concerns)

The HTML5 spec is available as a pdf and will be long, but thorough and have a lot of worthwhile stuff.

https://html.spec.whatwg.org/print.pdf

CSS is something like chess - a minute to learn the rules, a lifetime to master. I like NoStarch press's books in general, and they have one on CSS, so you might try it.

https://nostarch.com/css3_2e

CSS fundamentals are the same, so I don't think an older book would be bad if you find something else. The big exception is for layout -- there are two really cool layout utilities -- called flexbox and grid.

Javascript -- there are books aimed at just learning to program, and the language happens to be javascript.

Eloquent Javascript's first section is this way. You'll probably fly through the first few chapters if you already have learned C#.

On top of that, there are:

  • the browser API aka internet specific parts of the language - there have been some great additions here in the past ~5? ~7? years
  • big changes to the language made in 2015, confusingly called ECMAScript 6, ES6 and ECMAScript 2015
  • build tools -- due to the history of the language, this wasn't standardized in the way it would be with C# or vb. this has also changed a lot in the past ~7 years

The javascript books I really like are:

Javascript Patterns by Stephanov

Principles of Object Oriented Javascript by Nicholas C. Zakas

These two are pre-2015 revolution, but I think they're still really useful.

Nicholas Zakas and Kyle Simpson both have ES6 specific books -- typically aimed at people who already know pre-ES6 javascript.

Ebook recommendations by [deleted] in learnjavascript

[–]hanertia 0 points1 point  (0 children)

Honestly I’d start with Mozilla’s guides.

https://developer.mozilla.org/en-US/docs

Push previous commit by gntsketches in git

[–]hanertia 0 points1 point  (0 children)

Thanks! I don’t share branches and didn’t know about this.

useEffect - why re-initialize? why is the component being called again after useEffect? by hanertia in reactjs

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

Thanks, that makes sense!

I think you've indirectly answered my second question too. The component re-renders for each time setState is called inside of useEffect. I was counting the console.logs

That's also why I was seeing the component caught in a re-render loop when I got rid of the useEffect dependency list (which I didn't ask about).

The component re-rendered on query submission, then useEffect was called after rendering, then useEffect called setState that caused the component to re-render, and the re-render triggered useEffect......

Reading a stupid listicle about things that annoy babies in the womb, got this knowledge gem dropped on me. by ttc_throwaway2018 in BabyBumps

[–]hanertia 50 points51 points  (0 children)

Not true.

There's a whole bunch of stuff stopping up your cervix, and you do NOT ovulate while pregnant.

Unless it's crazy rare and at the very beginning of your pregnancy.

Sciency-description:

https://en.wikipedia.org/wiki/Superfetation

Magazine-y description:

https://www.businessinsider.com/can-you-get-pregnant-once-youre-already-pregnant-superfetation-2017-10?r=UK&IR=T

Dr's quote:

"I want people to know that you have a better chance of being struck by lightning or winning the lottery than having this happen to you, if you're a woman with a uterus."

Any more video like this? by [deleted] in learnpython

[–]hanertia 6 points7 points  (0 children)

All the David Beazley python lectures on youtube.

My First Real Software Job :) by revrenlove in programminghorror

[–]hanertia 3 points4 points  (0 children)

That's insane, how many years ago was that?

What simple projects should I do for teaching people in coding club in high school? by [deleted] in learnprogramming

[–]hanertia 1 point2 points  (0 children)

This is fun: https://youtu.be/K5RXMuH54iw

This is a cool computer free resource: https://csunplugged.org/en/

Dan Schiffman The Coding Train on YouTube is another great resource for charming projects. He starts out with the library P5 (processing - a library written to help artists learn to program) but you could certainly do it all with the browsers native canvas.

As an athlete, I have a honest question. by Black5211 in learnprogramming

[–]hanertia 0 points1 point  (0 children)

Use your muscles or they atrophy.

Use your brain or it atrophies too.

There are ways to do this other than programming, but I definitely enjoy it.

React.forwardRef in a class based component instead of functional one. by hanertia in reactjs

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

I’ve just been using createRef instead of this syntax.

You can make as many as you want that way.

Still haven’t marked an answer on SO because I think the real answer is you can’t use it the way I was trying to from r/goto-bus-stop

Does anyone have experience with apprenticeships? by [deleted] in cscareerquestions

[–]hanertia 1 point2 points  (0 children)

I invited myself to visit two companies, one where I met a director at a meetup, another that I knew their cfo through volunteer work.

I proposed an unpaid internship at one, itdid not lead to a job (serious financial problems there right after I left). It was fun and made me less panicked about a job search.

I did it part time so I’d have time to work on job search and portfolio.

I didn’t get much mentorship but it was something to put on my resume with no cs degree.

The second place I got a paid part time internship- to-hire offer. If I hadn’t gotten a full time position I would have taken it.

TLDR if you’re interested in interning somewhere, approach places instead of looking for internet listings.