HNHacker News
TopNewBestAskShowJobs

ksajadi

2,050 karma · joined November 22, 2011

[ my public key: https://keybase.io/khash; my proof: https://keybase.io/khash/sigs/AFjD9f2dIE31YK1jlRHu_KyFkv5mM7cWLxV0F_0od74 ]
submissionscomments
ksajadi··on Pagoda: Rapid, easy full-stack web development starter kit in Go
I'd really like to see a Go API backend / React frontend stack instead of using Go to render HTML directly.
ksajadi··on Pagoda: Rapid, easy full-stack web development starter kit in Go
Same here. Go community has a tendency of not using frameworks as much (which I guess is confirmed by the lack of long term maintenance for a lot of Go frameworks), compared to say Ruby. I don't think that is a bad thing. We ended up using Gorm as one of the few frameworks for our web stack and I personally have mixed feelings about it.

On the one hand, it's a very comprehensive ORM (support for different DBs and types of queries, joins, associations, etc). On the other hand, the documentation is not very good and often its behavior leaves you baffled (updates of columns and the associates in different times, for example).

Overall, I think I'd still choose an ORM over writing SQL or quasi-SQL in the code for the sake of maintainability and readability of the code. GORM is the best one around but I wish there were more options.

ksajadi··on Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
I agree with you and at the risk of self-promotion, that's why we built Cloud 66 (which takes care of Day-1 (build and deploy) as well as Day-2 (scale and maintenance) part of infrastructure. As we all can see there is a lot to this than just wrapping code in a Dockerfile and pushing it out to a Swarm cluster.
ksajadi··on Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
Docker is the container engine. Swarm is the orchestration, the same as Kubernetes. The concept of "Service" in k8s takes care of a lot of the proxying, while still using Docker (not anymore tho). In Swarm, services exist but only take care of container lifecycle and not traffic. While networking is left to the containers, Swarm services always get in the way, causing issues that will require a proxy.

In k8s for example, you can use Docker and won't need a proxy for ZDD (while you might want one for Ingress and other uses)

ksajadi··on Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
This primarily exists to take care of a fundamental issue in Docker Swarm (Kamal's orchestrator of choice) where replacing containers of a service disrupts traffic. We had the same problem (when building JAMStack servers at Cloud 66) and used Caddy instead of writing our own proxy and also looked at Traefik which would have been just as suitable.

I don't know why Kamal chose Swarm over k8s or k3s (simplicity perhaps?) but then, complexity needs a home, you can push it around but cannot hide it, hence a home grown proxy.

I have not tried Kamal proxy to know, but I am highly skeptical of something like this, because I am pretty sure I will be chasing it for support for anything from WebSockets to SSE, to HTTP/3 to various types of compression and encryption.

ksajadi··on Cloudflare misidentifies Hetzner IPs as being located in Iran
This is not limited to Cloudflare. Google has the same issue and it turns out the IPs were being used by the Iranian hosting companies connected to internet surveillance but they keep moving around. So far we only observed this in Hetzner German DCs, which is consistent with the news about illicit activities by Iranian companies in Germany, two years ago during the last uprising against the Iranian government (the Woman, Life, Freedom movement)

We also wrote about this https://blog.cloud66.com/hetzner-connectivity-issues-due-to-...

ksajadi··on Reclaim the Stack
I’ve been building and deploying thousands of stacks on first Docker, then Mesos, then Swarm and now k8s. If I have learned one thing from it, it’s this: it’s all about the second day.

There are so many tools that make it easy to build and deploy apps to your servers (with or without containers) and all of them showcase how easy it is to go from a cloud account to a fully deploy app.

While their claims are true, what they don’t talk about is how to maintain the stack, after “reclaiming” it. Version changes, breaking changes, dependency changes and missing dependencies, disaster recovery plans, backups and restores, major shifts in requirements all add up to a large portion of your time.

If you have that kind of team, budget or problem that deserves those, then more power to you.

ksajadi··on Ilya Sutskever's SSI Inc raises $1B
Unrelated, how’s MagicLeap doing?
ksajadi··on Elasticsearch is open source, again
For all those new search projects named in my OC to be viable, ES had to stop being “open source”. Before that it was not worth trying because there was one single dominant player in the market giving search away for “free”.

The same is happening with Redis after their license change.

ksajadi··on Elasticsearch is open source, again
The change of Elastic license resulted (or perhaps coincided) with the massive growth of other tools like Meilisearch, Quickwit, Loki, typesense, and more.

In a way, their original open source license was suppressing innovation. I know this is not a popular opinion in some circles of pure OSS aficionados but it seems the evidence is to the contrary

ksajadi··on Update on Llama adoption
This is a good one for everything related to SB1047 https://pca.st/episode/44b41e28-5772-41c4-bcd7-5d7aa48d5120
ksajadi··on Dokku: My favorite personal serverless platform
This is not fully up to date but is a good start https://www.herokualternatives.com/
ksajadi··on The Autopilot Data That Reveals Why Teslas Crash
WSJ used local police reports and matched them with redacted Tesla reports of crashes to show what caused the crashes.

Also there is content in the article stating that Tesla only uses vision whereas other manufacturers use radar and ladar to identify objects where ML trained vision fails to detect them.

ksajadi··on Show HN: Laudspeaker – Open-source mobile push, SMS and email automation
Kudos on making this, especially after the huge price hike Customer.io just dropped on their customers.
ksajadi··on OpenGFW: an open source implementation of China's Great Firewall
wonderful. now the Iranian regime can stop their payments to China for their use of this tech to block Iranians from accessing open internet. funny how open source can do a full circle to prevent the very thing it set out to open.
ksajadi··on Show HN: Workflow orchestrator in Golang
This looks very cool for embedding workflows in a native Go project. There is also Trackman (https://github.com/cloud66-oss/trackman) which is mostly built for workflow based commanline execution.
ksajadi··on Launch HN: Nullstone (YC W22) – An easier way to deploy and manage cloud apps
Good to see tools like this. However, are you not affected by the recent change in the Terraform licensing?
ksajadi··on Launch HN: Wondercraft (YC S22) – Use text-to-speech to create podcasts easily
I look at it from a consumer of podcasts point of view not a producer. If the content is good and the voice quality is natural then this can only help unlock more good content, by lowering the barrier to entry. Can't see why that is a bad thing. Sure, there will always be the equivalent of content farms, but remember that content farms exist because of Google. Without Google traffic the incentive to create useless content diminishes. Podcasts are not like that. You might be tricked into listening to one episode of an AI content generated (not AI voiced) one but in all likelihood you won't subscribe, removing the incentive.
ksajadi··on Infisical – open-source HashiCorp Vault alternative
Infisical 3rd party integrations are one of the best things about it. They just work without having to deal with plugins or crazy configurations. Kudos to the team.
ksajadi··on Launch HN: Tiptap (YC S23) – Toolkit for developing collaborative editors
We use Tiptap with vanilla React and it's great. My only wish is for it to have collaborative support beyond JS. Currently support for YJS is very limited if you are not using or can't use JS for the server component.
ksajadi··on Iranians sell kidneys on Instagram to survive economic hardship
This is a false narrative. While true that the sanctions have pushed the value of IRR down, the lifting of sanctions, during Obama / Khatami era only fed the corrupt IRGC and its shadow economy. It is easy to think that people are being forced to sell kidneys because of the economic sanctions and as countries imposing the sanctions we are implicit in this, but the Iranian government and Khamenei are the main culprits here. They have the power and the means stop playing menace in the region, stop their proxy wars and move towards lifting of sanctions. There is a small but vocal Iranian backed lobby in the US (NIAC specifically) that is constantly pushing for the lifting of sanctions, even during the most brutal suppressions of the Iranian people by the government, peddling a narrative that the Iranians are dissatisfied with the economy and if the sanctions are lifted, all is going to be ok.

There is a shadow army, government and economy in Iran, created and tightly controlled by the office of the supreme leader, Khamenei and enforced by IRGC. They have a chokehold on the economy, imports and exports as well as almost exclusive control over critical foreign affairs. While lifting of sanctions will marginally reduce the pressure on the IRR in the short term, it will feed this cancerous growth which is not in the interest of the Iranian people and the world.

ksajadi··on InfluxDB Cloud shuts down in Belgium; some weren't notified before data deletion
Unfortunately we’ve been bitten by influx operation issues a few times before. We adopted influxDB long time ago and always had to deal with breaking changes for each upgrade and every time we had an issue their answer would be: upgrade the latest version and see if it continues.

Then recently they made a change to Telegraf that broke all our data collection because they changed the environment variable replacer and their Jsonnet parser broke.

Now this. Shutting down a region without brownouts and only emails is not operationally acceptable.

We’ve moved on from influxDB for a while and only rely on telegraf now.

ksajadi··on Launch HN: Argonaut (YC S21) – Easily Deploy Apps and Infra to AWS and GCP
Yes. That’s exactly what Cloud 66 is.
ksajadi··on Render Raises $50M Series B
When I hear about a raise, especially this large, my initial thoughts are, "great! they must be doing something right", then I remember all those startups that raised mega rounds and ended up selling me as a customer down the river, either by the way of selling to someone like Google and writing an "amazing journey" blog post or just lock me in and jack up prices (I'm looking at you Customer.io).

That's why I always look for profitable companies that have built a business around solid foundations rather than raising external capital in round B, C, D all the way to Z.

If you want to see how those companies *really* were doing, look at their stock prices after they go public. Very few go up or even stay flat. Most of them crash right after the stock handcuffs come off and the investors have passed the bucket to the general public. I even have an anti-portfolio of public companies with investors who wouldn't shut up for a minute about how amazing they are doing, when they were private companies. All of them have done considerably worse than the market average or any basket of tech companies, even excluding the big five.

ksajadi··on Render Raises $50M Series B
Like the text based diagram, clever! I'd place Cloud 66 in the middle.
ksajadi··on 11 years of hosting a SaaS
How’s rails deployment experience with Vercel?
ksajadi··on 11 years of hosting a SaaS
the progression from Heroku to AWS is very common as SaaS businesses grow. However one thing that’s missing from all “alternatives to Heroku” is what I call life after deployment or Day-2 operations. Many solutions show you a sleek demo of how easily you can deploy a Hello World app to their platform but leave you in a straight jacket when it the app is deployed and you need tools to keep it running, like changing an Nginx (or equivalent) setting or using persistent storage or a Postgres contrib.

Making decisions about infrastructure is as much about day-2 as it is about the initial deployment. I see fly.io and render in this camp. Shiny day-1 docs and demos and then wishing you good luck when you need a `rails c` to see something in the DB

ksajadi··on Tailscale doesn't want your password
I have an honest question, but am afraid that I get downvoted for reasons that perhaps relate to my question: Why is this on top of HN? Is it a novel invention by Tailscale? Are they the first company who’ve done it? Are they used by so many people (like GitHub) that this will have other implications? Does the article go to technical details of their implementation that relates to the dev crowd?

Please, educate me, those who upvoted it.

ksajadi··on Launch HN: Nucleus (YC S22) – Kubernetes platform for both devs and ops
Congratulations on the launch! It looks neat. I wonder if you're deploying your own k8s on AWS or using AWS EKS. There is value in both, the former being able to move across cloud providers that don't have managed k8s (ie OpenShift, Cloud 66, ...) and the latter improving the DX on k8s (Convox, etc)
ksajadi··on Show HN: Appliku – Deployment PaaS for Python/Django
Looks great! Does it run Docker / Kubernetes under the hood? Its approach is very similar to Cloud 66: bring you own cloud and we turn it into a PaaS
← PreviousPage 4 of 10Next →