HN user

kmf

821 karma

Man in the arena.

Posts79
Comments113
View on HN
blog.cloudflare.com 4y ago

An Open-Source CMS on the Cloudflare Stack

kmf
8pts3
blog.cloudflare.com 4y ago

Build your next video application on Cloudflare

kmf
4pts0
www.youtube.com 5y ago

Master Vim with this interactive course [video]

kmf
5pts0
www.mailinglisthackers.com 5y ago

How to create a paid blog and newsletter using Ghost and Stripe

kmf
3pts0
youtu.be 5y ago

Byteconf Flutter, a free live-streamed Flutter conference

kmf
11pts0
bytesized.xyz 5y ago

Show HN: Byteconf Flutter, a free live-streamed Flutter conference

kmf
5pts1
developers.cloudflare.com 6y ago

Show HN: User authentication at the edge using Auth0 and Cloudflare Workers

kmf
5pts1
www.youtube.com 6y ago

Lifting state up is killing your React app [video]

kmf
1pts0
dev.to 6y ago

Speed up your Gatsby application's build time by 300% with incremental builds

kmf
1pts0
www.youtube.com 6y ago

Everything GitHub announced at Satellite 2020 in 15 minutes [video]

kmf
7pts0
www.youtube.com 6y ago

Adding the accessibility in your React Apps [video]

kmf
2pts1
youtu.be 6y ago

Researching MissingNo Glitch in Pokemon [video]

kmf
2pts0
youtu.be 6y ago

From create-react-app to create-any-app [video]

kmf
1pts0
www.youtube.com 6y ago

Byteconf React, remote React.js conf, streaming on YouTube [video]

kmf
3pts1
www.youtube.com 6y ago

Show HN: Byteconf React, free remote React conf streaming on YouTube [video]

kmf
3pts3
www.bytesized.xyz 6y ago

Byteconf React – free React.js conf streamed on YouTube, live right now

kmf
4pts0
dev.to 6y ago

The first set of speakers for our free, remote React conf

kmf
1pts0
youtu.be 6y ago

Building a Twitter card/Slack link-style serverless API [video]

kmf
2pts0
www.youtube.com 6y ago

Byteconf GraphQL: free virtual GraphQL conference, live now [video]

kmf
3pts0
dev.to 6y ago

GraphQL in Ten Minutes

kmf
2pts0
dev.to 6y ago

How to write a blog post: The four-drafts method

kmf
2pts0
www.bytesized.xyz 6y ago

GraphQL in 10 Minutes [video]

kmf
3pts0
www.bytesized.xyz 6y ago

GitHub Actions is my new favorite free programming tool [video]

kmf
316pts129
jross.me 6y ago

Using Cloudflare Workers HTMLRewriter to Extend Ghost(Pro)

kmf
2pts0
css-tricks.com 6y ago

Building a Full-Stack Serverless Application with Cloudflare Workers

kmf
4pts0
dev.to 7y ago

A Brief Guide to What's New with Cloudflare Workers

kmf
2pts0
www.byteconf.com 7y ago

Byteconf JavaScript: free JavaScript conference streamed on Twitch, live now

kmf
21pts0
www.notion.so 7y ago

Hyperwysiwygization with Notion

kmf
3pts0
frontendjobs.tech 7y ago

Show HN: Frontend Jobs – find your next great frontend developer gig

kmf
7pts0
www.byteconf.com 7y ago

Byteconf React Native – free React Native conf streamed on Twitch, live now

kmf
6pts0

Wow, this looks so awesome! Really simple UI too — gonna have to give this a try. I was just struggling with some client-side image upload stuff last week, and I love the idea of doing the full service integration from client to backend as a product.

BTW - I’m part of the dev advocate team at Cloudflare, would you want to chat sometime about your experience with Images? Definitely would love to hear your perspective as a dev on what could be better!

Pages has actually been GA since April of this year[1] - since then, we've released support for deploy hooks, redirect/custom header files, GitLab support, and as you mentioned above, a Workers function integration.

