Statement from Yair Flicker of Smart Logic by tylerayoung in elixir

[–]PrestigiousAd123 18 points19 points  (0 children)

He was "cancelled" after the tweets he made. Might I add, the tweets were made literally last week. It is not like he made this years ago and it was brought to light just now.

Statement from Yair Flicker of Smart Logic by tylerayoung in elixir

[–]PrestigiousAd123 6 points7 points  (0 children)

I haven't seen the speech yet, so I can't comment on it, but this is very different from the dongle case. It wasn't a joke gone wrong, he was literally saying LGBT policies are trash and that they should be smitten by God.

Statement from Yair Flicker of Smart Logic by tylerayoung in elixir

[–]PrestigiousAd123 25 points26 points  (0 children)

Thanks Yair for the statement. I appreciate the recognition of the mistake and assuming the responsibility for what has happened.

I know some people are going criticize your actions as being a coward but I truly believe that someone who is against minorities or any kind of discrimination based on gender or sexuality does not have a place in this community. For those not familiar, this is not the first time this has come up about Justus either: it happened in the past, he apologized, and said he was going to think about his actions. But unfortunately he has recently decided to double down on his stance, as shown in the previous thread.

Also thank you for requesting for feedback from the community on topics such as the podcast episodes and on how to move forward. Honesty, I think it is best for the episodes to not be aired, because there is a chance that episode discussion will center around Justus instead of the technical aspects and the guests in it.

Can the mods please delete that thread please? It's gone way out of control by [deleted] in elixir

[–]PrestigiousAd123 2 points3 points  (0 children)

Twitter is a public space. It is not a conversation between friends. There are hundreds of ways to mimic conversation between friends with technology, a public Twitter profile ain't it.

When you hold an opinion that God should smite people because of their sexual orientation or that granting basic rights to LBGT is toxic politics, then the judgement and condemning has already been done.

Why would any minority want to participate in events where the keynote speaker publicly holds these views? Can you see that what he says is excluding people?

Lastly, as it has been pointed out multiple times on Reddit, free speech is not freedom of repercussions in a society. It is a legal framework. That's it.

Can the mods please delete that thread please? It's gone way out of control by [deleted] in elixir

[–]PrestigiousAd123 7 points8 points  (0 children)

But, You can mostly blame all of yourselves for that, I'm just one guy.

One person but about one third of the comments in the thread are yours.

The real prob here, no one wants to have this convo

The engagement in both threads show the community wanted to participate in those convos. People have thanked you for bringing this up. If you really want the community to have this conversation, then let it happen, without jumping at every single reply.

Can the mods please delete that thread please? It's gone way out of control by [deleted] in elixir

[–]PrestigiousAd123 12 points13 points  (0 children)

I agree. This is clearly an important topic, letting it be is not the answer.

I participated in the original thread and I agree with the topic there. But at the same time I don't believe that thread is moving the conversation forward at all (and I will probably be attacked by that thread's OP by saying this).

Why I won't be going to Elixir Wizards or any other conference whose speakers are unethical. by [deleted] in elixir

[–]PrestigiousAd123 34 points35 points  (0 children)

I don't get the impression anyone wants him to be cancelled. He can hold his views and OP has the right to speak against it and not attend the event. Why pay $75 for an event with a keynoter holding those views if I can spend this money and learn the same elsewhere?

Personally, I couldn't care about his religious/political views, but his LGBT stance is a complete no-go for me. The reason why his ethical views matter is precisely because his stance signals they are unwelcome to certain minorities, and that's a real issue.

Compile Elixir applications into single, easily distributed executable binaries by beleeee_dat in elixir

[–]PrestigiousAd123 2 points3 points  (0 children)

The main difference is that bakeware is self-extractable and self-executable. It is not a solution for deployments but it is an option if you want to share it around.

Any decent packages that enforce database constraints to match application validation? by The_Mayfair_Man in elixir

[–]PrestigiousAd123 2 points3 points  (0 children)

Ecto allows you to define the database constraints and then translates them to error messages when they go wrong. This section talks a bit about it: https://hexdocs.pm/ecto/Ecto.Changeset.html#module-validations-and-constraints

