The Virtuoid's Avatar

The Virtuoid

@thevirtuoid.bsky.social

Web Tinkerer. No, not like Tinkerbell.

13 Followers  |  9 Following  |  29 Posts  |  Joined: 04.12.2024  |  1.9743

Latest posts by thevirtuoid.bsky.social on Bluesky

Github CoPilot AI admitting it made a mistake.

Github CoPilot AI admitting it made a mistake.

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!

11.05.2025 23:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is wonderful!!

07.05.2025 14:44 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Enclave Games Monthly Report: April 2025 This will be a short Monthly Report as it's still all about the ongoing Gamedev.js Jam 2025.

This will be a short #EnclaveGames #MonthlyReport as it's still all about the ongoing #GamedevJS Jam 2025.

enclavegames.com/blog/monthly...

#gamedev #gamejam #JavaScript #HTML5 #indiedev #indiegames

07.05.2025 14:41 โ€” ๐Ÿ‘ 8    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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. :)

06.05.2025 20:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Thanks for that. You got a literal LOL out of me. Great way to end the night.

06.05.2025 02:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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.

06.05.2025 02:35 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"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!

06.05.2025 02:30 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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!

06.05.2025 02:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Fixed that #cypress - #cucumber Error! #javascript
YouTube video by The Virtuoid Fixed that #cypress - #cucumber Error! #javascript

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...

18.04.2025 14:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

(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.

18.04.2025 01:11 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Error from Cypress running a test

Error from Cypress running a test

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)...

18.04.2025 01:08 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

18.04.2025 00:03 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thanks for sharing!

17.04.2025 23:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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.

17.04.2025 23:56 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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

17.04.2025 23:53 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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.

14.04.2025 21:33 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Cucumber pre-processor error in Cypress

Cucumber pre-processor error in Cypress

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

13.04.2025 18:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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...

13.04.2025 00:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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...

13.04.2025 00:12 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I love games like this. just a little thinking, tons of fun. Well done!

13.04.2025 00:11 โ€” ๐Ÿ‘ 9    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is interesting. At my pay-the-mortgage job, we've had to create our own schema checking routines. Thanks for posting this info.

13.04.2025 00:04 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
First time using Cucumber!
YouTube video by The Virtuoid First time using Cucumber!

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...

12.04.2025 23:58 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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.

12.04.2025 19:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
A commit message mentioning 105 warnings

A commit message mentioning 105 warnings

When you're writing your Cucumber features first before writing your step definitions.

12.04.2025 18:03 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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.

12.04.2025 18:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Wonderful job!

08.04.2025 01:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I LOVE this! What a wonderful idea of shifting the maze while playing. I'm also going to have to look into the Origin Shift algorithm you mention.

08.04.2025 01:55 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For any #javascript people out there, I'm looing for topics for my Virtuoid YouTube channel. In general:

1. Something "fun" to develop that will help people learn a little JavaScript.

2. A JS concept you've always wanted to see.

Let me know! And thanks bunches.

08.04.2025 01:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Well, I've rebooted my Virtuoid YouTube page. I started "Boring JavaScript" during the pandemic, then "Fun With JavaScript". Got burned out dealing with technical difficulties, but - I missed it. So I refactored my Jigsaw Puzzle game and relaunching on 4/10. See ya soon! #javascript

08.04.2025 01:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Hello? Hello? *knock* *knock* Testing, one, two.

*cough*

Ok - so now that I have a million followers (well, OK, seven), I guess I need to actually post something.

Um...

Well...

Let's see...

Pretty durn cold out there today. Yep.

Ummmmmmm... do be do be do be do.

*lip smack*

Supercalifragiis

22.01.2025 00:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@thevirtuoid is following 9 prominent accounts