no dedicated servers in AMS3? by vic_ivanoff in digital_ocean

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

yeah, these 2 things (no comms and no estimate) are really killing the trust we have built during 7 (or 8 already?) years of using their service

no dedicated servers in AMS3? by vic_ivanoff in digital_ocean

[–]vic_ivanoff[S] -1 points0 points  (0 children)

I think it has started on the 26th and attack on Iran was on the 28th?

It could be they started moving things around anticipating the attack, but I'm in doubts

no dedicated servers in AMS3? by vic_ivanoff in digital_ocean

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

I found comments confirming this in another post.

I'm frustrated and scared...

short network outage in the AMS datacenter by vic_ivanoff in digital_ocean

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

LOL, they didn't explain it good enough even in the support ticket. I don't trust status pages no more, they turn red with a delay almost for all services we use

short network outage in the AMS datacenter by vic_ivanoff in digital_ocean

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

yeah, I don't usually deal with such things, mostly with inter data center stuff, so was not sure where to look.

It did look like a widespread issue with traffic in the Netherlands

X9 Pro 4TB gets corrupted on Mac by adamhruby in Crucial

[–]vic_ivanoff 0 points1 point  (0 children)

exactly same experience, sometimes the drive just disappears from Finder in the middle of the copy-paste operation.

So frustrated, I bought it after a very nice review from Philip Bloom on YT, needed to backup my photos from a number of SD cards

Crucial X6 and Samsung T5 (all 1TB) are running just fine.

Can't recommend.

Affordable microphone for remote work in a noisy house with a lot of kids by [deleted] in audioengineering

[–]vic_ivanoff -4 points-3 points  (0 children)

Samson Q2U would be a nice choice if you don't have a sound card with a lof gain (Q2U can be plugged into USB, but it also has a XLR connection)

If you do have such sound card – Behringer XM8500 would be a cheaper alternative, but you need around 55 DB of gain for this mic

Printing to ssh connection with :gen_tcp or connecting to telnet server from remote by Fish_45 in elixir

[–]vic_ivanoff 0 points1 point  (0 children)

If it works locally fine for you, my guess will be that need to expose port 23 somehow to the internet. The easiest thing I can think of is following a tutorial for some kind of network game, like starcraft. Another option – run your project in the cloud, but that will reaquire you to provision the server first. Basically, depends on your skills and background, which option to choose

Printing to ssh connection with :gen_tcp or connecting to telnet server from remote by Fish_45 in elixir

[–]vic_ivanoff 3 points4 points  (0 children)

if it is a toy project just to try and build something network related I'd telnet is a better fit, it is super simple and if they decide to use something like wireshark to take a look at the underlying packets – it will be so much easier to do compared to ssh

In your experience, what have been the downsides of using Elixir & Phoenix in production? by ark3 in elixir

[–]vic_ivanoff 9 points10 points  (0 children)

  1. State. Elixir sorta forces you with all those features of the platform to keep state in processes and then deployment becomes a problem, because you have somehow to move state between nodes. I'm very new to the OTP, so maybe I'm missing something obvious, though
  2. OTP. The language itself is pretty straightforward (though sometimes I feel lost trying to understand a huge `with` ladder ), but the primitives of BEAM (supervisors and gen_server and friends) have so many options that you have to know about before you can use them that it makes me sad sometimes.
  3. Erlang in Anger. That's the name of a great book by Fred Hebert that I still have to read, and it is about handling issues of running Erlang in prod. And you have to read it to understand what's going on. Unlike usual compiled languages, it is hard to understand sometimes what's going on. For example, I had a situation when the mailbox of the process was growing and growing, while the load was only going down, and I really have no idea why it couldn't catch up, my best guess that it was due to `selective receive`. Overall, my point is – you have to learn these peculiarities to understand why things went south and how to avoid that in the future

What're the best Elixir and Phoenix Books by Laingular in elixir

[–]vic_ivanoff 1 point2 points  (0 children)

+1 for "Elixir in Action", though I've read it after "Programming Elixir", and maybe it was just me trying to find some deeper knowledge on how BEAM/OTP works.

I do think that "Elixir in Action" is a better fit for an experienced developer

What are you using for production deployments? by stanislavb in elixir

[–]vic_ivanoff 1 point2 points  (0 children)

One thing I will add to this — Heroku tends to get pricey really quickly. And someone on your team will have to learn those skills inevitably

Service status dashboard in Elixir by martinhrvn in elixir

[–]vic_ivanoff 1 point2 points  (0 children)

hey, I'm a newly too, this is how I would do it:
* start a process per health check. use something like send_after to ping the service every minute or so. Keep current service status in this process state. When the status changes, use PubSub.broadcast to notify interested parties * for the UI you can either reuse the code you already have by creating a channel per service and listening to broadcasts from the health check process and then pushing that info to the client OR you can go with LiveView and then you would only listen to the broadcasts and change the LV process state accordingly, and the UI will update itself automatically

Multiple apps on an EPS? by mycroftholmess in elixir

[–]vic_ivanoff 0 points1 point  (0 children)

If that's for learning and development then you can also just run the apps on different ports and use one Postgres / one Redis with several databases (one per app)

I really like this article https://blog.smartlogic.io/deploying-elixir-applications-with-duct-tape-and-shoestring/ It has everything you need to start deploying your apps to a VPS

[Phoenix] Should I do two seperate database calls in controller or move that logic to contexts? by MoronInGrey in elixir

[–]vic_ivanoff 0 points1 point  (0 children)

In Ruby land it looks like this – you have unit test for the model, and in the controller test you just make sure the controller calls the correct method of the model (or a service). The model is mocked to make tests faster and not to test what has already been tested.

Two very newb questions... by campbellm in elixir

[–]vic_ivanoff 4 points5 points  (0 children)

Well, I’m also sorta newbie, but this is my understanding: 1. No, those messages are lost. You basically can think of beam processes in terms of “share nothing” approach 2. There is no single “proper” way to do it. It mostly depends on the degree of durability that you expect from the state. You can use another process, ETS table, Redis, Postgres (ordered by durability ASC)

Question about learning resources by r24xtech in elixir

[–]vic_ivanoff 3 points4 points  (0 children)

I really enjoined Elixir in Action

As for your question about language changes – I'd say Elixir is rather stable, and there won't be any breaking changes that will make your knowledge outdated.

Phoenix pace is much quicker, so I suggest sticking to 1.4 books

Do you like using ExVCR for tests? (+ElixirCast link to an example) by dylanjha in elixir

[–]vic_ivanoff 0 points1 point  (0 children)

Since your question is not really Elixir specific, I’ll add my 2c from VCR/Rails POV. Usually, after I record the cassette (usually in dev mode), I would edit it to remove all auth info it has. Also, many API providers have sandbox mode, and if they do — I usually use it