HNHacker News
TopNewBestAskShowJobs

iamd3vil

2,227 karma · joined December 18, 2014

Go & Rust developer.

Works at Zerodha, Bengaluru.

https://sarat.dev

submissionscomments
iamd3vil··on Fire declared in OVH SBG2 datacentre building
Another option for incremental backups is Restic [0]. It has support to backup to Backblaze B2, Amazon S3 and lots of other places.

[0] https://restic.net/

iamd3vil··on How bad is your Spotify?
Please do share the playlist. Will love to listen to it.
iamd3vil··on Putting Raspberry Pi Online with Caddy and SSH Tunnel
Ohh TIL but my other point still stands.
iamd3vil··on Putting Raspberry Pi Online with Caddy and SSH Tunnel
OP has literally written in the gist about exploring a way to map entire port range and avoiding doing this, so the non hacky way of doing this is setting up something like a wireguard tunnel. That's the reason I suggested doing this instead of a tunnel which has other disadvantages like doing TCP on TCP.
iamd3vil··on Putting Raspberry Pi Online with Caddy and SSH Tunnel
I think a better option would be to create a Wireguard tunnel between Raspberry Pi and the remote server instead of a SSH Tunnel. Then there is no need to add or change ports and restart the tunnel for every service.
iamd3vil··on WARP is here
I think it does. If you want cheaper VPNs, you should checkout Private Internet Access(PIA). If you subscribe for annual plans, you will get it cheaper there. PIA doesn't support Wireguard protocol though.
iamd3vil··on WARP is here
Don't ever user free VPNs and especially something like Hotspot Shield. You can check https://thatoneprivacysite.net/ for a comparison of VPN services.

I use Mullvad VPN which supports both OpenVPN and Wireguard(which is the reason I use Mullvad) and costs 5 euros per month. You can use something like Bitcoin to pay if you want anonymity.

iamd3vil··on Modi’s Cash Crackdown Failed, Indian Bank Data Shows
As the data shows 99.3% of the cash returned. This doesn't include Grameen banks. So the number maybe more. Percentage of black money has increased. The amount of cash transactions with respect to digital transactions has also increased. Demonetization is a total disaster and I can't forgive Modi for making the country suffer like this and taking 100 lives for nothing.
iamd3vil··on Elixir v1.7 released
We package it into a docker image using distillery and then deploy to Kubernetes using Peerage with KubeDNS for auto clustering. It was tricky to figure out everything at the start but after figuring out once, it's pretty easy and works really well. Only issue we had at the start is figuring out sys.config but we use Environment Variables for almost everything and set `REPLACE_OS_VARS=true` while building the Docker image, which solved most of our issues.
iamd3vil··on Elixir v1.7 released
> I could go into this in more detail if anyone's curious.

Please do!

