Better HN
topnewbestaskshowjobs
Log inSign up

palkan

7 karma · joined Aug 31, 2016 (10y ago) · 14 submissions

Making web apps better with Evil Martians. Scaling WebSockets with AnyCable. Writing Ruby, Erlang, Golang and music.
Submissions

1.

Redprints CFP: an open source CFP management app built with Rails and Inertia.js(evilmartians.com ↗)

5 points · by palkan · 1y ago · 3 comments

2.

Show HN: Ruby on Rails tutorial running in the browser(rails-tutorial.evilmartians.io ↗)

12 points · by palkan · 1y ago · 3 comments

3.

Voice AI Agents with Twilio Media Streams, OpenAI Realtime, and AnyCable(evilmartians.com ↗)

3 points · by palkan · 2y ago · discuss

comment 2y ago · link · parent

AnyCable is a realtime server for reliable two-way communication focused on reliability (or delivery guarantees), performance and security. Open source, managed (https://plus.anycable.io), self-hosted Pro—pick according to your needs!

v1.5 comes with new features allowing you to use AnyCable in a standalone mode with any (or none) backend: – pub/sub streams: public and signed; – whispering: publish broadcasts from clients, w/o touching backend; useful for typing indicators, cursors, and other frontend-only features.

Check out our new demos:

1. Next.js demo w/ public streams and whispers: https://stackblitz.com/edit/anycable-pubsub 2. Rails demo using signed streams instead of channels (and whispers, too): https://github.com/anycable/anycable_rails_demo/pull/34

5.

AnyCable v1.5: socketio-like pub/sub with delivery and performance guaranteed(anycable.substack.com ↗)

12 points · by palkan · 2y ago · 1 comment

comment 2y ago · link · parent

Yet another example of Ruby on Wasm with some distinguishing features:

- Install dependencies from RubyGems on-the-fly and cache them in your browser - Make web requests from Ruby via Faraday JS adapter

Full-featured in-browser Ruby apps are getting real!

7.

RubRuby.dev: Ruby in the browser with Bundler and networking support(runruby.dev ↗)

5 points · by palkan · 2y ago · 2 comments

comment 3y ago · link · parent

Yeah, kind of. Client-server commands sent over WebSockets are translated into JS function calls (using HTTP as a transport); the functions could be used to send some data back, set up a subscription, or whatever. Similarly, you can broadcast messages to connected clients via HTTP.

9.

Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS(docs.anycable.io ↗)

8 points · by palkan · 3y ago · 2 comments

10.

The future of full-stack Rails: Turbo View Transitions(evilmartians.com ↗)

12 points · by palkan · 3y ago · discuss

11.

ViewComponent in the Wild: building modern Rails front ends(evilmartians.com ↗)

8 points · by palkan · 4y ago · discuss

12.

Ruby on Whales: Dockerizing Ruby and Rails Development(evilmartians.com ↗)

2 points · by palkan · 4y ago · discuss

13.

Turn SVG/PNG/JPEG into a hand-drawn sketch(auth.php ↗)

3 points · by palkan · 5y ago · discuss

comment 6y ago · link · parent

It’s possible to use health checks for that kind of “wait-for-it”-s. Checkout the configuration here: https://evilmartians.com/chronicles/ruby-on-whales-docker-fo...

Note that it requires using Compose v2.4, not 3.x.