Lurker News

Comments (453) 190 threads

Earlier comments
spamizbad3 replies#
Treat people with respect.

Sleep well.
Take care of your body and your mental health.
Try to turn any feelings of inadequacy or imposter syndrome into energy to push yourself forward and increase your skills and knowledge. We've all been there... multiple times.
Learn to code fearlessly: Are you being asked to run queries on a production box? Ask if you can get a user with read-only permissions. Change crusty old code? Maybe put a quick test harness around it.
If you're stuck when debugging a problem, think about all the assumptions you're making, and then test each one of them, no matter how obvious.
Understand that code is often ugly and weird for a reason other than incompetence. Code quality tends to be a function of time, requirements, experience, and skill.

wpmoradi#
These are golden rules to live by!
jrowley1 reply#
This my favorite comment on this thread. Coding fearlessly is such a privilege/skill - makes a world of difference.
sgt101#
It's hard won.

When I manage to get a team to create a code base with good tests it turns out that it's easy to change and resilient in the face of sudden requests for features.
A poor test infrastructure doesn't do this, building a good infrastructure is a skilled task. But worth it!

gfodor#
Love the last point. If you can internalize and truly understand this as a junior developer you will stand out among your peers, since many people can go through a whole career without ever learning to always assume the original authors of a piece of code were competent and well-intentioned.
onion2k4 replies#
Don't stress about not being good enough when you see other people's work. People show off their end result and not the hundreds of broken iterations it took to get there. You can build exactly the same stuff with a bit of effort, learning and time.
z3#
Bravo!
chooseaname#
I've been coding professionally for a decade and I'm pretty darn good at it, but I still have to tell myself this.
jpfed#
Corollary: if someone posts "my first X" to a big public site like reddit or HN, it is almost certainly not literally their first X; it's just the first one they felt comfortable enough to exhibit publicly.

(At least, that's what I tell myself...)

vesrah#
This same thing relates to most things in life, you never see the struggle other people went through to get where they are.
kjullien3 replies#
Could anyone explain this a little for me, please?

Does this mean you save 93% of your income and only use 7%?
From the website, there is a graph that shows how many years you supposedly have to save for retirement but it does not take into account the actual amount you make.
As a "junior" dev, if you save 97% of X peanuts you still have peanuts.

patrickmcnamara#
It means calculate what you spend annually, and save until you have 25x that amount.
hellogoodbyeeee2 replies#
The 7% is referring to the rate of return on your investments. He is making the assumption that if you invest $100 in the stock market on January 1, then on Dec 31 your account will have $107 in it. This assumption is an average over many years.

There is a common rule of thumb in the investing world that you can safely remove 4% a year from your investments and they will continue to grow. (7% return minus 4% withdrawals means you have 3% more in the account each year)
It doesn't matter what your lifestyle is. If you are a junior developer who makes 80k a year and spends 50k a year, then you should save 25x50k=1.25mil and then you no longer have to work for a living. This process will take years or decades.

Z-Widwil3 replies#
Quick question. Is the 80k an example you threw out, or a reasonable amount for a junior dev to make? Specifically for a a mid-sized company in the States, outside of Silicon Valley.

Currently working as a junior dev and the senior devs feel I'm making less than I should be. Which is much less than that 80k. The only caveat being that my employer is also paying for part of my tuition (up to a max of $5000 a year). Previously, this seemed like a decent increase with what I was making, but adding that 5k to my wage and I'm still nowhere near the 80k.
I'm throwing out this comment as it seems like it would be beneficial to other junior devs to have a ballpark amount to shoot for. Obviously other factors play into this (e.g. healthcare, location, etc). This just seems like a decent play to ask without breaking taboo with local devs.

Continue this thread — 3 replies

logfromblammo#
The 4% number comes from 7% mean return divided by 3% mean inflation. If you take out 4%, your investment won't grow, but remain constant, keeping pace with inflation. Eventually, you will hit an off year and stumble. The probability of that per year is low enough that it is reasonable to take out 4% every year of a less than 30-year retirement.

Perpetual income, or an early retirement, therefore takes less out every year, such as 3%, and has that 1% growth buffer to smooth over the down phases of the business cycle. You can also avoid spending on life insurance, and just draw up a last will document.
Divide your target income by your withdrawal rate, and that's your target nest egg. To get $50k/year, you need $1.7 million to retire early (3%), but $1.25 million is just fine if you clock out at 65 years old (4%).
If you assume a mean 4% growth in excess of inflation, and your income and expenses rise with inflation, you can hit your target making $80k and spending $50k in just 30 short years. If you want to retire in less than 40 years of working, you'll need to spend less than 73% of what you earn (or earn 37% more than what you spend). Spend only 66%, you can do it in 34. Spend only 50%, and you're working just 22 years. Cutting your expenses can only get you so far, though. You'll have to keep that level of consumption down for the rest of your life. At some point, there's nothing left to cut, and you simply have to earn more if you want to retire. Also, you are likely to earn less earlier in your career, where the compound interest counts for more.
So this is my advice: invest at least 25% of your net income--or more, if you use it to pay off debts--before you buy anything else. When you get raises, don't spend more than 75% of them on your living expenses. Pay your future-self first. By the time you become them, you'll be very thankful for the contributions of your past-self.

robohoe#
You save 25 times your annual salary (or savings rate depending on understanding and frugalness). With 25 times your annual salary you should be able to comfortably retire.
RightMillennial3 replies#
Maybe I'm misunderstanding the math. Are you suggesting that you spend only 1/26 of your after tax income, and save the hypothetical remaining 25/26?
SketchySeaBeast1 reply#
The goal is just to get to 25x your annual spending. Once you're there if you earn 7% interest and only spend 4% (what you'd normally spend in a year), you've now not only spend no money (only a piece of the interest) and that extra 3% left over accounts for inflation. So you build a pool for 25 years of spending, then just coast on that for the rest of your life.

