1,531 karma · joined Apr 19, 2014 (12y ago) · 755 submissions
https://twitter.com/clehene
comment 6y ago · link · parent
"Conclusion Containers are clearly not the future. You will eventually need to migrate completely off of containers and kubernetes and we are here to help."
While this does not negate the core idea, it summarizes the motivation and bias behind the arguments.
comment 6y ago · link · parent
The "voice coding" space is maybe not a mess, but far from great or even acceptable. However, there seem to be more recent efforts to make better tools. I would definitely check https://serenade.ai/ out.
The main problem, I think is that "voice coding" is too much focused on editor typing which they can't do right as, when combined with code syntax, it becomes too complex. Instead, they should focus on higher level actions (which btw, Serenade does) along with a different approach to typing. I think Vim is a good example of where editing should be. IntelliJ refactoring is where voice coding should start. With all the AI buzz, it's unbelievable how bad voice recognition is. I'm not talking about "Siri set an alarm", but instead separating context from tone, not having to say things 2-3 times having good response latency, etc.
Lastly, I wish there was simple voice assistance for code navigation - like go to definition, find usages, etc. This is much simpler to "parse" than code structure. Unfortunately, this is not even tackled by any tool as far as I've seen.
comment 6y ago · link · parent
comment 7y ago · link · parent
Perhaps you could built in a "regular" fashion and just compile it like that? You could write normal code and let the compiler do the massive work to handle all that and compile everything into somethign that distributes over the network.
comment 7y ago · link · parent
comment 7y ago · link · parent
Just like you can write bad code, you can write bad docs, not update them etc.
The point of code generated documentation is not to render the interfaces but rather to keep code and docs in sync in the same place. It's more likely you'll se an out of sync / undocumented piece during a code review, in context, etc. then to assume it was updated somewhere else.
comment 7y ago · link · parent
So in order to benefit from the two, it would likely require GCB to work with Bazel natively and also to have some powerful state abstractions in order to optimize builds in a distributed fashion.
comment 7y ago · link · parent
If you want to see the full range and get a sense of what this is about: https://old.reddit.com/r/MechanicalKeyboards/ https://old.reddit.com/r/ErgoMechKeyboards/
1.6K seems a bit steep. You can find most kits in the low 00s However mechanical keyboards are popular with gamers and more about collectibles / art than anything, so price becomes less relevant.
If you're after ergonomics and efficiency Keyboard.io and Ergodox offer decently priced pre built split keyboards.
I personally find the keyboard.io camera mount genius - take a look at a few setups here https://community.keyboard.io/t/what-does-your-rsi-helping-s...
More resources: https://unikeyboard.io https://clueboard.co/ https://www.dygma.com/raise/
comment 7y ago · link · parent
You can fully customize the layout of the Keyboard.io and get blank keycaps https://community.keyboard.io/t/whats-the-latest-info-on-key...
You can get a barely used one for ~250 just watch their forums.
I've got one 1-2 months ago after playing with a Kinesis. The keyboard is really nice. The firmware and software ecosystem around it is powerful but still lacks usability (you write plugins in C although they have a really nice graphical interface to configure it). https://github.com/keyboardio/Kaleidoscope
comment 7y ago · link · parent
comment 7y ago · link · parent
I'm glad this article came out, although I think it would be worth a deeper look and more details about how the hacking took place - the story of how a modern sport gets born. It's amazing how things that were happening across the world crossed paths and merged into the modern kiteboarding just before the Internet became a thing.
I think kiteboarding was very much a hacking exercise. Couldn't see the article mentioning this but here's a bit of youtube history https://www.youtube.com/watch?v=lxtZzMMYO_I
comment 7y ago · link · parent
``` widgets.stream() .filter(b -> b.getColor() == RED) .mapToInt(b -> b.getWeight()) .sum(); ``` https://docs.oracle.com/javase/8/docs/api/java/util/stream/p...
They aren't specific to Java. In fact they require features such as lambdas that made them less practical until Java 8.
comment 7y ago · link · parent
To be more specific.. Disclaimer: I've built distributed infra on AWS, Azure and GCP as well as on premise. There's a reason I'm using GCP. I'm not stating that reason below. Instead these are a few of the reasons I don't like it. In summary I believe they focus on too many things with too little depth. This is not quite unique to GCP but rather new to GCP IMO.
Take endpoints for example. You get a nice feature that documents your API based on the code-level docs. To update it you also get an API, but it only works if you do one manual sync first from the console (https://cloud.google.com/endpoints/docs/grpc/dev-portal-sync...)
Then you discover that your documentation starts disappearing and debug for a while just to figure out that the last refactoring got the total length of your service name, RPC name and parameters over 80 characters and your doc doesn't show up if that's the case.
Then you use the tracing capabilities only to discover that the traces don't propagate across services. There's something that ESP (their nginx proxy doesn't do). You take a look at it, try to build it, but discover it uses a Bazel version that is two years old.
Then you look at quotas / throttling First you'll notice that the examples don't work. You just get errors (and apparently they also don't get fixed after sending feedback) https://cloud.google.com/endpoints/docs/grpc/quotas-configur.... You look at the example and notice it's copy-pasted-modified from some JSON and the field names are incorrect.
Then you see it throttling only works with API keys, but they (and everyone else) don't recommend you use API keys and instead use IAM service accounts. Except that a bunch of features won't work unless you use API keys. So you use API keys and then discover you can't provision them, because there's no API. You have to, again, do it manually through the console. You talk to support and they'll recommend you use IAM service accounts because they are much better, although you won't be able to use the api-key specific features (https://cloud.google.com/endpoints/docs/grpc/when-why-api-ke...).
If you take a look at service accounts and IAM you discover new things.. I won't go into details here, but let’s just say figuring out what if a policy should work in a particular case is more art than science.
Then in GKE you want to enable TLS on your gRPC service. It should be easy. https://cloud.google.com/endpoints/docs/grpc/enabling-ssl It's just that it doesn't work, or that different documents say both that it works and that it doesn't work.. Take a look at https://github.com/kubernetes/ingress-gce/issues/18 From certificate provisioning to functional service, It took roughly 5 days involving tcpdump, looking at ESP source code, all the logs, raising bugs on github, etc.
Then see Service Catalog (https://cloud.google.com/kubernetes-engine/docs/how-to/add-o...). You try to download from the link they provide and it will throw an error. You debug maybe talk to support, and they'll tell you that there was a patch and it fixes it. Just that it wasn't released since April 2018...
Then one day your GKE pod won't deploy and you see no errors. It takes a while to realize that if the port name is over a certain number of characters it won't work.
There are many of these and I could keep going :)
comment 7y ago · link · parent
comment 8y ago · link · parent
This is a very valuable observation, relevant outside of Golang, which underlines the pitfalls of abstractions. Design patterns aim to standardize abstractions so that other readers of the same code can easily understand.
I used to capture the same related principles in what I called "IKEA code" - simple, elegant code that is cheap to write, easy to understand and use and not meant to last forever. I.e. code and design that is meant to be replaced. I think the concept of "local productivity vs global productivity" is very related and completes the "IKEA code" principles. Rather than suggest one is better than the other, I think it's important to understand the motivations when making a choice.
comment 8y ago · link · parent
comment 8y ago · link · parent
If you want a good ready to use development tool look at https://truffleframework.com/ - it's literally a wrapper around ethereum-js along with some friendly programming tools for smart contracts, etc.