2,623 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for R_4

Hi What is wrong in my this backup code it always not working and gives me an error SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB; AttachDbFilename=D:\repos\mysales\WindowsFormsApp4\Database1.mdf; Integrated Security=True; "); string database = con.Database.ToString(); if (textBox1.Text == "") { MessageBox.Show("Please Enter Backup File Location"); } else { string cmd = "BACKUP DATABASE …

Member Avatar for Salem
0
53
Member Avatar for usmanmalik57

On June 20, 2024, Anthropic released the [Claude 3.5 sonnet](https://www.anthropic.com/news/claude-3-5-sonnet) large language model. Claude claims it to be the state-of-the-art model for many natural language processing tasks, surpassing the [OpenAI GPT-4o model](https://openai.com/index/hello-gpt-4o/). My first test for comparing two large language models is their zero-shot text classification ability. In this article, …

3
205
Member Avatar for ianhaneybs

I have text that is displayed from a database and I have managed to remove the first h3 tag in the text by using the following code but I would also like to remove the two <br> tags that are before the paragraph of text <h2 class="productsummaryheading mb-0">Product Summary</h2> <?php …

Member Avatar for simhakidsden
0
48
Member Avatar for usmanmalik57

As a data scientist, I have extensively used the Hugging Face library for processing unstructured data such as images, text, and audio. My previous blogs have covered various transformer models for these types of data. Lately, however, I discovered that Hugging Face also provides transformer models for tabular data. One …

2
88
Member Avatar for li_049

![图片1.png](https://static.daniweb.com/attachments/5/081db9c666339d60f2cf91f9b3413e60.png) The value of the Class variable is '0' 'I' '0' 'H' '0' '4' I hope the value of the Class variable is A' 'T' '0' 'H' '6' '9' I tried using sort_region to sort SelectedRegions1, but it still didn't work read_image (Image1, 'C:/Users/29185/Desktop/图片1.png') get_image_size (Image1, Width, Height) dev_close_window () …

Member Avatar for rproffitt
1
33
Member Avatar for pritaeas

Anyone here that wants to share if they use AI Code Assistants professionally, which one and why? I'm looking for experiences with backend .NET development in Visual Studio to be specific.

Member Avatar for antwanlee
1
125
Member Avatar for usmanmalik57

# Comparison Between Fine-tuned and Default GPT-3 Turbo for Text Classification In one of my previous articles, I showed you how to perform [zero-shot text classification using OpenAI GPT-4o and Meta Llama 3 models](https://www.daniweb.com/programming/computer-science/tutorials/542001/openai-gpt-4o-vs-meta-llama-3-for-zero-shot-text-classifiation). I used the default models for predicting sentiments of airline tweets. The default models perform substantially …

2
599
Member Avatar for Stefce

Does all .apk files can be decompiled no matter on how they are protected and secured, and recompile back in apk file? I have an apk file which i need the source code to change something a little bit. I tried using [javadecompilers](http://www.javadecompilers.com) but i did not get the main …

Member Avatar for Umar_35
0
2K
Member Avatar for Admin907

I'm trying to understand what schema markup code is and how it works. From what I've gathered, it's a way to help search engines understand the content on a webpage better, but I'm not entirely sure how it's implemented or what benefits it provides. Can someone explain in detail: 1. …

Member Avatar for Umar_35
0
48
Member Avatar for Kirubel_2

<head><title>navigation</title> <link rel="stylesheet" href="../css/nav.css"> <link rel="stylesheet" href="../css/tutorial.css"> <link rel="stylesheet" href="../css/vedio.css"> <link rel="stylesheet" href="../../ionicons-2.0.1/css/ionicons.min.css"> </head> <body> <div class="container"> <button onclick="unb()" id="but">&#9776</button> <ul> <li><a href="#">MyList</a></li> <li><a href="#">KitHub</a></li> <li><a href="#">Comment</a></li> <li><a href="#">Image</a></li> <li><a href="#">About</a></li> <li><a href="#">Help</a></li> <input type="search" name="search" placeholder="SEARCH TUTORIAL VIDEO" id="search"> </ul><br> <!-- <button>&#8998</button> close --> <i style="font-size: 49px; color: white;margin-right: …

Programming html-css
Member Avatar for simhakidsden
0
37
Member Avatar for pyeri

Folks, We already know about CodeIgniter and its enormous capabilities as a PHP framework, this very site being a testament of it. But what about an even smaller micro-framework for PHP? Something along the lines of Flask or Bottle? Something you can use to develop things like REST API, prototyping …

Member Avatar for Dani
1
110
Member Avatar for cambalinho

heres my RayCasting code on VB2010(it can be another programming language, i will get the same bug): Private Function GetPositionMap(ByVal Position As Double) As Integer Return fix(Position / ObjectSize) End Function Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double …

Member Avatar for cambalinho
0
171
Member Avatar for Dani

I was consistently receiving MySQL "Packets out of order" error messages when attempting to connect to MySQL, mostly on my AJAX pages, but I couldn't attribute it to anything or reproduce it in any way. I did notice, however, that when switching MySQL persistent connections from on to off, the …

Member Avatar for Haseeb_12
5
1K
Member Avatar for usmanmalik57

OpenAI announced the [GPT-4o (omni)](https://community.openai.com/t/announcing-gpt-4o-in-the-api/744700) model on May 13, 2024. The GPT-4o model, as the name suggests, can process multimodal inputs, such as text, image, and speech. As per OpenAI, GPT-4o is the state-of-the-art and best-performing large language model. Among GPT-4o's many capabilities, I found its ability to analyze images …

3
1K
Member Avatar for Olive34

This is not really a question, since I can make it work. It's just something I have not seen before and I think it is odd. I'm writing some unit tests. One test works fine, but when I change a parameter for another test, it gives an error. The parameters …

Member Avatar for Ellsaheranny
1
175
Member Avatar for SoniyaJonas
Member Avatar for Dani

DaniWeb is built on top of the Codeigniter 3.1.x PHP framework. Although I probably should have built it as a CI model, here is the database library that we are using. You can see it mainly serves as a wrapper for CodeIgniter's built-in database class. You can see we use …

Member Avatar for pyeri
2
312
Member Avatar for Seema_7

What's the best cloud accounting software for small businesses that handle multiple sales tax rates? Or is there an affordable web-based small business accounting software?

Member Avatar for pyeri
2
418
Member Avatar for usmanmalik57

On April 18, 2024, Meta AI released [Llama 3](https://ai.meta.com/blog/meta-llama-3/), which they claimed to be the most capable openly available LLM to date. Concurrently, OpenAI announced [GPT-4o (omni)](https://community.openai.com/t/announcing-gpt-4o-in-the-api/744700) on May 13, 2024, which is touted as the state-of-the-art proprietary model for various NLP benchmarks. As a guy who loves to compare …

2
227
Member Avatar for samzz

Hello, I would like to wrap (surround) all words "flyer" (case insensitive) in the HTML text content, not those in the link. My RegEx works fine on Regex101: https://regex101.com/r/NVmXd1/1 Attached, my HTML file to test my (non working) JS RegEx. Thank you and regards.

Member Avatar for Dani
0
70
Member Avatar for Nina0X

Anyone is building Uniswap V4 Hooks? Would love to learn more about what you are working on, looking for developers' pain points to contribute through Uniswap V4 Hook Developer's assistant chatbot!

Member Avatar for Dani
0
67
Member Avatar for FarrisFahad

How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite calls to one another. How can I solve this?

Member Avatar for aishamushtaq
1
176
Member Avatar for Dani

Just as the title states, do non-web based email clients (e.g. Microsoft Outlook) respect CSP HTTP headers? Specifically, I want to prevent hotlinking of images hosted on my domain within HTML emails with these HTTP headers: Cross-Origin-Resource-Policy: same-origin Vary: Origin

Member Avatar for Ethanbrody
0
118
Member Avatar for usmanmalik57

In this tutorial, you will see how to generate stunning AI-generated images from text inputs using state-of-the-art diffusion models from [Hugging Face](https://huggingface.co/). You'll learn about base diffusion models and how combining them with a refiner creates even more detailed, refined results. Diffusion models are powerful because they iteratively refine an …

Member Avatar for rproffitt
2
183
Member Avatar for manmohan419

I'm currently working on enhancing the user experience for the <snipped> app, and I've run into a bit of a roadblock. I'm trying to optimize the game lobby to ensure smooth navigation and quick loading times, especially as our user base continues to grow. However, I'm finding that even with …

Member Avatar for aishamushtaq
0
93
Member Avatar for Julius_10
Member Avatar for rproffitt
0
91
Member Avatar for Oven

Im trying to code a lem-in project. https://github.com/01-edu/public/tree/master/subjects/lem-in Im coding in go lang. But its okay in another language tho. I can convert it to go. Me and my friends cant even solve the algorithm neither. ChatGPT is stuck and in the web i found a 800 rows of code. …

Programming c c++ python
Member Avatar for toneewa
1
78
Member Avatar for usmanmalik57

## Introduction Text-to-speech (TTS) technology has revolutionized how we interact with devices, making accessing content through auditory means easier. TTS is vital in various applications such as virtual assistants, audiobooks, accessibility tools for the visually impaired, and language learning platforms. This tutorial will explore how to convert text-to-speech using Hugging …

2
192
Member Avatar for jkon

I don't love Reddit , in fact before Google started to slap it on my face few months ago , I had many years to been there for a simple reason· I didn't liked their format nor their way of "building" a programmers community. Now everything I search in Google …

Member Avatar for jkon
0
120
Member Avatar for akkbkht

Hi All, Good day. I am trying to develop a roster for my team in Microsoft Power Apps. We are 6 teammates which do the duty in following format. SUMMERS: 6A, 6B, 11A, 11B, 12A, 12B WINTERS: 7A, 7B, 11A, 11B, 1A, 1B. Please note that in every shift there …

Member Avatar for akkbkht
0
44

The End.