We have a really excellent team building Pages, and we still think there's a lot of unexplored territory around Pages/Jamstack and how it interacts with serverless and edge functions. Exciting times!

[1] https://blog.cloudflare.com/cloudflare-pages-ga/

Quick plug I'll drop in here (I manage Cloudflare's Developer Advocacy team) - in addition to Durable Objects reaching GA, we also released a great open-source codebase today to help scale your Durable Objects-based projects.

It has built-in sharding and communication between connections/shards - basically how we would recommend people build with DO if they want to hit the ground running.

Check it out on GitHub! https://github.com/cloudflare/dog

hey, kristian from the workers team here - i wrote these docs, so this is good feedback :)

we don't have any plans to get rid of workers sites! but we do think that for most people deploying static sites, pages is a better fit than workers sites.

when we do talk about the future of pages versus workers sites, we're generally talking about making it easier to deploy serverless functions /with/ your pages sites - providing better tooling and DX around that is a super high priority for us.

the interplay between workers serverless functions and static asset serving via workers sites is still a really strong use case (and IMO a thing that workers is uniquely capable of doing) that we don't have any plans to shelf. again, i wrote the docs here so this is on me if it came across as "we're getting rid of workers sites" - i'll take a shot at improving these docs and helping clarify that next week!

Working on https://jobsindevrel.com, a job board for developer advocates and devrel jobs. So far it’s only cost ~$310: $300 for a nice lifetime deal on the job board software and $10 for the domain.

I haven’t launched it yet, but starting to build up the Twitter (https://twitter.com/@jobsindevrel) and the mailing list so that when there is some actual traffic coming in, it should (ideally) be profitable pretty quickly. Hoping to launch next month!

hey, dev advocate for workers here!

you can definitely do something similar with workers sites.

we recently added workers kv - the storage mechanism behind workers sites - to our free workers tier, so you can host your static sites on workers for free as well.

pages is an evolution of that with better tooling/dx for people who want to get a static site up on our network and want things like deploy previews and pre-configured github integration.

if you want to just have workers do the hosting and want to do all the CI stuff yourself, you can use something like wrangler-action[1] to simplify the process on github actions, or just install wrangler[2] (our CLI) as part of your CI workflow and do `wrangler publish` at the end.

i wrote our github action, so if you decide to go that route, happy to help debug or look over the project to make sure it'll do what you want - i'm @signalnerve on twitter, DMs are open :)

[1] https://github.com/cloudflare/wrangler-action

[2] https://github.com/cloudflare/wrangler

Not parent commenter, but Ghost is a pretty great way to “own your stack” - custom domain, software is open-source, supports paid memberships, and it can send blog posts as newsletters. (No association with Ghost either - just a happy user)

I wrote a blog post on how to accomplish a Stratechery-style newsletter/blog with paid memberships on my blog[1] — you can hook into Zapier so there’s lots of opportunity to build a full community around Ghost’s built-in membership system, in case you want to send Slack invites, add them to a Mailchimp newsletter, etc.

[1] https://www.mailinglisthackers.com/creating-a-member-support...

agreed on all of this - Slack is really tough to build a community on top of! Kurt’s quote in that post is very true; the moderation/role stuff in Discord makes it super appealing for building any sort of large community.

i’ve been working on a new discord server for people building mailing lists[1] and newsletters and built out an opt-in software channel section where people can opt into #mailchimp, #convertkit, etc. channels without any sort of moderation/admin input needed. it’s a really nifty “self-serve” thing that i’m pretty sure i wouldn’t have been able to pull off with slack.

fully expecting “discord communities-as-product” to be a big thing over the next few years as they’ve built a great platform to do that sort of thing.

[1] https://www.mailinglisthackers.com/chat

hey hn! i'm the author of this tutorial, here to answer any questions.

as i wrote on twitter [1] i'm super excited about complex and interesting stuff like user authorization/authentication on the edge, and this tutorial was written after doing some explorations on that front over the last few months.

i'm particularly excited about one of the later parts of the tutorial, which shows how to take user info from auth0 and inline it directly into your application using Cloudflare Workers' streaming HTML rewriter. it's a very cool way to dynamically inject data into your static applications at the edge!