The key is to realize that it's not your earnings, but your spending, so it would behoove one to get that spending as small as possible to get to coasting more quickly.
The math works out in one of those "assuming a spherical cow" senses. It doesn't account for a market downtown for any length of time, nor a required change in spending habits (illness, emergency).

brlewis1 reply#
...required change in spending habits (illness, emergency, inflation)

Continue this thread — 1 reply

whamlastxmas#
He's saying if my expenses are $30,000 a year I need to save up $750,000 and I can retire.
bluGill#
Sound advice, but you have lots of options. Many countries have some sort of government retirement that you can live on (at a greatly reduced lifestyle). You have a family history to guide you as to how long you will live. You have hobbies and interests that cost money: you can do the hobbies less, save more, and retire early; or you can do the hobbies more, save less and work longer. It is about tradeoffs.

I have a friend with a genetic defect - unless there is a major medical advance he will be dead in about 15 years at 55. He doesn't need as much saved up to retire.
I have a friend who couldn't afford to retire until 75. He really enjoyed his younger life doing things that his body isn't able to do now. Perhaps this is the right decision for you.
I knew someone who saved a lot of money and then unexpectedly died 2 years after he retired. On hindsight he shouldn't have saved as much.
The only wrong answer is not making the best decision you can about.

rkangel4 replies#
Read at least HackerNews and possibly some other tech news site regularly. And then make sure to not get too caught up in the hype for new stuff.

As someone working in technology, you are going to be learning new stuff continually (or your usefulness is going to diminish over time). By keeping up to date with tech news, you get a lot of context for what people are using, what's coming down the pipe etc. You may end up experimenting with stuff and then you'll be ahead of all your colleagues. It broadens your knowledge, and if you have to deal with clients it means you will usually know what they're talking about.
There's a few pitfalls to watch out for though. HN is great, but it is still an echochamber that can be focused on web and related tech. I was mostly an embedded software engineer for years and found comments like 'does anyone even use C anymore' hilarious (yes, see Linux kernel, device drivers, and your washing machine for details). It can also be very easy to end up wanting to push for the 'shiny new thing' too early. I tinkered with Rust from very early on, but it's only in the last 6 months or so that I'd suggest it is ready for use in most companies (depending on application area). Javascript frameworks suffer this problem particularly badly. Mature beats shiny 9 times out of 10 - running into a problem that 100 people have met before and posted about on StackOverflow and your tool caters for, is much better than being the first person to encounter said problem.

niroast1 reply#
Do you have any recommendations for news sites that focus on embedded software? I've recently started a career focusing on embedded tech but most of the interesting stuff I've come across online seems to be confined to blogs from the 90's/00's
Boulth4 replies#
> Read at least HackerNews and possibly some other tech news site regularly. And then make sure to not get too caught up in the hype for new stuff.

Interesting because I advise the exact opposite: do not waste time reading HN, just find one thing that is interesting and master it. Then repeat.
As much as I like HN there is a lot of noise here. Novice mind can easily fall into a trap looking for signal here.

rkangel#
The advice elsewhere in this thread about focusing on one stack and getting good at it is definitely true.

