405 karma · joined Aug 23, 2020 (6y ago) · 423 submissions
comment 4y ago · link · parent
1. forever taking vaccines at periodic intervals, probably enforced by law, judge dredd style
2. this particular virus will become less severe once everyone had it + was vaccinated and overly aggressive mutations died out, vaccines will be recommended not enforced
comment 4y ago · link · parent
1. escape nested loops easily
for ()
...
for()
...
if (something)
goto get_me_out
...
get_me_out:
2. error handling; since c does it in somehow messy way, you can end up with multiple variations of: if (error)
close
return
if (error)
deallocate;
close;
return
where by using goto you can put those handlers as in a footnote of a function like if (error)
goto error1
if (error)
goto error2
error2:
deallocate
error1
close
as it looks a bit neatersome languages like Zig for example have keyword defer, this to my understanding implements an alternative to this approach
comment 5y ago · link · parent
I started to cycle between standing, sitting and laying on a couch with a laptop. works well for me. WFH.
comment 5y ago · link · parent
its nowhere near whats possible in the UK... as I said before, accept the social solidarity or move to different country.
comment 5y ago · link · parent
I'm not a lawyer or accountant, and I cant give business or legal advice and the following is "sarcasm" etc etc...
in theory, slovakia, dividend tax for residents is 7%, you don't have to pay social or health deductions when taking out dividends from the company you own. you can employ yourself in said company with base salary and pay minimal deductions from that, the rest you can take out as dividend. your home residence still matters, this means you would also have to live there for majority of the year. otherwise you would have to pay additional deductions and tax in country of your residence austria. this is still somehow considered legal and "perfectly ok" thing to do, i bet they will change that in couple of years due to pressure from the EU. you might be able to effectively pay only up to 20% of your gross this way + you get to business expense.
really, just move to switzerland, at least that's my plan a few years down the road.
comment 5y ago · link · parent
In the EU, the trend that I'm seeing right now is even "remote" contracts require you to be located in that specific EU country. Haven't tried US yet, but I assume without personal contacts and impeccable credentials it is not realistic to convince someone beyond the great pond to hire me.
I imagine my colleagues in the UK or elsewhere might not feel the impending doom, because contracting/consulting over there is pretty much the norm.
comment 5y ago · link · parent
I wish the SW engineering culture in Europe would improve, it seems like we get treated as grunts (best case) or as toddlers (no offense to the said party, toddlers are cool, they just dont get as much credit for their hard work as they should sometimes).
agreed on the doctor route. unfortunately, I'm a bit too old and a bit too married to invest 6 years in medschool.
moving to eastern Europe and getting remote contracts seem like only viable route in Europe. However, it feels like this is only speeding up the decline by de-valueing our western colleagues.
379.
Ask HN: Senior Devs, what career have you moved on to avoid impeding doom?
54 points · by iExploder · 5y ago · 77 comments
comment 5y ago · link · parent
nah, most people given an _insert_whatever_amount_ per month as UBI would not come back to their job they are _so_excited_ about or _have_found_purpose_ of doing, it just needs a bit of self awareness and reflection to see that
comment 5y ago · link · parent
ask yourself whether you want to be working like this for next XX years, when you are older, need more sleep, health issues start showing up, possibly have children or elderly to take care of
ask yourself what kind of social, family and personal life you want to have in future, if you are aiming to be next Elon then go ahead and work yourself to the ground, there is a non zero chance you make it big