@rap1ds@mastodon.social
@rap1ds@mastodon.social avatar

rap1ds

@rap1ds@mastodon.social

Web Dev @Sharetribe! Interested in #functionalprogramming #clojure #clojurescript #javascript #web #ruby Some hobby #electronics

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rap1ds, to programming
@rap1ds@mastodon.social avatar

Is there any reason you'd prefer webhooks over (long-)polling from an event consumer perspective?

I'm curious to know because, frankly, I can think only downsides of webhooks, i.e., missing requests, requests coming out of order, no ability to fetch events from the past (need to use polling for this anyway), need to secure the webhook receiving endpoint, need to set up publicly available URL when developing locally, needs to set up a message bus/queue. etc.

rap1ds,
@rap1ds@mastodon.social avatar

@danjac Yeah I understand, but can you come up with any examples of such services where webhooks would be a better choice than (long-)polling?

The only type of service I can come up with is something where you simply don't care if you miss an event here and there. For example, if you're building an analytics dashboard and you don't care if you miss some events.

rap1ds, to random
@rap1ds@mastodon.social avatar

Public praise: The feeling when you open a new Issue on Github and get a super kind and thoughtful response from the library author in just 23 minutes!

community is the best! And Peter is the best! ❤️

https://github.com/taoensso/carmine/issues/301

rap1ds, to emacs
@rap1ds@mastodon.social avatar

TIL magit-commit-absorb, which wraps git-absorb (https://github.com/tummychow/git-absorb), which takes your uncommitted changes and "absorbs" them in recent commits, e.g., when you run a linter and fix the errors that should've been fixed in earlier commits.

Sounds useful, gonna try it out soon.

#emacs #magit #git

rap1ds, to homebrewing
@rap1ds@mastodon.social avatar

I no longer use cider-jack-in. Instead, I start the REPL on the command line and use cider-connect, which has significantly improved my REPL uptime. If my Emacs crashes, my REPL remains active.

rap1ds,
@rap1ds@mastodon.social avatar

@glitzersachen 😅🤷

rap1ds,
@rap1ds@mastodon.social avatar

@glitzersachen Well, to be precise, it's not really Emacs "the core" but an installed package, or Doom, or my own elisp script acting up, or... you know :)

rap1ds, to CSS
@rap1ds@mastodon.social avatar

It is super tricky to review code! Do you feel the same?

Reviewing , , or , or any other programming language is much easier because you can understand and reason about the code by just reading it.

But reasoning about CSS code without running it and playing with it in the browser's Console? Impossible.

rap1ds, to random
@rap1ds@mastodon.social avatar

Today, within less than 2 hours! London Clojurians, Java Interop Performance by Alex Miller https://www.meetup.com/london-clojurians/events/294389328/

rap1ds, to random Finnish
@rap1ds@mastodon.social avatar

🫲🟢🟢😜🟢🟢🫱

cevado, to elixir

wondering if now that is free would be good on working in something that connects to it in 🤔

rap1ds,
@rap1ds@mastodon.social avatar
pmbauer, to random

Nubank: " is free"

Me: As in puppy or as in ...

Nubank FAQ: "Q:Is Datomic Open Source? A: Datomic binaries are provided under the Apache 2 license which..."

That's a lot of words to say "no". No is a perfectly acceptable answer here. Why confuse things? What does an Apache 2 licensed binary even mean? Lol.

rap1ds,
@rap1ds@mastodon.social avatar

@pmbauer exactly! Nothing wrong to say “it’s free to use but source code is still closed”.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines