Lurker News
For me a couple of interesting technology products that help me in my day-to-day job

1. Hasura 2. Strapi 3. Forest Admin (super interesting although I cannot ever get it to connect to a hasura backend on Heroku ¯\_(ツ)_/¯ 4. Integromat 5. Appgyver
There are many others that I have my eye on such as NodeRed[6], but have yet to use. I do realise that these are all low-code related, however, I would be super interested in being made aware of cool other cool & upcoming tech that is making waves.
What's on your 'to watch' list?
[1]https://hasura.io/
[2]https://strapi.io/
[3]https://www.forestadmin.com/
[4]https://www.appgyver.com/
[5]https://www.integromat.com/en
[6]https://nodered.org/

Comments (669) 158 threads

Show all comments

Showing thread 8 of 158

rmason7 replies#
1. Cloudflare Workers, I don't have the bandwidth to experiment with it right now but it interests me greatly.

https://workers.cloudflare.com/
2. Rust - definitely will be the next language I learn. Sadly the coronavirus cancelled a series of meetings in Michigan promising to give a gentle introduction to Rust.
https://www.rust-lang.org/learn

iameoghan2 replies#
I've heard many good things about Cloudfare Workers.

Excuse my ignorance & N00Bness, but are they essentially a Cloudfare version of AWS Lambdas, Google Cloud Functions and Netlify functions, or are they something different/better?

closeparen2 replies#
IIRC Cloudflare Workers run at each Cloudflare PoP, which have higher geographical density than AWS regions, so latency experienced by end-users may be lower.
iameoghan#
Nice. Will check them out. IIRC they are really affordable too (like all serverless stuff tbh)
VWWHFSfQ1 reply#
AWS has the same thing with Lambda@Edge

Continue this thread — 1 reply

thegagne#
More lightweight. It’s just v8 so there’s basically no time for warm up time.

They have vastly more pops than Amazon, so global performance for these is on a different level. But they are also more limited in compute and serve a slightly different purpose.

cxam2 replies#
Cloudflare Workers and their KV service (https://www.cloudflare.com/products/workers-kv/) is great. I built a side project (https://tagx.io/) completely on their services from hosting the static site, auth flow and application data storage. KV is pretty cheap as well starting around $5/month with reasonable resources.
iameoghan#
I've seen tagx a couple of times before. Awesome to know who the author is.
rishav_sharan1 reply#
I am also very interested in using worker + kv. Can kv be used as a proper application database? Has anyone ever done that?
cxam2 replies#
If by application database you mean to the level of an RDBMS then no. It's a key-value data store. You get your CRUD operations, expiry, key listing and the ability to do pagination with keys always returning in lexicographically sorted order. Any relation data you want to have would be using the key prefixes, e.g.:

  article:1 -> {"user": 1, "content": "..."}
  user:1 -> {"name": "username"}
  user:1:articles -> [1, ...]

Continue this thread — 2 replies

sdan1 reply#
Utilized workers to create one of the fastest website analytics tool after Google Analytics: https://rapidanalytics.io (still in development).
XCSme#
Fast, as in what sense? The tracking code loads fast? The tracking requests are sent fast to the server? The dashboards load fast?
stickfigure3 replies#
I've done a couple neat (IMO) things with CF workers.

- I use imgix to manipulate images in my app, but some of my users don't want anyone to be able to discover (and steal) the source images. Imgix can't do this natively; all image manipulation instructions are in the URL. So I put a CF worker in front of imgix; my app encrypts the url, the worker decrypts it and proxies.
- A year ago, intercom.io didn't support permissions on their KB articles system. I like intercom's articles but (at the time) wanted to restrict them to actual customers. So I put a CF worker in front that gates based on a cookie set by my app.
These are both trivial, stateless 5-line scripts. I like that I can use CF workers to fundamentally change the behavior of hosted services I rely on. It's almost like being able to edit their code.
Of course, this only works for hosted services that work with custom domains.

theturtletalks#
It’s pretty incredible. You can put it over any site and build your own A/B testing or targeting based on the user or the link used to get to your site.
ignoramous1 reply#
> I like intercom's articles but (at the time) wanted to restrict them to actual customers. So I put a CF worker in front that gates based on a cookie set by my app.

Might be against their terms? I rem someone asked if they could treat Workers as a http reverse-proxy to essentially bypass restrictions, and the answer was "no".

stickfigure#
Seems unlikely. But if they really want to lose paying customers, that would be one way of doing it.
iameoghan1 reply#
>These are both trivial, stateless 5-line scripts

Would it be possible to share these scripts? I would love to see them, they sound really helpful/useful

stickfigure#
Sure. Here's the help system one (no longer used since intercom now supports permissions, and I opened up the help system anyway):

    addEventListener('fetch', event => {
       event.respondWith(handleRequest(event.request))
     })

    async function handleRequest(request) {
       const cookie = request.headers.get('Cookie');
       if (cookie && cookie.includes('foo=bar')) {
         return await fetch(request);
       } else {
         return new Response('You must log in before accessing this content');
       }
     }
The encrypted URL script is actually a bit longer than "5 lines" (it has been a while) so here's a gist:

https://gist.github.com/stickfigure/af592b1ce7f888c5b8a4efbe...

mrfusion1 reply#
Why rust over go?
ncmncm1 reply#
Different use cases.

Go was designed to be easy to use for un-demanding problems. People mostly switch to Go from Ruby, Python, or Java; or from C in places where C was an unfortunate choice to begin with.
Rust is gunning for C++ territory, in places where the greater expressiveness of C++ is not needed or, in cases, not welcome. They would like to displace C (and the world would be a better place if that happened) but people still using C at this late date will typically be the last to adopt Rust.

mrfusion3 replies#
So you’re saying it should have better performance than go?

Continue this thread — 3 replies

maxencecornet#
At my company, we run 100% of our front-end React/Vue web apps on Cloudflare workers - We love it, deploys are really easy, performance/resilience is built-in