HNHacker News
TopNewBestAskShowJobs

zek

218 karma · joined December 13, 2012

submissionscomments
zek··on Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI
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.
zek··on Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI
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

zek··on Claude Fable 5
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.

zek··on How HubSpot scaled AI adoption
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.
zek··on Migrating ZooKeeper into Kubernetes
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)
zek··on Setting up a Raspberry Pi 4 home server
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.

zek··on Setting up a Raspberry Pi 4 home server
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)

zek··on Developers don't understand CORS
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`
zek··on Ask HN: What does your production machine learning pipeline look like?
Yes! there is an interesting paper on this subject: https://arxiv.org/abs/1609.02943
zek··on This Industry Is Still Completely Ridiculous
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.

zek··on Go 1.5 Bootstrap Plan
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.
zek··on Kitematic – The easiest way to start using Docker on your Mac
I find that I have a similar issue with all node apps on my Macbook Pro
zek··on Spark web server
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.

zek··on We built a Bitcoin Keurig coffee maker this weekend
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!
zek··on Empty London
saturdays in Israel are quiet empty as well
zek··on A Look at Ads on Instagram
perhaps even pay out a small percentage to the user based on the number of likes?
zek··on Show HN: Mummify – Preserve web content, fight link rot
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.
zek··on Show HN: Mummify – Preserve web content, fight link rot
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.
zek··on List of freely available programming books
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!
zek··on Willow Garage shutting down
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.
zek··on I cannot afford to go back to engineering school
I'm in a somewhat similar(though far less tough) situation. I am currently paying for my school myself and I simply was not going have enough to afford it even after my paid internship. So I opted instead to take a leave of absence and work for a while. I think this option is making more sense as the overall value of a degree declines, especially in fields like CS where a degree is not necessarily a requirement.
zek··on Linus Torvalds - C++ is a horrible language
Well I agree with everything he has to say here, I am constantly amazed with Linus' delivery. There were plenty of way to make the point he wanted to make without attacking anyone and with a much less angry tone.
zek··on Flynn 101% Funded
I think this a very interesting way of funding an open-source project, and I'm glad it worked out. Excited to see how Flynn turns out!
zek··on Protect your freedom and privacy
while I agree that users could do a lot of the computing that is now outsourced to the cloud on their own computers, I think there is a lot of convenience in the cloud model and it may be hard to get consumers to move away from it. I would like to hear more about how we might actually effect change so that the government simply doesnt have the right to requisition data from companies as they have been.
zek··on Localtunnel: instantly show localhost to the rest of the world
I have tried a variety of different services that provide this but I have decided that I like the newer https://ngrok.com/ service more. I have had some major difficulties with localtunnel on my mac in the past.
zek··on Docker 0.5: external volumes, advanced networking, self-hosted registry
the private registry seems awesomly easy to get set up. This has been the only thing keeping me from using docker for deployments, super excited to try it out!
zek··on Enough with the JavaScript already
I have never really understood this. JavaScript it is a a programming language and the only reason people built languages that compile to it is because they felt the needed something better, but this has always seemed incredibly hacky to me.