HNHacker News
TopNewBestAskShowJobs

trcollinson

2,066 karma · joined November 25, 2012

I'm a senior software developer, architect and tester, cause you know, XP... not the OS. @trcollinson

trcollinson@gmail.com

submissionscomments
trcollinson··on Ask HN: When do you containerize new projects?
I happen to be a huge fan of Gitlab, and that is one of the reasons yes. I don't think Github is bad by any means, but I like the Gitlab roadmap.

There are a number of really good CICD systems for Github. If you like Github, pick it and go for it. Just get started and don't spend more than an hour thinking about the whole thing. That's where the waste really comes in. Spending all of that time thinking instead of just doing.

trcollinson··on Ask HN: When do you containerize new projects?
I am very good at containerizing and deploying projects. So I usually do that part immediately because I have patterns for it and it takes less than an hour to get started. This is how I start a new project:

1) I use Gitlab. So I make a quick gitlab-ci.yml and have a few steps. Test, Build, and Deploy. Test might just run one fake test to start. Build might do nothing much. Deploy might do nothing much at first.

2) Stick the project into a docker container. So create a simple Dockerfile. Make sure I can run the app from within the Dockerfile. Make sure the Dockerfile builds from Gitlab from the gitlab-ci.yml (which is the build step).

3) Deploy the app to AWS. I like ECS but maybe it's a lambda and I deploy it to Lambda. Just depends on what I am building. I update the gitlab-ci.yml to do that (this is the deploy step).

4 - forever) Code and only update the gitlab-ci.yml when I need to.

Honestly, the whole thing really takes less than an hour and I never have to worry about build and deploy after that. I say do it early. Also, don't over complicate it. Especially if you are using Django.

trcollinson··on Ask HN: What do you think of working for a startup that helps arresting people?
Is shoplifting ethical and catching shoplifters unethical? I realize there are circumstances that bring people to the point where they feel that shoplifting is the only answer to their problem, but shoplifting is still illegal and for good reason.

Now, if it turns out that their system targets specific races of people, or only catches a certain "class" of people, that is unethical. But if it is an inventory protection system, there is nothing unethical about that. You may say "but some users may use it unethically to only arrest certain people." Yes, that might be but you can't assume everyone is going to use every piece of software ethically, and that doesn't make the software unethical.

I think you need to examine your ideas about ethics, morality, and the law. Collectively, as a society, we think theft is bad. Keep that in mind.

trcollinson··on Fed’s Balance Sheet Exceeds $7T for First Time in History
First off, I don't disagree. But I unfortunately think a lot of people will disagree, especially right now. If we increase the interest rate we know exactly what will happen. We will see a decrease in economic growth and spending. Stocks will slow down. Obviously at the same time inflation decreases.

The problem is we do know we need to increase the interest rate. But no one wants to do that now. "We're in a bad economic time and we need rapid growth! We'll raise it later." Later comes and we say "We can't do it now! We're growing! That will slow things down. We'll raise it later." No one wants to bite the bullet and do that. Again, we need to think long term and not so short term. I don't know how to solve that.

trcollinson··on Fed’s Balance Sheet Exceeds $7T for First Time in History
I think this is important. You are right this has happened before. 2008/09, 2000, 1987, twice in the 1970's. And history will no doubt repeat itself.

But my point is the way our economy currently works doesn't handle a 6 month reserve well. We don't incentive companies to hold on to cash like that. We need to come up with the incentive to do something different, whether it is save cash or "something else". But right now, the incentive is to spend cash and allow for a bailout.

Additionally, we don't think in the future very much. We think about this quarters earnings. So again, we need to incentive long term thinking and resiliency as you suggest. Unfortunately, I am not sure how to do that.

trcollinson··on Fed’s Balance Sheet Exceeds $7T for First Time in History
You seem like you are trolling and trolls aren't well loved here but I will attempt to answer your rather flippant and not useful comment with something somewhat useful.

Companies and the economy cannot handle having a 6 month reserve of cash, that is the assumption and there are plenty of economic theories that show that doesn't work.

