Better HN
topnewbestaskshowjobs
Log inSign up

aramalipoor

64 karma · joined Mar 29, 2014 (12y ago) · 35 submissions

Submissions

comment 1mo ago · link · parent

how do you see which agent on which machine is waiting on you? or do you check each orchestrator by hand

comment 5mo ago · link · parent

In a world where AI is the main code author we shouldn't be reviewing code down to syntax and every symbol... We don't think about which CPU register stores our variables anymore, because we trust the compilers. That trend will happen for code the stronger models get.

We need a new way to judge high-level decisions, relationships, dependencies, interfaces, and have an easier way to reasons about huge AI generated code.

3.

Semantics diagram for large PRs for easier review of AI code(subweave.com ↗)

1 points · by aramalipoor · 5mo ago · 1 comment

4.

Built a tiny LLM tool to explain blockchain transactions (EVMs) in plain English(github.com ↗)

1 points · by aramalipoor · 1y ago · discuss

5.

eRPC open-source fault-tolerant EVM RPC proxy with reorg-aware permanent caching(github.com ↗)

4 points · by aramalipoor · 2y ago · discuss

6.

Real-time events indexing for any EVM chain by only an RPC url(docs.flair.build ↗)

5 points · by aramalipoor · 3y ago · discuss

7.

A tiny CLI to save AWS costs in development environments when you're asleep(github.com ↗)

1 points · by aramalipoor · 4y ago · discuss

8.

Thought-provoking use-cases for NFTs(twitter.com ↗)

1 points · by aramalipoor · 4y ago · discuss

9.

GitHub example repository for deploying NFT Collection(github.com ↗)

1 points · by aramalipoor · 4y ago · discuss

10.

Show HN: An NFT marketplace where owners can liquidate if there are no buyers

3 points · by aramalipoor · 5y ago · discuss

comment 6y ago · link · parent

That's a good alternative for EC2 / RDS instances but when it comes to other cases like DynamoDB provisioned throughput or Kinesis shards or ElastiCache it wouldn't help much

comment 6y ago · link · parent

There were a few reasons why I couldn't use IaC:

1) Using conditionals to achieve this usually makes terraform unmanageable specially if your terraform is complex.

2) Sometimes you'd need to do more complex steps to save some money, for example in case of ElastiCache you'd need to snapshot/delete/create.

3) Using terraform in a Lambda to schedule this was not straightforward (in my current company) so I gave up making it work :D

comment 6y ago · link · parent

Posted an answer to another similar question: https://news.ycombinator.com/item?id=24250329 hope it helps when developing with your IDE :)

comment 6y ago · link · parent

It really depends on the company and developers preferences. For our company's case we do have a "dev" AWS environment for a couple of reasons:

1) To avoid having a side-IaC for your dev env (e.g. using docker-compose/local k8s/localstack) which could take same time as your prod-IaC (terraform/CloudFormation) to prepare. Instead of hours preparing/debugging local dev we can work on great features or refactoring some tech-debt in the real code.

2) Since we have many other teams and upstream dependencies it's much easier to deploy on a AWS when testing complicated features. In an ideal world you shouldn't need it but unfortunately it's never ideal world.

3) Local dev solutions could easily end up with "but it worked on my laptop" due to various reasons from Docker host configs, to localstack deviations from real AWS resources, etc.

But at the end of the day you should see what makes more sense for you :) I guess for many people spending time on preparing a great local dev using docker-compose/k8s/swarm/localstack is cheaper than using AWS for dev anyway.

comment 6y ago · link · parent

Thanks for sharing this. Looks like a sophisticated solution, although might be too complex and enterprise-y for what I needed as a sleepy developer, but is definitely worth having a look :)

comment 6y ago · link · parent

Thanks for sharing your experience. Both of them sounds like great ideas, will add them to ToDo right away :)

comment 6y ago · link · parent

Thanks. Agree with you, having it in a Lambda with a scheduled trigger or even manual trigger will be really useful.

comment 6y ago · link · parent

Thanks. Shutting down K8S cluster when not using is a really good idea. Maybe one day I play around with AWS's k8s cluster and add the trick to aws-cost-saver.

Pull requests are also welcome if you have time :) the logic must be similar to EC2 or RDS tricks: https://github.com/aramalipoor/aws-cost-saver/blob/master/sr...

comment 6y ago · link · parent

Just published a tiny CLI utility to save some bucks on AWS development environment while I'm not really working.

https://github.com/aramalipoor/aws-cost-saver

The idea is to stop/shutdown any resources (such as EC2 instances, RDS databases, ECS tasks, etc.) when you're done for the day and restore them back up next time you continue.

Currently it's in a very early stage, a hobby side-project :)

Ideally I'm thinking to provide a CloudFormation template or terraform config for example, to provision a scheduled Lambda with predefined "start of work" and "end of work" times and have it automatically do that for you.

I'd like to know if something like this would be useful for you too and what do you think about it?

20.

Show HN: Tiny CLI to save AWS costs in dev environments when you're sleeping(npmjs.com ↗)

119 points · by aramalipoor · 6y ago · 55 comments

12