mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.9K
active users

#javascript

80 posts68 participants0 posts today
Replied in thread
Se nem o site deles, que já é uma arapuca, deixam usar na tornozeleira 📵 então, o aplicativo só pode ser "TRApp" dos brabos (conceito de @lxo@snac.lx.oliva.nom.br) e só nos resta fugir desse fornecedor mesmo!

É triste constatar que a gente só descobre essas coisas passando a usar a extensão #NoScript ou algo parecido, para desabilitar #JavaScript por padrão e poder escolher quais domínios e a partir de quais outros permitirá carregar e executar na sua máquina o código remoto. Dá bastante trabalho porque 99% da #Web atual lamentavelmente não se importa com o problema e parte considerável dela abusa desse poder. Porém, o esforço extra parece muito necessário para, no mínimo, termos a ciência desses possíveis abusos e quanto precisamos abrir mão de nossa privacidade, às vezes da segurança e muitas vezes da liberdade para conseguirmos usar a maioria dos sites.

CC: @juliano@bahia.no
www.fsfla.org::[FSFLA]:: A Armadilha dos TRApps: Serviços e Usuários TRAppturados em Apps Rodando em Teletelas
Não basta ter que aceitar executar #JavaScript privativo "simples": você mal consegue abrir a página sem tentarem rodar #WebGL na sua máquina sabe-se lá com que propósito? 🚫 Não, obrigado, vou tentar comprar o sacão de ração pros bichanos nos concorrentes que não chegam a tanto. 💸

Normalmente, é com WebGL que conseguem extrair dados infalíveis de identificação da sua máquina. No mínimo, deve ser essa a ideia, e o #Librewolf até consegue simular alguns dados para evitar a exposição, mas, assim, não dá pra confiar nesse site se já parte pra esse lado: como dizem mais ou menos assim (com eufemismo aqui), mal cumprimentou e já quer me levar pra cama? Nem os bancos que tenho usado são tão abusados! É :ciladaBino: !

#NoScript #Privacidade #InfoSec #Shopee

How to fix slow code:
➡️ Avoid logging everything in production: it eats resources and slows execution.
➡️ Loops matter: use optimized methods like list comprehensions in Python for speed.
➡️ Be mindful of hardware quirks like cache misses and memory fragmentation.
➡️ Understand how database queries and copy-paste operations can impact efficiency.

freecodecamp.org/news/why-your

freeCodeCamp.org · Why Your Code is Slow: Common Performance Mistakes Beginners MakeMaybe you’ve experienced something like this before: you’ve written code that works, but when you hit “run,” it takes forever. You stare at the spinner, wondering if it’s faster to just solve the problem by hand. But you end up looking something like...

About a week away from #jsday in Bologna - I’m stoked to be heading back to Italy. Will probably be my 6th time going to this conf but I’m happy they moved it otherwise I might not have gone again. Verona was epic but I was starting to feel like I knew the place like the back of my hand.

Anyone heading there for the first time?
#javascript #conference

Introducing `command` and `commandfor` - "Buttons can now perform actions on other elements declaratively. The browser handles the logic and accessibility for you. There's no need to manage `aria-expanded` or add any additional #JavaScript." developer.chrome.com/blog/comm

Chrome for DevelopersIntroducing command and commandfor  |  Blog  |  Chrome for DevelopersLearn about the new capabilities for declarative behavior on buttons.

I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.

I am a #Canadian, fluent in both #English and #French. I have experience with several programming languages. My strongest proficiency is with #Haskell and #C. I also have a reasonable grasp of #HTML, #JavaScript, #SQL, #Python, #Lua, #Linux system administration, #bash scripting, #Perl, #AWK, some #Lisp (common, scheme, and emacs), and probably several others I've forgotten to mention.

I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.

Looking for a simple way to provide a compressed archive from a web application with the requirement to create the archive in the browser, not on the server.

- JSZip: 12 (transitive) dependencies
- tar-js: 0 dependencies

While zip may be more common, the 0-dependencies is a unique selling point for me!

#javascript#zip#tar
Replied in thread

@henry Having (almost fully) switched to #NodeJS in 2012, I quickly recognized the danger of relying to _anything_ (#npm included, this one gave me a lot of pain for several times over the years).
Ended up with a monstrous monorepo. Forked (and improved) just 2 other people's repos, one abandoned and one that took months to finally get it right regarding garbage collection, but I had no time to wait.
Thereby I never got to a situation to hate a programming language because of the hype around it, but it surely got me coding a ton of #javascript.
The experience helped me a lot in JS5=>ECMAScript and ECMAScript=>TypeScript switching in the last year or so.

Separating the design-time logic from run-time logic brought me up to speed with #typescript development.
#typescript affects (almost) only the design-time; as a newbie, I treat it as an _assignment checker_.
In run-time, a #typescript program runs as #javascript. No dynamic casts.
It seems to me that my efficiency and productivity are boosted because of switching to #typescript from #javascript. It's only a couple of days, though, but I already see that because of type/assignment checking my code is better organized than before.