How about putting instructions in the instruction file (README) and configuration data in the config file?
2,156 karma · joined December 13, 2016
How about putting instructions in the instruction file (README) and configuration data in the config file?
OP's argument is silly. JSON files are fine for config.
A real example: a product person once asked a team I was on for a feature that'd be difficult and time-consuming to program, probably taking the better part of a year. My teammates said no. Not, "We want to ship this software soon and we don't think that's an acceptable tradeoff," they just said no. Product became furious (not knowing how hard it'd be, since the engineers hadn't explained it) and it hurt those developers.
Knowing how to invert a b-tree doesn't help you solve situations like those, which are far more common than 99% of fake problems presented in programming interviews.
When I interview a candidate I ask them to tell me about projects they worked on and poke and prod about real-world stuff they actually did, not converting a singly linked list into a circular linked list.
Ideally people would be offered the choice of an in-person or take-home to satisfy both those who feel like they shouldn't have to spend their free time on homework and those who don't like being forced to instantly come up with solutions to fake problems.
I blame Google for introducing this scourge, hopefully it lifts before the next time I do a job search.
My favorite example of this is Google turning down Max Howell for a job: https://twitter.com/mxcl/status/608682016205344768
Calorie counting isn't magic but it's helped me "price" my meals. If the little cajun fries at Five Guys are really 600 calories, maybe I can pass on those and get a bag of 90 calorie chips instead.
Now I'm no longer surprised when I step on the scale each week, I know from my weekly calorie total if I've lost weight or not.
It's like as humans we all have eating amnesia, the minute we consume something it's forgotten about -- then later we wonder why we haven't lost weight. This article is a little silly in pretending that the math of calories in/calories out isn't as viable a method as just eating whole foods.
1. Calorie counts on labels undercount by up to 18%
2. Other factors to weight than pure calories, including genetics
3. Certain foods have low calorie counts but are worse than others with higher counts
4. Eating whole foods is better than non-whole foods and helped the subject of this article lose weight better than calorie counting & exercise
Worshipping whole foods is not the answer, you need balance. Plus who wants to live life like a Buddhist monk? Having a burger or pizza every once in a while is fun, it's just about moderation.
I'm calorie counting right now via a food journal, trying to stay under 2K a day (I also exercise 5-6 days a week, often 2x a day), and I'm oddly enjoying the experience.
One, I can't cheat myself. Before I'd get frustrated trying to lose weight and failing, feeling like I tried really hard and "deserved" it. But with the calorie count you know if you did or didn't. It's very easy to forget or not realize how much you're eating exactly, that's why you write it down.
Also, I feel rewarded if I eat salads every day, like I'm getting points in a game or something. Not everyone's brain works that way but for me calorie counting makes dieting more scientific, at least somewhat.
Articles like these are somewhat unhelpful because yes it's great to eat whole foods but so is 1) watching what you eat 2) relying on moderation and 3) exercising.
P.S. Didn't like how the article implicitly denigrates running as a weight loss tool just because this one person didn't succeed doing it -- not exactly a rigorous analysis.
But when your wife is pregnant or your kids need to go to the ER life can get very expensive as a freelancer. Too easy to judge the career path as a single 20-something, IMHO.
Executives at Fortune 100 companies (in my experience) pick an agency speed, price and 'sexiness' -- I've never once heard them positively rate the age and experience level of a solo developer. And I have never, ever seen a F100 co bring in an old guy to tutor front-end devs. I can't even imagine.
I would absolutely rather be the old guy at a big tech co but I wouldn't be a solo developer, I'd be in management.
There's no question there's a path out there for solo devs in their 50s but is it really all roses and rainbows like you say? Seems like the harder path to me.
But it gets to my overall point -- a lot of freelance devs like to bandy around big numbers like 250K without subtracting any of the costs or drawbacks.
For some people I'm sure the tradeoff is worth it but on balance a good job at Big Tech Co to me seems like a better long-term prospect than freelancing forever. But it's just my opinion.
You can definitely acquire skills freelancing. The question is, what is the endgame? What do you do at 50? If there are a lot of 45-65 year old solo devs out there I would LOVE to hear from them, have them share their experiences.
But my sinking suspicion is ageism in tech spans outward to include independent, generalist contractors.
Most of the ageism applies to FT work at Big Tech Co but IMO it sadly applies to solo, independent devs as well since 50% of it is how you market yourself, and "old" will equate to "out of touch" in too many people's eyes.
For some people the tradeoff of going solo is worth it and good for them. But I read the OP's post and wait, I have to study contracts for XYZ? I'd rather just go to work.
And that's fine as long as you'r transparent about the tradeoff. But we tend not to frame solo dev as "mostly business-related work with a little bit of programming" instead we think of it as "Programming on your own! No boss! Wahoo!"
But let's dive into the numbers for a moment. I have no doubt you can book 250K in a year...but you only referred to the base salary of a developer, not all the other paid-for benefits.
Health care is a huge one. Take a big number out of that 250K.
Paid vacation is a second. Let's say you get 2-4 weeks off in total PTO, that's worth thousands of dollars.
None of the expenses the author mentioned -- lawyer, accountant, etc.
Free computer hardware. An office space to work in. Colleagues you can call on instantly for help.
You don't have to spend unpaid time looking for work.
I'd love to a see a spreadsheet comparison of each lifestyle and see if it's really raining money down as a consultant, because my (admittedly unscientific) gut says it's not.
Maybe others can do this (and if so, more power to them) but if I was taking "free time" while a solo dev I would just feel like I was constantly losing money.
All I'm saying is when most programmers envision being a solo, independent dev they think of the freedom but it's really (IMHO) a series of tradeoffs that don't necessarily make it significantly better than working a 9-5 for most people.
Everyone's situation is different. For some it's a dream, I'm sure. But I read lawyer, accountant, contracts, billing and think I'd rather just go back to work.
But a couple of things.
One, the higher you rise in responsibility the more likely your work is to be meta-work. I saw your personal site and the services you're advertising, as time goes on you'll be offering more business-like services because inevitably that's what customers want.
Sadly most programmers have to choose between having the satisfaction of doing IC work and having their salary plateau or transitioning into management and/or biz dev consulting.
Second, it's hard to build equity as an independent. That is, if you work for Facebook or Amazon or whoever for 5 years, that's a hard skill you can trade in for a better job elsewhere, or at the very least your benefits start to accrue higher and higher (e.g. at my Big Tech Co: discount off public stock purchase).
How many 55 year old solo independent devs do you see out there in the wild? I'm sure they exist but unless the have some very specific skill set (e.g. COBOL programming for banks) it's hard to have a forever career as a generalist IC.
But again, more power to you if you can make it work. I'm not criticizing the lifestyle, only suggesting that it's not some peaceful freedom from BS that we'd all want to imagine it to be.
Sounds like the OP spends just as much time (if not more) doing paperwork, meetings, phone calls and other assorted meta-work as programmers in Big Tech Co, if not more.
Corporate America can be a drag, I get it. Annual reviews, backstabbing office politics, the wrong people get promoted, loud open offices full of clowns that prevent you from concentrating but from this write-up it doesn't sound like going solo is any hassle-free Shangrila, either.
For a certain class of people they like the "freedom" and hey, more power to you. By all means, enjoy the IC life. But I'd just as soon move to a different company if I'm unhappy at my job and not deal with this Kafkaesque amount of paperwork of being an independent consultant.
Or to put it another way: you're saving yourself money but (potentially) at the expense of the cafe owner who loses walk-in customers b/c his place is filled with barely-paying squatters.
Wait, how do you determine this criterion? Take, for example, Trump's tariffs on Chinese manufactured goods. Retaliatory tariffs by China have made Tesla's cars far more expensive. That's not Tesla whimsically changing its mind about its employees, that's the financial and global politically situation rapidly changing.
You think Elon Musk is morally obligated to pay for employees Tesla can no longer afford because Trump pulled the rug out from under him?
But that's not what this thread discusses, it talks about the injustice of 1 person being laid off. And we can't possibly know the exact specifics of this individual's situation, so why are we passing judgment?
You don't know. I don't know. So why are we passing judgment?
If the tweetstorm was about why it's misguided corporate governance for Tesla to lay off 7% of its workforce, OK, let's have that debate.
But that's not what this thread discusses -- it specifically blames Tesla for laying off 1 person. But we can't possibly know the specifics of this individual's situation.
Wait, how did you make that determination?
In Musk's most recent letter to employees he said Tesla made a 4% profit in Q3 2018 and the forecast was lower for Q4 -- you think companies should be obligated to pay for employees they don't want or need? Just because they're a big a company and it'd be inconvenient for the employee?
I don't understand this POV at all, can you explain?
My point is, however, we can't know if that's what happened here.
Imagine for a second (and I'm NOT saying that's what happened here) her husband was terminated for sexual harassment. Should the company have given him 2 weeks?
The problem is we don't KNOW what happened, and for legal reasons Tesla won't respond (nor would any other company, probably).
A firing, layoff, termination -- without detailed, explicit evidence it's very hard to assign blame. This person has given us little detail so I think we should be cautious about how outsiders evaluate the outcome.
It's disappointing however to see this on the front page of HN as some sort of implicit acknowledgment that what Tesla did was wrong when we don't have a full, independent accounting of what happened.
Just put yourself in the shoes of a company or manager that's had to let someone go for legit reasons -- would you publicize them? We need more data but this tweetstorm doesn't really provide it, IMHO.
First, being a disabled veteran does not preclude you from being laid off.
And as many others in this thread have pointed out, the "sign on bonus" she appears to reference apparently vests over 4 years, which is not that uncommon.
She says:
> "We’re shattered. Devasted. And fucking broke. @Tesla, shame on you. I know lay offs are a part of life, but you really took the low road and kicked your loyal employee in the balls when he was down."
Just to play Devil's Advocate for a minute, what if companies were prevented from firing or laying off employees because of the financial situation of the employee? Should the company be forced to keep paying redundant employees as some form of social justice or obligation?
Look -- this is not a judgment on her, her husband, or their family. Maybe what happened to this couple is a complete travesty, maybe Tesla is some horrible evil mega-corporation and they should feel ashamed over the situation.
However it's also possible her husband was in a department that was no longer needed or maybe even he underperformed his colleagues -- there's no way of knowing from this tweetstorm.
What I dislike is this presumption on HN that just because someone tweeted out his/her spouse got laid off by a tech giant that it's automatically some immediate miscarriage of justice.
Maybe it is. Maybe it isn't. There's no way of knowing from the evidence in front of us. I wish the mods of HN were more judicious in accepting these kind of one-sided screeds.
Video gambling is totally amok in many parts of Chicago and its environs.
For people who haven't seen it in person: even regular Mom & Pop restaurants have video slots. Donut shops. Italian sandwiches. Bars. Imagine if Subway devoted a quarter of its restaurants to video slots. It's crazy.
And watching the people who play these games it's obvious it's not rich people, it's most often (IMO) fixed-income retirees. People who can least afford it.
I'm for legalized gambling but what's going on in Illinois right now is totally bonkers. Legalizing video slots and putting them everywhere is the second dumbest idea in Illinois since Mayor Daley sold off some of the highways.
Exactly. Forced to use GraphQL at work for an internal-only API and what a nightmare - what would be a nice, one-line REST API query can take hundreds of lines (not exaggerating).
If you're serving a public-facing API at massive scale, yes, GraphQL will save you bandwidth. If not, what a pain in the *. For most engineers it's a solution in search of a problem.
Being physically detained by law enforcement and having your Constitutional rights denied seems way worse than FB data leaks, at least to me.
And maybe I'm wrong but I can't help but wonder if race is a factor, that this and other stories like it would be bigger news if white U.S. citizens were the ones being subjected to this treatment.