HNHacker News
TopNewBestAskShowJobs

tikkabhuna

767 karma · joined August 22, 2017

London based software developer working in Finance
submissionscomments
tikkabhuna··on How to navigate directories faster with Bash (2015)
And if you only have a single instance to replace, you can use ^old^new^

$ echo "hello hello hello world" hello hello hello world $ ^hello^bonjour^ echo "bonjour hello hello world" bonjour hello hello world

tikkabhuna··on The architecture behind a one-person tech startup
I've used the script command and asciinema [1] before. Easy way to record steps without missing anything.

[1] https://asciinema.org/

tikkabhuna··on Reverse Engineering a Docker Image
There are some subtle differences between tools that generate Docker images.

As seen in this Dive issue[1], Google's Kaniko uses a different naming convention for the config files. Docker config files are called <hash>.json, Kaniko uses "sha256:<hash>".

[1] https://github.com/wagoodman/dive/issues/318

tikkabhuna··on JSON with Commas and Comments
How complex is your configuration? I've used TOML for Traefik config[1] and I've found there's so much repetition.

The single/double square bracket thing is also non-obvious at first.

[1] https://doc.traefik.io/traefik/routing/routers/

tikkabhuna··on Entire school board resigns after accidental public livestream
Wouldn't it be better to normalise it further? Parents need a reliable method of childcare that they can plan around.

Why not say that schools are a mix between learning and childcare, learning finishes at X and then there is activities/playground time after that.

> Give a firm "no" to your boss for that 4pm meeting!

Great for those that can. What about families that require physical presence or abnormal hours?

> most American kids seem to have no friends near where they live

As a Brit in London, I don't live near many of my friends. We often meet up in central London as its convenient. When I was a kid, many of my friends didn't live near me because school was a few villages away and I liked people from other villages. Kids don't choose their friends based on location.

To me, it seems inefficient for every parent to sort their own childcare when you could centralise it into an institution dedicated to children?

tikkabhuna··on Show HN: ustaxes.org – open-source tax filing webapp
https://www.gov.uk/tax-relief-for-employees/working-at-home

Did it today. It takes 5 minutes. You need the normal HMRC account though.

tikkabhuna··on Buildpacks vs. Dockerfiles
100%. Coming up with a common pattern for deploying multiple languages is a nightmare for us. Different groups also have different patterns, all internal.

Using Docker, it doesn't matter if its Go, Python, Java, you start it with the same commands. Running in a Docker container also means you have the same platform for local development and each environment.

It also means that you can incrementally upgrade the Java version each application runs on. Not so bad for Java, but for something like Python it makes it easy and consistent.

tikkabhuna··on Buildpacks vs. Dockerfiles
We've used Google Jib for Docker for the same reasons.

It also means we don't have to think about the layout of our images. I know that if we went with Dockerfiles each team would put application code in different directories. There would be no consistency. Jib hides that away from us.

tikkabhuna··on Slack’s Outage on January 4th 2021
The "I've just done my Solutions Architect exam" answer would be that TGW simplifies the topology by having a central hub, rather than each VPC having to peer with all the other VPCs.

I wonder how many VPCs people have before transitioning over to TGW.

tikkabhuna··on Perl.com Taken over by Domain Squatters
How would you prevent a group from trolling or performing a hostile takeover of a small domain? How would someone acquire a domain? How do you determine consensus?

In this case, as someone who doesn't follow Perl, how would I make an informed decision on which perl.com domain I really want?

tikkabhuna··on Why 'Cousin Jack'? The origins of the nickname of the Cornish overseas
My grandfather was always referred to as Jan. He was in the Navy. Only found out about the Janner thing this summer.
tikkabhuna··on WSL2 corrupting Git repositories and shell history
Docker for Windows using WSL2 as its engine is also nice. The Docker commands somehow (magically) get added to your Linux distro and you can mix and match how you like.
tikkabhuna··on SolarWinds hackers were able to access Microsoft source code
Tools that generate warnings can be configured to only do so on new or modified code. We do the same for our code. It can be a difficult, but ultimately some codebases require it.
tikkabhuna··on Using Google Analytics without GDPR consent
Did you consider self-hosting Plausible?

https://docs.plausible.io/self-hosting/

tikkabhuna··on Face masks considerably reduce Covid-19 cases in Germany
Mid-August was also half way into "Eat out to help out"[1].

1 - https://www.gov.uk/guidance/get-a-discount-with-the-eat-out-...

tikkabhuna··on Transitioning from Docker to Podman
We use kaniko[1] in Gitlab CI and it’s working great for us. It’s annoying the kaniko image requires us to specify the entrypoint. There’s some peculiarities with Dive [2], but otherwise it’s been a very easy migration.

[1] https://github.com/GoogleContainerTools/kaniko

[2] https://github.com/wagoodman/dive/issues/318

tikkabhuna··on Grafana Tempo, a scalable distributed tracing system
Interesting that you find Thanos simple to setup and low maintenance. One vendor we spoke to suggested that their other customers found Thanos complex. I'll make a note to keep it in consideration.

