Better HN
topnewbestaskshowjobs
Log inSign up

minhajuddin

457 karma · joined Sep 28, 2010 (16y ago) · 343 submissions

I am currently working on Zammu which makes Automatic Deployment of static websites to Github Pages very easy. I would love to get your feedback on it, My email is minhajuddin.k+hn@gmail.com
Submissions

1.

That one time when office365 was marking our emails as spam(minhajuddin.com ↗)

4 points · by minhajuddin · 1y ago · 1 comment

comment 4y ago · link · parent

I have started fiddling with rust, and one thing that I miss from the Elixir world is binary pattern parsing/matching. The elixir model is so much nicer, I've used byteorder to convert a datetime to a byte array and then the reverse and it is not the most elegant code, nom looks much nicer. I wish rust had Elixir/Erlang like binary pattern matching.

3.

Memory Cached Tables for building faster web applications(minhajuddin.com ↗)

1 points · by minhajuddin · 5y ago · discuss

comment 5y ago · link · parent

I've been using Elixir/Erlang for more than 6 years and absolutely love it. The community is a lovely place to be, tooling is great. Concurrency is awesome. Erlang is battle tested. If you are building applications that have anything to do with networks, you'll be able to build some seriously performant apps without having to reach for other tools and I love the community's focus on performance.

comment 5y ago · link · parent

> We also found many times missing libraries, or found libraries which are incomplete, or unmaintained or just not well documented

Can you give some examples here. This may have been true in the past, but isn't true anymore. I can give an example where ruby is lacking: Performant HTTP libraries, Elixir and Erlang are so good in this space, look at `finch`, `httpoison` etc,. there is first class support for HTTP2 and connection pooling / persistent connections which is very hard to find in ruby.

> Tooling is just terrible. The VSCode plugin is crap, kills the CPU unless you disable features. There is no IDE from jetbrains. There is a plugin but last time I tried it, it was even worse than the VSCode plugin.

Which plugin are you referring to? Is it using dialyzer? Using dialyzer gives you so much static analysis for free as opposed to the default ruby vscode plugin. I have never heard of complaints about tooling. On the other hand, I know lots of developers who love the tooling, mix is great, iex gives you documentation with just `h String`. Plus with language server support, you have really good IDE support in vscode and vim. Look at the number of stars on the `ElixirLS` plugin here: https://marketplace.visualstudio.com/search?term=elixir&targ...

> Also, I've read some comments where people mention "we don't need redis", "we don't need workers" everything is so much easier. That was our thinking at first. But then you realize on deployments you will lose your cache, or your background jobs, etc.

Yes, you'll lose data in your cache. Caches are supposed to be ephemeral, not everyone needs their caches to be persisted. However, if your use case requires persistence, you have a lot more options than just sticking it in redis. Plus, `oban` is a high quality background processor with persistence, without the need for adding redis to your stack.

For applications where performance matters, Elixir and Erlang give you lots of tools to build a truly performant app, However, if you don't need those tools, you might be better off building it in something more familiar.

6.

Show HN: Tummy – Tmuxfile with your tmux configuration to easily manage sessions(github.com ↗)

4 points · by minhajuddin · 6y ago · discuss

comment 6y ago · link · parent

A neat thing about this is that it doesn't send your tokens over the wire which is good security-wise :)

comment 6y ago · link · parent

I originally had this need when we were deploying test servers and needed the ability to view the logs by the QA team.

comment 6y ago · link · parent

This is a small opensource utility built using Elixir and Server Side Events. Would love to hear feedback from HN :)

10.

Show HN: WebPipe – Pipe from your servers to the browser(webpipe.hyperngn.com ↗)

6 points · by minhajuddin · 6y ago · 4 comments

comment 6y ago · link · parent

Yeah, all my projects are web apps and Phoenix (The web framework for Elixir) is a joy to work with and highly performant.

comment 6y ago · link · parent

I used to program professionally in Elixir where we talked to a ton of external providers. So, our app was heavy on the network (http) and Elixir was a really good fit for it. Now, I use it on personal projects.

comment 6y ago · link · parent

Check out hex: https://github.com/hexpm/hexpm

comment 6y ago · link · parent

