teleren/devto huggingface dataset:
DevToolkitapp - What tools can I add to my website?
Tags: webdev, javascript, beginners, programming
Published: 2023-07-05 23:17:13


Hello, I'm Felpi, and I'm creating a small website to learn how Google SEO works. The website is a combination of all the tools that a developer needs in their day-to-day activities, such as:

- Minifiers
- Placeholder image generators
- Data converters (e.g., XML -> JSON, Image -> Base64)

I don't intend to monetize the site or anything like that; I just find it fun to create it, and in the end, I'll have a site with a collection of cool tools and no ads.

I'm here to ask you what new tools I can add to the site, tools that you need in your daily activities and may not have access to or are only available on those ad-filled websites.

So, what tools do you think the site should have?

Website link: http://devtoolkitapp.com/
You Are Not Limited to achieve any dream!
Tags: programming, developer, beginners, productivity
Published: 2023-07-05 22:22:42

Last year, I made a decision to challenge myself by venturing into new territories within the industry. Although I was deeply passionate about Frontend development, I couldn't help but wonder how exciting it would be to explore new languages. With this in mind, I took the initiative to learn more than two languages and two or more frameworks for each by the end of this year.

As of July 2023:
- I have delved into C language, Python(Django & Flutter), JavaScript(ReactJS(CRA), React Native, ViteJS, NextJS, Remix.Run and NodeJS), Flutterflow, and PHP(CodeIgniter and Laravel).
- I have successfully developed over 10 web and mobile solutions.

Throughout this journey, I have come to realize that the key to success lies not in how quickly or slowly you grasp concepts to build solutions, but rather in the strength of your GRIT! It's about your unwavering persistence and the passion you have that drives you towards achieving your dreams.

The battle continues, and the story unfolds...

**Remember, your progress is determined by your choice to remain persistent!**
Day 776 : Highway
Tags: hiphop, code, coding, lifelongdev
Published: 2023-07-05 22:09:59

_liner notes_:
- Professional : Pretty typical day. Had a couple of meetings and worked on updating an API reference. I'm almost done. I can see the finish line. Been on this highway for a while! haha.

- Personal : So yesterday was 'Merica Day so I had the day off. Took that opportunity to get a lot done with my side project. I finally figured out how to get either the canvas or a selected image sent to the backend and uploaded to GitHub. Now I just need to get the design on the canvas based on the session's data. Going to do a deep dive into canvas. I also got caught up on the "Dr. Stone" episodes and went through some tracks for the radio show.

![Large stones structures coming out of the water in Hallet Cove, Australia](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vsoogkzrrt3om8x4cxik.jpg)

Going to work some more on my side project with the canvas. The design I have in mind is super simple. Text at the top half and some images on the bottom half. Everything is based on what the user enters so I'll need to do some calculations to make sure everything looks okay. Planning on going though some tracks and then end the night watching the new "Secret Invasion".

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube ha8FoHV4K_E %}
Creating React App Using Vite
Published: 2023-07-05 21:27:13

I recently found out that create-react-app was no longer being supported which forced me to try other methods of creating a react app. I was so disappointed when I came to learn of the use of Vite because of how easy and fast it was to create a react app. Another of it's pros is that it's not a react-specific tool so you have the flexibility and can use it in creating other frameworks like Vue.

1. To start using vite, you navigate to your project directory, and run this:

```
npm create vite@latest
```

