Nobody has mentioned this, but https://docs.scale-lang.com/ is doing some amazing work on this front. Take CUDA code, compile it and output a binary that runs on AMD. Michael and his team working on this are brilliant engineers.
I think the revolution was more than just riping, it has to do with the variety. When I moved to Vietnam, I found they also had a large amount of avo's used in a lot of dishes, but they are shaped differently and taste like chalk compared with sweeter/creamier Mexico/California avo's.
Wow, just searching around, I found that I'm not the only one! It seems to be Haas vs. Booth...
Here in Guatemala they have regional avocados which also are terrible compared to Hass. What's cool though is that they grow all over the place and they're dirt cheap.
Once I went to a park and realized the tree at the park was a (regional) avocado tree. But the avocados were REALLY high up. Like, there was no way we were gonna climb that sucker. So I knocked on a door that was right by the park, and I asked the young girl who answered if she had a stick or something we could use.
She said "actually, we do" and she brought out this insanely long stick with a little forked part at the edge that was just for picking avocados. And we picked so, so many.
Here in Brazil there's like 10 different versions of avocados.
You have all type of versions. Some are better to be eaten as guacamole... others are not. Here we do sweet avocados (just eat with sugar, or just put on a blender with milk).
Some of them have more fat, others have less...
Search for "Abacate pescoço". This is probably the most interesting and different one.
:)
I believe Hass is just better to export, because it doesn't spoil so easily.
Another fun fact: I think majority of people don't really buy avocados in supermarket. They are grown all over the place. Streets, backyard, parks... In my street there's like, 5 avocados trees (with each being different type). Hass is the most rare here, you'll usually find it on supermarket only...
Ha, over here in Aus we get Hass most of the year but for a few weeks at the end of March/start of April we can only get Shepard and everyone moans about it!
Hass are definitely superior, but Shepard aren’t all that bad. Bit rubbery maybe :)
Cobra https://github.com/spf13/cobra uses https://github.com/spf13/pflag, which supports GNU style flags. Cobra has been developed for many years now and has a ton of additional features, like automatically generating the autocompletions and has tons of unit tests.
Cobra is certainly popular, but it has many weird edge cases and limitations. It's been a while since I've used it so I can't recall the specifics, but I do remember it being a very poor experience, both as a developer and as a user.
I have used both argp and Kong.
I consider them two of the best Go CLI libraries for different reasons.
Kong has a full set of advanced functionality like flag groups and associating environment variables with options.
It is highly useful in a larger project with a complex CLI.
For a simple command-line interface, I prefer argp's small API and defaults, like exit with status 2 on bad usage.
(Disclosure: I contributed this default to argp.)
Kong 1.7 has a disadvantage when it comes to negative numbers.
argp parses `foo --bar -1` as `foo --bar=-1` the way you expect when `--bar` takes a value, but Kong treats `-1` as a flag.
They all have their warts, but "just pick cobra/kong/cli" is what I go with these days. I'm still partial to Cobra because of the nice autocompletion scripts it generates for me so I get tab-completion for free.
one thing I liked about cobra is the auto complete support, but I don't like the manual process of define command and parameter and not easy to extend, so I wrote https://github.com/hujun-open/myflags, it is built-on top of cobra but allow uses a struct to define all commands/args and also easily to extend support new types (even existing types)
I’ll second that. Cobra is the industrial strength flag parsing package most of the professional Go ecosystem has settled on. It’s the boring choice in the best sense of the word. Use it and move on with life.
I'm aware of this rule but I think it's clearly not true that quality hasn't degraded over time. Look at any pg thread from 2014 https://news.ycombinator.com/item?id=21233848 Anyway I get that commenting this isn't the best use of space but I still think it's true (I also suspect not being allowed to call this out is not helping the quality).
Even ethash had ASICs. As long as there is enough financial incentive, there can always be ASICs built for cheating the system. "Any cryptocurrency worth its salt" would have that incentive.