Bailing out with taxpayer dollars is one solution and it's the easiest dial to turn. It will bail out a lot of companies that aren't "shitty" and are just handling a time that is unprecedented and needs to be handled. As with most things, it will also bail out some "shitty" companies. We don't have a great metric for "shitty" vs "non-shitty". Those taxpayer dollars to companies are not free (though with inflation they basically are free). They have to be paid back with a minor amount of interest over a 2 year period. Will everyone pay it back? Nope. But many will.

The point to remember here is this is unprecedented and we are attempting to solve a future problem. Let's imagine we don't bail anyone out with very cheap loans. A bunch of "shitty" companies go out of business. A WHOLE bunch of "non-shitty" businesses go out of business. When the world opens up again the people who have lost their job have no where to go. There are no "shitty" or "non-shitty" companies to go back to. They went out of business. Unemployment stays at record highs for as long as is necessary for new companies, both "shitty" and "non-shitty" to come back and start hiring. A bailout allows companies to hang on and then bring back employees ASAP after the virus situation stabilizes.

Are there better ways? Probably. Will be find them? Probably. We can learn from this situation and become better. It will require a set of new methods and economic tools to get through in the future.

trcollinson··on Fed’s Balance Sheet Exceeds $7T for First Time in History
Yes, ordinary citizens are different. What is your point? Are you suggesting companies really should keep 6 months of operating capital in the bank? Can you even imagine what would happen to the economy at that point.

The US GDP last year was $21 Trillion dollars. The gross revenue was about $2.1 Trillion dollars. This is all back of the envelope math but imagine if 50% of the difference between those numbers was the operating cost in the US of 6 months, or about $9.5 Trillion dollars. If we take that money out of the market and put it into a bank for a rain day fund, imagine all of the people not receiving that money. Imagine how many consumers would go down. This is all just an estimation but we are talking huge amounts of money not being put into the economy and frankly, our economy runs on consumption. Consumption doesn't happen without capital.

People should definitely safe. Have a 6 month personal supply. But companies need to spend.

trcollinson··on Fed’s Balance Sheet Exceeds $7T for First Time in History
Brilliant analysis. Thank you for your insightful words.

In reality, there are very few economists who believe that a company should have 6 months of expenses in the bank for emergencies. I realize you are probably about to explain to me how those economists are wrong and companies are wasteful and whatnot. Frankly, they have their reasons and their reasons aren't do bad.

More importantly, most companies are not spending their money on frivolous things, like avocado toast. This isn't an HBO shocking sitcom/drama. Do companies make mistakes with their money, of course. But in my experience working with VC's, most companies are using all of their money on either marketing and sales, or R&D. Period. Maybe a bit on parties and morale but by percentage, 99% goes to sales and marketing or R&D. Large companies, on the other hand, spend their cash on all sorts of other things. Huge amounts of cash have still gone into sales and marketing, R&D, but also stock buy back, and investment.

trcollinson··on April Unemployment Rate Rose to a Record 14.7%
> Employment and GDP contracting at historic rates. A pandemic that is not close to being over.

I think you've made my point, this is a short term reality, and a pessimistic one. We don't have a model for the long term economic reality of this situation. We only have speculation and guessing. So we have a short term economic reality but nothing more.

To say that the US stock market hasn't historically effected the economy at large seems to forget the Great Depression. I believe it is taken as economic fact that the Great Depression started with the crash of the stock market in 1929. There was quite a bit of speculation and the market went up and down all over the place, but finally settled with a huge amount of unemployment and a massive reduction in GDP. We have put into place numerous measures to make sure that doesn't happen again, and we are using them, effectively.

Also, I disagree that the markets are entirely divorced from the performance of the businesses that comprise them. Most people don't look at the entire market. We look at indexes. Look at the DJIA. With the exception of Nike, Disney, and Boeing, which of the 30 companies in the index are hit hard by this pandemic? If anything, which of those companies are increasing substantially before of the pandemic? They aren't steaming towards an iceberg. They a solid, recession resistant conglomerates that have substantial production power.

trcollinson··on April Unemployment Rate Rose to a Record 14.7%
I am not sure if I agree or disagree but I like where you're going. What is economic reality? That's such a tough definition.