The Elixir ecosystem is really healthy. You can find almost any package you want on hex (https://hex.pm/). Moreover, because it is built on top of erlang you can seamlessly use any Erlang code (which a lot of Elixir apps use).

You can usually find high-quality libraries with a google search or looking at the number of stars of a hex package. Mix, the build tool is awesome and the language now has out of the box support for creating deployment releases.

There are a lot of high paying jobs for Elixir.

comment 7y ago · link · parent

Love the game! It would be nice to wrap this up in an Android app and put it on the market place just because when I build games like these my kids end up closing the browser somehow :) I built a few of these at: http://putty.minhajuddin.com/

comment 7y ago · link · parent

It would be nice to see how this compares to Firecracker (https://firecracker-microvm.github.io/) the runtime behind AWS Lambda

comment 7y ago · link · parent

Their speeds look impressive. If it can do cold starts with a response time of <200ms, it might become suitable for a lot of our typical web apps. You can actually try it out at: https://wasm.fastlylabs.com/

comment 7y ago · link · parent

This is going to be a real problem and it is hard for small sites to tackle this. I have simple service (https://liveformhq.com) which allowed users to sign up for an account with a free 1 month trial and it didn't ask for your credit card upfront. Everything was fine until a few months ago when people started signing up and setting up phishing forms (I had the registration form behind recaptcha). At the end I had to move the credit card form to the front to stop these bad actors (and even after this I had 1 guy set up a phishing form which I promptly shut off after an abuse report). The amount of effort spent to handle bad actors is really a terrible thing for the current SaaS apps. And, it ends up making the UX for the good users bad :(

comment 7y ago · link · parent

For vim users, there is an awesome plugin to talk to postgres and a ton of other databases called dbext.vim https://github.com/vim-scripts/dbext.vim Setting it up takes a little effort though.

20.

Pearls of Elixir – Interesting Patterns from Popular Elixir Packages(minhajuddin.com ↗)

3 points · by minhajuddin · 7y ago · discuss

comment 7y ago · link · parent

This is really useful for building one of utility websites. I used this in one of my previous companies to tail the logs on our little QA server and push them via websocktd to an internal web page.

22.

Blazing fast Elixir configuration(engineering.tripping.com ↗)

2 points · by minhajuddin · 8y ago · discuss

comment 8y ago · link · parent

We use docker with AWS ECS, it has been a great combination. My colleague has written a few blog posts on how we do it: https://engineering.tripping.com/jenkins-elixir-and-ecs-cicd...

24.

7 ways of doing Fizz Buzz in Elixir and other clickbaity stuff(minhajuddin.com ↗)

4 points · by minhajuddin · 8y ago · discuss

comment 8y ago · link · parent

I'll share our deployment stack with Elixir, which is pretty hands off. We use docker with AWS ECS and have a simple release process:

  1. Our jenkins CI builds a docker image which contains an erlang release (using distillery).
  2. This image gets pushed to ECR (AWS's image repository), every version is tagged with a $GIT_REF.
  3. We have another jenkins job which updates our AWS ECS Tasks to use the new version of Docker images.
  4. AWS ECS now spins up a few new containers and drains out the connections from the old ones.

26.

Show HN: A simple timeout service to unit test your timeouts(slow.webutil.in ↗)

3 points · by minhajuddin · 8y ago · discuss

comment 8y ago · link · parent

Well, the erlang vm is what runs Elixir apps. Elixir runs on the erlang VM (called BEAM) similar to how scala/clojure run on the JVM. However, while writing a lot of elixir code you end up using the erlang standard library for things which are not available in Elixir, :crypto is a module which comes to mind. Elixir apps at the end of the day are erlang apps.

comment 8y ago · link · parent

Elixir/Erlang are one among best functional programming languages for web today. Phoenix is a very performant and productive web framework. You can build a typical web app really fast using Phoenix and Elixir.

comment 8y ago · link · parent

I haven't really tried batch. But, from initial reading of documentation it didn't look like it supported running docker images. My use case requires running docker images of static site generators and that sort. Will take another look at it.

comment 8y ago · link · parent

This is going to be really great for batch jobs which need isolated environments. I have been waiting for something like this for a long time. Amazon is really doing work. I'll be definitely be using this.
12345
12