top | item 32102430

We discovered a 7-year old performance issue in Elixir (2020)

85 points| s3cur3 | 3 years ago |code.tubitv.com

13 comments

order

d3nj4l|3 years ago

Love the fact that they got the PR through in 10 minutes. Jose Valim is genuinely one of the warmest and most welcoming language BDFLs I've ever seen, and I don't believe Elixir would be as great without him.

sph|3 years ago

He's everywhere. You open a issue on one of the dozen most used Elixir libraries, and he'll answer by end of day. I envy his work ethic and I appreciate how he's always very patient with everybody.

In general everyone at dashbit seem to be very warm people. Good culture fosters good culture.

prophesi|3 years ago

He's helped me several times in the #elixir freenode channel as well. And of course their elixir books are a godsend.

Kabie|3 years ago

Interestingly enough, I find myself rarely using regex with Elixir. Thanks to erlang's excellent pattern matching syntax for binary.

throwawaymaths|3 years ago

I either use pattern matching for easy things or reach for nimble parsec.

AtNightWeCode|3 years ago

Regex should be kept to a minimum in an API because it is a known DOS attack vector. Sounds a bit worrying if they also have parameters that affect execution time.

pmontra|3 years ago

Redirected to gdpr.tubitv.com

> Tubi is the largest free movie and TV streaming service in the US. Unfortunately, we're not currently available in your area.

So I can't even know how it works. Wikipedia to the rescue https://en.wikipedia.org/wiki/Tubi

It seems to be ad supported.

randomhodler84|3 years ago

2020 post. Good write up on technical issue that demonstrated tooling and process to identify a superfluous regex compile in the base framework. Quick patch and suddenly it’s faster for everyone! Neat!