> Imagine a world where #HTML pages and templates can easily be written using familiar #WebComponents concepts and then statically and/or dynamically rendered and sent to the browser. From there, you can once again target certain tag names for progressive enhancement as client-side web components. Call that hydration or islands or whatever you like…
I was going through some HTML markup/ content where my <h1>,<hx> tags have no anchors/ ID's. pain in the butt to do that manually if i want anchors, It occurred to me: why don't I just process the markup and use the <h1> (..contents ...) </h1>
but the (...contents...) atom needs filtering. E.g. "this just in", maybe I want "this_just_in"
@ajaxStardust It wasn’t a cinch. I don’t work with #JavaScript daily and I’ve never used #Mojolicious’ JS version. And the last time I wrote anything for #NodeJS in anger was 2019.
Writing open source software during summer is fun and all, but earning 0€ from it apparently doesn’t help to pay for food and taxes 🥸
If you know someone that knows someone who is looking for a freelance lead software engineer with deep experience in the web industry (backend, ci, cd, devops, scraping… all the good stuff), please send them my way 🤓
Color me surprised and impressed. I often get bad vibes from both #NodeJS and #Docker, but they worked great this time.
I found a repo with some code that counts the estimated reading time of some text. Normally, IME, JavaScript projects that haven't been touched in three years take a lot of work to get them just to install dependencies.
But with one Docker run command helpfully given in the repo, it totally worked, first try.
So 🤬 annoyed. A previous dev setup a project with a pipeline that runs babel into one folder and esbuild over that to make a main.js for the site. It's not a node app. Just a stupid set of progressive enhancements.
I cannot for the life of me figure out how to make this a watchable/hot-reload setup. I just do not have the headspace right now and it's just making me irrationally angry.
#Mastodon doesn't have full text-search, so I built my own. Actually just a pet project to learn #NodeJS, #TypeScript and glue everything together with #Kafka and #Elasticsearch. Data is ingested in real-time via #ServerSentEvents. Visualization and search through #Kibana. I'll publish the source code over the weekend
I'm currently available for code reviews, technical advisory roles and consultancy work.
I've lead development on countless products & services; I'm most experienced in javascript/typescript & node.js but can also advise on general technical strategy.
By hiring me for short contracts, you'll help me to keep working on Fediverse trust & safety!
I used #ChatGPT today to find a memory leak in #nodejs code (using a framework I'm still getting up to speed on) written by a former coworker.
I've been intermittently trying to track this down for awhile now & haven't had any luck using debugging techniques I've found online. First time I ever tried using ChatGPT for something like this & had the answer (🤞🏻) < 1 minute.
Kinda blown away & at the same time a little frightened that I'm becoming obsolete. Blow to my fragile ego! 😂
Do you want to add a "log in with your fediverse account" functionality to your site? I am working on a self-hosted node.js server that lets you do just that.
After some log debugging, I realized my #Mastodon instance was not using the, uh, newest#nodejs and so upgrading from 4.1.2->4.1.[4|5] was having issues. Being able to have multiple versions of the same system language installed at the same time can be confusing, even to someone who has used computers for decades. Sigh.
That being said, I am now on 4.1.5 and feeling, uh, more secure, or something.
Writing tests for async flows and finding it hard to know how much awaiting you will need – how many loops in the event loop you need – for the result to be be observable?
Long-time front line software engineer needs to slow it down. Looking to transition to a new role in #softwaredevelopment for #remotework. My background is diverse but, in recent years: consulting, lead instructor, #fullstack web and mobile app development. Part-time, hourly ok! If it's important I am at UTC-4.
Is anyone looking for a little extra development help? I've been struggling to find projects lately.
I've been building Web sites & UIs since the early 00s. I worked back through the stack with PHP & Node. I use NextJS, React, Laravel, some Vue. I'm learning Qwik.
I’m UK-based, experienced at remote. I can mentor/advise or be a CTO sounding board. I'm open to one-off, short or long term projects.
Using #dotnet#csharp System.Net.Http.HttpClient is kinda verbose and unintuitive compared to axios or fetch on #nodejs. Are there any good abstractions on top of HttpClient that make it more streamlined?
Most of us as DevOps know == and != as comparators, but === is something that causes pain when seeing it in NodeJS. My co-worker and I are arguing about it versus typeOf(a) == typeOf(b)
We understand it’s for Type Equality. For strongly-typed languages and places where you get type mismatches, it’s a terrible symbology, but the logic is sound.
Just published a post on how you can compile #Rust to #WebAssembly for use with #Webpack, #Nodejs and #Deno. There's also an included repository and CodeSandbox demo. Take a look!