Better HN
topnewbestaskshowjobs
Log inSign up

random3

1,531 karma · joined Apr 19, 2014 (12y ago) · 755 submissions

Apply-focused indie lab researching computational foundations of systems across domains using math/CS. Ex-founder (fintech/infra), CS + big data/distributed systems

https://twitter.com/clehene

Submissions

comment 6y ago · link · parent

Some team in my old job use to have a term for this - "grabbing the virtual chicken". It was essentially a giant distributed lock :)

comment 6y ago · link · parent

It will likely conflict most in-progress PR. For PRs that are large and long lived it will be a PITA to maintain and will further slow integration so, likely, yes.

comment 6y ago · link · parent

There's a good reason I start reading articles and papers from the end to the beginning.

"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

GDPR weaponizing privacy-oriented companies and the ability of the EU to walk the GDPR talk (as opposed to simply producing legislation) is going to be an interesting development to watch.

comment 6y ago · link · parent

I had my second surgery just a few months ago. I can type again, but each time I had to use my left hand for months. Initially, it feels like your brain doesn't function properly anymore (not mentioning the psychological effort you have to make in order to be focused on work when you feel your hands are falling apart). Keyboard speed is directly related to how fast you can move your hands to support your thought flow. I tried Kinesis and even a split vertical keyboard (KeyboardIo) but none avoided the pain and numbness that came with typing. The other problem with thumb-cluster keyboards is that your IDE productivity goes to zero. I was faster with just my left hand on a regular keyboard than with both. I think this would be fixable with a good amount of time remapping shortcuts, etc. Now that my hand works again, I think I should start spending time getting used to my KeyboardIO and at least try to buy some time.

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

You're limited to $3000/day with Zelle and forced to use the much slower ACH or otherwise pay ~$25 for a wire transfer.

comment 6y ago · link · parent

I was going to mention SSBC (ssbc.github.io). Is there a good write-up comparing the two?

comment 6y ago · link · parent

When you say open-source it's rather general. I.e. not open-source software or hardware, so it does imply it's open-source both (e.g. https://en.wikipedia.org/wiki/Open-source_hardware not "open hardware")

comment 7y ago · link · parent

It's 1) theoretically possible in generalized fashion (although the language could make things easier) 2) it does exist in loose sense if you consider actor models (like someone else was mentioning)

comment 7y ago · link · parent

> wait till someone builds out their entire business with lambda/serveless.

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

Seeing the issue for Yubikey still open after 6 years, it doesn't inspire any confidence https://github.com/MacPass/MacPass/issues/90

comment 7y ago · link · parent

My pet-peeve is technical documentation that is not versioned with the code. I think you're confusing garbage-in / garbage-out or interface rendering with auto-"generated" documentation.

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

Thank you! Would love to try that. How to access pre-release?

comment 7y ago · link · parent

I wonder how / if Bazel will integrate wit Google Cloud Build. IMO that should be an end goal for a tool like Bazel. At a first glance, they are (highly) incompatible. 1. Bazel's statefulness is a core feature while GCB is stateless. 2. They both need to control things holistically to work (or you lose advantages otherwise).

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

Take a look at ergodox, keyboardio, dactyl, etc. and you'll see more innovation than in the MacBooks.

comment 7y ago · link · parent

There's even Keycon https://geekhack.org/index.php?topic=98877.0

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

Keyboard.io is one of the nicest pre-built ones.

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

That is indeed a lazy argument. The proper angle for the public argument is what's the tradeoff? What do you lose by trading privacy?(as you're clearly not impacting child safety by dropping privacy related to a digital asset). And second: is encryption the number one fix for the actual concern? - i.e. if (physical) child safety is the most important concern for you (the citizen) what has the largest impact on that?

comment 7y ago · link · parent

Chris Moore was one of my kiteboarding trainers in Providenciales, TK. While hanging out he shared quite a few stories. A few years ago, after I learned how to stay upwind in TK I flew to Maui. I flew Cabrinha and Naish kites only to realize that both were born in Maui. That prompted me to dig more into the Kiteboarding history, how things started, what everyone was doing around the world and how they intersected to merge into what is now kiteboarding. It was fascinating, I wish I had documented it ..

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

And replace it with what?

comment 7y ago · link · parent

Streams are a bit more general. They allow you to use functional operations on sequence of elements (e.g. map, filter, reduce, etc.) to build a processing pipeline which can execute async and in parallel.

``` 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

1 point by random3 0 minutes ago | edit | delete [-]

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

I'm trying it... starting to have second thoughts though. They make it look like it's all ready to go and then you start uncovering bits and pieces of things that seem to be half-done, half-legacy, half-dead at the same time. TBH it looks like they got spread too thin and can see how a good amount of services are solid while many are just there.

comment 8y ago · link · parent

With Java 11, there are supposedly no differences between Oracle and OpenJDK so time to go OpenJDK

comment 8y ago · link · parent

> I believe Golang has two different kinds of productivity. Productivity within the project goes up quite a lot with generics. And then, everyone tends to immediately treat every problem as "let's create a mini language to solve this problem". The second type of productivity - which is getting more and more important - is across projects and codebases. And that gets thrown out of the window with generics.

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

0.5% is not irrelevant when you talk about deaths. Statistically if you consider the sample size and significance (P = 0.001) it actually looks very non questionable. https://jamanetwork.com/journals/jamainternalmedicine/fullar...

comment 8y ago · link · parent

Take a look at https://github.com/ethereumjs/ the Ethereum's JavaScript implementation.

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.

comment 8y ago · link · parent

Can you point to any reference with statements on deprecating or otherwise working around CAP concerns?
1
2223242526