Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

[flagged]


> Erlang is a language that doesn't have strings, for fucks sake.

It has binaries can those can be used as strings. Most json parsers turns json string into binaries.

> But a person who says erlang is suitable for modern web development is not living in the real world.

Says person on the internet who is swearing and doesn't seem to know what they are talking about.

Those silly Erlang and Elixir users, should be glad they finally found a new HN account telling them the truth.

> web demands a different model of problem solving than let-it-crash 90s telecom hackery provides

Ok, I'll bite. What is the new rockstar model of problem solving we should all be using?


I can't imagine being fragile enough that swearing in the Internet is like a major negative experience.

I've read more erlang than most of the elixir fanclub hackers will ever read or write. (granted elixir is a bit more terse, w/e) and I've shipped a functioning exploit that composed into RCE in a system that over twenty developers spent more than a decade designing, developing, and defending. Most of it was erlang. Almost all of it, really, except for some deployment routines and all the sql, etc.

I don't know the best way to solve problems, and I also don't know the very best problems that erlang is suited for, but large-scale web-oriented erlang is a mistake.

It's not that I want to hurt HNers feelings, it's just that I've literally seen this before. This whole thing is a rerun.

Just watch and see.

If it makes your booboo hurt any less, I think most elixir hackers are decently practiced hackers in general. If they had better beans, they'd make better coffee. The team I worked with were definitely top notch.

As for your question, I have no idea. I'm more of a problem spotter. My """solutions""" are generally of the "don't do this dumb thing" variety, with an accompanying exploit or kit or injection or whatever it is for that problem.


Please don't cross into incivility, regardless of how much more Erlang you know than others.

https://news.ycombinator.com/newsguidelines.html


I was careful not to.

God forbid someone be told they're wrong on HN.


Interpretations of what's uncivil differ, of course, but we ban accounts that snark like this repeatedly:

> If it makes your booboo hurt any less

That's a long way from just telling someone they're wrong—which, btw, by itself isn't that substantive in the first place. Explaining how they're wrong is much better, because then the rest of us can learn something. But presumably this is what you meant. You've posted a bunch of substantive comments that are just fine for HN, so whatever the above issue is should be easy to fix.


The fact that you didnt even knew about a widely popular library like jiffy until now, and you keep on ranting, "oh, my jsons..". It is just your ignorance, pal. You are ranting on about things you only have vague idea about.

For modern web development, go check out Cowboy. You are welcome.


Did it exist ten years ago?

Of course not.

But new libraries don't solve the underlying language infrastructure.


Ah, so you were not able to work with json in Erlang a decade ago, and still hold grudge about it! Jeez.

If your understanding of "underlying language infrastructure" is also based on your experience 10 years ago, then that is the same with all languages, pal. With every version, programming languages evolve, they become better. Erlang is no different.


Elixir is widely used for "modern web stuff." The OP said a few "Erlang VMs", not "the Erlang language"


Whoa, elixir is not even remotely widely used. Again, strong signs on HN-itis.

A few silicon valley corps experiment with it, maybe a couple major players have a service built with it. But in terms of actual mind share in the webdev sphere, it's a tip of the tip of the iceberg.

I already mentioned that beam is cool. I'm not making a point that beam can't be made to do things, only that it isn't suitable for some other things. In the sense of sending bytes from one place to another and having mechanisms for recovering from faults in a network where that communication is happening, erlang is good. But in dealing with complex page requests, structured data from json or webpages or user input or third party apis, it's not a good tool. A modern web developer is thinking about scalability, interopability with tools written in potentially dozens of different languages or variants of js, etc.

Elixir is cashing in on disgruntled shops frustrated with ruby but too incompetent to do scala/f#/clojure or potentially they were misled by uninformed hackers reading too much HN about how wonderful elixir is. They are going to find that while there are benefits to using a telephony system with decades of work out into it, they are inheriting decades of cruft as well. A luxury with ruby was that the past few years practically abandoned all sects of usage other than rails, so while performance was lacking, ergonomics were excellent and developer availability was unmatched even by today's standards where js is ubiquitous. You ever tried to use dialyzer for an app where the source lives on forty different machines? It's not fun. You ever had an actor that just randomly fails every now and then? You hunt and hunt, and in the end, locking it to a certain machine makes it go away and you realize that a machine somewhere else is causing good code to fail... Randomly.

BEAM for the web is a ticking time bomb.

I may seem bitter, but believe me, I'm not. In infosec, developer stupidity pays my bills. I used to think that I could do my job so well that someday stupid devs would all become defensive coders. But I've become a bit jaded, I suppose.

Btw, There is no such thing as erlang vm. The beam vm is the product, erlang composes otp, which generates beam byte code. At least, not an official one. Maybe there is one somewhere.

I meant what he knew


> Elixir is cashing in on disgruntled shops frustrated with ruby but too incompetent to do scala/f#/clojure or potentially they were misled by uninformed hackers reading too much HN about how wonderful elixir is.

You’re a very disgruntled engineer and these are very subjective opinions.


I'm a jaded engineer, there's a difference.

If all the software bugs in the world disappeared tonight, I'd be out of a job tomorrow morning but I'd have one hell of a good morning.

The world sucks. I don't choose to hate it anyways, but in order to make good solutions, having a realistic grasp of how extensive the problem is facilitates better, more correct solutions/fixes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: