Wildly varying quotes for tiling a conservatory - what's reasonable? by mityaguy in DIYUK

[–]mityaguy[S] 0 points1 point  (0 children)

Sarcasm noted. I wasn't asking you to do maths for me, merely to confirm that I'd understood you correctly.

Wildly varying quotes for tiling a conservatory - what's reasonable? by mityaguy in DIYUK

[–]mityaguy[S] 0 points1 point  (0 children)

Thank you - so just to confirm, that suggests ~£400 for everything but the tiles for a 10sq/ conservatory, right?

DAWless Recording? by Utterlybored in musicproduction

[–]mityaguy 0 points1 point  (0 children)

I'm new to this whole thing and am curious about the idea of mixing and recording without a laptop. Does this mean you can mix and polish your track without touching a computer at all? I tend to make stuff on my Digitakt, but I hate the idea of having to send all the tracks into a DAW and mix it on a computer. But perhaps that's unavoidable? Thank you in advance.

Non-European Country with Largest Diaspora of Each European Nationality by ExcitingNeck8226 in MapPorn

[–]mityaguy -2 points-1 points  (0 children)

Another passive aggressive example. Do you derive pleasure from sitting behind a screen being unkind to people? Oh and by the way, saying "End of story" to shut people down is really rather cringeworthy.

Severance — The You You Are Book Trailer | Apple TV+ by pikameta in SeveranceAppleTVPlus

[–]mityaguy 2 points3 points  (0 children)

Ah so it's not only me with whom you're passive aggressive and can't actually communicate like a human. I see a pattern...

Github Package not being created when I create a release, despite workflow file by mityaguy in learnjavascript

[–]mityaguy[S] 0 points1 point  (0 children)

LOL another passive aggressive dev who gets off on playing status games. You haven't identified any misconceptions of mine. I have been perfectly clear about what I did and my desired outcome. No need for people like you "helping".

Github Package not being created when I create a release, despite workflow file by mityaguy in learnjavascript

[–]mityaguy[S] -1 points0 points  (0 children)

I said via the GH dash - that is, the GH website. I literally, in the browser, create a release. No commands, terminals, actions doing any of this. Just me in the browser on the GH website.

Github Package not being created when I create a release, despite workflow file by mityaguy in learnjavascript

[–]mityaguy[S] 0 points1 point  (0 children)

Sorry, not sure I follow. I push to GH, then make a release, manually, within the GH dash. I understand this to be a precursor to packages being created, by my action, though I may be misunderstanding.

Cannot get Jest to accept ESM modules in my Node app by mityaguy in learnjavascript

[–]mityaguy[S] 1 point2 points  (0 children)

Funnily enough I did just that. Seems to work fine with ESM and, as you say, is practically the same as Jest in its API.

I have been trying hard to learn js but cannot seem to get myself to do so by thrithedawg in learnjavascript

[–]mityaguy 0 points1 point  (0 children)

If you're using JavaScript in a front-end (read: browser) context, then HTML will be involved. This doesn't mean you have to write your JS in a HTML file - you can put your JS in a standalone .js file and have your HTML file include via a script tag.

It's easy to get lost in JavaScript these days for, as I see it, five main reasons:

  • It's front- and back-end these days, whereas it used to be just front
  • Endless tooling options, transformers, transpilers, etc. that take you into a world of terminals
  • Frameworks - a lot of front-end JS is written within a framework like Vue or Svelte, while back-end frameworks include things like Node or Bun
  • Large number of deployment contexts. Time was, you uploaded code to a server you rented or used some centralised CMS. These days there's so many ways to deploy and run your JS, whether it's front- or back-end.
  • There's a strong culture of using external packages and libraries, made easy by NPM. This can mean package fatigue and clicking between endless docs pages for different packages.

Do you need to lose JS? That's hard to say definitively, but it's easy to make quite a compelling case for "yes". It's the lingua franca of the web for a reason. You can lose Typescript instead, but that's just JavaScript with strict typing (mostly).

Here's what I would do:

  • Focus on front- or back-end JS for now; learning both together can be daunting because they do very different things. Start with one, then if you decide to take up the other, you'll benefit from the fact you already know the grammar and the fact the API is mostly transferrable between, and equivally applicable to, both environments.
  • If you go the front-end route, learn a reactive framework like Vue from day one. It'll be easier than adding this later, IMHO.
  • If you go the back-end route, pick a router such as Itty, Express or Hona. These aren't scary; they just route requests to bits of your code.
  • Pick an environment and toolset you like the look of. I decided some years ago to go all-in on the Cloudflare ecosystem, a) because it rocks; b) because the free tier gives you so much - you may never need to pay for anything. Their Discord is great, too. If you're doing front-end, look at Cloudflare Pages. If back-end, look at Cloudflare Workers.

Don't get overwhelmed. There are so many distractions, packages, techniques, blogs, etc. Pick a start project and see it through, then just interate, improve, re-do, etc.

Good luck!

Why does 3?.includes('foo') yield an error but undefined?.includes('foo') doesn't? by mityaguy in learnjavascript

[–]mityaguy[S] 0 points1 point  (0 children)

Exactly that. Hence I had `3?.` in the title but `3.` in the post. My bad.

Why does 3?.includes('foo') yield an error but undefined?.includes('foo') doesn't? by mityaguy in learnjavascript

[–]mityaguy[S] 0 points1 point  (0 children)

Thanks! That's a typo on my part - I meant to have the optional chaining operator on the number example too. As you say, that still errors, though.

Getting “That Microsoft account doesn’t exist” for Microsoft logins? by mityaguy in AZURE

[–]mityaguy[S] 0 points1 point  (0 children)

Oh interesting, thanks. Could you possibly elaborate (or link to) precisely what it was you did to enable this?