Live data from Hacker News

Processing 40TB of code from 10M projects with a dedicated server and Go

boyter.org

81–83 of 83 posts

Re: Processing 40TB of code from 10M projects with a dedicated server and Go

#81

Earlier quoted context omitted.

> I could have done the whole thing Taco Bell style if I had only manned up and broken out sed, but I pussied out and wrote some Python. And with one dumb word choice, I suddenly can't share this otherwise good piece with most audiences.

Seriously? That's no harsher language than calling someone a dick. Do you have to keep an ultra-clinical PR image for some reason or are we really that puritanical?

The networks that I belong to and benefit from are that "puritanical," if you want to choose a really stupid word for avoiding insulting half the population for no reason, yeah.

Re: Processing 40TB of code from 10M projects with a dedicated server and Go

#82

Earlier quoted context omitted.

> I could have done the whole thing Taco Bell style if I had only manned up and broken out sed, but I pussied out and wrote some Python. And with one dumb word choice, I suddenly can't share this otherwise good piece with most audiences.

The website it's linked on is called widgetsandshit.com. I think that's a bigger problem if you're that worried.

Nothing offensive about shit.

Re: Processing 40TB of code from 10M projects with a dedicated server and Go

#83
post #54

Earlier quoted context omitted.

Yeah, I was writing a Docker image built around Prometheus' jmx_exporter intended to be used as a mixin for our Java apps, and part of what I needed to do was provide a simple script to preprocess separate config files to produce the config used by jmx_exporter. My initial thought was Python, but it needed a couple of 3rd party dependencies, and there wasn't an overly clean _and_ simple way to copy the script in from…

> I was writing a Docker image built around Prometheus' jmx_exporter intended to be used as a mixin for our Java apps, and part of what I needed to do was provide a simple script to preprocess separate config files to produce the config used by jmx_exporter Did you consider, and stop me if this suggestion is completely wild, Java?

It's a script that merges YAML objects, there's an overhead to Java for this use case. I did consider Kotlin, but that same overhead of a POM, plugins to build capsules/fat jars etc.
Post reply on HN