Searching txt.sour.is

Twts matching #javascript
Sort by: Newest, Oldest, Most Relevant

Gemini capsule
Gemini is a lightweight Internet
protocol. It’s heavier than Gopher but a bit lighter than HTTP(S).
It’s the Gemini programme if Gopher is Mercury and HTTP is Atlas.

One of its uses is to serve gemtext, which is a lightweight
Markdown-like markup language, instead of HTML. Gemini browsers don’t
have support for neither Javascript, nor CSS, nor any of the other new
web technologies. It can be beautiful anyway, see for instance
[Lagrange]( [http … ⌘ Read more

⤋ Read More

web0?
With all the hype (or bullshit) about “web3”, it’s good to see a counter movement as well. Whether this site is really “web0” or just pre-“Web 2++” (my term for websites overloaded with frameworks, JavaScript and CSS) remains to be debated… ⌘ Read more

⤋ Read More

** Olophont.js **
In Lord of the Rings there are creatures that look like giant elephants. JRR Tolkien named these creatures“olophonts…” simply replacing every vowel in the word elephant with an o. Here is a javascript function to do the same thing.

 javascript
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">olophont</span>(<span class="hljs-params">string</span>) </span>{
  <span class="hljs-keyword">let</span> replaceVowels = <span class="hljs-string">""</span> ... ⌘ [Read more](https://eli.li/2021/12/20/olophont-js)

⤋ Read More

http benchmarking 工具”go-wrk”支持 javascript 脚本了
wrk 是一个比较出名的 http benchmarking 工具,它支持用 Lua 脚本编写任务。

go-wrk 是原作者在早年开发的仿 wrk 的工具,但不支持脚本。没有脚本的话在测试稍复杂的业务时就力不从心。

现在我给加上了 JavaScript 的支持,用的 js 引擎是 Goja. 欢迎大家体验测试提 issue, 有时间的话我会继续改进。详见: [ … ⌘ Read more

⤋ Read More

@fastidious@arrakis.netbros.com the things Gemini has going for it are mutual TLS and lack of JavaScript. Which makes for a secure albeit boring experience (much like gopher). The fake markdown is a bit of a drag.

A render mode for Gemini probably wouldnt be too hard. There are markdown to Gemini libs out there.

With Web3 the whole trust a 3rd party browser ext + high fees + env impact for compute and storage are serious no gos for me.. I have heard one too many horror stories about clicking the wrong link and some script draining your metamask wallet.

⤋ Read More

@fastidious@arrakis.netbros.com the things Gemini has going for it are mutual TLS and lack of JavaScript. Which makes for a secure albeit boring experience (much like gopher). The fake markdown is a bit of a drag.

A render mode for Gemini probably wouldnt be too hard. There are markdown to Gemini libs out there.

With Web3 the whole trust a 3rd party browser ext + high fees + env impact for compute and storage are serious no gos for me.. I have heard one too many horror stories about clicking the wrong link and some script draining your metamask wallet.

⤋ Read More
In-reply-to » Use C do crime! https://cdn.masto.host/pdxsocial/media_attachments/files/107/294/565/215/390/680/original/1d29c85c0aa4c9a5.png

JavaScript : web apps

wut?! 😳 seriously?! 🤦‍♂️

Python : small tools

Okay 👌

Go: micro services

Umm bad generalization 🤣 – Example yarnd that powers most of Yarn.social 😂

Java: enterprise software

Yes! Oh gawd yes! 🤣 And Java™ needs to die a swift death!

C: crimes

Hmmm? 🤔 I feel this one is going to have some backslash and/or go the way of “Hacker” being misconstrued to mean entirely different/incorrect things as is what’s happening in the media (for various definitions of “media”).

⤋ Read More

If your website is not static, it is not a website: it is an application, & should be distributed as an executable. If your website contains javascript, it is not a website: it is an application & should be distributed as an executable.

⤋ Read More

If it doesn’t work properly with javascript turned off, it’s not really a website. If it doesn’t work properly with css turned off, it’s not really a website. If it doesn’t work properly in a text-only environment, it’s not really a website.

⤋ Read More

Underrun – Making Of
I participated in this year’s js13kGames, a JavaScript game development competition with a file size limit of 13kb, including code, assets and everything else. My entry was Underrun, a twin stick shooter using WebGL.

Image

Play Underrun – A WebGL shooter in 13kb of JavaScript

For this competition I set out to produce something with a dense atmosphere – which is inherently difficult to do with so little … ⌘ Read more

⤋ Read More

Javascript is a just-OK language saddled with the world’s worst graphics toolkit: three distinct languages, each with specs so large that nobody has written a new implementation in 20 years, for live-editing a rich tech document to make it resemble a canvas, in ways that are not portable between the 3 implementations or minor revisions of the same implementation.

⤋ Read More

Decode It Like It’s 1999
A few years ago I started to work on an MPEG1 Video decoder, completely written in JavaScript. Now, I finally found the time to clean up the library, improve its performance, make it more error resilient and modular and add an MP2 Audio decoder and MPEG-TS demuxer. This makes this library not just an MPEG decoder, but a full video player.

In this blog post I want to talk a bit about the challenges and various interesting
bits I discovered during the development of this library. You’ll … ⌘ Read more

⤋ Read More