HNHacker News
TopNewBestAskShowJobs

ashishmax31

40 karma · joined June 9, 2017

submissionscomments
ashishmax31··on Show HN: Stackdome – An open source self-hostable Railway alternative on K8s
The installer script installs k3s which is a lightweight distribution of k8s which runs in a single binary. It has a low resource footprint and is well suited for running on VPS boxes. While its not as light as plain docker/docker-compose, its a small price to pay for the ecosystem and tooling k8s brings.
ashishmax31··on I Didn't Need Kubernetes, and You Probably Don't Either
Exactly. I've come to describe k8s as a distributed operating system for servers.

K8s tries to abstract away individual "servers" and gives you an API to interact with all the compute/storage in the cluster.

ashishmax31··on Interface Upgrades in Go (2014)
+1 to this. Especially with go, most of the (non-integration) tests I end up writing are behaviour driven tests. I'm not really sure how one can write these sort of tests without interfaces and mocks.
ashishmax31··on Ask HN: When is pure functional programming beneficial?
Could you elaborate a little bit more? These days i write a lot of go code and i end up using mock objects for different interfaces to write unit tests. Is there another way to do this?
ashishmax31··on Ask HN: Does this GPT-4 response suggest it has emergent intelligence?
Care to explain the reasoning behind your "no"?
ashishmax31··on Ask HN: Interesting movies that explore AI?
Ex machina
ashishmax31··on Ask HN: How to get out of making CRUD apps?
Thanks for making me chuckle. Good one :)
ashishmax31··on Blockchain Is Puny
I'm no expert in crypto. But how would people know that your public key belongs to "you" ?
ashishmax31··on India’s second wave of Covid-19 feels nothing like its first
Do we have evidence that the virus has mutated into something more deadly? Such mutation is clearly not beneficial to the virus. My guess would be that the virus mutated into something with a higher R-0. Read more about the optimal virulence here: https://en.wikipedia.org/wiki/Optimal_virulence
ashishmax31··on Darker Corners of Go
I learned Go as my first statically typed language(Worked on ruby and some python before that). Although I missed the functional goodies from Ruby in Go, I thought that was the price I had to pay for performance and static checking guarantees.. Nevertheless, I enjoyed writing Go and its take on writing concurrent programs. As others have called it, I thought of Go as "modern C with garbage collection and first class concurrency primitives".

All this changed when I started learning Rust, man was I blown away by the language.. I never thought a statically typed language with manual memory management can feel so "scripting language" like.(Sure the borrow checker annoys you sometimes, nothing a `.clone()` can't fix when you are starting out). I truly enjoy writing Rust these days and never have I missed anything major from Ruby.

I'll be damned if I sit here and criticize Ken Thompson and Rob Pike, but I feel like in their quest to make Go "simple" they've perhaps held a little too hard on to their past.

tldr; Go feels a little too verbose and "dated" after learning rust.

ashishmax31··on Distributed Systems: A free online class
Thank you so much. I don't see many of these courses listed on youtube in their official mit ocw website. I wonder why..
ashishmax31··on Learning Without Burnout
Couldn't agree more.. Reading CLRS cover to cover and reading SICP cover to cover are two different things.
ashishmax31··on Go 1.16 will make system calls through Libc on OpenBSD
I would think so. Can anyone eli5 why statically linking binaries is a big deal? Even light weight container oriented linux distributions like alpine ship with musl. In which scenario would it find it use cases?
ashishmax31··on Go 1.16 will make system calls through Libc on OpenBSD
So does that mean no statically linked binaries since glibc can't be statically linked?
ashishmax31··on Time-lapse of a single cell transforming into a salamander (2019)
Yes, but we already know about the rules which govern evolution, its the laws of physics.
ashishmax31··on Time-lapse of a single cell transforming into a salamander (2019)
Read the Blind Watchmaker and then The Selfish Gene. These books should help you understand the science behind life's existence.(For the uninitiated)
ashishmax31··on Ask HN: Anyone know any funny programming jokes?
Now the programmer just waits till the stack blows up to get his free drink.
ashishmax31··on Ask HN: Am I a Bad Programmer?
Please can you elaborate on the objective measures of code quality part? Do you mean to use static analysis tools like code climate? Also, if you don't mind can you share some good reads/books which cover these topics? Thanks
ashishmax31··on Happy New Year HN
Happy new year to all the HNers, no place like this on the internet :) പുതുവത്സര ആശംസകൾ...
ashishmax31··on Crush: A command line shell that is also a powerful modern programming language
Neat! Definitely going to try this out.