Broadening your knowledge to be aware of other stuff is also useful though. The most useful people are those who understand how multiple things work and fit together.

donkeyd#
> there is a lot of noise here

This is true. However, much of what I know about how software development can work, I've learned from reading HN. I've learned loads about cloud, containers, micro services, project problems, etc. This helps me understand all the discussions around me while I was a junior and allowed me to successfully lead development of a SaaS product. If I just focused on learning a single thing, I wouldn't have been able to grasp all the other stuff that is necessary to actually build a product from scratch.

sevensor4 replies#
I've gotten a lot of value from reading HN. I've also wasted a lot of time. It helps to develop a personal filter. Mine is

* Avoid headlines that make me angry, unless the news is really important. The discussion is never worthwhile, don't even bother.
* WSJ, Bloomberg, and WaPo won't let me read articles with w3m, so I skip the article. If the topic is tremendously interesting, I'll check the comments.
* TED and nautil.us are the information verison of empty calories. I've never gained any long term benefit from reading them.
* Javascript framework churn is intense. It's not worth trying to keep up with the details unless you do web development. If, like me, you don't, it's still worth reading the headlines to keep abreast of what frameworks are popular, what paradigms they embody, and who's pushing them. This changes every six months or so.
* It's always worth scanning the comments in threads about programming languages. There are some really interesting people who sometimes jump into those threads and blow your mind.
* Know your prejudices and look for information that challenges them. My prejudices are that I think Windows is lame, that MacOS is infuriating, that Javascript is terrible, that vim is better than emacs, and emacs is better than IDEs, and object orientation is a failed paradigm. So I look out for articles that have a different point of view. I've learned that Microsoft has some really interesting technology, that Apple is infuriating even to its own users but it doesn't matter because they're sitting on the world's biggest pile of dollar bills, that Javascript is usually unnecessary but occasionally useful, that kakoune is even better than vim, and that nobody agrees about what object orientation even is.

Eire_Banshee3 replies#
"object orientation is a failed paradigm"

uh... wtf?

Continue this thread — 3 replies

mingeek1 reply#
> Avoid headlines that make me angry, unless the news is really important. The discussion is never worthwhile, don't even bother.

> Know your prejudices and look for information that challenges them.
How do you prevent the two of these from coming into conflict?

Continue this thread — 1 reply

heinrichhartman1 reply#
> WSJ, Bloomberg, and WaPo won't let me read articles with w3m

w3m, nice! I tried lynx, w3m, eww (emacs) lately, and liked w3m the most, but found it terribly slow on many sites. In particular GitHub. Just measured 12 seconds for loading my Profile. lynx takes 5s. Opera takes 2s.
Do you have similar experiences?

Continue this thread — 1 reply

sitkack2 replies#
I eschewed QBasic early on because it wasn't "real" or it was derived from Basic. This was a mistake.

I spent a long time trying to become good at C++. This was also a mistake.
I ignored Python for a good 2 years because of indentation. Again, a huge mistake.
Great suggestion on anger inducing articles/comment sections. I was just thinking it would be nice to do sentiment analysis and incorporate the emotional vector into both the dynamic rules and the layout. At least put a badge on the discussion so I can know to stay away.

Continue this thread — 2 replies

sitkack#
> and master it

Mastering something is expensive, one should have multiple good justifications for doing so.
Deep familiarity is what people usually need, beyond exposure, but below mastery/trial by fire.

chipx86#
Along the lines of reading HackerNews, read TheDailyWTF.com on occasion. It's fun and entertaining, but that's not why I'm recommending it. A lot of the bad code, bad error messages, bad designs, etc. were not necessarily done by someone _incompetent_, but rather people who are simply inexperienced in one way or another, or were in a rush to meet a deadline and weren't careful.

(At a former company, working in a team full of very strong engineers, we still found one dialog box of ours end up on that site once, and the issue it demonstrated led us to a bug in the code.)
If you start seeing things on there that look like something you'd have done, don't beat yourself up over it, but learn why those are WTFs and re-evaluate how you're writing code/designing software.

TeMPOraL#
> Read at least HackerNews and possibly some other tech news site regularly.

Just be warned that places like this are the worst kind of habit-forming variable-reward site. Worse than Facebook, really. Every now and then you'll find here something that will tremendously improve your worldview, programming skill, or propel your career forward. You might then find yourself using this as a justification for wasting disproportionate amount of time on reading random things, instead of doing.
(Yes, I'm very much stuck in that trap right now.)

Load more comments