A pessimistic view of the economy would say it is horrible because we now have a 14.7% unemployment rate and this is a record. An optimistic view is in an unprecedented time we have a 85.3% employment rate.

So, what is an economic reality?

One thing I do agree on, the market needs to stay up so as to secure the future of many.

trcollinson··on April Unemployment Rate Rose to a Record 14.7%
I keep hearing comments like this yet no real indication of what we should do instead of having the market the way we do.

I have a lot of my personal wealth (which is not a substantial number compared to a lot of investors) tied up in two areas. One of those is the stock market (the other is real estate). Most of that is tied to index funds because the returns are good. 401K's and retirement accounts is basically where it is. I would imagine many of those who have any savings in the US are in the same place.

So, a few things. First, as a small time investor that has a good chunk of my future tied up in the US stock market, I certainly would not say that the stock market has been unfazed over the last few months. It has been quite up and down. I am glad it stabilized a bit so that this report didn't tank it.

Second, I am glad that the Fed did something to assuage the fears of the market. Remember my future, and many millions of other peoples futures, are tied up in that market.

Finally, let's stop making this out as if there are a few good ole boys sitting in a back room moving the market around while they drink scotch and smoke cigars and that they suddenly get nervous and start ruining everything. The finance market has some really brilliant people working in it and trying very hard to make money. What is the negative there? I think of it as a symbiotic relationship.

So, if you disagree with the market and how we are all beholden to speculators, what exactly do you suggest we do?

trcollinson··on Ask HN: What the heck is going on with the stock market?
As a few people have said, the stock market isn't necessarily the indicator of the entire economy. One other thing to keep in mind is that the Dow Jones Industrial Average has 30 companies in it. And the S&P 500 has, well, 500 companies. The point is that you are looking at composite indexes of companies on the market, not the entire market. And those companies have access to, what many consider, the largest weapon to help them rise over the next few year. Very very very inexpensive debt through a near 0% interest rate from the Federal Reserve (and other international reserves). Many of the large companies in the world will come out of this stronger than ever. Cheap debt is one of their favorite things to have.

Small business will go under. Keep in mind that a lot of those small businesses were going to go under anyway, this is just speeding up the process and potentially keeping them from getting more debt before they go under.

As for unemployment, many economists believed that our unemployment rate for the last few years was actually too low. Now, it is probably too high. Though we only have a few weeks of that unemployment to measure and this isn't the time for predictions. We need to stabilize the economy then look at the stability of unemployment. An economy this large takes some time to predict. Economists generally don't start making trends with only a few weeks of data.

