The Virtuoid
banner
thevirtuoid.bsky.social
The Virtuoid
@thevirtuoid.bsky.social
Web Tinkerer. No, not like Tinkerbell.
I use AI in my #javascript development (Github CoPilot). I rarely use it for coding (because I have an ego), but I do use it to explain mathematical concepts in a 3D environment (as that's my current project). Even then, I still check its work - as such I spent 20 minutes "arguing" with it. I won!
May 11, 2025 at 11:43 PM
This is wonderful!!
May 7, 2025 at 2:44 PM
Reposted by The Virtuoid
It could be. In my experience, having your requirements up front goes a long way in leveraging AI in it's most effective way. So, yeah, sounds like a fun challenge.

Just check its work. :)
May 6, 2025 at 8:17 PM
Thanks for that. You got a literal LOL out of me. Great way to end the night.
May 6, 2025 at 2:37 AM
Python is pretty good (being a JS person myself). I never really got into it (though I feel I should).

But helping others is even better. Thanks for volunteering. Great that you're also helping yourself.
May 6, 2025 at 2:35 AM
"hue-rotation" - that's a new one on me. I'm no CSS expert by anyone's measure. :)

But according to the use case in the MDN docs, that may help solve some issues I've had with text on images.

If A11Y issues spring up with the text, I wonder if something like this can be applied. Thanks for TIL!
May 6, 2025 at 2:30 AM
Pick a simple project - or a game - then choose a framework, and commit to at least 2 hours a week. If you keep it simple - Tic-Tac-Toe is great - then you'll have a 'completed' project in no time and have a nice foundation on which to build. The key - Keep Your Project Simple. Happy Coding!
May 6, 2025 at 2:22 AM
In the category of shameless self-promotion, my billions of follows may have noticed that I posted errors I received integrating #cucumber with #cypress. But I solved the issue, and I made a YouTube short about it. If you're interested, here it is: youtube.com/shorts/lrf_U...
Fixed that #cypress - #cucumber Error! #javascript
YouTube video by The Virtuoid
youtube.com
April 18, 2025 at 2:37 PM
(2 of 2) the '.cy.js' file needed to be named simply '.js', AND they needed to be in the same directory.

*Whew*. Not my ideal setup, but I can live with it to get full advantage of #cypress and #cypress-cucumber-preprocessor. Now onto writing those E2E tests! #javascript.
April 18, 2025 at 1:11 AM
Success!

Earlier this week I reported the attached error, and mentioned earlier today that I would need to file a bug report.

I don't! I -- *gasp* --- went tooth and nail through their docs, and discovered the error: It's the 'feature' file that needs to be selected to test, and (1 of 2)...
April 18, 2025 at 1:09 AM
My opinion? Because the in-thing to do right now is to use the framework-flavor-of-the-month. For large corps with large teams it does help (we use Angular and React at the pay-the-mortgage job), but I just don't see it needed for 'normal' websites. It's a crutch.

I hope the 8-track is Creedence.
April 18, 2025 at 12:04 AM
Thanks for sharing!
April 17, 2025 at 11:58 PM
GO FOR IT!!

The amount you knowledge you will gain, even if it doesn't live up to what you have imagined, will reward you for years to come.

I suggest not using jQuery, though. Challenge yourself and keep it to pure #javascript. If you need to, though, there's no foul in using it.
April 17, 2025 at 11:56 PM
Worked on it for another couple of hours today, and I just can't get past this error. Even had Github CoPilot make suggestions for me, but to no avail.

I'm going to have to log a bug report and move on. :( Such goes life sometimes.

#cypress-cucumber-prepocessor #cypress #javascript
April 17, 2025 at 11:53 PM
It make sense on a technical level, but yes, I agree. There's been a number of times I've sent back a code review on how an object will change and mess up the function, and they've come back to me with "You're wrong. I declared it a const".

Yeah, sorry. It will. It's a teaching moment.
April 14, 2025 at 9:33 PM
Well, that was a bust. Trying to get #cucumber working with #cypress, - keep getting the attached error. I'm 100% certain it's my bad configuration - don't know where. I'm going back to using only Cypress for now, and maybe spend some time later on this. I really want to use Cucumber. #javascript
April 13, 2025 at 6:38 PM
It reminds of me finding in some #javascript code someone who had downloaded an entire library just to --- checks notes --- simulate (not polyfill) a 'string.startsWith' method (before JS had that).

Dude, it's literally one line and maybe 10 minutes of your time. I started drinking after that...
April 13, 2025 at 12:17 AM
I wanted this game on my Amiga 500 SO bad back then, but it was a lot of money.

I miss that 500 at times...
April 13, 2025 at 12:12 AM
I love games like this. just a little thinking, tons of fun. Well done!
April 13, 2025 at 12:11 AM
This is interesting. At my pay-the-mortgage job, we've had to create our own schema checking routines. Thanks for posting this info.
April 13, 2025 at 12:04 AM
And just like that - I've done my first YouTube short. Looking at using Cucumber for BDD on my Racing Game project. I'm impressed so far! Let's see if that continues on once I integrate it with Cypress.

#javascript #bdd #cucumber #cypress

youtube.com/shorts/N09V6...
First time using Cucumber!
YouTube video by The Virtuoid
youtube.com
April 12, 2025 at 11:58 PM
From the List of Things That Make Me Chuckle:

People who write files with .ts extensions that contain no #typescript code - only #javascript.

I find weird things funny.
April 12, 2025 at 7:01 PM
When you're writing your Cucumber features first before writing your step definitions.
April 12, 2025 at 6:03 PM
I am a firm believer in writing your own code before resorting to libraries. But I do make an exception when it comes to 2D/3D graphics / game engine libraries. They make life SO much easier.
April 12, 2025 at 6:01 PM