Settings

Theme

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

code.tubitv.com

85 points by s3cur3 · 13 comments

Reader

4 threads
d3nj4l

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

    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

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

    • mercer

      Same here. More than once I asked a question on the channel (now on Libera?) and the first person to answer would be Jose. I can highly recommend the series of interviews that the Thinking Elixir podcast did with him where they go through the entire history of Elixir versions:

      https://podcast.thinkingelixir.com/

    • albatross13

      As someone who loves Elixir, but is bad at it, which books are you referring to? I will buy them instantly.

Kabie

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

  • throwawaymaths

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

  • AtNightWeCode

    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

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

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!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection