BigTom

BigTom

With Phoenix, Liveview, Ash, Oban Web, Nx, Livebook, Beacon, Liveview Native, Flame, Nerves etc all getting mature, are there any major gaps in the elixir ecosystem that means its not suitable for some popular use case out there?

What is the next big space it is going to get a kick-ass solution for?

Showing Posts 1 to 10

Eiji

Eiji

I would like to see a scenic-like solution for desktop apps that is based on a NIF which uses the same crates as in zed code editor. This way we would have a native desktop apps that are rendered using by GPU where each UI component could have it’s own beam process. :heart_eyes:

19
Post #1
KP123

KP123

Headless browsing could use more love

Eiji

Eiji

What do you mean? What’s a problem with headless browsing?

KP123

KP123

There are no real problems with it considering it can be done. I think there’s room to improve developer experience though. The exact implementation I don’t know but I’m imagining a library composed similarly to Membrane but for the browser stack.

Eiji

Eiji

Many years ago I have used a hound package with headless Chrome session, so I’m not sure what can be done if it’s already working and I believe that across all those years there are many alternative solutions too.

KP123

KP123

Sometimes I just want pieces of a browser and I’d want those pieces to be under my supervision tree if possible.

For example: Imagine I want to see the difference in rendering between chrome and safari then take a screenshot of both.
It would be nice to make one network request and pipe that response to a chrome renderer and a safari renderer instead of making the request in each headless browser.

In other cases I already have html (I like to archive) and want to resume browsing from that state skipping the network request altogether but still requiring the Javascript to load

Eiji

Eiji

I guess it would require a dedicated NIF for every browser engine. I’ve not ever heard that some people needs to do that from their app, so I don’t believe anybody would be interested working on that, but of course I may be wrong …

That’s not possible at all. This is because there are many cases where the data would be simply obsolete. Let’s say we want to work around that and skip most requests and just use the latest ones. Even that would be impossible in many cases. You would have to track every property in the state and cache it somewhere, so you would have any idea which requests you really need. Even if you do that the smallest change on the page would make your code fail.

KP123

KP123

People already do this. They package the entire browser sans UI. Not every browser vendor offers a headless mode unfortunately. And even fewer offer the modularity to pick just one piece of the browser stack to wrap as a standalone component. Chrome itself is really good about this though. You can get chrome, headless chrome, stand alone pieces of headless chrome like v8, stand alone pieces of v8 etc.

We, the theoretical maintainers of this theoretical library, would need to see which of these standalone pieces, in which layer we’d want to wrap but seems doable

D4no0

D4no0

I personally think that OTP libraries, specifically telecom ones, such as ASN.1, SNMP, diameter are not getting enough love. While their documentation and code quality is absolutely great, I would love to see more tutorials, blogposts etc.

KP123

KP123

This replay ability is exactly what the granularity I want. I thought “resume” was the correct term. I took it from the Qwik guys. Like I said I do archiving and I want to be able to proxy the network requests through my server and apply my data changes to the UI being rendered. I can already do this by just proxying all requests to a server I’m running but I can’t help but feel like there’s a more idiomatic OTP way of doing this

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews