News for hackers. Stuff that matters.

zzaip

This code is... rough? I'm sorry. You're clamping opacity between 0 and 1 and then checking that it's clamped between 0 and 1. Among other issues.

Ask HN: Should I focus on mobile or web in 2019?

Hi HN. I'm an early career iOS dev at BigCo in SF, considering finding a new job in web. I'm hoping some more experienced devs from either side could weigh in.My thinking goes something like this:// Vaguely pro-web1) My long term goal is to acquire the skills that best enable me to execute my own ideas. It seems like more ideas lend themselves to web than to apps. The app goldrush is over. Web...

( Read More... | 1 comment | 3 points | on HN )
@acconrad This response feels unjustifiably bitter and negative. Joshua acknowledges his privilege in the second paragraph. His privilege neither invalidates his experience or makes it useless to share. While I too would be interested to know how the time off materially affected his career, I suspect that this hasn't fully revealed itself to Joshua yet.

Despite the misleading title, I still enjoyed the read.

This is brilliant. Gonna see if there’s an equivalent for Apple Watch, and if not, write it myself.

  The most important thing to learn is how to decide what to do. This is far more important than the number of hours, or your skill level. A great programmer writing the wrong code has zero productivity. This is the most important advice for getting things done: deciding what to do. Sam Altman said something along these lines recently, he’s bang on.
This is strong advice - I’m saving this to refer to later. Thank you. This whole post is great, and you were insightful to see the real question I was asking, and answer it. =)
Sheer random fluke. Originally I was on a normal team - then that team got shut down, and I was transferred to a new team that was partially remote. Management wanted us to go into our nearest office, but it was far and nobody on the team was there anyways, so it was pointless. Management knew we might quit if they made us trek 3 hours round trip to this empty office, and the project was behind schedule and they couldn’t afford to find new devs. That was that.

It helps that the current project is iOS and there’s a dearth of qualified iOS devs here. If it was some generic service work, we probably wouldn’t have had much leverage. Crazy way to start my career!

The quality of responses in this thread are why I love HN. So much to chew on here.
Do you think this approach applies if you’re trying to save energy to work on side projects? I feel like if I work as hard as I possibly can at my day job, at the end of the day I’m not left with much juice left to work on the things I actually care about.

Ask HN: How do you decide when you've done enough work for the day?

I'm a relatively junior software engineer, a little over a year out from university, with a cushy remote job working for big-co. And I never know how much work to do on a given day.Right now, my daily rule of thumb is to try to have my butt in the seat for ~8 hours. I clock out at 6 and stay disciplined so I don't end up overworking as many remoters do. The main disadvantage of this strategy is...

( Read More... | 120 comments | 288 points | on HN )