<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lyam Hunt</title>
    <description>The latest articles on DEV Community by Lyam Hunt (@lnhunt11).</description>
    <link>https://dev.to/lnhunt11</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F897776%2F87d8dd2d-b2b3-4868-9f4e-c291bbb59a88.png</url>
      <title>DEV Community: Lyam Hunt</title>
      <link>https://dev.to/lnhunt11</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lnhunt11"/>
    <language>en</language>
    <item>
      <title>Working with Claude and Gemini to fine tune whisper model. The difficult part has been formatting the data. I've started with label-studio.</title>
      <dc:creator>Lyam Hunt</dc:creator>
      <pubDate>Tue, 15 Apr 2025 06:09:32 +0000</pubDate>
      <link>https://dev.to/lnhunt11/working-with-claude-and-gemini-to-fine-tune-whisper-model-the-difficult-part-has-been-formatting-661</link>
      <guid>https://dev.to/lnhunt11/working-with-claude-and-gemini-to-fine-tune-whisper-model-the-difficult-part-has-been-formatting-661</guid>
      <description></description>
      <category>ai</category>
      <category>whisper</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Testing in SolidJS</title>
      <dc:creator>Lyam Hunt</dc:creator>
      <pubDate>Thu, 17 Nov 2022 03:38:58 +0000</pubDate>
      <link>https://dev.to/lnhunt11/testing-in-solidjs-1fmo</link>
      <guid>https://dev.to/lnhunt11/testing-in-solidjs-1fmo</guid>
      <description>&lt;p&gt;A team and I built an &lt;a href="https://github.com/oslabs-beta/solid-dev-tool" rel="noopener noreferrer"&gt;NPM package&lt;/a&gt; that can be installed into any SolidJS application to help visualize your signals and how they communicate. I wanted to test if the components would render during the development stage. I found &lt;a href="https://github.com/solidjs/solid-testing-library" rel="noopener noreferrer"&gt;Solid’s testing library&lt;/a&gt; and proceeded to follow the steps.&lt;/p&gt;

&lt;p&gt;After applying each step I realized that I was adding more dev dependencies and config files than I intended. The folder structure seemed convoluted especially because the product was an NPM package and didn’t have the file path of a full-stack application. Each component depended on the other and so I couldn’t evaluate an individual component. Which led to the biggest obstacle, importing and rendering components. I started searching for alternative solutions and I recall using Cypress in a different &lt;a href="https://github.com/Jigglypuff-34/my-job-tracker" rel="noopener noreferrer"&gt;project&lt;/a&gt; I worked on.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.cypress.io/" rel="noopener noreferrer"&gt;Cypress&lt;/a&gt; is great for e2e and component testing. There are preconfigured options for other frameworks such as &lt;a href="https://docs.cypress.io/guides/component-testing/overview#Supported-Frameworks" rel="noopener noreferrer"&gt;React, Vue, and Svelte&lt;/a&gt;, but there aren’t any for SolidJS. I decided to give it a try and it turned out to be a great option. Below are the steps I took in case you wanted to try e2e testing for SolidJS. &lt;/p&gt;

&lt;p&gt;We had a prebuilt application that was stored in our playground folder to load our NPM package. I then installed Cypress as a dev dependency to the NPM package.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install cypress --save-dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should see an empty folder called Cypress in the root of your project folder:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnnlel3gsa7sg8grgz7du.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnnlel3gsa7sg8grgz7du.png" width="570" height="122"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also added the only script needed to start the project in the package.json file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; "scripts": {
   "test": "cypress open"
 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In another terminal, I ran the prebuilt application in localhost:3000. I then went back to the terminal where I install cypress and ran the test command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A second window should pop up with the following options:&lt;/p&gt;

&lt;p&gt;For this project, I selected E2E testing. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7o8vthh0t4bvzm822k28.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7o8vthh0t4bvzm822k28.png" alt="Configuration files for E2E" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdt9jxyw864yb1dya8yzg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdt9jxyw864yb1dya8yzg.png" alt="Image after clicking continue" width="798" height="734"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I then clicked on continue and selected Chrome browser. I then selected Scaffold example specs because it gives great examples of how you can use Cypress and you can later choose what you want to keep:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyw9hycvx8n772h59pdhj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyw9hycvx8n772h59pdhj.png" alt="Spec that includes example files" width="792" height="668"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You should then see the different files along with the option to continue:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2lnrmns1paye5u6xlukj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2lnrmns1paye5u6xlukj.png" alt="Example files created" width="800" height="547"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All these files will be created for you along with a configuration file:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F834t20vdet5o7d29xxkd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F834t20vdet5o7d29xxkd.png" alt="Folder paths in VS code" width="452" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are new to Cypress, you can click on any preloaded test file and it will load it for you on the next screen. &lt;/p&gt;

&lt;p&gt;For this project, I would need to visit localhost:3000 and so I added a configuration to cypress.config.js:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const { defineConfig } = require('cypress')

module.exports = defineConfig({
  e2e: {
    baseUrl: 'http://localhost:3000',
    supportFile: false
  }
})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will reduce the number of times you type the url when you are testing. You should now be able to write your tests under the cypress folder under e2e. It's a pretty straight forward process and it allowed me to test my project as close as possible to production level. Hope you enjoyed this brief intro to testing your SolidJS application.&lt;/p&gt;

</description>
      <category>community</category>
      <category>welcome</category>
    </item>
    <item>
      <title>Do you have any issues with your current stack?</title>
      <dc:creator>Lyam Hunt</dc:creator>
      <pubDate>Mon, 25 Jul 2022 15:54:11 +0000</pubDate>
      <link>https://dev.to/lnhunt11/do-you-have-any-issues-with-your-current-stack-2ac0</link>
      <guid>https://dev.to/lnhunt11/do-you-have-any-issues-with-your-current-stack-2ac0</guid>
      <description>&lt;p&gt;Hello Everyone,&lt;br&gt;
My team and I are in the ideation phase for an open source project. We could use a word of advice or insight on currently popular/emerging technologies. What is a software technology/tool/service/framework that you currently use that you feel could be improved: anything from reducing render time, better UI features for the developer, caching, accessibility, or things that seem to be inconvenient. With such a variety of technologies and topics out there, it’s hard to know where to even begin researching, so we would greatly appreciate any help and advice, thank you!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