You comment on standardising the logging schema is a great idea as well. I'll circulate that around.

Thanks for your help!

tikkabhuna··on Grafana Tempo, a scalable distributed tracing system
Thanks. I completely agree with the bikeshedding. We're playing with Prometheus/Grafana + ELK, and being able to visualise all this data, its hard to work out what is useful and what is just fun to play with.

I'm now wondering where the line is between necessary monitoring and bikeshedding? I could look at introducing distributed tracing, but will it actually add any meaningful value?

tikkabhuna··on Grafana Tempo, a scalable distributed tracing system
Thanks, great to see some numbers as well.

My initial draft of this stated that we are using Prometheus/Grafana + ELK across the company, although its still being standardised and turned from individuals creating their own deployments to a proper managed, strategic system with SLAs/documentation.

We're looking at the feature lists of SaaS offerings like Datadog, Logz.io, but I think we're too big to get a sensible price. That said, I don't think we're big enough to justify something like Thanos that turns Prometheus from a really simple application, into a big time investment.

Out of interest, are you storing 2TB of Prometheus data in a single instance? Or spread across multiple?

tikkabhuna··on Grafana Tempo, a scalable distributed tracing system
Slightly off-topic, but how are users of Grafana and other monitoring tools justifying the investment? And I'm not necessarily talking about monetary amount, its also people cost.

What features are you looking for and how do you rank them?

tikkabhuna··on Removing the CEO
My immediate thought is that this is due to visibility. You can churn through the lowest level positions for a while before questions are asked, but you can't do that for CEOs. Its also the case for other prominent positions. If someone with a big following joins and then leaves very quickly someone will comment on it and if its big enough an article will be written. No company wants to be noticed for people leaving, but they'll make a big song and dance when big wig from X company moves to them.
tikkabhuna··on Lloyd's Coffee House
One of the entrances has a big stone along the bottom of the door and worn down over the years.

http://www.citypubs.co.uk/pubs/thejamaicawinehouse_pic.html

tikkabhuna··on Disney and Integrators versus Aggregators
The "pirate" option is interesting. 10 years ago it used to be a matter of ease of use. Torrents and Plex offered something that no other company at the time did. Since Netflix and others came on the scene now its just because people don't want to pay.

I signed up to NowTV in the UK to watch Game of Thrones for 2-3 months and cancelled. The great thing about many of these services is the come and go subscription. Why not sign up for a few months, watch all the content you like and then cancel when you're done?

tikkabhuna··on Getting noticed as a remote engineer
My partner and I did "3, 2, 1, play" with Netflix at the start of lockdown (we don't live together). I'm surprised the big streaming companies don't do a 9pm movie equivalent to normal TV.

There's something fun about putting on the TV and knowing that friends could be watching and you could tell them to put it on or talk about it the next day. There's plenty of films I wouldn't choose to watch but would keep it on if its there.

tikkabhuna··on Alar: The making of an open-source dictionary
CC-Canto[1] is an open source Cantonese-English dictionary.

[1] - https://cantonese.org/about.html

tikkabhuna··on Why is Apple acting like an asshole?
That's a decision made by Microsoft which has pros and cons. There's significant overhead in maintaining this backwards compatibility. For an OS used by corporations all over the world, its worth it. For a mobile OS it will likely reduce their ability to deliver changes.
tikkabhuna··on Bash Pitfalls
> You have to keep the source code somewhere else (probably in a repo somewhere)

You should be doing that for scripts as well! Far too often I've seen problems arise when a team depends on a process but its just a shell script run by cron from the home directory of the guy who's on vacation.

You could also do `go run main.go` if you want to be close to the source. The Gitlab Runner repo has a "script" run like that[1].

[1] https://gitlab.com/gitlab-org/gitlab-runner/-/blob/master/Ma...

tikkabhuna··on Intel Launches 11th Gen Core Tiger Lake
A few years ago we had fun with the AMD HD 6950 graphics card. From what I remember, it was more popular than the higher specced 6970, so they simply detuned 6970s by deactivating shaders. Tools were then published by enthusiasts to enable those shaders and some manufacturers even added features to help you do it (mine had a little switch to reset the firmware if you screwed it up).

https://www.zdnet.com/article/upgrade-your-radeon-hd-6950-to...

tikkabhuna··on Mac keyboard shortcuts
Same for me. Home start of line. Ctrl + Home is start of document.

My Dell laptop has Fn keys on the left/right arrow that do home/end in the same way it sounds like Macs do.

tikkabhuna··on How Nespresso's coffee revolution got ground down
That's a good point. In the UK we're very poor at recycling schemes and there's little motivation other than an individual wanting to help the environment.

Maybe recycling bags could be easily weighed (as pods should have a similar weight?) and the persons account could be credited. Balancing the price/reward would be difficult, especially now as thirdparties could easily undercut with no care for the environment.

I suppose I'm glad they have a recycling program and it helps me feel like I'm not negatively contributing, but I agree its a shame that the scheme isn't more popular considering how easy it is.

← PreviousPage 7 of 10Next →