[1] https://twitter.com/signalnerve/status/1266023600718520321

this is a really awesome improvement - a bunch of my projects all deploy w/ actions using the same api token to cloudflare workers (using wrangler-action[1]), so this makes it super easy to add new projects or re-roll the key without having to go in and change each project's config.

btw, if you're looking for an intro to github actions, i put out a video last december covering publishing your first github action workflow: https://youtu.be/J4EhgEskSZA

[1] https://github.com/cloudflare/wrangler-action

+1 on all of this. refactoring ui is an awesome resource for developers who want actionable ways to improve their design skills, was a must-buy for me.

in the same way, tailwind UI has been really useful over the last week since i bought it. some of the integration stuff isn’t ideal - you have to copy-paste huge snippets of code w/ alpine.js code you need to manually remove - but overall i’ve already found it to be useful to help me get unstuck on designing my apps.

i made a little vid on my channel about getting started with tailwind ui if anyone wants to see what it looks like in practice: https://youtu.be/quhvuOTlrwA

(note that since then i’ve added a lot more of the components in this project: my feedback has stayed pretty consistent, and i think some of the copy-paste problems are easily solvable)

this is great - i implemented something similar in a recent project, where we have some state being persisted "at the edge" (in cloudflare workers' key-value store product, workers kv) and cached in-browser using local storage. we wrote a bit about it here[1], though our approach[2] has changed a bit even since this post went out.

instead of directly interfacing with window.localStorage, we opted to use lscache[3], which allows us to expire keys: `lscache.set(key, value, 5)` (expires in 5 minutes)

[1] https://blog.cloudflare.com/jamstack-at-the-edge-how-we-buil... [2]: https://github.com/cloudflare/workers.cloudflare.com/blob/ma... [3]: https://github.com/pamelafox/lscache

Cloudflare Workers 7 years ago

Hey - developer advocate for Workers here. Thinking a lot about this right now, prototyping a few ideas too. If you have ideas, happy to chat: kristian@cloudflare

One thing mentioned in Ben’s post that’s worth talking about explicitly: if you add a post to Medium using their import feature, Medium will set the canonical URL to your original URL. This meant that when if you imported a post from your personal blog and submitted it to FreeCodeCamp, you’d get a big SEO benefit: your post was shared on one of the biggest Medium publications, but any backlinks and ranking boosts would apply back to your original post, on your website.

As part of this migration, FreeCodeCamp has removed canonical URLs from submitted posts - your original post is now competing with freecodecamp.org, and Google (and other search engines) is going to do a duplicate content check. Considering that FCC is in the top 2000 sites in the world according to Alexa[1], there’s a _strong_ chance your site will be penalized. This is a big deal for authors.

[1] https://www.alexa.com/siteinfo/freecodecamp.org

Capitalist Realism is an incredible read. Since discovering him just a couple years ago, his ideas and his work have impacted me probably more than any other cultural/political theorist has. His death was a real loss, but his work is more vital than ever. Can’t recommend his work enough, and I’m excited to have seen his name pop up a couple times on HN over the last few days.

Yes, it's a super rad product. Using it for a few things, so far:

1) Working on a project right now that provides edge-level analytics for your sites w/ a focus on privacy: more accurate than Google Analytics (JS blockers remove ~1/3 of your traffic stats) and less icky for your users. Funny this comes up, I'm putting together a list for people who are interested in beta testing, if that sounds appealing: https://xyz.us16.list-manage.com/subscribe?u=0b8a0e873d096aa...

2) Extreme caching on a Wordpress site – using Cloudflare's edge cache WP plugin[1] and the worker from the workers-example repo[2] – currently at a 97% cache hit rate across the site.

update: just double-checked the cache hit stat on Cloudflare, after writing this comment - actually have a 99.95% cache rate as of today (!)

[1] https://wordpress.org/plugins/cloudflare-page-cache/

[2] https://github.com/cloudflare/worker-examples/tree/master/ex...