Avatar
namosca
ef1c0565a452fb7b50fcc85c464a5b6b2c66b363654aa32e07daa0f8bd1febf7

Looks like there's Hono compress:

import { compress } from 'hono/compress';

const app = new Hono();

app.use(compress());

app.get('/file', async (c) => {

const file = await Deno.open('./path/to/your/file.txt');

return c.res.send(file);

});

Got it from perplexity.ai. I hope it's not BS

Good reminder!

Can I do this on Deno/hono when returning an .atom file?

I'm using Deno deploy, so maybe something native there would also be ok.

You might be interested on hash function Blake3, which enables parallels Processing and native Torrenting and realtime streaming:

https://en.m.wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE3

"In addition to providing parallelism, the Merkle tree format also allows for verified streaming (on-the-fly verifying) and incremental updates.[27]"

"BLAKE3 is a single algorithm with many desirable features (parallelism, XOF, KDF, PRF and MAC), in contrast to BLAKE and BLAKE2, which are algorithm families with multiple variants. BLAKE3 has a binary tree structure, so it supports a practically unlimited degree of parallelism (both SIMD and multithreading) given long enough input. The official Rust and C implementations[27] are dual-licensed as public domain (CC0) and the Apache License.[28]"

Dumping posts on people without any filter for relevance is like trying to drink the ocean.

Or forcing a duck to eat thru a pipe in his throat until his liver gets cancer so you can eat foie gras.

From Wikipedia:

Force-feeding is the practice of feeding a human or animal against their will. The term gavage (UK: /ˈɡævɑːʒ, ɡæˈvɑːʒ/,[2][3] US: /ɡəˈvɑːʒ/,[3][4] French: [ɡavaʒ] ⓘ) refers to supplying a substance by means of a small plastic feeding tube passed through the nose (nasogastric) or mouth (orogastric) into the stomach.

https://en.m.wikipedia.org/wiki/Force-feeding

Why so you have ti download all of BS-ky at your server and store it? Can't every user download their own, or If not you can just download on demand, or evict the India's you don't need (Last Recently Used)

In a island in the middle of the ocean, some castaways rubbed a coconut.

He rubbed it, a genius came out of it's holes and granted him 3 wishes.

"I want a programmer, a comedian and one tenth of a vandal".

Then Alex Gleason appeared

😂

🚀 Exciting Update for NostrRSS Users! 🚀

We have some fantastic news for all NostrRSS users! Our tool, which seamlessly converts Nostr feeds into clean RSS feeds, is getting even better. For those who may have forgotten, NostrRSS helps you avoid information overload by allowing you to curate your content through black and whitelists, filtering out unwanted replies and conversations.

✨ New Feature Alert: Track All Your Subscriptions! ✨

You can now effortlessly track all your subscriptions by simply inputting your user ID. This new feature reads your default lists and creates a comprehensive feed with all your follows at once—it's like magic! This enhancement was highly requested by many of you, and we’re thrilled to deliver it.

### Parameters You Can Use:

- &whitelist=word1,word2,...: Blocks all content except those containing specified words.

- &blacklist=word1,word2,...: Blocks any content that includes these words.

- &replies=false/true: Choose whether to show replies from the subscribed user to other conversations or only display conversations started by the user.

### Example Usage:

To see this in action, use the following address:

https://nostr-to-rss.deno.dev/api/v1/rss/user/npub1auwq2edy2tahk58uepwyvjjmdvkxdvmrv492xts8m2s030gla0msruxp7s/defaultlist?replies=false&blacklist=your,most,hated,words

For those interested in the technical side or wanting to contribute, check out our GitHub repository: [Nostr to RSS GitHub](https://github.com/gustavonmartins/nostr-to-rss).

We can't wait for you to try out this new feature and enhance your experience with NostrRSS! Your feedback is always welcome. Happy curating!

#grownostr #rss #spam #nospam

If important, I can make an RSS adaptor for you which does this.

Then you can track it in your favourite RSS client.

What do you think of this idea?

This automated open refactoring might help:

https://docs.openrewrite.org/

OpenRewrite is an automated refactoring ecosystem for source code, enabling developers to effectively eliminate technical debt within their repositories.

It consists of an auto-refactoring engine that runs prepackaged, open-source refactoring recipes for common framework migrations, security fixes, and stylistic consistency tasks – reducing your coding effort from hours or days to minutes. Build tool plugins like the OpenRewrite Gradle plugin and the OpenRewrite Maven plugin help you run these recipes on one repository at a time.

While the original focus was on the Java language, the OpenRewrite community is continuously expanding language and framework coverage. Thousands of great individuals and teams are working together to make software seamless to update and continuously secure.

Lyn, If you need inspiration from yourself, you can subscribe to your own RSS on the topics of life and loving, blocking other topics like Bitcoin and politics.

Here is the RSS feed to it, which I Programmed myself:

https://nostr-to-rss.deno.dev/feed?users=lyn@primal.net&whitelist=love,life,food,pizza,friend,roman&blacklist=btc,bitcoin,politic

There are 65 posts for now and you can edit the whitelist and blacklist

If you want to show only conversations straterd by you, add a &replies=false:

https://nostr-to-rss.deno.dev/feed?users=lyn@primal.net&whitelist=love,life,food,pizza,friend,roman&blacklist=btc,bitcoin,politic&replies=false

There are 37 posts from you like this