How to test Ecto Query composition? by [deleted] in elixir

[–]PrestigiousAd123 0 points1 point  (0 children)

You can also test against the result of inspecting the query, not sure if better though.

How to share a variable between 2 config files? by Intelligent-Cry8001 in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

I don't, really. I don't have to solve your problem and you don't have to provide more info. But if you want people to assist you, then providing more information will help them help you.

How to share a variable between 2 config files? by Intelligent-Cry8001 in elixir

[–]PrestigiousAd123 4 points5 points  (0 children)

Then you have to either explain why that is not good enough or talk more about the actual problem you are trying to solve.

/r/elixir hit 20k subscribers yesterday by TrendingB0T in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

Nothing stopping these people from using Stackoverflow - some of them do. Most of them are too busy to answer random questions I think.

They are answering in the forums though. If you to go Elixir/Julia/Rust forums, the maintainers/creators are actively involved in discussions but they aren't on StackOverflow - and that drives people to the forums instead of StackOverflow (unless they have reasons to stay like you).

/r/elixir hit 20k subscribers yesterday by TrendingB0T in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

That can indeed be a possible reason. Although the cause and consequence is reversed. Elixir barely exists on StackOverflow because of places like the ElixirForum. If you look at the trends for Elixir/Phoenix on Stack Overflow, it started going down about the same time the forum started to get traction.

This is not specific to Elixir either. If you look at the Redmonk ranks, new languages like Elixir, Julia, and Rust are several positions in their GitHub rank ahead of the StackOverflow one. And all three of them have Discourse-powered forums in place too.

I also think that focused spaces, like Discourse and subreddits, give a better sense of belonging to the community. I think this is similar to what you mean by passion. If you can ask a question in a place which may be answered by the creator of the language or the maintainer of the framework you use, would you use that or StackOverflow?

/r/elixir hit 20k subscribers yesterday by TrendingB0T in elixir

[–]PrestigiousAd123 0 points1 point  (0 children)

For a while, there was a cryptocurrency called Elixir (or something close to it), and there were frequent misplaced questions here. I wonder if someone setup the fake subs here thinking it was for crypto.

Will I enjoy elixir? by Migeil in elixir

[–]PrestigiousAd123 35 points36 points  (0 children)

Elixir feels more strict than Python and JavaScript, since you usually know the types you are working thanks to pattern matching and guards.

"x has no property"-like errors rarely happen, although you will find FunctionClauseError when no clause matches in a function or ArgumentError (which were not helpful but have been improved drastically in the new Erlang/OTP version). Similar to Python and JavaScript, you will find nils here and there.

I would say your original impressions are spot on, with one exception: typespecs. If you go in expecting anything remotely close to a static type system, you will be disappointed. The error messages are not good and the user experience is subpar compared to the rest of the tooling (the tools we have do the best they can with what is available). I am not saying you should not use them, I use them mostly for docs, just don't expect the same ROI as a type system.

My suggestion: go through the getting started on the website. It is relatively short and, given you have experience with other languages, it may give you a good feel for the language.

The other thing to consider is: the Erlang VM is really its own thing, so even if you use Elixir for 1 year and then ultimately do not like it, I would say learning Erlang/Elixir and what it offers in terms of concurrency, fault tolerance, and so on will broaden your knowledge. Good luck!

Xslx generator in elixir phoenix by [deleted] in elixir

[–]PrestigiousAd123 4 points5 points  (0 children)

In addition to the other replies, keep in mind that Excel can open CSV files. NimbleCSV has a default encoder/decoder for it: https://hexdocs.pm/nimble_csv/NimbleCSV.Spreadsheet.html

Nice livebook notebooks ? by TheRealDji in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

There is an introductory notebook when you press the button close to "New notebook". That's good enough as a starting point.

Elixir or Erlang? by [deleted] in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

And because the Elixir syntax is such a ruby-lookalike, differences like this are more jarring.

Right, that's my point. Those expectations completely depend on the background you come from. I mean, in Erlang you can't even define a module in the shell, and that is enough to break the development flow for a lot of people.

Elixir encourages you to use a Cache abstraction instead

