News for hackers. Stuff that matters.

raidan

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

Re:HTTPie – A user-friendly CLI HTTP client on Sunday December 01, 2019 @08:56PM (#21679289)
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

Re:Ask HN: How do you version control your event stream schema? on Thursday February 14, 2019 @12:47AM (#19159881)
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/

Re:AWS Lambda Releases Go Support on Monday January 15, 2018 @10:26PM (#16155564)
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.
Re:AWS Lambda Releases Go Support on Monday January 15, 2018 @10:23PM (#16155545)
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...

Re:AWS London Region (eu-west-2) now available on Tuesday December 13, 2016 @11:28PM (#13173838)
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.
Re:Windows 2000 CSS Theme on Tuesday November 10, 2015 @01:29AM (#10537895)
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?

Re:ShareX – Open-source screenshare software on Sunday October 04, 2015 @02:39AM (#10326713)
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

Re:Ask HN: What does the percentage next to posts mean? on Friday August 21, 2015 @10:29PM (#10101269)
A random number that goes up when you upvote..
In the past I've used etcd-ca[0] to perform a similar function, though probably not it's original intention.

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

Re:IPv4 Depletion on Thursday June 25, 2015 @06:44PM (#9781392)
It has been an issue for some in the past[1].

[1] http://www.internetsociety.org/deploy360/blog/2014/06/ipv4-e...