#Node
Hollo
#Hollo is currently testing #Node.js instead of #Bun. (In fact, the hollo.social server is already running on Node.js!) If this test is successful, starting with the next release, Hollo will be powered by Node.js instead of Bun.
The main reason for switching to Node.js is to optimize memory usage. As you can see in the graph image below, Node.js uses significantly less memory than Bun. With this switch, Hollo is expected to be even more lightweight than before!
Are you interested in trying out the Node.js version of Hollo early? Try to pull ghcr.io/dahlia/hollo:0.4.0-dev.290
!
Deno
Deno
Deno can now finally be installed through npm!
npm install -g deno
npx deno eval -p 1+2
Deno
Interested in contributing to Deno?
Check out Divy's talk on Deno internals and op2: https://www.youtube.com/watch?v=vINOqgn_ik8
Deno
Easily check for outdated dependencies with `deno outdated` 👇️
Deno
this wren wants to remind you that Deno permission flags have shorthands
⚯ Michel de Cryptadamus ⚯
Ω⚙️Ω
New features for #FediAlgo, the customizable #algorithm for your Mastodon timeline:
🪓 Live filtering based on #hashtag (inclusive and exclusive)
#️⃣ Seed your timeline with toots from anywhere in the Fediverse that contain trending tags (#SouthKorea and #UnitedHealth have been big lately)
🔥 Icons to inform you whether a toot is from an account you follow, a hashtag you follow, or is trending (and if so, why it's trending)
⚖️ Weight based on retoots, replies, age, etc.
国 Filter on language
I kind of find it hard to look at Mastodon without it at this point. The installable demo can be found here: https://github.com/michelcrypt4d4mus/fedialgo_demo_app_foryoufeed
Also available as a NodeJS package built on #Masto.
Here's a video of the demo app:
#FediTools #FediTips #Fediverse #Mastodon #activitypub #mastohelp #Fedi #foss #nodejs #opensource #MastoAdmin #SocialWeb #Feed #timeline #algorithmicFeed #node
Deno
Did you know you can host your Next.js app on Deno Deploy in just a few steps? Here's how👇️
洪 民憙 (Hong Minhee)
@[email protected] · Reply to 洪 民憙 (Hong Minhee)'s post
Deno
It's done. Now it’s your turn, Oracle.
We’ve submitted a formal petition to cancel the JavaScript trademark: it is generic, Oracle has abandoned it, and Oracle committed fraud on the USPTO during the last trademark renewal.
Oracle has until January 4th to respond, or the case will go into default, which will result in the trademark being canceled.
It's time to #FreeJavaScript.
⚯ Michel de Cryptadamus ⚯
Ω⚠️🐘⚠️Ω
I did some hacking at @pkreissel's implementation of a customizable algorithm for your Mastodon feed. I fixed some bugs and added a few features but maybe most importantly I streamlined the process of installing and running the demo app so you can experience the magic of his invention reshaping your Mastodon timeline for yourself with ease.
Seriously everything about having an algorithm adjust my feed to make sure I see stuff I might otherwise have missed has made my Mastodon experience like 1,000x better. The fact that it's (extremely) granularly customizable is the icing on the cake.
Setup should be trivial for anyone vaguely familiar with the command line. Even if you're scared of the command line you should be able to copy/paste the 3 commands listed in the installation instructions, all of which are in the GitHub repo:
https://github.com/michelcrypt4d4mus/fedialgo_demo_app_foryoufeed
#Fediverse #feditips #Mastodon #FOSS #opensource #nodejs #node #Feditools #activitypub #mastohelp #algorithm #Fedi #socialmedia
Deno
Deno 2.1 is out 🎉️
✈️️ first class Wasm support
🌳️ Long Term Support branch
⭐️ Improved dependency management
and much more!
#deno #node #javascript #nodejs #typescript #webdev #npm #wasm
洪 民憙 (Hong Minhee)
@[email protected] · Reply to 洪 民憙 (Hong Minhee)'s post
Okay. While #Sentry SDK for #Node.js supports #OpenTelemetry integration, Sentry SDK for #Deno does not.
洪 民憙 (Hong Minhee)
Does anyone have experience integrating Spans measured using the #OpenTelemetry API with #Sentry in #Node.js or #Deno?
According to the docs in the Sentry SDK, OpenTelemetry integration is out of the box and doesn't require any configuration, but Spans instrumented using the OpenTelemetry API are ignored. Spans made with the Sentry API are working fine.
https://docs.sentry.io/platforms/javascript/guides/node/opentelemetry/
Deno
Deno
Deno is a JavaScript package manager with more flexibility:
📦️ npm and JSR
🛠️️ package.json and deno.json
👟️ fast
Deno
Want to modernize legacy JavaScript?
One way is to convert CommonJS code to ESM 👇️
Deno
4 years after Deno 1.0, the next generation of JavaScript is ready for production at scale.
Deno 2 is out today
🐢 Fully backwards compatible with Node and npm
📦 Package management and node_modules and package.json
📅 Long term support
Deno
Deno 2 is not yet released, but we've made many️ updates to the release candidate 👇️
Deno
The 🦕️ is out of the bag...
洪 民憙 (Hong Minhee)
If you've been avoiding #JavaScript & #TypeScript due to the complexity of the #Node.js ecosystem, give #Deno a try. Everything is simplified and you can start coding right away without having to set up a development environment.
Deno
Deno 2 Release Candidate has dropped:
‣ Add `process` global variable, remove `window`
‣ Improve dep management
‣ Permission system updates
‣ Many stabilizations
‣ Better CommonJS support
‣ Test documentation with `deno test --doc`
Fedify: an ActivityPub server framework
#Fedify started out exclusively for #Deno, but now also supports #Node.js and #Bun. However, the #logo we created in the early days still features the character from Deno. Should Fedify change its logo now?
Option | Voters |
---|---|
Yes, because it's misleading. | 5 (28%) |
A logo is a logo, no need to change it. | 13 (72%) |
洪 民憙 (Hong Minhee)
洪 民憙 (Hong Minhee)
Deno
Curious about how the JSR logo and website design came together? 🤔️
Here's a 👀️ into our design process.
https://deno.com/blog/designing-jsr
#deno #node #javascript #typescript #webdevelopment #npm #jsr
Fedify: an ActivityPub server framework
Fedifyは、TypeScriptとJavaScriptで書かれたActivityPubサーバーフレームワークです。分散型のソーシャルネットワークを構築するためのサーバーアプリケーションを作る際の複雑さと冗長なコードを排除し、ビジネスロジックとユーザー体験の開発に集中できるようにすることを目指しています。
現在提供している主な機能は以下の通りです:
- Activity Vocabularyのための型安全なオブジェクト(一部のベンダー固有の拡張機能を含む)
- WebFingerクライアントとサーバー
- HTTP SignaturesとObject Integrity Proofs
- ウェブフックを処理するためのミドルウェア
- NodeInfoプロトコル
- Node.js、Deno、Bunのサポート
- テストとデバッグのためのCLIツールチェーン
興味がある方は、Fedifyのウェブサイトをご覧ください!包括的なドキュメント、デモ、チュートリアル、サンプルコードなどが用意されています:
#Fedify #TypeScript #JavaScript #ActivityPub #NodeInfo #Node #Deno #Bun #fedidev
^Kur0den\d{4}$
生成AIを信用しすぎてハルシネーションに引っかかった話 #Node.js
https://qiita.com/suzuyu0115/items/d6137ac2894d9b0d5385
洪 民憙 (Hong Minhee)
Version 0.5.0 of #LogTape, the zero-dependency #logging library for #Deno, #Node.js, #Bun, edge functions, and browsers, has been released! The main additions include:
• Contexts
• ANSI color formatter
• Comprehensive docs
• A few API conveniences
LogTape v0.5.0 is available from JSR and npm:
• JSR: https://jsr.io/@logtape/[email protected]
• npm: https://www.npmjs.com/package/@logtape/logtape/v/0.5.0
In addition, a new website with documentation has been launched, so please check it out!
洪 民憙 (Hong Minhee)
@[email protected] · Reply to Pablo Berganza (he/him)'s post
Deno
Hosting on Deno Deploy just got more performant with beta Web Cache API support:
🚀 sub-millisecond read latency
🚅 multi Gbps write throughput
💾 unbounded storage
https://deno.com/blog/deploy-cache-api
#deno #node #javascript #typescript #webdevelopment #serverless
Deno
Deno 1.46 is not only the last 1.x release, but also one of the biggest:
- Simpler CLI
- Multi-threaded web servers
- HTML, CSS, YAML support in `deno fmt`
- Better Node/npm compat (support for playwright, google-cloud, etc.)
and much more 👇️
Christophe
I found a cool web tool to reduce images file size, its called #Squoosh ✨
It works well and makes it easy to compare images, plus its #OpenSource (and free) !
Fedify: an ActivityPub server framework
洪 民憙 (Hong Minhee)
この記事を読むと、自分もHolloでBunの代わりにNode.jsを使うべきなのかなーと。
洪 民憙 (Hong Minhee)
#LogTape is a logging library for #JavaScript and #TypeScript. It provides a simple and flexible logging system that is easy to use and easy to extend. The highlights of LogTape are:
• Zero dependencies
• Designed to be used in libraries as well as apps
• Supports virtually every runtime: #Node.js, #Deno, #Bun, edge functions, and browsers
• Structured logging
• Logger categories (names) are hierarchical
• Dead simple sink (destination) interface
洪 民憙 (Hong Minhee)
I'm unsure whether to adopt an emerging JavaScript runtime like #Bun or #Deno for #Fedify's tutorial, or stick with traditional #Node.js. 🤔
If I choose Bun/Deno, it comes with built-in #TypeScript support, hot reloading, and a fetch-style HTTP server, so I don't have to explain much about it, but I need to deal with installing Bun/Deno itself.
On the other hand, Node.js can be assumed to be already installed on the reader's system, but they will need to set up TypeScript, hot reloading, etc.
Option | Voters |
---|---|
Bun | 0 (0%) |
Deno | 0 (0%) |
Node.js | 0 (0%) |
洪 民憙 (Hong Minhee)
I wish the #Temporal API would be built into #Node.js and #Bun as well.
kirch
I am a human, I can sign something for you from https://keybase.io/jkirchartz if you'd like
Here is a list of my interests, in no particular order.
#art #history #retro #music #pocketmusic #gameboy #android #chiptunes #bots #ML #AI #guitar #mandolin #busking #streetphotography #streetart #stickerart #magic #webdesign #webdevelopment #uspolitics #dsa #zen #scifi #php #bash #python #javascript #node #automation #discordia #education
Deno
Deno is known for its HTTP imports, but we've found it's insufficient for larger projects. This post explains the situation and how we've improved it.
Deno
std/data-structures, common data structures including red-black trees and binary heaps, is now stabilized at v1 on JSR
wraptile
#Deno and #Bun people are putting an incredible amount of work modernizing server side js.
The energy is reminding me of early day #Python - so many new tools made with proper care behind rather than most of NodeJS ecosystem which is just glued together with band-aids and staples :blobcatgrimacing:
That being said, after working with Deno for the past week it still feels a bit too bleeding edge though it does work with #jupyter!
Kidsan
I find myself in that uncomfortable situation like many others who work in tech lately, and will be looking at a layoff in the next few months. If anyone is aware of cool jobs in Germany, probably remote-first, working with #Go (or even #rustlang #python #node ) please reach out. I have ~9 years of backend experience and consider myself someone who gets shit done. #fedihire
Deno
🚀 Deno 1.45 is released!
‣ Workspace and monorepo support
‣ Node.js compat improvements
‣ Updates to deno install
‣ deno init --lib
‣ deno vendor deprecation
‣ Standard Library stabilization
‣ V8 12.7 and TypeScript 5.5
Release notes: https://deno.com/blog/v1.45
Cube Drone
An #introduction.
I'm a backend #node developer in #vancouver, I've been running #vrchat 's backend (badly) since about 2016 (when it was just me). Now it's loads more people!
Most of what I post is not serious or thoughtful. I like my #bengal #cat, I used to make #comics (I'm an extremely mediocre artist) and now perform micro-acts of forgettable #gamedev when I get the chance. I like #boardgames and #alcohol and #coffee and #cooking and #restaurants.
洪 民憙 (Hong Minhee) 🤏🏼
#LogTape is a logging library for #JavaScript and #TypeScript. It provides a simple and flexible logging system that is easy to use and easy to extend. The highlights of LogTape are:
• Zero dependencies
• Designed to be used in libraries as well as apps
• Supports virtually every runtime: #Node.js, #Deno, #Bun, edge functions, and browsers
• Structured logging
• Logger categories (names) are hierarchical
• Dead simple sink (destination) interface
洪 民憙 (Hong Minhee)
洪 民憙 (Hong Minhee) 🤏🏼
#Fedify is an #ActivityPub server framework in #TypeScript & #JavaScript. It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.
The key features it provides currently are:
• Type-safe objects for Activity Vocabulary (including some vendor-specific extensions)
• #WebFinger client and server
• HTTP Signatures
• Middleware for handling webhooks
• #NodeInfo protocol
• #Node.js, #Deno, and #Bun support
• CLI toolchain for testing and debugging
If you're curious, take a look at the Fedify website! There's comprehensive docs, a demo, a tutorial, example code, and more:
Fedify: an ActivityPub server framework
#Fedify has supported optional queuing for outgoing activities, with two built-in message queue backends: InProcessMessageQueue
, which is suitable for development, and DenoKvMessageQueue
, which is only available in Deno.
Fedify has also had two built-in cache backends, MemoryKvStore
, which is suitable for development, and DenoKvStore
, which is only available in Deno.
Now, however, by installing the @fedify/redis package, you can use #Redis as both a message queue backend and a cache backend! Unlike DenoKvMessageQueue
and DenoKvStore
, it's also available for #Node.js and #Bun.
This feature was made possible with the support of @ghost.
Fedify: an ActivityPub server framework
Fedify is an #ActivityPub server framework in #TypeScript & #JavaScript. It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.
The key features it provides currently are:
- Type-safe objects for Activity Vocabulary (including some vendor-specific extensions)
- #WebFinger client and server
- HTTP Signatures & Linked Data Signatures & Object Integrity Proofs
- Middleware for handling webhooks
- #NodeInfo protocol
- #Node.js, #Deno, and #Bun support
- CLI toolchain for testing and debugging
If you're curious, take a look at the #Fedify website! There's comprehensive docs, a demo, a tutorial, example code, and more: