HNHacker News
TopNewBestAskShowJobs

raidan

63 karma · joined June 25, 2015

submissionscomments
raidan··on Docker-slim: Minify your Docker container image without changing anything
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...

raidan··on HTTPie – A user-friendly CLI HTTP client
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

raidan··on Ask HN: How do you version control your event stream schema?
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/

raidan··on AWS Lambda Releases Go Support
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.
raidan··on AWS Lambda Releases Go Support
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...

raidan··on AWS London Region (eu-west-2) now available
Looks like they have just officially announced it on their blog.[0]

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

raidan··on Show HN: TermAlert – Receive a text when a terminal command finishes
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.
raidan··on Windows 2000 CSS Theme
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?

raidan··on ShareX – Open-source screenshare software
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.

raidan··on TinyCert – Become Your Own PKI/CA Authority in a Matter of Minutes
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

raidan··on Ask HN: What does the percentage next to posts mean?
A random number that goes up when you upvote..
raidan··on Show HN: Caman – A self-signing certificate authority manager
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

raidan··on IPv4 Depletion
It has been an issue for some in the past[1].

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