2. Choose the project name which will also be the project's folder name.
3. Choose a framework, then select your preferred variant whereby you can optionally [add swc](https://github.com/vitejs/vite-plugin-react-swc).
4. Navigate to the project folder and cd into it.

```
cd vitetest
```
5. Run the project

```
npm run
```
6. Install the dependencies by running 

```
npm install
```
7. Run the app using

```
npm run dev
```

and voila, your app should be running on port http:/localhost/5173.
Giới thiệu về game Tài Xỉu trên B52
Published: 2023-07-05 21:01:28

https://b52app.info/ B52 - Game đánh bài đổi thưởng ăn tiền thật uy tín trên ios✔️ android✔️ pc: Tiến lên, Poker✔️ Phỏm, Tài xỉu✔️ Nổ hũ, Bắn cá✔️... tải game nhận khuyến mãi khủng✔️✔️✔️
https://www.last.fm/user/b52appinfo
https://www.metooo.io/u/b52appinfo
https://www.mixcloud.com/b52appinfo/
https://www.mojomarketplace.com/user/b52appinfo-x5U0lL7wVX
https://www.plurk.com/b52appinfo
iloc function in python
Tags: python, pandas, machinelearning
Published: 2023-07-05 20:45:22

```
import pandas as pd

# Örnek bir veri çerçevesi oluşturalım
df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6], 'C': [7, 8, 9]})

# select the first line
ilk_satir = df.iloc[0]
print(ilk_satir)
```



```
çıktı =>

A    1
B    4
C    7
```


yani burda iloc foksiyonumuz veri çerçevesindeki elemanlar üzerinde işlem gerçekleştiriyor pandas kütüphanemizi kullanarak
My Wedding Guestbook
Tags: help, security
Published: 2023-07-05 20:41:12

I'm working on my own wedding website, Its a unique position to be in to have a website with _paper invites_ but that is the only way my guests will be able to RSVP 

## Requirements
The idea is to have 30 guests each with a unique URL, most are not tech literate, we need this to be so easy your granny could do it. 

I have approx 30 allow listed URL path params in the RSVP form URL already, you cannot signup to attend for obvious reasons. The URL identifies the guest and renders a form to complete dietary requirements etc.

On the paper invite the URL will be a QRCode as well as the link and a few other ways to RSVP in the invite. so Its possible to think of this as SSO 

```js
`/rsvp/john`
```

## The problem
When a guest visits the website, I also want to show an RSVP button on the Home page, this is the challenge, because it has no assigned guest

```js
`/rsvp`
```

Now that means I need to render a bunch of guest names and allow the user to honestly select a guest.... but honest and web invites murder, for example my guest hates another guest and removes the shellfish allergy from their booking... so we cant just let 30 people edit each other. I need some way of authenticating them but Im not going to hold their passwords or username, OAuth might be needed, I almost want them to arrive on the website and be automatically recognized.

Anyway thanks and I look forward to your thoughts,
Efficient Workflow in Go with Temporal.io: Layered Architecture
Tags: programming, go, eventdriven, opensource
Published: 2023-07-05 20:21:11

In this article, we will explore how layer patterns and Temporal.io can be integrated to create an efficient workflow orchestration for Golang applications. This approach allows for the separation of business logic and data access functions, making the code more streamlined, modular, and maintainable.

[Continue Reading](https://younisjad.medium.com/efficient-workflow-in-go-with-temporal-io-layered-architecture-66b1b70ff5a5)
Using Temporal to Build Scalable and Fault-Tolerant Applications in Golang
Tags: programming, webdev, go, opensource
Published: 2023-07-05 20:18:01

we will cover how to build ready-to-run services using Temporal in Golang. This Tutorial will teach you how to design and build fault-tolerant and scalable services that are suitable for use in distributed systems.

[Continue Reading](https://younisjad.medium.com/using-temporal-to-build-scalable-and-fault-tolerant-applications-in-golang-99ed2f47bf68)
The 26th Day of the 100 Days of Code challenge
Published: 2023-07-05 20:00:36

Today, I worked on achieving partial transcription refinements with ChatGPT in my real-time transcription app. I refacotred the code that handles the detection of duplicate speakers as it was a bit of mess and didn't work all that well with the refinement, I re-iterated over the prompt and modified the application overall.

It's super difficult to decide how to make use of it. On one hand, I can make the application completely GPT-dependent and provide with the full transcription including the speakers so that it has a maximum amount of context and can even handle duplicate speaker detections. I could just give it the entire transcription and say "here is the transcription, Speaker 2 has been detected as a duplicate of Speaker 1, modify it" but in my opinion, this introdouces a lot of issues.

Other then that, I've noticed that ChatGPT has trouble with providing the output exactly as it was requested. It can also default to the examples you give it if it's unsure. That's why the prompt can require so many re-iterations. For reference, I'm using the "text-davinci-003" engine for this usage.

I honestly haven't checked if it's possible to get JSON answers from ChatGPT, which would allow me to keep some structure in the application and not make it an app with a single string that ChatGPT just keeps re-iterating and that I have no control over.

I have seen someone get JSON-formatted responses from ChatGPT when using langchain with GPT4, this could be worth looking into.

The thing is, I could've released this a long time ago. I just chose to make improvements and more improvements. I feel like the quality matters more than the time it takes to make the project. However, the quality of the project probably won't satisfy me, there are many things that are out of my control like lack of context for the ASR when working with buffers that are too short in duration, mistranscriptions and incorrect contextual understanding on ChatGPT's part (which my promopt would be partially responsible for). Those things might not happen at all, but they could. I want to release a version that's just enough in quality so that it could be improved. To get that first commit and then improve it from there.

Tomorrow, I'll finalize my approach for the raw and diarizated transcriptions with the ChatGPT transcription refinement, and look into what I mentioned above to see how the application could be improved in the future (JSON-formatted responses).

That's it for today,
Happy coding everyone!
Certified-Heroku-Architecture-Designer Exam Dumps
Published: 2023-07-05 19:53:16

<b><a href="https://dumpsarena.com/salesforce-dumps/certified-heroku-architecture-designer/">Certified-Heroku-Architecture-Designer Exam Dumps</a></b> Organizations focused on developing technological solutions need good software architects that can analyze the requirements of each project, evaluate the pros and cons of different designs and technologies, and come up with optimal solutions for each case. A good software architect must not only have a broad knowledge of tools and technologies available but must also be able to evaluate the trade-offs of each choice and analyze its consequences objectively according to the best principles and practices of software design. 


This software architect test helps you identify candidates who have the knowledge and skills required to carry out the architectural design of technological projects. Through various real-life scenarios, this test evaluates candidates' ability to conduct trade-off analysis, <b><a href="https://dumpsarena.com/salesforce-dumps/certified-heroku-architecture-designer/">Certified-Heroku-Architecture-Designer Dumps</a></b> propose working technological solutions, and follow primary software architecture principles. Candidates who perform well on this screening test, have experience with a broad variety of technological tools, can define the success criteria of a system so that it functions properly. 


<b>Save up-to 60% off>> ✔ <a href="https://dumpsarena.com/salesforce-dumps/certified-heroku-architecture-designer/">https://dumpsarena.com/salesforce-dumps/certified-heroku-architecture-designer/</a></b>
How to set an item selected when an asp net MVC dropdownlist is loaded
Tags: webdev, programming, aspdotnet, aspnet
Published: 2023-07-05 19:38:26

To set an item as selected when an ASP.NET MVC DropDownList is loaded, you can pass the selected item's value to the view and then use that value to set the selected attribute for the corresponding option in the DropDownList. Here's an example of how you can achieve this:

1. In the controller action, retrieve the list of items for the DropDownList and set the selected item's value:
```csharp
public ActionResult Index()
{
    // Get the list of items for the DropDownList
    List<SelectListItem> items = GetDropDownListItems();

    // Set the selected item's value
    string selectedValue = "2"; // Set your desired selected value here
    items.FirstOrDefault(item => item.Value == selectedValue)?.Selected = true;

    // Pass the items to the view
    ViewBag.Items = items;

    return View();
}
```

2. In the view, render the DropDownList using the ViewBag and iterate through the items to set the selected attribute:
```html
@{
    var items = ViewBag.Items as List<SelectListItem>;
}

@Html.DropDownList("myDropDownList", items)
```

Make sure to replace `"myDropDownList"` with the appropriate name for your DropDownList. The DropDownList helper will automatically generate the options and set the selected attribute based on the selected property of the SelectListItem.

That's it! When the view is rendered, the option with the selected value will be displayed as selected in the DropDownList.
Generating a dropdownlist control in MVC using HTML helpers
Tags: webdev, programming, opensource, aspdotnet
Published: 2023-07-05 19:26:58

To generate a dropdownlist control in MVC using HTML helpers, you can use the `DropDownListFor` method provided by the `HtmlHelper` class. Here's an example of how you can use it:

Let's assume you have a model called `MyModel` with a property named `SelectedOption` that will hold the selected value from the dropdownlist. You also have a list of options called `OptionsList` that will populate the dropdownlist.

First, make sure you have the necessary namespaces imported at the top of your Razor view file:

```csharp
@using System.Collections.Generic
@using System.Web.Mvc
```

Then, in your Razor view file, you can generate the dropdownlist control like this:

```csharp
@model MyModel

@using (Html.BeginForm("ActionName", "ControllerName", FormMethod.Post))
{
    @Html.DropDownListFor(model => model.SelectedOption, new SelectList(Model.OptionsList), "Select an option")
    <input type="submit" value="Submit" />
}
```

In this example, `model => model.SelectedOption` specifies the property in your model that will hold the selected value from the dropdownlist.

`new SelectList(Model.OptionsList)` creates a new `SelectList` object using the `OptionsList` property from your model. This list will populate the dropdownlist options.

`"Select an option"` is an optional parameter that sets the default option in the dropdownlist. You can replace it with any other text you prefer.

The `Html.BeginForm` method creates a form element around the dropdownlist, and the `input` element with `type="submit"` creates a submit button.

Make sure to replace `"ActionName"` and `"ControllerName"` with the appropriate values for your MVC application.

When the form is submitted, the selected value from the dropdownlist will be passed back to the specified action method in the specified controller, which you can handle accordingly.
AWS-Security And Storage
Published: 2023-07-05 19:18:40

Security and Storage in AWS:

Amazon Web Services (AWS) provides a secure and reliable cloud computing platform that helps businesses to scale and grow. AWS offers various security features like identity and access management, network security, data encryption, and compliance. AWS also provides different storage options like Amazon S3, Amazon EBS, Amazon EFS, and Amazon Glacier, which are highly available, durable, and scalable.

Security in AWS:
AWS offers a range of security features to help protect your data and infrastructure. Here are some of the key features:

- Identity and access management (IAM): AWS IAM allows you to manage access to your AWS resources securely. IAM enables you to create and manage users, groups, and roles, and assign permissions to them, which helps you control who can access your resources.

- Network security: AWS provides a range of network security features, including Virtual Private Cloud (VPC), Security Groups, Network Access Control Lists (NACLs), and AWS WAF (Web Application Firewall). VPC enables you to create a private network in the cloud, which helps you control access to your resources. Security Groups and NACLs enable you to control traffic to and from your resources. AWS WAF helps protect your web applications from common web exploits.

- Data encryption: AWS provides various encryption options to help you protect your data, including server-side encryption, client-side encryption, and AWS Key Management Service (KMS). Server-side encryption encrypts your data at rest, while client-side encryption encrypts your data before it is uploaded to AWS. AWS KMS enables you to create and manage encryption keys, which helps you control access to your encrypted data.

- Compliance: AWS provides various compliance certifications, including SOC 1/2/3, PCI DSS Level 1, ISO 27001, HIPAA, and GDPR. These certifications demonstrate that AWS has implemented the necessary security controls to protect your data.

Storage in AWS:
AWS offers a range of storage options to help you store and manage your data. Here are some of the key features:

- Amazon S3: Amazon S3 is a highly available, durable, and scalable object storage service that enables you to store and retrieve any amount of data from anywhere on the web. Amazon S3 is designed to deliver 99.999999999% durability, which means that your data is highly resistant to corruption and loss.

- Amazon EBS: Amazon EBS is a block storage service that provides persistent storage for your EC2 instances.
Html helpers in MVC
Tags: webdev, programming, aspdotnet, asp
Published: 2023-07-05 19:11:30

In ASP.NET MVC, HTML helpers are a set of utility methods provided by the framework to generate HTML markup within views. They help simplify the process of creating HTML elements, handling form controls, rendering URLs, and more. Here are some commonly used HTML helpers in MVC with examples:

1. **TextBoxFor**: Generates an HTML input element of type text.

```csharp
@Html.TextBoxFor(model => model.FirstName)
```

2. **TextAreaFor**: Generates an HTML textarea element.

```csharp
@Html.TextAreaFor(model => model.Description)
```

3. **DropDownListFor**: Generates a dropdown list for a property.

```csharp
@Html.DropDownListFor(model => model.CategoryId, Model.Categories)
```

4. **CheckBoxFor**: Generates an HTML checkbox element.

```csharp
@Html.CheckBoxFor(model => model.IsAdmin)
```

5. **RadioButtonFor**: Generates an HTML radio button element.

```csharp
@Html.RadioButtonFor(model => model.Gender, "Male")
@Html.RadioButtonFor(model => model.Gender, "Female")
```

6. **DisplayFor**: Displays the value of a property.

```csharp
@Html.DisplayFor(model => model.LastName)
```

7. **EditorFor**: Generates an editor control for a property.

```csharp
@Html.EditorFor(model => model.Age)
```

8. **Partial**: Renders a partial view.

```csharp
@Html.Partial("_PartialViewName", Model)
```

9. **ActionLink**: Generates an HTML anchor link to an action method.

```csharp
@Html.ActionLink("Home", "Index", "Home")
```

10. **AntiForgeryToken**: Generates a security token to prevent cross-site request forgery (CSRF) attacks.

```csharp
@Html.AntiForgeryToken()
```

These are just a few examples of HTML helpers available in ASP.NET MVC. They provide a convenient way to generate HTML markup and handle common scenarios in web development.
How does a controller find a view in MVC
Tags: aspdotnet, aspnet, programming, webdev
Published: 2023-07-05 19:02:27

In the MVC (Model-View-Controller) architecture, a controller is responsible for handling user requests and coordinating the flow of data between the model and the view. To find a view in an MVC application, you typically follow certain conventions and use the appropriate naming conventions.

Assuming you are working with a web application, here's an example of how a controller named "Mudassar" can find a corresponding view:

1. Determine the action method: In the controller, you define action methods that handle specific user requests. For example, let's say you have an action method called "Index" that corresponds to the home page of your application.

2. Define the route: By convention, the route is defined in the application's routing configuration. The route maps a URL pattern to the appropriate controller and action method. In this case, you might have a route like:

   ```
   Route: /Home/Index
   Controller: MudassarController
   Action: Index
   ```

3. Name the view: In the Views folder of your application, you should have a subfolder named after the controller (in this case, "Mudassar"). Within that subfolder, you can create a view file named after the action method. For example:

   ```
   Views/
     Mudassar/
       Index.cshtml
   ```

   The view file, "Index.cshtml," contains the HTML markup and presentation logic that will be rendered to the user.

4. Render the view: Inside the action method, you can use the appropriate framework or library-specific methods to render the view. The method usually takes the view name, the model (optional), and any other necessary parameters.

   Here's an example in ASP.NET MVC:

   ```csharp
   public class MudassarController : Controller
   {
       public ActionResult Index()
       {
           // Perform any necessary data processing or business logic

           return View();
       }
   }
   ```

   In this case, the framework will automatically search for a view file named "Index.cshtml" in the "Mudassar" subfolder of the Views folder.

By following these conventions and naming guidelines, the controller can locate the appropriate view and render it for the user. Remember to adjust the code and conventions based on the specific MVC framework or library you are using, as different frameworks may have variations in naming conventions and methods.