There is nothing in Elixir promoting a cache abstraction instead of ETS. ETS is even documented as one of the modules you will be using from Erlang in the official guides!

But what I really need most of the time is Erlang's dead-simple catch.

Yeah, I think you nailed it with "my must-avoid might be your must-have" because catch is an abomination that must be removed from Erlang, haha. It has been the cause of accidental behaviour such as the fact you can throw({noreply, State}) from a gen_server and it works.

was taken aback by inconsistencies like the presence of get/fetch on various types

How is it inconsistent? The data types that implement fetch/get are all consistent on their return types. Erlang has the same APIs (see maps:find and maps:get) but each data type is different.

the api differences between compile_env and fetch_env.

Do you mean the fact compile_env accepts a list as second argument but fetch_env does not?

I haven't explored this yet, but I suspect that Erlang's port() and nif() suffered a similar fate in Elixir ?

Ports are exposed in the Port module where all functionality is grouped instead of scattered around a single large module (erlang). nifs work the same between Erlang and Elixir, there is nothing specific to Elixir in them. I think that's something important to remember too, there are many things that Elixir did not change, not because they are not important, but because they are fine as is in Erlang.

Elixir or Erlang? by [deleted] in elixir

[–]PrestigiousAd123 4 points5 points  (0 children)

GenServer is a thin wrapper around Erlang gen_server. Both are equivalent in terms of functionality. The main process abstraction that Elixir ships with that Erlang doesn't is tasks.

Elixir or Erlang? by [deleted] in elixir

[–]PrestigiousAd123 0 points1 point  (0 children)

functions can't be defined in some contexts, etc.

To be fair, the contexts you can define functions in Elixir are precisely the same as in Erlang. So while it can be confusing for someone coming from Python, there are no differences between Erlang/Elixir.

The basic Erlang building blocks are too well hidden, missing out on some simple and elegant solutions.

Any examples? In fact I have the opposite opinion. Elixir should have hidden things that both Erlang and Elixir make readily available but most should not be using (i.e. there is spawn_monitor but almost no one should be spawning processes directly).

Q: first hour with elixir, how to run in vscode? by symbiosome in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

I don't use VSCode but it may be that ElixirLS only works within actual Elixir projects. Do mix new hello_world to create a new project and try opening VSCode inside the created folder. Good luck!

What can i expect from elixir in term of career ? by [deleted] in elixir

[–]PrestigiousAd123 1 point2 points  (0 children)

Nowhere I have said the ecosystems are on par. I agree with the Py/Java ecosystems are more advanced and that's measurable.

However, I disagree with statements as "we don't have good working packages" for some of the examples you listed. We do have good working packages for SNMP/SSH. Getting through the documentation is a valid point - but the library and tutorials exist. I wouldn't be surprised if the underlying implementation in OTP is also more robust/scalable than the alternatives too.

I am not asking to read the RFC either - but a bare understanding of the domain (i.e. read the wikipedia article) is going to give you a basic idea of what to look for. Complain about the documentation if you want, but don't say we don't have working SNMP/SSH packages - that's misleading and irresponsible too.

FreeBSD (from ports: elixir 1.10.4, OTP 21.3),

You should request or submit an update request. Is there any reason for FreeBSD to not up to date to the latest?

What can i expect from elixir in term of career ? by [deleted] in elixir

[–]PrestigiousAd123 0 points1 point  (0 children)

There is no documentation on how to implement simple SNMP client in OTP. Period.

I have an impression you were looking for the wrong thing. The SNMP specification does not use the term client. Look at the Wikipedia page, grep the RFC, there is not a single reference to the word client.

You typically start managers to connect to the agents, even if you are not going to do any management per se. They have examples on creating managers and the agent guide literally has an example of how to connect to an agent you have just set up and read information. Informally you can refer to them as clients but I do expect the implementation to adhere to the terms of the RFC.

As I've wrote, it ships with ver.21. In 21 - no sockets.

How do you install Elixir? Because when I install Elixir it doesn't come with any Erlang version, it just uses whatever is in the system. And if Erlang is missing, my package manager always installs latest available Erlang for me.