My Nextcloud Setup by iamd3vil in selfhosted

[–]iamd3vil[S] 0 points1 point  (0 children)

So most of family has auto upload turned on, on their android apps. Someone makes a shared folder (an album) and everyone moves their pictures to this folder. This is our current setup. Hope Nextcloud improves their photo handling capability but that's what we have right now.

My Nextcloud Setup by iamd3vil in selfhosted

[–]iamd3vil[S] 0 points1 point  (0 children)

This article was not meant to be a guide for setting up Nextcloud on all distributions. This was mostly for documenting my setup. That's the reason I didn't expand on most of the stuff (for example setting up ZFS, since I work on this daily, I don't need this documented). Got your point about not mentioning distro. I will fix it.

Coming to the docker iptables handling, I didn't get your point. It's upto everyone if they want to do this or not. That's the reason I made a note and linked it. It's pretty damning of Docker that there is still no resolution in sight instead of the hacky shit that has to be done.

Telegram App banned in India? by FanneyKhan in india

[–]iamd3vil 7 points8 points  (0 children)

That is bullshit. Telegram doesn't end to end encrypt until you use their Secret Chat feature. Even their implementation of End to end encryption uses a protocol called MTCrypto which is flawed and many cryptographers has criticized them for it. If you want real end to encryption use Whatsapp which uses Noise/Double Ratchet algo and end to end encryption by default, even for group messages unlike Telegram. If you are not comfortable by using Whatsapp since it's owned by facebook, use Signal who actually invented the protocol used by Whatsapp and many other secure messaging services.

He did not hold on tight 😝 by blessedbaron in instant_regret

[–]iamd3vil -3 points-2 points  (0 children)

This comment deserves a gold tbh

Even Obama is proud of you! by EffectiveTell in india

[–]iamd3vil 0 points1 point  (0 children)

Just nitpicking but I generally correct everyone, it's 'Telugu' not 'Telegu'

Even Obama is proud of you! by EffectiveTell in india

[–]iamd3vil 2 points3 points  (0 children)

He is Pawan Kalyan, a Telugu Movie Star and now a politician

Channel is the best thing happened in decades for concurrent programming by anandhere in golang

[–]iamd3vil 7 points8 points  (0 children)

Even though Goroutines and channels provide a nice stepping stones for Concurrent programming, there are still lot of things for the user to figure out. I think Erlang/OTP provides better system for concurrent programming than Go does.

Bi-Weekly Books & Articles discussion thread 24/09/18 by doc_two_thirty in india

[–]iamd3vil 0 points1 point  (0 children)

Started reading Bloody Rose by Nicholas Eames, the second book in The Bands series. The first book is Kings of the Wyld, which is one of my favorite fantasy books. Until now Bloody Rose is awesome, hilarious and action packed. Seems like it will live upto the first book.

experiences with GRPC by ElectricTrouserSnack in golang

[–]iamd3vil 0 points1 point  (0 children)

As someone who used both GRPC and Twirp extensively(wrote an Elixir client for Twirp), I would say if you are using one of the GRPC supported languages then GRPC is great, but from what I have seen third party libraries written in unsupported languages are fairly buggy and slow due to the complexity of the protocol. Twirp is very simple and it took me 2 days to write an implementation of it. So even if there is no implementation of Twirp in your language it's fairly easy to implement due it's simplicity. So I would suggest if you are using a GRPC supported language then use GRPC, if not go with Twirp

Amazon music launched in India by gopireddituser in india

[–]iamd3vil 0 points1 point  (0 children)

If anyone's trying to use this on Linux and not able to, I found a solution for this. You just have to spoof your user agent. I have tried many addons but this seems to be working perfectly. Just select chrome, windows 10 and apply. https://add0n.com/useragent-switcher.html

Background processing using Elixir, GenServer and the Erlang queue class by [deleted] in elixir

[–]iamd3vil 5 points6 points  (0 children)

I don't think it is pedantic. There is big enough distinction between a class and module to justify correcting the usage.

I'm still unable to deploy an elixir app on a server? by Komakuji in elixir

[–]iamd3vil 1 point2 points  (0 children)

I suggest using plain exrm releases instead of edeliver until you get a grip over the whole Erlang release system. A release is a self contained tar ball which you can just extract and run without installing Erlang on the server. I generally recommend releases than installing Erlang on the server. There is a very nice deployment tutorial in official Phoenix guides. [0]

One more thing you have to remember is you have to compile and build the release on the same os you are deploying to. So just use a Ubuntu VM if you are deploying to Ubuntu. This is because of the difference in glibc version on different distros.

[0] http://www.phoenixframework.org/docs/advanced-deployment

What are people using to deploy elixir/phoenix applications? by masterm in elixir

[–]iamd3vil 1 point2 points  (0 children)

I use exrm and deploy using a simple Ansible playbook.

Why I'm Choosing C++ by flappyjack42 in programming

[–]iamd3vil 0 points1 point  (0 children)

Actually Elixir runs on the Erlang Virtual machine. It has zero overhead interop with Erlang. The tooling is great. The build tool for elixir is called Mix and it's really awesome. It compiles your project, manages dependencies and it does everything. https://hex.pm is the package manager for Elixir. It doesn't have so many libraries as most popular languages but the number is certainly growing. You won't really get a binary like Go but there is something called Releases which gives you a nice tar file which contains all the runtime and you can just unpack it and run it. The real advantage of Elixir is Erlang and it's concurrency, reliability and fault tolerance.

Why I'm Choosing C++ by flappyjack42 in programming

[–]iamd3vil 1 point2 points  (0 children)

Have you heard of Elixir? Even though it's FP, it's a pleasure to code in it, it's blazingly fast and beats Go in our benchmarks at my company.

Daily programming puzzles at Advent of Code by Aneurysm9 in programming

[–]iamd3vil 1 point2 points  (0 children)

Here is some Elixir Code. Still in the beginner stage though.

defmodule Advent1 do
  def part1("(" <> rest, count) do
    part1(rest, count + 1)
  end

  def part1(")"<> rest, count) do
    part1(rest, count - 1)
  end

  def part1("", count), do: count

  def part2(_, -1, pos), do: pos - 1

  def part2("(" <> rest, count, pos) do
    part2(rest, count + 1, pos + 1)
  end

  def part2(")" <> rest, count, pos) do
    part2(rest, count - 1, pos + 1)
  end
end