Hacker Newsnew | past | comments | ask | show | jobs | submit | raidan's commentslogin

The github page for Docker-slim goes into some detail on how this can be done using a side-car container[0].

[0] https://github.com/docker-slim/docker-slim#debugging-minifie...


For me personally, the ability to write custom authentication plugins for HTTPie is the reason I use it. For my use case I wrote a simple AWS Sigv4 [0] plugin to simplify calling AWS API Gateway endpoints during development/debugging.

[0] https://github.com/aidan-/httpie-aws-authv4


I'm in the same boat - looking to consolidate a few smaller data pipelines that have organically grown over the years into a single pipeline and taking the opportunity to try and get the org to rethink how we emit events in various parts of the stack. As teams operate fairly independently, we need something that enables a flexible data structure whilst still enabling the ability to join data on common well-defined fields.

The current path we are going down is looking at using a 'nested' JSON structure that enables sub-processes in the various systems to inherit values from the parent. Something similar to:

{ "type": "schemaX", "version": 1, "payload": { "k1": "v1", "type": "schemaY", "version": 3, "payload": { "kk1": "v1" } } }

The structure itself will be documented using JSONSchema and hopefully we will be able to verify the validity of events as they are processed, though this might be too expensive to do in high volume scenarios.

The goal is to then build a low latency router that takes in routing policies to forward subsets of events to further data pipelines. The policies themselves will be defined using some kind of DSL (possibly using JSONPath?).

As a whole, this seems to be a fairly common problem[0] that other companies are trying to solve, but a lot of the low level details are not spoken about. One thing that does seem to be a common component to a service like this is Apache Flink.[1]

[0] Netflix Keystone - https://www.youtube.com/watch?v=sPB8w-YXX1s [1] https://flink.apache.org/


Thanks for sharing! So it seems you may end up using an incremental counter as a version – or was that a placeholder example?

What are the main use cases for the data pipelines you're forwarding your data into? Are the events fairly rich or fairly simple? Do you plan on doing any type validation as well?


It looks like it is exposing the handler over TCP using net/rpc. I would imagine that would be quite difficult to port to a different language.


yes basically you would have to implement at least part of this serialisation format https://golang.org/pkg/encoding/gob/

if it's a "json" like data that is sent to you (i.e a structure made out of only primitive types and list/dict) it may be not that hard, but I think it will be a work with very few value outside of this very specific use case.


It looks like the compiled binary just gets exec'd by the Lambda function and listens on a TCP port (specified by the environment variable _LAMBDA_SERVER_PORT) which accepts RPC calls to execute the handler using net/rpc.

The code: https://github.com/aws/aws-lambda-go/blob/master/lambda/entr...


Looks like they have just officially announced it on their blog.[0]

[0] https://aws.amazon.com/blogs/aws/now-open-aws-london-region/


Interesting concept, but an unauthenticated SMS gateway might not be a good idea. I hope there is throttling and other means of abuse prevention in place.


Do you think a simple "stop sending me messages" would be enough for abuse prevention?


Looks like whatever was their has been taken down "sry, too much traffic was slowing my local testing down.".

Any insight into what was there?


I'm building Napster v2 BETA 7 (or 10) in the browser, using the OP theme. Didn't expect all this traffic though and it's clogging up my end.


I recently purchased Dropshare[0] when it was on 'special' for $0.99 on the App store. This is more targeted at being able to send the screenshots to your own server (via scp) but has screenshot and video recording support.

Though, I imagine you could easily achieve the basic functionality by writing a quick script to run the cmd line 'screencapture' and tying it to a hot key combo.


I believe this was mentioned last time TinyCert appeared on HN, but a self-hosted version of this would be more ideal.

I personally use etcd-ca[0] to ease management of my own certificates.

[0] https://github.com/coreos/etcd-ca


As you say, I'd prefer to run this sort of thing locally - half the point of running your own CA is that you have full control over it.

I wrote caman (https://github.com/radiac/caman), a bash script wrapper for openssl with what looks like a similar syntax to etcd-ca. I posted about it on HN a while back, but it now also supports SAN certificates and intermediate CAs.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: