toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

234
active users

#webpack

0 posts0 participants0 posts today
Hi, I'm Evan (he/any).

TLDR: I'm a privileged white hetero-cis-male politically #left #TriratnaBuddhist #SoftwareEngineer (#IHelpPeopleGetJobs) currently in #Seattle but planning to move to #AotearoaNZ or #Australia as so as we can manage it with my wife & 3 kids

I'm politically #left (at least in United States terms). I'm a #voting nerd in that I have a favorite voting-related textbook (Collective Decisions and Voting by Nicolaus Tideman).

I think we could mostly solve #gerrymandering by making larger districts with ~5 representatives instead of just 1 and then using #SingleTransferableVote. That would strike a nice balance between local & proportional representation. For single-person positions, like presidents/governors/mayors, STV becomes #RankedChoiceVoting (aka #InstantRunoffVoting aka #AlternativeVote) which eliminates the spoiler effect and leads to more civil campaigns.

Plus, #RankedChoiceVoting eliminates the need for primaries and runoffs, which can lead to significant cost reductions.

I'm training for ordination with the #TriratnaBuddhist Order (#dhamma, #dharma, #Buddhism) and have been for many years. It's a long process, especially with other things going on. I've done some kind of #meditation (mostly #anapanasati) every day for over 3 years and more sporadically since 2006.

That said, I do take issue with some of the things the founder (Sangharakshita) did, and I'm concerned with a recent rise in sort of guru worship around. I can have gratitude for his explanation of the dharma, try to sort out the idiosyncratic bits, and still view him as a deeply flawed human being.

I write #software for http://indeed.com (job search site) (previously employed by Amazon). I've written a lot of #database-backed #webservices in #Java, but in the last few years, I've been working on #microfrontend platforms in #JavaScript & #TypeScript, primarily supporting #React. I have more knowledge about #Webpack #ModuleFederation than anyone should be cursed with. I'd love to try #SolidJS, #RustLang seems really cool, and I'm excited about the future of #WebAssembly.

My wife & I have fantasized about moving to #AotearoaNZ or #Australia since well before the pandemic, and now we're actively trying make it happen. Since we're both in high-demand professions (she's a nurse), I think it should go reasonably smoothly 🤞. Feel free to get in touch with job opportunities that offer visa sponsorship, suggestions for #kiwiana or Australian culture that will help us adapt, reasons that your city is the best, etc. I always blow on the pie when I wear my jandals to the dairy. If we ship things over, I can only hope that the front doesn't fall off the boat. I hear that only rarely happens.

My daughter Juniper was born at the beginning of 2020, so her experience of life and my experience of parenthood are both tightly linked to the pandemic. On the upside, I get to work remotely, which means I get more time with her. She's a lot of fun (and of course a lot of work).

Then, we had our twins Heath & Magnolia (Noli) in September 2023, and our lives got even more hectic and full of love.

Juniper goes to a Waldorf school, and I wish I could go, too, but I think the adult version of Waldorf school might just be therapy.

Even though I'm a backend developer I've got to keep abreast of some frontend stuff so that I can lend my general developer brain to designing or advising or fixing things wherever it happens, and it looks like I've now got to get up to speed on #Preact and #TailWind and #WebPack for the next phase of work. That'll keep me busy for a bit.

Taking upon the challenge of making this #NodeJs project more user friendly that non-tech users can also use the tool.

Gotten to the point that one can run the code locally and receive the POIs. The image shows a preliminary mask of how the website might look like.

The trickiness of the task is that the tool uses the fs package which doesn’t directly have a similar package for the web. One can compress a lot of the code with #webpack while using plugins like #pollyfill and #babel. These resolve all the issues other than I/O of files.

It seems like a possible solution to deal with the fs issue is to use the various database and storage solutions of a browser.

@marquisdegeek

📹 Sviluppo di un’interfaccia web con TypeScript, React e Webpack - Lorenzo Savini
👉 hhttps://www.youtube.com/watch?v=J55oIFzXxTA&list=PLPGJdxeQ35eAHgEfkfChN_8gN5CJCF9tw&index=15

💡Introduciamo #TypeScript, vediamo come si integra in un’applicazione #React e come si generano gli asset finali della nostra interfaccia utilizzando #Webpack.

If you think react is complicated now, go back to 2015 when you had to configure babel and webpack yourself, you had to do SSR and routing yourself, you had to decide between flow and typescript, you had to learn flux and immutable.js, and you had to choose 1 of 100 boilerplates

#DailyBloggingChallenge (13/25)

One of my favorite things to do is exploit the DOM (ethical concerns aside).

Lots learn early on if some pesky web component is blocking your view, just delete it in the developer’s tools.

This is usually the spark into what other configurations are possible.

As a #WebDeveloper by trade we are constantly in the developer’s tools trying to understand why certain elements are behaving the way they are - visually or in action. Though we have access to the code base, so it’s easier to understand.

The fun begins when you only have access to the website!

  • For one time edits basic DOM manipulations will suffice.
  • For simple tasks the console will suffice.
  • If you started editing the CSS, you can save your changes and load them next time you visit.
  • If you don’t care about #fingerprinting, you can use extensions like #GreaseMonkey or #Stylus.

In the realm of heavy duty modifications, there are a couple of options:

  • Write your own #browser extension.
  • Write your own library and run it through the console. This permits to offline development in your preferred coding language and you can bundle it either through #webpack or #wasm.
  • Host your code on #npmjs, use a CDN bundler, and then preload it via an extension like GreaseMonkey.
  • There is also the option to preload your script into the browser’s config, though with each update one has to do this anew, not questioning the potential #security flaws.

Through these possibilities one will learn a lot about vanilla #WebDevelopment and #VanillaJS.

I was thinking about XML, toml and JSON and I realised that they should be small. As long as they are small, they are readable and comprehensible.

Interestingly, XML scales a little bit better because it reminds you of the context when the context ends.

I really like some systems that incorporate inlining the code into their configs, but I'd prefer for it to go the other way — have configs in code.

The way #elixir and #webpack handle configuration is almost perfect.

My latest (and greatest) book, JavaScript All-in-One For Dummies, is available now!

Every junior developer or aspiring JS developer needs this book, imho.

The book teaches modern #JavaScript, how browsers work, using #VSCode like a pro, #Git, #prettier, #eslint, #vite, #webpack, #react, #vue, #svelte, #http, #jest, #node, #express, #mongodb, #mongoose, and finishes with a chapter on authentication with #jwt.

It took me 6 months to write and is over 800 pages.

amzn.to/3GIMRGX

Continued thread

I write #software for indeed.com (job search site) (previously employed by Amazon). I've written a lot of #database-backed #webservices in #Java, but in the last few years, I've been working on #microfrontend platforms in #JavaScript & #TypeScript, primarily supporting #React. I have more knowledge about #Webpack #ModuleFederation than anyone should be cursed with. I'd love to try #SolidJS, #RustLang seems really cool, and I'm excited about the future of #WebAssembly.