Isomorphic JS/TS Functions Orchestrator
https://github.com/damianofalcioni/js-functions-orchestrator
#HackerNews #Isomorphic #JS/TS #Functions #Orchestrator #open-source #JavaScript #TypeScript #functions
#Tag
Isomorphic JS/TS Functions Orchestrator
https://github.com/damianofalcioni/js-functions-orchestrator
#HackerNews #Isomorphic #JS/TS #Functions #Orchestrator #open-source #JavaScript #TypeScript #functions
The #JS utility you never knew you needed 😂
Create multiple Symbols in one go with this Proxy-based one liner.
“But aren’t proxies super slow?”
Nah. Depending on the browser it ranges from 50% slower to exactly the same. 
Which unless you’re creating millions of symbols, is inconsequential.
In today’s episode of Useless Info I just learned about #JS:
Turns out you cannot subclass Proxy (because it has no prototype).
Nice try Lea 🥲
(Yes, I know that for this particular use case you can have a regular constructor return a Proxy)
#JS folks, what have you needed JS class mixins/traits for?
Especially interested in use cases outside of Web Components (I already have plenty around WC)
🥊 React vs Backbone in 2025
「 The Backbone code is brutally honest about what it's doing. An event fires, a handler runs, you build some HTML, you put it in the DOM. It's verbose, sure, but there's no mystery. A junior developer can trace exactly what happens and when. The mental model is straightforward: "when this happens, do this."
The React code hides a lot 」
🥊 React vs Backbone in 2025
「 The Backbone code is brutally honest about what it's doing. An event fires, a handler runs, you build some HTML, you put it in the DOM. It's verbose, sure, but there's no mystery. A junior developer can trace exactly what happens and when. The mental model is straightforward: "when this happens, do this."
The React code hides a lot 」
»Math.random() is not so random — The Illusion of Randomness in JavaScript:
Don’t Trust Math.random() - Uncovering the Hidden Predictability of Random Numbers.«
In some applications random numbers are very useful but not unique and therefore you should consider where to use it. In this regard, there are for example, UUID v4 or Nano ID and the same.
🧑💻 https://vinitshahdeo.substack.com/p/mathrandom-is-not-so-random-the-illusion
#javascript #random #illusion #coding #js #code #nanoid #notunique #unique #dev #webdev #math #donttrust #uuid #uuidv4
@xenodium @stebalien casual-timezone uses the local zoneinfo DB which provides a local-first solution, avoiding a network call. The downside is that the zoneinfo DB only has a subset of all cities. The plus side is that zoneinfo DB updates are picked up for free by casual-timezone.
Question … 
For our fedi software I did a "splitting parer" and am unsure about the dates portion https://gist.github.com/sebilasse/77ab52bb4ad82a9665f910a174c6ad90 
When I write 
"Bin morgen um zwanzig vor eins in Sydney" and pare it in 'de-DE' 
[same like "Am tomorrow at twenty to one in Sydney" in 'en'] and spits it into an array 
"Bin" and an ActivityPub Event for the rest with the time in Sydney (or whererever).
While all dates are stored in UTC internally it converts it with JS Intl to Sydney time.
But whats happens when a time-shift occurs within the difference to UTC, do I have to check reverse anytime ?
Any ideas?
@kickingvegas @xenodium @stebalien
just btw, 
in  #JS I am using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl which also „provides a local-first solution, avoiding a network call“, just described in this thread 😊 https://digitalcourage.social/@sl007/115417827119273505
I mean, also just a subset whi I extended a bit by always being able to parse countries, all capitals and most populated (which are missing as Olson Indentifier). 
Serverside it is very healthy that most countries only have 1 timezone. so any city within has it (just 2 gets)
Who funds the Bun JS runtime? #JS Does anyone know what their long-term plans are to fund the development?
I watched yesterday the demo of Remix 3 #JS and couldn’t stop thinking about the cost of reinventing everything from the ground up. For example being incompatible with ecosystems of HTTP middlewares or existing component kits.
So you end up with the cost of not using the web APIs and depending on abstractions whose authors
have a record of constantly breaking, and the cost of not having an ecosystem that you can build upon.
「 It is almost a crime that JS as understood by the browser is this beautiful language with extreme retrocompatibility, while JS as understood and used by the current tooling and workflows is this mess moving at lightspeed 」
https://andregarzia.com/2025/03/why-i-choose-lua-for-this-blog.html
Tried to watch that Vite documentary, I'm so glad that I got out in time from that entire ecosystem.
These mfs act like they just created a room-temperature superconductor, impossible to take any of them seriously.
They keep "reinventing" webdev but it's worse than before.
#Lua disappoints me. Like, what’s the use in metatables if I can’t even attach one to a number or a function? Asking because I want to implement my functional threading operator in Lua (by redefinition __shr/>> operator), and it just... doesn’t come together?
You can attach stuff to numbers and functions in #JavaScript, which is much better (my operator is not implementable in #JS, but that’s for a different reason.) You can attach metadata (including functions) to ANYTHING in #Clojure. But not in Lua, apparently. Sigh.
#Lua disappoints me. Like, what’s the use in metatables if I can’t even attach one to a number or a function? Asking because I want to implement my functional threading operator in Lua (by redefinition __shr/>> operator), and it just... doesn’t come together?
You can attach stuff to numbers and functions in #JavaScript, which is much better (my operator is not implementable in #JS, but that’s for a different reason.) You can attach metadata (including functions) to ANYTHING in #Clojure. But not in Lua, apparently. Sigh.
Ok people, I want to make a  #gui #desktop application. It's a somewhat simple lan messenger app, something like the famous "lan messenger", but updated.
I've never created native gui applications, so I want you to tell me based on your real experience that what tools I should use.
My requirements:
1. It should be cheap to create and maintain (not too much complexity, or time consuming gymnastics and the platform and tools must be stable and not need constant babysitting)
2. It should have acceptable performance
3. It must take small Ram,cpu resources. As far as it's not annoying and hogging resources it will be ok (~300mb of ram is my max acceptable ram usage for this application)
My skills:
1. #JS / #TS
2. #Python
3. #Clojure
4. #C (not too good with it)
5. #Rust
My main issue with C and even more, rust, is the complexity and effort curve that they introduce.
I personally dislike python but if it has good native gui support I will use it.
I have most bias towards Clojure for this. it seems like a middle.
everyone calm down, the enormous #NPM supply chain attack of the incredibly popular (27,000 #github stars) #nx#AI build tool thingamajig is probably aimed solely at crypto bros. if you don't have any crypto you (hopefully) don't have anything to worry about.
my fact free, completely unsupported by evidence hunch is that we will find this came from #NorthKorea (because if it's a well orchestrated attempt to steal a bunch of crypto it's pretty much always north korea).
https://universeodon.com/@cryptadamist/115102035321832152
#crypto #cryptocurrency #ethereum #npm #nodejs #node #js#javascript#webdev#DPRK#LazarusGroup #cybersecurity #infosec #threatintel #claude #gemini
everyone calm down, the enormous #NPM supply chain attack of the incredibly popular (27,000 #github stars) #nx#AI build tool thingamajig is probably aimed solely at crypto bros. if you don't have any crypto you (hopefully) don't have anything to worry about.
my fact free, completely unsupported by evidence hunch is that we will find this came from #NorthKorea (because if it's a well orchestrated attempt to steal a bunch of crypto it's pretty much always north korea).
https://universeodon.com/@cryptadamist/115102035321832152
#crypto #cryptocurrency #ethereum #npm #nodejs #node #js#javascript#webdev#DPRK#LazarusGroup #cybersecurity #infosec #threatintel #claude #gemini
I like this quote. There is so much meaning in it.
“People are getting sick of frameworks. All the JavaScript frameworks are so… what do you call it, like [un]wieldy. It takes so much work to just maintain this code, and then it updates to a new version, you need to change everything. PHP just stays the same and works.”
https://thenewstack.io/developers-rail-against-javascript-merchants-of-complexity/
A space for Bonfire maintainers and contributors to communicate