teleren/devto huggingface dataset:
Hello from Wilbur Labs!
Tags: welcome, news, entrepreneur, startup
Published: 2023-07-06 14:33:54

Hi there, welcome to Wilbur Labs 👋

- 🪪 [Wilbur Labs](https://www.wilburlabs.com) is a Startup Studio based in San Francisco.
- 📝 Wilbur Labs identifies big customer pain points and builds businesses to solve these problems. After an idea is validated in the lab, the Studio brings in industry leaders with domain expertise to manage the company. Wilbur Labs continues to provide funding, shared resources, and operational support to ensure management is focused on solving problems that matter. 
- 💥 Wilbur Labs was founded in 2016 by [Phil Santoro](https://philsantoro.com) and [David Kolodny](https://www.dkolodny.com). Since 2016, Wilbur Labs has built and invested in 21+ companies and [launches several companies](https://www.fastcompany.com/90926060/how-wilbur-labs-builds-for-long-term-durability) every year.
- 🏆 Wilbur Labs was named [Best Workplace by Inc. Magazine](https://www.inc.com/profile/wilbur-labs) in 2023 and named a [Great Place to Work](https://www.greatplacetowork.com/certified-company/7020427).
- 📍 Wilbur Labs is [headquartered](https://www.startupstudios.com/post/wilbur-labs-remaking-company-building) in San Francisco, California.
- 🍿 Fun facts: Companies [built by Wilbur Labs](https://www.startupstudios.com/post/wilbur-labs-remaking-company-building) are part of daily life and have helped hundreds of millions of people travel the world, find a job, order everyday essentials, take care of their pets, sign up for the right insurance plan, among other things.
- 📰 You can read [announcements](https://www.wilburlabs.com/company-news), [Blueprints](https://www.wilburlabs.com/blueprints), and [press coverage](https://www.wilburlabs.com/press) from Wilbur Labs.
- 📫 You can follow Wilbur Labs on [LinkedIn](https://www.linkedin.com/company/wilbur-labs/), [Twitter](https://twitter.com/wilburlabs/), [Instagram](http://instagram.com/wilburlabs), [Facebook](https://www.facebook.com/wilburlabs/), [YouTube](https://www.youtube.com/@wilburlabs).
- 🏗️ Enjoy building and solving big problems? We are actively [hiring](https://www.wilburlabs.com/careers) across our portfolio.
My first personal website
Published: 2023-07-06 14:01:49

Few weeks back I started working on a website for myself with an introduction and some work related details. I concluded with registering the domain and hosting the site today.

The website has the usual home, posts, projects and about pages. These are HTML/CSS pages with some JavaScript coding.

I also added a Photos page with couple of photos I had taken. This page is only navigable from the About page.

Deciding what posts or content to include in the site is not an easy task. I think the website content is a constant work in progress.

You can view the website at: [prasadsaya.com](http://www.prasadsaya.com/)
Quickly add random text to your HTML with this simple trick! 🏃‍♂️💨
Tags: html, beginners, webdev, vscode
Published: 2023-07-06 14:00:00

It's 11 o'clock on Saturday night.

Pubs are packed with people drinking and enjoying their night out.

But not you. You're inside looking into your wide-screen monitor. You decided instead, to dive into the magical world of HTML! 🌈

So there you are, with Visual Studio Code open. Your HTML code right in front of you with all its colourful glory thanks to the syntax highlighting by VS Code.

The HTML looks something like this:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <title>My page</title>
</head>
<body>
    <div></div>
</body>
</html>
```

But that `div` looks empty. And that makes you sad. You need to add some text in there to see how it looks in the browser. "Hello world" is cool and all but you're looking for something more realistic to how the div will be used in real life...

Then you discover the solution! A piece of text written over 2000 years ago is *perfect* for this situation. It's called "lorem ipsum".

![](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wssmlh19rjvbm0gw5w3b.png)

Now you can add text to your `div`! Thing is, every time you need to add some of this text, you need to go to a website, copy some of the text, and paste it in your editor. Is there a faster way, without having to leave your editor? Yes there is!

## The `lorem` shortcut!

Open your HTML page in VSCode, point to the part where you want to add some random text, write this: `lorem5` and press <kbd>Tab</kbd>

{% embed
https://vimeo.com/842793249?share=copy
%}

What just happened? 5 words have been added to your HTML just like that. Now you can save precious seconds, or minutes even, with this shortcut!

Now try this: write `lorem*5` and press <kbd>Tab</kbd>:

{% embed
https://vimeo.com/842794608?share=copy
%}

5 paragraphs have been pasted into your text file! 🔥

Now you never need to leave your editor to add some random text to your HTML page!

And that's the `lorem` shortcut which you can use in VS Code or any other editor that supports emmet! Thanks for reading!
Tor on OpenBSD 7.3 (日本語)
Tags: tor, openbsd, network, privacy
Published: 2023-07-06 13:56:59

## はじめに

[Tor](https://www.torproject.org/) 🧅 を用いることで、高いレベルで 👯 プライベートなWeb ✨ アクセスができます。

この記事で [OpenBSD](https://www.openbsd.org/) に Tor をインストールして動かす流れを紹介します。

### 環境

- OS: OpenBSD [7.3](https://www.openbsd.org/73.html)
- デーモン および クライアント: Tor 0.4

## チュートリアル

### インストール

最もかんたんな方法は [`pkg_add`](https://man.openbsd.org/pkg_add) を使うことです:

```console
$ doas pkg_add tor
```

以下のような結果を得ました:

```
quirks-6.121 signed on 2023-06-27T13:21:34Z
tor-0.4.7.13:libevent-2.1.12p0: ok
tor-0.4.7.13: ok
The following new rcscripts were installed: /etc/rc.d/tor
See rcctl(8) for details.
```

### 設定 (Optional)

設定ファイルは `/etc/tor/torrc` です。

### デーモン起動

まずデーモンを有効化します:

```
$ doas rcctl enable tor
```

そして起動します:

```
$ doas rcctl start tor
```

以下のように出力されました:

```
tor(ok)
```

### テスト

動作を確認します:

```console
$ curl \
      -x socks5h://127.0.0.1:9050 \
      -s https://check.torproject.org/api/ip
```

以下のような出力を得るでしょう:

```json
{"IsTor":true,"IP":"xxx.xxx.xxx.xxx"}
```

正常に動いていて、Tor ネットワークとリレーに参加できているようです :)

## おわりに

わずかな手順だけで OpenBSD から Tor に参加できます 🌻 🧅 🐡
Your Assisted Code Writing Companion
Tags: webdev, javascript, beginners, programming
Published: 2023-07-06 13:30:00

CodeSquire is an advanced AI-powered code writing assistant designed specifically for data scientists, engineers, and analysts. With CodeSquire, you can effortlessly turn your thoughts into code by receiving intelligent code completions and suggestions in real-time.

[**JUMP STRAIGHT TO THE TOOLS**
](https://www.aiforme.wiki/ai/tools/CodeSquire)

Efficient Code Writing Experience
CodeSquire revolutionizes the code writing process by providing contextual code completions as you type. It analyzes your codebase, understands the data science or engineering context, and suggests relevant code snippets to accelerate your coding speed and accuracy.

Seamless Integration
CodeSquire seamlessly integrates into your preferred coding environment, whether it's a text editor, IDE, or notebook. It adapts to your coding style and offers code suggestions that align with the programming language and libraries you are working with.

Instant Code Insertion
With CodeSquire, inserting code becomes effortless. Simply press the tab key to insert the suggested code completion directly into your code editor. This streamlines your coding workflow, eliminating the need for manual typing and reducing the chances of syntax errors.

Smart Recommendations
CodeSquire's AI algorithms continually learn from your coding patterns and the context of your projects. This enables it to provide increasingly accurate and personalized code suggestions tailored to your specific needs. The more you use CodeSquire, the better it gets at understanding your coding preferences.

Boost Productivity and Code Quality
By leveraging CodeSquire's code completions and suggestions, you can significantly improve your productivity and code quality. It reduces the time spent searching for syntax or library references, allowing you to focus on solving complex data science or engineering challenges.

[**JUMP STRAIGHT TO THE TOOLS**
](https://www.aiforme.wiki/ai/tools/CodeSquire)

Conclusion
CodeSquire empowers data scientists, engineers, and analysts with an AI-driven code writing assistant that simplifies and accelerates the coding process. With its real-time code completions, seamless integration, and instant code insertion, CodeSquire enhances your coding experience and helps you write code more efficiently and accurately. Embrace CodeSquire as your trusted companion and unleash the full potential of your coding abilities.
Loading Images Slow
Tags: react, developer, beginners, webdev
Published: 2023-07-06 13:16:20

Hello developers, In one of my project I am facing a issue of slow loading of the images, I am using ReactJS for the same. The images are slow rendered on the client side and I have also decreases the size of the image still the problem is same.

It will be great pleasure to me if someone help me in this.
Here is the link of the website
https://agnistudios.in/
Field Validation Table as a Test Design Technique
Tags: testing, softwaretesting, qa, testmanagement
Published: 2023-07-06 13:15:57

📌 Discover the power of the Field Validation Table (FVT) as a game-changing test design technique.



💡 The pursuit of quality is paramount across all industries. Whether it's an organization striving to deliver a quality product or customers expecting excellence in their purchases. The way to achieve success is by maintaining and enhancing product quality, and Testing is an essential tool for this.

Let's consider a crucial test design technique called Field Validation Table, which empowers testers to design optimal test cases that maximize test coverage across various applications. This technique enables you to capture test cases effectively with minimal documentation.

Field Validation Table (FVT) is a powerful test design technique specifically designed for validating fields within an application. Regardless of the application's nature, thorough field validation is essential to uncover defects that may go unnoticed. 

🔍 Testers often focus on commonly used combinations while validating fields, inadvertently overlooking potential flaws. FVT fills this gap, ensuring no defects escape detection in any area.
To implement FVT effectively, two crucial Tables must be created:
1. A Table encompassing various data types and their valid and invalid inputs. It serves as a reference during the testing process.
2. An application-specific Table tailored to the fields within the application. It facilitates comprehensive field validation, clearly highlighting the presence of defects and the relevant test data.

Implementing FVT brings forth several benefits that enhance productivity and streamline testing efforts:
✔ It empowers us to work more efficiently, saving time and effort.
✔ Automation becomes more accessible, leading to improved test coverage.
✔ By implementing FVT early in the project, you can avoid or minimize the risk of defect leakage.
✔ FVT is easy to comprehend, benefiting both manual and automation testers.
✔ It ensures a high percentage of test coverage, enabling you to validate fields comprehensively.
✔ FVT serves as a reference table, allowing you to create test cases that effectively verify and validate the application's fields.

💖 Streamline testing activities together with TestCaseLab!

Free 30-day trial is here: 
{% embed https://testcaselab.com %}

#qatips #testingtips #qatesting #qualityassurance #softwaretestingplatform #testingtools #testing #testcasemanagement #testcaselab #softwaretesting #qa #artificialintelligence #manualtesting #testingtools #testcaseoptimization
Launch Announcement: Optimize Your AI Experience with "Prompt Engineering Patterns" Email Course 🚀
Tags: ai, chatgpt, promptengineering
Published: 2023-07-06 12:55:13

# Launch Announcement: Optimize Your AI Experience with "Prompt Engineering Patterns" Email Course 🚀

Today, I'm thrilled to introduce the latest addition to the world of AI learning: the "Prompt Engineering Patterns" email course. This in-depth 14-day email course is specifically designed to help you optimize your experience with AI, with a concentrated focus on OpenAI's ChatGPT.

Here's why this course is an essential tool in your AI toolbox:

1️⃣ **Empower your ChatGPT Interactions:** Learn how to unlock the full potential of advanced language models like ChatGPT.

2️⃣ **AI Optimization Techniques:** Gain practical knowledge on understanding, manipulating, and optimizing AI models to enhance their performance.

3️⃣ **AI Learning for All:** The course is crafted to cater to everyone, from beginners to experienced AI professionals.

## The best part? This comprehensive AI learning resource is absolutely FREE! 🎁

In the evolving digital world, it's not the advent of AI that might challenge us, but the inability to operate and optimize AI could leave us behind. Therefore, enhancing your AI skills is crucial for both personal and professional growth.

Eager to dive in? You can sign up for the "Prompt Engineering Patterns" email course right here: [https://prompting.aicygnus.com/](https://prompting.aicygnus.com/)

Feel free to reach out if you need more information or have any queries. Let's venture into the exciting future of AI together!

I'm looking forward to welcoming you to the course. Let's optimize our AI learning and ensure we stay at the forefront of technological advancement!

If you've already signed up or have experiences with similar AI courses, please share your thoughts and experiences in the comments below. Let's get a conversation going about AI learning, ChatGPT, and the future of AI.
How to Ask AI to return JSON in the Right Way
Tags: ai, json, node, javascript
Published: 2023-07-06 12:53:48

Quite often when you request AI to send you a JSON, it responds with anything but not the JSON, or JSON is just a part of it.

![North Carolina GIF by GIPHY News](https://media3.giphy.com/media/5ZSubxdI2KQadQl5GN/giphy.gif?cid=ecf05e47smwtkv2z2pz97xskxathdr05sq2b7ni9zcr7hvhp&ep=v1_gifs_search&rid=giphy.gif&ct=g align="left")

**There are some ways to solve this**

## 1\. Ask to return JSON at the end

For example your prompt looks like

`Generate products that could be described as "Headphone", use the following structure "[{name: string, price: number}]`

To make AI answer with JSON with a higher chance add

`.... Respond with an array of a flat objects in JSON`

## 2\. Split prompts and requests to API

Let's say you need to generate products for your marketplace solution. Instead of asking AI to generate the whole info like in the example above. It could be better to do it in 2+ steps.

1. Generate Names:
    
2. Generate Names `Generate ${count} different real product names for a product category "${info}", respond with a JSON {names: string[]}`
    
3. Generate Single Product for each product name from the previous request: `Generate a product description for a product that could be described as "${productName}", use the following structure "{name: string, description: string, price: number }", respond with a single product **as a flat** JSON`
    

## 3\. Even now you have a problem? Let's retry.

If you have an issue even if you ask specifically and it happens then the only solution I know is repositioning on request. This is the method I use for this.

```plaintext
async function createChatCompletition(prompt, retryAttempts = 2, currentAttempt = 1) {
  const completion = await openai.createChatCompletion({
    model: 'gpt-3.5-turbo',
    messages: [{ "role": "user", "content": prompt }]
  });

  const output = completion.data.choices[0].message.content;
  try {
    return JSON.parse(output);
  }
  catch (err) {
    if (retryAttempts > currentAttempt) {
      return createChatCompletition(prompt, retryAttempts, currentAttempt + 1)
    }

    return {};
  }
}
```

Some line-by-line explanation

1. Create a completion and wait for response  
    `const completion = await openai.createChatCompletion`
    
2. Try to parse
    

```plaintext
  try {
    return JSON.parse(output);
  }
```

1. Repeat if the response is not a JSON
    

```plaintext
catch (err) {
    if (retryAttempts > currentAttempt) {
      return createChatCompletition(prompt, retryAttempts, currentAttempt + 1)
    }

    return {};
  }
```

### Here we are

Now you can fight with an AI's random responses which sometimes happens. Use it!  
Please share in the comments your solutions to solve this issue.

![The Walking Dead Easy Peasy GIF](https://media1.giphy.com/media/NaboQwhxK3gMU/giphy.gif?cid=ecf05e47kyqv414wx1rqgnt7nbuzzy75bawj66hejo8g4kif&ep=v1_gifs_search&rid=giphy.gif&ct=g align="left")


Follow me on [Twitter](https://twitter.com/BotanMan)
Connect on [Linkedin](https://www.linkedin.com/in/igorboky/)
Angular - Dirty Flag of a form doesn't get changed even after changing a field
Published: 2023-07-06 12:38:47

I need to Enable the Save button only if any changes occurred in any fields of the form. So, I chose `<FormGroup>.dirty`.  The dirty property getting changed to true if I change any fields of that particular form group except only one field. there are so many fields in that form. But for this one field the dirty flag of the form is not getting updated. why?. Kindly help me on this.
Reintech Electronics Pvt. Ltd. Home Appliances manufacturer and supplier in India
Published: 2023-07-06 12:21:22

**WHO WE ARE**
ReinTech Electronics Pvt. Ltd. is a Professionally Managed Family owned business and a largest Manufacturers & Exporter of Electronics Products extending industries in domestic & International market.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jxgjdmrv8211imdyu7et.png)

"We are one of the top wholesalers of Electronics Products. We pride ourselves on stocking high quality electronics products. Our prices are competitive & we give fast & friendly service."
Shiba Price Prediction: A Comprehensive Analysis
Tags: shiba, shibapriceprediction, priceofshibainu, shibainu
Published: 2023-07-06 12:13:42

The Shiba Inu Coin, often known as SHIB, is gaining popularity among those who are interested in cryptocurrencies. [Shiba Price Prediction](https://coinpedia.org/price-prediction/shiba-inu-price-prediction/) is elusive to forecast because investors and enthusiasts closely follow its progress. This essay will analyze the variables affecting SHIB's price as well as our future predictions.

Accurate price predictions may be difficult given how erratic the Bitcoin market is. When predicting future price fluctuations for Shiba Inu Coin, analysts, and subject-matter experts consider a variety of factors.

When it comes to Shiba price prediction, it is important to include both technical analysis and fundamental elements. By examining price charts, patterns, and signals, technical analysis can be used to spot potential trends and support levels. The project's development, partnerships, and community involvement are important considerations.

The popular Shiba Inu dog meme, which has a sizable fanbase and distinctive branding, had an impact on the Shiba Inu Coin’s design. However, unanticipated changes in market mood could have an impact on price changes. Experts have made a lot of price predictions. Others claim that because of impending upgrades to the Shiba Inu ecosystem and the rising acceptance of meme money, things will become better. The current price of Shiba Inu is $0.000007116 as of July 6th, 2023.

How much is Shiba Inu? What will be the future?

Considering the Shiba price prediction aligns closely with the overall Shiba Inu Coin price analysis. Analysts take into account technical factors such historical price patterns, support and resistance levels, trading volume, and the present market demand when predicting potential price movements of SHIB. The question "How much is Shiba Inu?" is one that many investors have. Shiba Inu Coin has gained a lot of fame and attention, but it's still vital to be cautious when predicting prices. Due to the market's tremendous volatility, abrupt shifts in viewpoint could have a significant impact on prices.

It's important to thoroughly comprehend the hazards associated with Shiba Inu Coin and other cryptocurrencies. Before making an investment, it is advisable to conduct thorough research, diversify your assets, and get professional advice.

In conclusion, the [price of Shiba Inu](https://coinpedia.org/price-prediction/shiba-inu-price-prediction/) Coin is still very speculative and unpredictable. Although some analysts anticipate a good trajectory, it's important to use caution and gather information before making decisions. The cryptocurrency market is known for its unpredictability, and factors such as market sentiment, community engagement, and overall market conditions, including Shiba Inu Coin price, can significantly influence SHIB's price.
Save Time tinkering with Colors with this Chrome Extension
Tags: webdev, design
Published: 2023-07-06 11:59:35



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/656nfbvhxjmxdr4243k2.png)

I've built a Chrome Extension that lets you retrieve all colors used on a page and modify them in REAL-TIME.

This way you don't need to Alt-Tab and change colors constantly to see what fits best. Just pick what works best and copy it. 

It also allows you to save configurations and load them for later usage, or to show someone else. 

Currently there is no distinction between free and premium features.. Those who sign up during the beta will enjoy some premium features in the future.

[Link to Chrome Extension](https://chrome.google.com/webstore/detail/colorcraft/phipihmpeladolpicbledanamelhnggp)
Renaming Git Commit Messages: A Quick and Easy Guide
Tags: git, opensource, beginners, programming
Published: 2023-07-06 11:55:43

In Git, it's common to realize that the last commit message needs modification. Whether it's a typo or missing information, Git provides a simple solution to rename the last commit message. Here's a quick guide on how to do it.

Steps:

1. Open your terminal or command prompt in the repository's root directory.

2. Use the command:
```bash
git commit --amend -m "New commit message"
```
Replace "New commit message" with your revised message.

3. Save and exit the text editor that opens.

4. Verify the changes using:
```bash
git log
```

5. Optionally, force push the modified commit with:
```bash
git push --force
```

Caution:
Modifying the commit message involves rewriting the commit history. If you have already pushed the previous commit to a remote repository, be careful when force pushing the modified commit. It can affect other collaborators and their local repositories. Exercise caution and consider discussing with your team before force pushing modified commits.

Conclusion:
Renaming the last commit message in Git is a straightforward process. By following these steps, you can easily modify and update the commit message to accurately reflect your changes. However, be cautious when rewriting commit history to avoid unintended consequences for collaborators.