drsensor

@drsensor@fosstodon.org

I'm here looking for Internet Friends to geek out 🤗

I'm just #Nix / #Linux user that wear many hats: #webdev, #gamedev, low-level programming, #firmware & #electricalengineering, #CLI & #TUI enthusiast, etc

most (toots) PL: #javascript #rust

Not sure if I'm available for hire but if you found my PR in your project or one of my OSS has strong connection with what you're doing then feel free to contact me.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

drsensor, to rust

I hate 😂
How do I write the type annotation for this return type?

nosherwan, (edited ) to javascript
@nosherwan@fosstodon.org avatar

:nodejs: :javascript: :typescript:

State of JS Runtime

I suggest we have a new survey similar to state of JS called state of JS runtime, to get an idea of which runtimes are most popular in the industry & what are they being used for. (its merely a question in StateOfJS)

#js
#ts
#runtime
#javascript
#deno
#bun

🙋🏽‍♀️
Which runtime do you use & for what purpose?

drsensor,

@nosherwan bun for quick scripting & local/internal server
deno for serious development (when possible)
nodejs or CF worker for production

drsensor, to rust

Ugh, is there a way to mute the warning in cargo check?

drsensor, to webdev
drsensor, to python

Eventually all professional desktop software (e.g blender, kicad, freecad, ...) will use as the main language for writing a plugin.

Yes, that python. Not java____pt.

drsensor,

@deshipu which software?

drsensor,

@deshipu which professional desktop software (especially FOSS and not a game engine) that use Lua as the main language for scripting or writing a plugin?

drsensor, to random

I think I should reorganize my digital garden, cherry-pick them, then write some blog post in djotdown (markdown like syntax)

Djot syntax reference
https://htmlpreview.github.io/?https://github.com/jgm/djot/blob/master/doc/syntax.html

jotdown CLI
https://github.com/hellux/jotdown
(much leaner than pandoc 😍)

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

After over a year of using Mastodon almost exclusively for social media—it’s still a shock to go back to visit an algorithmically-driven social network.

Scrolling and reading on other sites feels like eating a candy bar while drinking a soda—the candy bar has very little flavor—your taste buds are already overloaded by sugar.

And yet sugar is the algorithmically incentivized form of content, so sugary posts are the only ones that get traction.

drsensor,

@zachleat If you didn't keep scrolling the algorithm can't give you recommendation due to lack of data.
But if you keep scrolling the algorithm will give you crypto bros 🏌️

drsensor, to webdev


I wish there is <input type=date-range> 😓
Having to paste this every little time I wrote an internal tool is annoying

janriemer, to rust

Weeeeeeeee :awesome:

Only 1 day until the next release 1.74! 🎡 :ferris:

https://www.whatrustisit.com/

One thing that stands out to me is a feature called "impl_trait_projections", which "allows us to mention Self and T::Assoc in async fn and return-position impl Trait":

https://github.com/rust-lang/rust/pull/115659

Nice QoL improvement and stabilization! 👍

See what else will be in the new release:
https://releases.rs/docs/1.74.0/

drsensor,

@janriemer
me: still waiting for(async |_| {closure}) 🍿

drsensor, to programming

I've been living under the illusion that my files are type checked because checkJs is true in my tsconfig.json

Guess what, favor deno.json so my tsconfig.json doesn't mean anything.

So in the past month I'm code like DHH 😅

(at least the auto completion for DOM API still works)

drsensor,

@schizanon dunno.
It's miracle that my brain still intact

deno_land, to node
@deno_land@fosstodon.org avatar

using modern JS, TS, and npm in jupyter notebooks

👇

drsensor,

@deno_land Rendering JSX in Jupyter Notebook sounds fun

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

A very unscientific poll about light and dark modes on web sites:

drsensor,

@zachleat can we just switch back to win98 grayscale with their super snappy skeuomorphism? (but with bigger font)

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

it’s alive—phase 1 of n: @eleventy consuming ESM data files.

drsensor,

@zachleat @eleventy Yay!! Is it part of the grand plan to fully migrate from CJS to ESM?

deno_land, to node
@deno_land@fosstodon.org avatar

A Next.js app requires dozens of config files — next.config.js, eslintrc.json, tsconfig.json, package.json, postcss.config.js, tailwind.config.js, and more.

How did we get here? How do we avoid it?

#deno #node #nextjs

https://deno.com/blog/node-config-hell/

drsensor,

@deno_land default config is a myth.
What we need is inline config (e.g //@jsx meow) and XDG_CONFIG_HOME=.config/

drsensor, to webdev


Seems like it's impossible for web browser to POST multipart/mixed (or at least multipart/form-data) where each part is Content-Type: application/http where the body content is in http2 or http3 encoding. I can't find Web API that can do this 🤔

Explainer: https://www.mscharhag.com/api-design/bulk-and-batch-operations

Product who use this approach: https://cloud.google.com/storage/docs/batch#example

apps, (edited ) to random
@apps@toot.fedilab.app avatar

Would you like to have Markdown support with #Fedilab ?

drsensor,

I wonder if there is a spec for MicroBlogging flavored Markdown 🤔

dale_price, to javascript
@dale_price@mastodon.online avatar

was a mistake. Allowing any form of scripting on web pages was a mistake.

(gumroad, a professionally developed, highly funded, commercial platform, just starts doing this on its own after you scroll down the page a little bit, no other user input required)

(nausea/motion sickness warning for the video!)

a screen recording of a gumroad page scrolling itself up and down repeatedly, several times a second

drsensor,

@dale_price Is it browser specific?

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

What’s wrong with my cat? Please advise

drsensor,

@fasterthanlime fed him when they do their business

drsensor, to random

When someone said Arc Browser is revolutionary, my reply:
NO!? This is what I call true revolution
https://github.com/fathyb/carbonyl

drsensor,

@benjaminhollon Yup. It also mentioned in Carbonyl readme

neil, to internet

I appreciate that this is going to upset some people, and I thought I was too shy to say it, but I prefer #BlueSky over #Mastodon:

Here's why:

https://neilzone.co.uk/bluesky_over_mastodon.html

drsensor,

@neil amazing writings! it goes deep dive into the technical details that they don't cover in their official docs

sirber, to random
@sirber@fosstodon.org avatar

Windows 11 will generate lots of second hand Linux PCs.

drsensor,

@sirber @nosherwan what is mac? is it yummy? 😋

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