deno_land, to random
@deno_land@fosstodon.org avatar

Host #Deno programs anywhere and execute them via URLs

🧵

jaandrle, to Bash
@jaandrle@fosstodon.org avatar

🔥 Hot off the press! Meet bs, the build system based on executables.

https://github.com/jaandrle/bs

For the most cases, the #bash #scripts are enough. In other cases, use scripts in your preferrer language, such as #JavaScript (#nodeJS, #deno), #Python, …

#webdev

Honorable mentions: Róisín and Laban Eilers (see Acknowledgments section)

valpackett, to random

mini-project announcement!! (but finally something new)

https://codeberg.org/valpackett/argon2ian is #argon2 built as #wasm #webassembly for evergreen browsers and #deno, but like, size-optimized for real. Only 8.5 KB for the whole async (web workers powered) JS wrapper, and that's with everything inline, no external file loads at all – completely bundle-able like a normal JS module. No text encoding for the hashes though, just the raw stuff.

p.s. if anyone is interested in cronching some other library like this, you could maybe hire me for such a project :)

sirber, to typescript
@sirber@fosstodon.org avatar

#Deno compile a 20 lines main.ts file into a 76MB binary :blobfoxangrylaugh:

#typescript #javascript

deno_land, to random
@deno_land@fosstodon.org avatar

Here's why you shouldn't think of JavaScript modules as Deno-first vs. npm-first 👇

#deno

video/mp4

SusanPotter, to node
@SusanPotter@mastodon.social avatar

In case anyone else is looking to migrate as much of their developer experience off of #Node to #Deno (much better DX IME) but still need to support Node consumers of their TS/JS libraries, I put together some basic notes:

https://www.susanpotter.net/snippets/basic-deno-development-workflow-that-generates-node-artifacts/

I will try to find time to improve the mental dump note format into a better narrative that covers more edge cases over the weekend.

ptlawrence, to opensource

So, yes, I'll join in the fun.

#10ThingsILikeRightNow

  1. Our dog, Roxy, laying out on the chair with me
  2. #foss
  3. web browser vertical tabs
  4. #django
  5. researching #framework laptops
  6. #deno
  7. #rustlang
  8. physical books
  9. thunder storms
  10. quiet
deno_land, to random
@deno_land@fosstodon.org avatar

Biggest updates in #deno 1.34 👀

video/mp4

Shini92, to rust
@Shini92@mas.to avatar

I'm thinking about how I could a good for
I may orientate on existing CLIs like , or

so e.g.

hsml compile # compiles all .hsml files to .html inside current folder and recursive below  
hsml compile ./example.hsml # just compiles the given file  
hsml fmt # formats  
hsml fmt # just formats given file  
hsml parse ./example.hsml # parses the given file and std::out as json AST  

But I'm not sure if this fulfills all need or if I need to change something

deno_land, to random
@deno_land@fosstodon.org avatar

The new CsvStringifyStream API transforms the source streaming input into the stream of csv rows:

#deno

cdoremus, to random
@cdoremus@hachyderm.io avatar

Kitson Kelly, formerly of the #Deno team has created a utility library kv-toolbox for Deno KV that includes functions for persisting blobs in the KV data store:
@deno_land

https://github.com/kitsonk/kv-toolbox

deno_land, to random
@deno_land@fosstodon.org avatar

Guess what today is?

🦕🎉🎂

#deno

deno_land, to random
@deno_land@fosstodon.org avatar

#Deno KV supports pagination using cursors

cdoremus, to node
@cdoremus@hachyderm.io avatar

Luca from the team explains the difference between 'eventual' versus 'strong' consistency in Deno KV reads and writes
@lcasdev

https://twitter.com/lcasdev/status/1656395094302380034?s=20

simon, to random
@simon@simonwillison.net avatar

Wrote up an experiment in running Python code in a Pyodide sandbox via Deno https://til.simonwillison.net/deno/pyodide-sandbox

cdoremus,
@cdoremus@hachyderm.io avatar

@simon
Nice use of #Deno!

PS: Remember that hashtags are your friend on Mastodon

hywan, to rust
@hywan@fosstodon.org avatar

fastwebsockets, https://github.com/denoland/fastwebsockets.

fastwebsockets is a fast WebSocket protocol implementation.

It passes the Autobahn|TestSuite and is fuzzed with LLVM's libfuzzer.

It can be used as a raw WebSocket frame parser, or as a full-fledged WebSocket client/server.

#WebSocket #RustLang #deno #tokio #performance

sirber, to javascript
@sirber@fosstodon.org avatar

I'm gonna remake my backup app with #deno, instead of #golang. More flexibility, more #typescript.

deno_land, to node
@deno_land@fosstodon.org avatar

Deno.serve() got faster in 1.33.

As we get closer to stabilizing this API, we are also rebuilding it around Hyper 1.0, which comes with a 60% bump in request-handling throughput:

thomasreggi, to webdev

HTMX is trending again on hacker news, it's making me think more and more about the deno / typescript library I created "HTMX Components" and perhaps revisiting it with fresh eyes. I'd love feedback on the approaches in there. I think @deno_land has the potential to be the first-class server to utilize HTMX. It just makes sense to use JSX... #htmx #html #deno #javascript #typescript #webdev #server

🧑‍💻 https://github.com/reggi/htmx-components

📝 https://news.ycombinator.com/item?id=35829733

thomasreggi, to programming

Who is someone you follow on mastodon that is a programmer and posts regularly about new technologies? Looking for people to follow. #code #coder #programming #javascript #rust #nextjs #vercel #cloud #coding #webdev #zig #programmer #reactjs #react #typescript #deno #software

deno_land, to random
@deno_land@fosstodon.org avatar

New blog post: Announcing #Deno KV
We dive into the API, consistency model, performance, and use-cases of Deno KV.

https://deno.com/blog/kv

deebloo, to random

#Deno announced a new KV database. It is available within Deno itself which is pretty awesome. Up and running with no setup. https://deno.com/kv

deno_land, to random
@deno_land@fosstodon.org avatar

🚀 #Deno 1.33 is released!

We're gearing up for Deno 2 with:
📚 Built-in KV database
🔧 Flatter deno.json config
🔐 Fewer permission checks for dynamic imports
🔄 Better npm/Node compatibility
⬆️ V8 11.4

Read the release notes → https://deno.com/blog/v1.33

deno_land, to random
@deno_land@fosstodon.org avatar

Announcing #Deno KV: A Global Database for Global Apps! 🎉🌍

⚡ Read data in milliseconds, worldwide
🛠️ Zero setup and zero provisioning
🔐 ACID transactions
💡 Designed for JavaScript & TypeScript
🏗️ Built on FoundationDB and SQLite

Read more → https://deno.com/kv

thomasreggi, to random

Just got #Deno KV access ❤️ and I need help brainstorming what to build this weekend.

Thinking a lot about building a mastodon compatible api server that would allow me to have a followable "feed" for my brushwork currently using GCP api to read from a bucket.

I love the idea of using deno and KV for self-hosted / decentralized framework. The innovation is that the database is embedded in the runtime. Think wordpress but if mysql and php were even tighter.

cc @deno_land

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines