HNHacker News
TopNewBestAskShowJobs

timhaak

32 karma · joined June 28, 2015

Fullstack developer based in South Africa.

One of the organizers of Johannesburg PHP meetup.

[ my public key: https://keybase.io/timhaakza; my proof: https://keybase.io/timhaakza/sigs/BjBmwmqyAbEpyk_rDG0rrgPYn-Pdx0w-gbiiPrDe8q8 ]

submissionscomments
timhaak··on Docker, Kubernetes, Terraform, and AWS crash course series
1 It depends. For larger scale gluster or ceph. But quiet a bit more work.

Longhorn you can get up and working quickly.

Though if you are on a cloud provider just use their storage system.

2 K8 doesn't magically solve replication unfortunately.

Though there are helm charts that will automatically set up a replicated setup for you.

I still need to solve backups.

Once again if you are on a cloud provide. Just use their Db offering.

3 K8 doesn't have a default out of the box.

The repo shows you how to setup traefik to handle this.

On cloud providers they have normally integrated it with their lb already.

For me the large advantages are reproducibility and no vendor lock in.

Also give redundancy and quiet a bit of automation once set up.

Auto scaling is always tricky.

Lastly if you have the skills it can be far cheaper to run your own in metal.

If you don't the the time most likely would be better spent actually coding.

Depending where you are in the world and the relevant pay scales.

timhaak··on Docker, Kubernetes, Terraform, and AWS crash course series
I found a similar problem.

Most examples failed when then trying to use them together.

Also, jumping into directly K8 can be quite a jump.

I put this together to help SA Php group.

Starts off with just deploying directly on a server.

Then takes you to a full application deployed on K8 with auto SSL and DNS generation.

It needs a bit of a refresh :(

But finally coming out of being a bit over-committed, so should be updating in the next week or two.

Still some bits missing but it should cover all your basics

https://github.com/haakco/deploying-laravel-app

timhaak··on Ask HN: How to get back hacker's mentality and joy of coding
From reading quiet a bit on this the biggest problem is quiet often is only doing things you feel you should be doing.

Our brains need rewards to to be able to motivate us to do hard things.

When you only do the things you feel you should with nothing fun. You effectively are doing the same as punishing yourself every-time you are doing the thing you want to be motivated about.

Eventually your brain will start to fight to not do it.

The trick to get it back is apparently to start finding small things that are fun and easy and to do some unrelated external things to also just give your brain some time off.

Basically you want to follow similar patterns as if you are training an animal

By doing the small things that give you a treat. You are training your brain to want to do more of it.

You also need to spend some time on external things to work. That way the times when you have to work on things that are not rewarding you have something else to counter balance this.

This should not be something computer related if possible.

Also if it can be something where you get more human contact it’s recommended.

I’m talking as someone who is slowly recovering from this as well.

Still lots of work to go

But it definitely does improve. Just takes time.

timhaak··on Keeping Netflix Reliable Using Prioritized Load Shedding
Slightly unrelated but does the packet loss happen all the time or when close to maximum of the line.

Used to have similar problems with an ADSL line but found if I limited the line (Both up and down) I could find a magic number where the packet loss went away. (Well most of the time :))

Though it did need to be tuned for different times of they . ie high congestion times need it to be lower.

Though technically it shouldn't be your problem :(

timhaak··on The Battle over Dyslexia
Sorry I’m going to disagree with you here.

I was diagnosed with Dyslexia as child but was also always very good with maths.

I remember actually really wanting to be able to read but just not being able to get it.

After being moved to a class which catered for this and with extra help I managed to eventually be able to start reading.

I generally read quiet a bit averaging at least a book a week. From your statement that should mean that the symptoms of dyslexia should be fixed but they aren’t.

I still struggle with writing and spelling. Yes, I have put effort in, but I still struggle.

The best way I can describe it that I'm blind to the errors. With the sentence structures once it's pointed out I can see them sometimes but not before.

My intelligence is on the higher end and I got through an engineer degree, which you don't do if you don't put the effort in.

Thankfully tools like Grammarly are helping. If not for my sake then at least for people who have to read what I write

timhaak··on Show HN: Open Logos – Free logos for open source projects
Really like as well. Have also added to your patreon :) as think we should try and help reward things like this.