iamd3vil··on Private Internet Access Goes Open Source
Yeah true. Also by open sourcing the chrome extension maybe someone can port this to Firefox. I think it should be relatively easy after the recent move by Firefox to webextensions.
iamd3vil··on Private Internet Access Goes Open Source
If you don't trust PIA's or any VPN's clients, you can always use Openvpn clients directly, provided the vpn supports openvpn.
iamd3vil··on Use streaming JSON to reduce latency on mobile
I think websockets is a much better use case for this if you don't want the reconnection overhead. Also since websockets are bidirectional, you can keep the connection open and send all requests through the connection as well as receive responses from the connection. Also you can send binary on websockets if you want to save bandwidth as well. We do this at work and it works pretty nicely.
iamd3vil··on Ask HN: Which stack do you use at your startup?
We mostly use docker with docker swarm. Currently exploring moving to Rancher. Also we use Gitlab CI for CI/CD. Our workflow looks like this: a release is tagged, CI tests and builds a docker image which is pushed to our private registry and then we use ansible to deploy the new release on our servers. We mostly use onprem for our production and can't use any cloud with the regulations and limitations we have.
iamd3vil··on Ask HN: Which stack do you use at your startup?
We use Elixir, Go, C++ for backend and JS, Java / Kotlin, C# for frontend. We also use Postgresql, Rabbitmq and Redis.
iamd3vil··on My Forgotten Language: the brain can lose and reclaim an abandoned mother tongue
Just nitpicking, Hindi is not the national language of India (assuming you are from India). It is just an official language.
iamd3vil··on Show HN: Airmash – Multiplayer Missile Warfare HTML5 Game
Really fun game. Very smooth and addictive. Curious to know about tech stack
iamd3vil··on Languages for online betting: an investigation of Go, Erlang, and Elixir
Go maybe faster than Erlang in raw throughput but Erlang can compete with Go in Latency (mainly predictable latency). As you said it all depends on the scenario. The article is mainly in the scenario of betting infrastructure where I think erlang is better due to OTP (saying this as a person who works on building trading systems and daily user of both).
iamd3vil··on Books from Phoenix Inside Out series
I think if you are coming from Rails and Ruby to Phoenix, you should learn elixir first. Or else, like a lot of people, you may think that it's similar to Rails. Phoenix may look similar to rails, but there is a huge difference on how they work. Also atleast from my point of view, you should know about OTP too. Your application is an elixir app, with phoenix which provides just the web interface to your business logic.
iamd3vil··on Show HN: Orange Forum – Web 1.0 style forum written in Go
SQLite is ok if you don't have much traffic (for example personal blogs), but you can't replace a db like Postgresql with SQLite if you have lot of concurrent traffic.
iamd3vil··on WhatsApp Cofounder on How It Reached 1.3B Users Without Losing Its Focus
Actually in India, I am really grateful for Uber. Previously talking to an auto rikshaw or taxi is pretty painful. They are rude, not reliable, charge a lot if you don't know the city or area. Also atleast from my talking to lot of Uber/Ola drivers is that they are earning a lot compared to their previous taxi service. So to answer your question, both drivers and public.
iamd3vil··on Talla – An Erlang Implementation of Tor [video]
It's mentioned in the talk.

https://lab.baconsvin.org/talla

iamd3vil··on Ask HN: Who is not betting on Elixir and why not?
Elixir and Erlang have similar symantics, compiles to same byte code. You can use any Erlang library in Elixir without any overhead, all the tools (debugging, profiling) which works with Erlang works with Elixir.I don't see why you can use Erlang and not Elixir.
iamd3vil··on Ask HN: Who is not betting on Elixir and why not?
I would say Erlang VM is already proven.
iamd3vil··on Ask HN: Who is not betting on Elixir and why not?
Why do they have to know the tech before? A good engineer can always learn new tech and I think as a developer who belongs to a company who uses Elixir in production, most of my colleagues who use Elixir didn't know about it before getting hired.
iamd3vil··on Browse Against the Machine
I know lot of people here say that Chrome is much faster than Firefox. I agree that sometimes chrome feels more responsive, but I want to tell my perspective from someone who owns a very old and slow laptop. Whenever I just start Chrome, it seems superfast until 5 minutes. Just open 5 tabs and some other programs like Terminal and Clementine, my whole system just hangs. So I can't even use Chrome because of the memory it consumes. Firefox actually seems very responsive for me even if I open 10-15 tabs, I can open other programs when it's open. Also I feel that in last two years I have rarely seen the UI hanging in Firefox when a page loads (even with my shitty laptop).

So I am really thankful for people who work on Firefox and letting me use it on a shitty laptop. Also it's one of the reasons I am learning Rust now so that I can contribute to it.

iamd3vil··on Erlang Performance Lab
I think this talk at Erlang & Elixir factory SF 2017 gives more insight into this. https://www.youtube.com/watch?v=ncedupb-Rqw
iamd3vil··on Does it scale? Who cares (2011)
Since I am an Indian I know of a service which is hated by most people - IRCTC because of it's scaling issues. It's a lot better now but I remember those horrible days you have to do a tatkal ticket.

I also know of some government services (my state has paperless administration so everything is digital) which are used in day to day basis (but only hundreds of users) by government employees goes down for almost 2 hours per day everyday which stops work for everyone (both the employees and the people came for that service). These services are developed by companies like TCS and Infosys. Only if they thought of scaling before.

iamd3vil··on Show HN: Easy to understand intro to Python
Triple quoted string is just a way to write a string in multiple lines. There is no multi line comment in Python.
iamd3vil··on Why the Elixir language has great potential
Elixir's package ecosystem is quite good. The advantage Elixir has is that using an Erlang package in your Elixir codebase is very very easy and the same as using any other elixir package.

We are using Elixir for more than a year now at work and in almost all cases where we couldn't find a Elixir lib we found an Erlang one.

Page 1 of 3Next →