I have lived through a few of these downturns. This is not the first by any means (2008/2009, 2000, 1987, the 1970's). My historical guess is in 18 months you are going to see unemployment much lower, the stock market will hit new highs, and people will be generally extremely afraid of what happens when the Fed starts to itch to raise the interest rate above 0%. Whichever party is in office in the US will take a lot of credit for "fixing everything" and blame any negative effects (like raising the interest rate, homelessness, income gaps and disparity) on the other party. And a lot of people will think things are wonderful.

The question really is, are they wonderful at that point?

trcollinson··on Rules of thumb for a 1x developer
If you have a role now, start working with the architects to gain experience. Become friends with all of the architects. Learn from them. Then ask your organization to move you to an architectural role. Maybe without any sort of pay increase. The point is to get the verifiable experience on your resume. Then you can move.
trcollinson··on Rules of thumb for a 1x developer
Well, I didn't say I do security alone. The types of companies I work with other have an entire security group. But I can absolutely begin the architecture with proper security principles in mind and I can go through the review process with both peers and groups. I certainly know where to start with security and the security issues inherent with eventing and streaming. Which I guess is the point. I also don't often engineer the entire application from soup to nuts but I guess I technically could.
trcollinson··on Rules of thumb for a 1x developer
I can implement streaming architectures using the latest technologies that can handle throughputs of TB per hour. I can handle the architecture, security, infrastructure as code, and monitoring, as well as the development. I can also help with price vs feature analysis. I have demonstrable experience in doing so, with happy references. I can do it much faster and more successfully than a recent college grad.

Shouldn't minimize the reality of getting old.

Edit: Just in case this sounds snarky, it is a bit. But that first paragraph sells well. I am sure if I was making crud apps in Node I would be a much harder sell. A younger, recent grad can definitely out price me and do a wonderful job.

trcollinson··on Juul is reportedly laying off 800 to 950 employees
I am not sure what the evidence is of nicotine vs inhaled combustion byproducts, but I do agree that the effects are far less. I don't find my questions irrelevant though, even though you have glossed right passed all of them.

The other examples you have are a false equivalence. We can certainly say that nicotine sellers have an obligation to explain the effects of their products and also say that there are bigger public health issues right now. I certainly would not imply that nicotine is the largest public health issue right now. But we can deal with so many things at once.

trcollinson··on Juul is reportedly laying off 800 to 950 employees
Potentially. What would be the harm in further regulation? I feel there is no benefit to a lack of regulation. But that's just my opinion. If my legislators were to ask me if I thought we should have more regulation on nicotine advertisement, I would say yes. Which is what we have legislators for.
trcollinson··on Juul is reportedly laying off 800 to 950 employees
The parent comment asked for a citation, so I added a citation which is peer reviewed and discusses some of the very points made in the grandparent comment. There are quite a few more peer reviewed papers on the topic.
trcollinson··on Juul is reportedly laying off 800 to 950 employees
Alcohol is legislatively regulated.

Here's a study on Caffeine. I haven't read it all the way yet, but so far the effects are not nearly what nicotine is. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5445139/

As for sugar, that's an interesting debate. Sugar is pretty bad for you. The short answer seems to be that sugar kills more people than tobacco and nicotine and lots of other things. But sugar comes in many forms and is hard to regulate, I guess. It's a tough one for sure.

trcollinson··on Juul is reportedly laying off 800 to 950 employees
Is taking up vaping bad for youth that are under the age of 18? Is taking up vaping bad for adults over the age of 18? And I do mean, when they otherwise were not smokers? If so, has Juul actively tried to market their products to non-smokers in any range? Have they actively tried to inform the public about the potential harms of starting to vape when you are otherwise a non-smoker?

There is no doubt that Juul is safer than a pack of cigarettes. But Juul can't make it as a start up selling to only smokers who want to reduce their risk of death, as has been seen by their sales numbers. They are actively marketing to groups of people who are in zero current harm from first hand nicotine. And nicotine does harm those people. Here's a peer reviewed article just to make the point.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4363846/

trcollinson··on Juul is reportedly laying off 800 to 950 employees
Yes the very first answer when searching Google for "Nicotine Effects"

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4363846/

trcollinson··on Ask HN: Do you need more than front end and Firebase education to ship product?
Fair enough. I mean if we are talking purely "getting a job as an engineer eventually" then .Net and Java own the market in my area. Though there are plenty of positions in Javascript, Python, Ruby, and even C/C++. I would imagine other areas vary heavily (and the data I have seems to show that). Pick the thing that will get you to your goal, I would say.
trcollinson··on Ask HN: Do you need more than front end and Firebase education to ship product?
If you are trying to make money and ship a product, then I have seen far worse than just a Front end and a Firebase. Go for it. Get your product in front of paying people as quickly as possible, then sell sell sell. You'll probably fail (the default state of a start up is failure), but you'll learn a lot along the way.

If your hope is to learn how to write code for other peoples products and have them pay you, it would benefit you to get a more full stack education. Node would be good. Rails is nice. Django is nice. .Net works well. Java is good.

It just depends on what your goals really are.

trcollinson··on What are some overshadowed careers that pay well?
That absolutely makes no sense. Actuary's regularly start in the $70,000 - $80,000 range and can definitely move into the $200,000 range of salary without dipping into any management. I guess there are jobs which make more. But I don't know a lot of them.
trcollinson··on Would anyone wanna become a beta tester for a book-based social app I'm making?
This is probably better as a "Show HN". Just FYI.

I agree with the other comment. You aren't showing any value. And honestly, this looks like a scam to get email addressed (the fact that you are posting it here and asking for feedback means you might not be scamming, but looks matter).

Can you afford a domain name? Go get one. Seriously. You are asking us to invest time and effort into your idea and yet you haven't invested in a $5 domain name? Go get a domain name.

Take 4 hours today to go spruce up the landing page. Cheat and look at other landing pages and add some general elements from those. Show us what you want to do. Give us one good reason to sign up.

By the way, I think the idea is interesting enough for me to write this note :) so you might be on the right track!

