mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9.2K
active users

#deno

3 posts3 participants0 posts today

Last weekend I published a fun little project that allows you to use the #Rust library #Ratatui to make a #TUI (Terminal UI) in #JavaScript/#TypeScript, via #WASM.

github.com/nfnitloop/ratatui-w

That repo contains an example app, which you can easily run with #Deno, which keeps it entirely sandboxed from your system. Here's a quick screen recording:
asciinema.org/a/8Ljb2Tkp9SyujJ

Let me know if you build anything fun with it. 😊

I think I've fully adopted to writing scripts in #typescript with #deno. 😅 It can be so immensely convenient.

You can bundle hack something fairly quickly. With dependencies pinned. And most of all, still have some level of security.

Can't say the same of all my other language scripts. 🫠

JS does not need a browser. Here is my shallow understanding so far:
There are three important runtimes:
#NodeJS is reliable, the most established, least secure, slowest.
#Deno was created by the original developer of Node.js to address security and speed.
#Bun is the fastest and the least mature of the 3.

I like this comparison: betterstack.com/community/guid

Did you try Deno or Bun? (If not, please boost for diversity.)

betterstack.comNode.js vs Deno vs Bun: Comparing JavaScript Runtimes | Better Stack CommunityThis article compares the Node.js, Deno, and Bun runtimes to help you choose the most appropriate runtime for your needs.

🌕 Deno 的衰落(六個地區且持續減少)
➤ Deno Deploy 的地域覆蓋範圍急劇萎縮,產品更新停滯,未來令人擔憂。
dbushell.com/2025/04/28/denos-
本文詳細記錄了 Deno Deploy 平臺自 2023 年以來服務區域的持續縮減,從最初的 35 個地區一路下降至目前的 6 個地區。作者指出 Deno 的「邊緣主機」宣傳與其實際覆蓋範圍不符,並批評 Deno 的其他產品(如 Fresh 框架、KV 數據庫和 JSR 包管理器)發展停滯或缺乏創新。作者表達了對 Deno 發展方向的失望,並轉向關注 Bun 這樣的替代方案。
+ 「我一直對 Deno 的概念很感興趣,但如果連基本的區域覆蓋都做不好,那它的未來真的堪憂。」
+ 「這篇文章點出了 Deno 一直以來存在的問題,過於雄心勃勃但缺乏實際的技術支持,讓人們感到失望。」
#科技評論 #Deno #Web開發

dbushell.comDeno’s Decline (6 Regions and Falling)
More from David Bushell 🙊

Hello @hongminhee

since multiple hours I was sleepless cause I wondered about how to store anything ActivityPub in #deno #kv

I think, I will finish this crazy code somewhen in the next days :) Would you be interested in such a thing?

If:
Tried to solve the following fully ActivityPub conformant, meaning e.g.
- multiple actors can do an action on multiple objects and it needs to be fully versioned cause Undo or Undo/Undo …
- so anything is RFC 6902 <-> kv where anything is ulid and the "version" for the object is the ulid of an Update/Undo etc.
- JSON Patch acknowledges the limits (e.g. size of kv values), any property is stored versioned
- strongly avoiding duplicates;
the "text properties" like contentMap are stored as cid and similar beneath each other by a numeric nilsimsa hash (though /me bad at math)
- we can query all relationships and
- additionally "where", "when", "what" questions are answered by geohash, ulid ranges or a specific hierarchic hash of as:- and our subtypes

deno-ast has a tagged version that don't compile, which is used by rustyscript in one of it's default features.

How the fuck do you let this happen ???

I don't necessarily blame rustyscript here since it merely use deno and it's easy to let this kind of bug slide into your project...

But deno? Hello ? Why are you tagging code that don't compile ???