News for hackers. Stuff that matters.
Re:Ask HN: How many of you have been impacted by a layoff? by error417 on Sunday October 13, 2019 @02:03PM (#21241772)
I lost my job in January because the company closed the office in my country, haven't written a single line of code since then, looking for motivation to start again but I feel like an absolute failure and don't know what to do now. The fact that I stopped coding 10 months ago and wasn't even a good developer, to begin with, isn't helping. I guess I need therapy.
Re:Ask HN: How many of you have been impacted by a layoff? by rossdavidh on Sunday October 13, 2019 @07:07PM (#21243879)
When I am having a problem getting up the gumption to tackle something, programming-wise, I tell myself that I'm not going to do the actual code yet, just comments (TODOs and such) about what I will do eventually.

Some of those comments, are just sentences, but then sometimes it's easier to just put the code in the comment, than to describe it in any other way. Still commented out, though. I'm not coding this now, just saying what i will do, eventually.

After a while, sometimes I uncomment a few sections, and test just those little functions to see that they work, anyway. But basically, I'm not coding now, don't have the energy or will to do it right now.

Sometimes, it is enough to get me going, and I turn the comments into code. Other times, I stop for the day once everything is planned out, as much as I can at this point. Either way, it is better than not approaching it at all, because it seems to require (psychologically) a smaller step to code it once I do come back to it the next day, because everything is planned out.

If you don't have a job in programming just now, do puzzles, do a small app for organizing your recipes or books, do something. It doesn't have to be something which anyone else will ever want or need to see, just something to exercise that part of your brain.

Re:Ask HN: How many of you have been impacted by a layoff? by error417 on Tuesday October 15, 2019 @06:09AM (#21257051)
Only answering this comment to avoid spamming: just a quick message to thank everyone for the great support and advice, I've started solving some problems on LeetCode today and I should be back to working on my personal app by the end of the week. Thanks again, everyone.
Re:Ask HN: How many of you have been impacted by a layoff? by spoonie on Sunday October 13, 2019 @06:55PM (#21243819)
A layoff isn’t about you! The company said they don’t want anyone working in that position anymore, not just you. It doesn’t reflect on you at all! :)
Re:Ask HN: How many of you have been impacted by a layoff? by bigboris on Friday October 18, 2019 @09:19AM (#21291101)
Not true when the company that laid you off constantly posts job openings with your exact job description. You're forgetting about things like age discrimination, too. For example, I'm in my 50s and had a long history with my previous employer. Promotions, bonuses, etc. However, big companies in the US do layoffs to get rid of pension liabilities. I had no pension at this company, but because of my age I was tagged. Why? Age demographics...including those without pensions in the layoff rounds let the company show they were not violating the WARN Act and others (in the US) by singling out only pension holders.
Re:Ask HN: How many of you have been impacted by a layoff? by bluedino on Sunday October 13, 2019 @02:07PM (#21241801)
Don't feel like a failure because some company closed an office you worked in. It had nothing to do with you or your work.
Re:Ask HN: How many of you have been impacted by a layoff? by thih9 on Sunday October 13, 2019 @02:07PM (#21241800)
Thanks for sharing. It takes a lot of courage to admit the need for therapy. It will get better. Take care!
Re:Ask HN: How many of you have been impacted by a layoff? by sifar on Monday October 14, 2019 @12:20AM (#21245247)
Create an urgency to deliver. Use that as a motivator.

1) Promise someone you value/respect to deliver some program

2) Join an interesting coding competition

3) Help teach kids programming.

4) Figure out if you can solve a problem in your current scenario with any program.

Concentrate on the process/act of doing it, rather than the thing itself. Learn to enjoy doing it. Also if you are not doing it already, I would suggest to start exercising or playing a physical sport which would put you in better frame of mind.

Re:Ask HN: How many of you have been impacted by a layoff? by cryptozeus on Sunday October 13, 2019 @02:52PM (#21242108)
Get paid projects from online sites, get moving, do some exercises, get the momentum back. It will be hard to get out of the quicksand otherwise.
Re:Ask HN: How many of you have been impacted by a layoff? by magnoossig on Sunday October 13, 2019 @02:15PM (#21241848)
Use it as fuel! All of us feel like a failure at some point, it's just a question of faking it until you make it!
Re:Ask HN: How many of you have been impacted by a layoff? by eecc on Sunday October 13, 2019 @02:44PM (#21242044)
You can try going to meetups, participate to the local developer community. There you will realize how much of your self-deprecation is justified or not. Identify your weak spots and work on them, but also realize your strong points and use them to climb out of it.

And yes, talk to a counsellor as well if you feel it helps.

Re:Ask HN: How many of you have been impacted by a layoff? by lordnacho on Monday October 14, 2019 @02:47AM (#21245764)
Do a few LeetCode puzzles each day. You want to keep things fresh, plus they're the kind of thing that people ask for before interview stages these days.

And you'll inevitably learn something. Bite sized so you can for it into your day.