trcollinson··on Annual Letter to Berkshire Shareholders (2019) [pdf]
I'm missing your point here. Do you not like marriage analogies? Or you don't think his analogy and very well known life experience doesn't apply (he has an interesting personal experience with marriage)? Or do you think most of the people who read his letter have no background in marriage?

I find the analogy very appropriate and well stated. Much like a marriage he can't just give back a portion of an entity he's involved in without legal pain and the pain of explaining it to his investors and board members and the company he is having trouble with. I guess that's like dating but to me it's closer to a marriage and divorce.

trcollinson··on Why I Procrastinate (2019)
Actually, I think it's your tone. There are other people who are expressing similar ideas in this thread and are being upvoted. I'll also correct you, since your last statement is wrong.

I procrastinate a lot. I am also extremely successful by most measures. I have a lot of education and an advanced degree. I have started companies and sold them. I have worked for VCs. I consult. I make a lot more money than almost anyone else in the world by percentage.

I did ALL of those things while fighting with and tackling procrastination. And sometimes, I lose. I lose really hard. I procrastinate for weeks on important things that could take minutes.

I am glad you don't have these social anxieties and disorders. But they are quite real and take real work to get past. Successful people are not those who don't procrastinate. Successful people are those who take challenges and find ways to work around them.

trcollinson··on Smart-contracts, game theory and a lottery that may never end
Really? I mean, do smart contracts actually hold any legal standing at all? If it does, under what jurisdiction? Who are the victims?

If it gets big enough I can imagine some anti terrorist groups like the NSA or FBI making sure the money isn't used for that. I can definitely see the IRS potentially looking into it. But deep down, if the person who takes the money shows there was no real contract and he was just collecting it, what more could be done?

trcollinson··on Ask HN: Where do you look for a remote part-time programming job? Do they exist?
You're thinking about this the wrong way. The people who pay think like the following:

1) I need something done.

2) I have a budget for the project/month/year/some period of time or work.

3) I think the project will take X time.

4) I need to find someone who will do the project for the budget and will do it in the amount of time I need. All based on 1-3 above.

5) I'll hire a full time person to do the project for this budget.

It's obviously slightly more complex than that (but not a lot). You have to change their mindset a bit and get what you want out of it. And YOU have to sell yourself into that different mindset.

Are you good at maintenance? Great! Can you do the same about of maintenance as a full time person in only 20 hours and are willing to take the same pay a full time person would take for that work? Great, sell that.

Are you good at getting projects done? Great! Can you do the same about of project work as a full time person in only 20 hours and are willing to take the same pay a full time person would take for that work? Great, sell that.

The point is, companies are used to doing things one way. If you can explain to them why you are a good fit but on a different schedule, they may very well give you what you want. But you have to sell it.

A note on recruiters. They aren't going to sell you as a part time person on a different schedule because that's not the product they sell. A company comes in and asks them for a full time person to fulfill a role. They and the company both understand what that looks like. Recruiters have a network of people they know who can fulfill that role. They find the best ones, submit them, and make the company happy, and get paid.

It's not that recruiters are bad or not progressive. They aren't selling what you are offering. And if you try to sell something different, you're their competition.

If you want what you've described, I suggest getting good at selling yourself.

trcollinson··on Ask HN: How to make an extra $2000 monthly?
I hire a good tax professional. That's it, as simple as that. I have a gentleman that I have used since 2014 who I pay about $350 to make sure everything is filed correctly. He helps me with tax planning. He helps me with the forms. The IRS is happy with me. I spend maybe a total of 2 hours a year thinking about it (I am fairly organized with my receipts though, which helps).

I also have a good attorney and a good insurance broker. All in all, very simple. If I spend half of a day per year on any of this stuff, I would be surprised.

← PreviousPage 2 of 19Next →