Better HN
topnewbestaskshowjobs
Log inSign up

zek

224 karma · joined Dec 13, 2012 (13y ago) · 40 submissions

Submissions

comment 5d ago · link · parent

Hey thanks for the thoughts! I can try to detail this a bit in a future post, I briefly touched on this in the intro but the reality is when we started this effort there just _werent_ many options in Java. Its possible this would weight differently today. But a lot of the answer is simply that building our own has allowed us super deep integration with existing (custom) infrastructure.

On telemetry, we do a combo. The transcript storage format we use in aviator itself forms a great tracing system so we often use this as the source of truth, but we also produce Otel spans for specific requests/responses and use tempo etc for querying/viewing that data.

2.

Aviator: HubSpot's Agent Harness(hubspot.engineering ↗)

31 points · by zek · 5d ago · 3 comments

comment 5mo ago · link · parent

it’s great to see this stuff moving forward, I’m just impatient for it to all land! Plus one of the challenges IMO is that you also still need support in the runtimes, which takes time. Hopefully the state of the world will look better for WASI in a few months/years.

comment 5mo ago · link · parent

I've been working on a server-side wasm impl of cpython called boomslang [1] and have been thinking a lot lately about packaging, one of the downsides of my current impl is the need to statically link all c/rust extensions. Its too bad IMO how much of the wasm ecosystem targets/depends on emscripten directly. It'd be interesting to see if a more generic ABI could be provided for non emscripten/js based wasm runtimes.

[1] https://github.com/HubSpot/boomslang

comment 5mo ago · link · parent

if it’s of interest I’ve been working on https://github.com/HubSpot/boomslang

Which has a full build of python to WASM with a bunch of static libs built in already.

I will say I built this pre fable and actually the first build of the interpreter to WASM opus pretty much nailed, cpython has secondary support for WASM as a target since like 3.9 or something and it just pulled from that.

I’ve been meaning to write up a blog post about this sometime, building this has been pretty interesting, including using opus to run a full auto research like loop for days to hyper optimize it’s performance.

I’m hoping to use fable to power some even crazier WASM adventures tho.

6.

Cloud Coding Agents at HubSpot(product.hubspot.com ↗)

36 points · by zek · 10mo ago · discuss

comment 1y ago · link · parent

This was just our first post FWIW, and we definitely want to follow up with more concrete demos/details/etc here. I am working on another post specifically about how we leverage our internal RPC system to make adding AI tools super easy so expect more from us.

8.

How HubSpot scaled AI adoption(product.hubspot.com ↗)

71 points · by zek · 1y ago · 46 comments

9.

Launching HBase on ARM(product.hubspot.com ↗)

4 points · by zek · 3y ago · discuss

10.

Saving millions on logging: Finding relevant savings(product.hubspot.com ↗)

58 points · by zek · 3y ago · 23 comments

comment 6y ago · link · parent

I work at HubSpot (on Kafka) and so I was a "user" of this migration because kafka uses Zookeeper for coordination. Its pretty amazing how convenient Kube services made this whole transition and we actually learned a lot from this that we will likely end up applying similar strategies for migrating other services onto Kube. Allowing kube services to point to either external resources or pods/internal ones is a probably the best feature I have found in Kube so far (and there are a lot of great features)

comment 6y ago · link · parent

kinda a late response (sorry) but I run it standalone, setup via ansible. I have ansible scripts that bootstrap everything "below" nomad so it sets up zerotier, then vault, then consul, then dnsmasq (pointing to consul) and then nomad. You could probably run gluster in nomad but given that I give most nomad tasks a gluster directory that feels odd.

The only thing I still need to figure out about this setup is that I currently use a single glusterfs volume for most of my nomad tasks, I would love to have a nomad integration that could provision and mount the gluster volume when I specify a volume for a docker task in nomad.

comment 6y ago · link · parent

I have this exact setup (vault/consul/nomad + glusterfs and zerotier for networking) and its pretty awesome. Still dependent on letsencrypt for SSL certificates. It runs plex amazingly well (though I am using some machines which are probably overkill for this purpose), even with the data coming from a glusterfs drive. Most of my nomad tasks can just launch anywhere because of gluster.

For internal DNS at least, you can just use consul. I set up dnsmasq to forward to consul on all of my machines which is super convenient (esp when that DNS just points to a docker container ipv6 address on the zerotier network, not port remapping on networking insanity needed)

comment 7y ago · link · parent

I think the generally accepted solution to this is to set the allowed origin dynamically (IIRC nginx can do this) by looking at the request host header on the options request. If the origin is in some allowed list then you return that origin in `Access-Control-Allow-Origin`

15.

Infrastructure as Code: Best of Both Worlds with AWS and Google Cloud Platform(product.hubspot.com ↗)

12 points · by zek · 8y ago · discuss

16.

How to gain widespread adoption of your design system(product.hubspot.com ↗)

26 points · by zek · 8y ago · 2 comments

comment 9y ago · link · parent

Yes! there is an interesting paper on this subject: https://arxiv.org/abs/1609.02943

18.

Using Apache Kafka for Consumer Metrics(product.hubspot.com ↗)

47 points · by zek · 11y ago · 2 comments

comment 11y ago · link · parent

When I started reading this article I found myself a bit annoyed. The author was complaining and pointing out the fact that some tech companies do some crazy/inane stuff, while ignoring all of the positive things that comes out of tech. Plus, even the crazy/inane stuff can end up having positive impact or side effects!

At the end of the article, however, I was pleased to find that the author came to the same conclusion. Yes, tech can be weird, and it seems especially so to those outside of tech, but I strongly believe that in the long run all of this experimentation will be a good thing.

comment 11y ago · link · parent

Why does being a good coder preclude code reviews? Even experts make mistakes and even when there are no mistakes an outside perspective can often be useful. People think in different ways and may have something to add even if you are all really good programmers.

comment 12y ago · link · parent

I find that I have a similar issue with all node apps on my Macbook Pro

comment 12y ago · link · parent

you have to get used to get go's backwards type declaration. This is defining a method on h which is a byteHandler struct called serve which takes a http.ResponseWriter and Request and returns nothing.

This is from the http.Handler interface, so defining this method causes byteHandler to conform to the http.Handler interface.

comment 12y ago · link · parent

I was at the hackathon for most of the weekend and people were working on some really great projects. I think this Keurig was definitely the most ambitious though!

comment 13y ago · link · parent

saturdays in Israel are quiet empty as well

comment 13y ago · link · parent

perhaps even pay out a small percentage to the user based on the number of likes?

comment 13y ago · link · parent

Sorry you are having trouble with it. Sometimes the caches take a bit to generate. Please feel free to shoot us an email at help@mummify.it if your problem persists.

comment 13y ago · link · parent

Hey creator here, we realize there is a bit of a trust issue, thats why we have the paid plans. Our costs are low enough that, even if you were our only paying customer left we would be able to keep the service running just for you.

28.

Show HN: Mummify – Preserve web content, fight link rot(mummify.it ↗)

90 points · by zek · 13y ago · 66 comments

comment 13y ago · link · parent

The problem I have with this is that there are so many options , someone looking at this has no real reference as to which books are better, how easy they are to read, etc. Its just a giant list!

comment 13y ago · link · parent

I interned at Willow Garage for three summers and all I can say is that the people there are really made the place what it was. They were amazing and I am sure they will all continue to do incredible work no matter where they are.
12