HN user

the_other_guy

89 karma
Posts10
Comments72
View on HN

when I stated my argument I was accused of being ad hominem, making sarcastic, content-free snarks on barely related HN posts, arguing against enums is as stupid as arguing for null pointers (which ironically exist in golang too!), it's not minimalism if you don't have enums, it's intentionally lacking an elementary feature that does exist in almost every other modern (well, in even old) language, you can argue with "deal with it" just like it was the case with package management, error handling and many other features, that wouldn't be as bad as derailing the argument to "enums are not necessary"

also, I feel strong about getting rid of cancer, should I write a treatise about the importance of getting rid of cancer since you may consider that not very important too?

I didn't mean the C example to be applied in C compilers, I meant having the first example in Golang itself, enums are not just constants, they are type safe constants, you can't just use any other constants in some switch-case and get away with it, that's the raison d'etre of enums in the first place

I didn't know that enums are so controversial, unnecessary and equivalent to just constants, but maybe a look of how it's done in any other language can give you a clear difference between enums and constants

https://doc.rust-lang.org/1.30.0/book/2018-edition/ch06-01-d...

https://doc.rust-lang.org/rust-by-example/custom_types/enum....

It's hard to argue with someone who sees these 2 examples are the SAME thing, if you really see the 2nd example is equivalent in _SAFETY_ and readability as the first one, you probably haven't written much code or used many languages

In every other language, people keep arguing about advanced features, moving forward and such, only in Go people defend the undefendable and reject any kind of the simplest obvious improvements, I say so and I am sad because I use Golang very heavily, it's sad to see a modern language so popular and its core designers are still stubborn about doing anything in the right direction even if it is as simple as adding enums

that wasn't even the point of my comment, you're insisting on derailing my argument and reducing it to something I cannot verify, and seriosuly, wtf do you think HN users are? housewives or wall street bankers? HN is an online community for tech workers especially software engineers, insisting on giving the evidence that 99% exactly of the users are software engineers is childish to say the least

I guess it depends on the category, for something like a database it can be easy to charge money (e.g. managed instances, charging cloud vendors, etc...) but something like frontend javascript framework it's almost impossible to do that

Golang is awesome once you submit and accept its intentionally mediocre design as a work of mysteriously genius simplicity. I did that myself and now I love it.

HTTP/3 explained 7 years ago

HTTP3 is exciting, I got a couple of questions:

1. is QUIC only for HTTP3 or can be generalized for any TCP-based L7 protocol but over TLS/UDP?

2. How is Websockets dealt with in HTTP3?

kinda funny that UAE and Saudi Arabia have always had blatant human rights abuses including funding terrorism in places like Syria but nobody raise a brow until they isolated Qatar roughly 2 years ago, then suddenly the abuses are appearing out of nowhere and ironically Qatar is is the only country that's worse than both of them. Also never underestimate Qatar's sleeping Islamist cells pretending to be liberals and even SJWs in the major news media nowadays

in an era where the internet is controlled by a handful of internet monopoly businesses and where any fun can easily be seen as offense by someone somewhere, then fun has to disappear or relabeled to not hurt businesses sole raison d'etre which is profit. It's not 2007 anymore, sadly.

it's really really hard to rank post 2014 era just because you want it to work. The internet is a big-boys-only club now. Things were easy 10 years ago and those who benefited from the free ride by Google SEO, Facebook and Twitter around a decade ago, are now multi millionaires and billionaires and lecturing everywhere how to build a great business while it wasn't actually their unique genius that made it happen in the first place.

It wasn't a criticism against you specifically, I meant that it's just pathetic that using titles like "X should die" is the only way to get people's attention these days, I know how hard it is to make people pay attention on the internet and it's just sad that provoking them is the only way to do it

I remember Kapwing, they got lucky with the media and probably through paying some influencers and journalists like many startups under the table but who knows, congratulations anyway

I really hope this is the long awaited thing. From the number of commits, this project looks huge, Elasticsearch is really a big liability for resource limited deployments, I have seen some smaller projects made in Rust and Go but can't compete with Elasticseatch at any level, but this looks different and I hope it does.

The Profit Motive 8 years ago

Businesses are ultimately valued as a discounted set of future cash flows

This. Even if this is 101 corporate finance, somehow tech entrepreneurs and founders are totally ignorant how companies are all about and think they can become rich by making their product as popular as possible

I am really curious, why isn't there any popular FOSS P2P for live streaming? It's very easy to get any show, movie, game via torrents but you can't just do the same for a live football match, is there a technical obstacle for this?