Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
using
- Page 1
Re: GCC Fails to Recognize Parameters
Programming
59 Minutes Ago
by toneewa
While I haven't used DJGPP for a couple decades, I decided to install the ffmpeg library and do a test program another way. For me, the declarations worked changing: #include "os_support.h" #include "avformat.h" #include "internal.h" #if CONFIG_NETWORK #include "network.h" #…
How To Set Up XMail login Account
Hardware and Software
Networking
4 Hours Ago
by JAM12
… your email address if necessary. Once verified, you can start
using
your new Xmail account for secure communication. Following these steps…
Re: A module that comes with Python, doesn´t register?
Programming
Web Development
21 Hours Ago
by Reverend Jim
… and greatest" is 3.11x but I am currently
using
an old laptop while my regular one is in the…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
22 Hours Ago
by Audun
Thanks. That sorted it. Now, I have a new problem.. I tried the two variations of quotation marks, without the backslash, and got this: >>> %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures\…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
22 Hours Ago
by Audun
Sorry for the weird formatting..
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
21 Hours Ago
by Reverend Jim
What happens if you open a python shell and just type "import cv2"? As I said in your other thread, the problem might be with python 3.12. It imports ok under 3.10.
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
5 Days Ago
by usmanmalik57
… common NLP tasks within your Python applications
using
the HuggingFace library. So, let’s …, convert the messages to the required format
using
the `tokenizer.apply_chat_template()` method, and pass …will extract the response text only by splitting the string
using
the `[/INST]` substring. ``` def generate_response(input_text, response_tokens,…
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Day Ago
by usmanmalik57
…the same. We will first create an OpenAI client
using
the [OpenAI API key](https://platform.openai.com/…-called best, Claude 3 Opus. To generate text
using
Claude 3, you need to create a client object… the `find_sentiment_claude()` method that returns the sentiment of a tweet
using
the Claude Opus 3 model. ``` client = anthropic.Anthropic( …
Re: How to Code a Load More Button?
Digital Media
Digital Marketing
Search Engine Strategies
6 Days Ago
by MarkMarketer
… you through creating a simple "Load More" button
using
JavaScript. Please note that this example assumes that all your… would likely be fetching the additional data from a server
using
AJAX or Fetch API. Here's a basic example: HTML…
Re: What's up with XOAuth?
Programming
Web Development
6 Days Ago
by Dani
… in 2019. It connects to the email server via SMTP
using
a username and password. I am trying to do the… work possible to modify this library to connect via SMTP
using
XOAuth2, which is now required by nearly every mail server…
Devin Might Be Fake, Yet AI's Threat to Jobs Is Real.
Community Center
3 Days Ago
by Johannes C.
… behind Devin claims it can autonomously finish entire coding projects
using
its integrated shell, code editor, and web browser. They further…
Re: Improve HAVING BY performance
Programming
Databases
6 Days Ago
by Reverend Jim
… can significantly speed up queries that involve aggregations, including those
using
the HAVING clause. However, this approach comes with maintenance overhead…
Re: Improve HAVING BY performance
Programming
Databases
6 Days Ago
by Dani
…-no in your books? There's a big difference between
using
AI as a *tool*, and just copying and pasting an…
Re: DomContentLoaded vs jQuery Ready fn
Programming
Web Development
3 Days Ago
by toneewa
… non-existent DOMContentLoaded event on obsolete browsers like Internet Explorer,
using
deferred execution, that fires later than the real event in…
Re: What's up with XOAuth?
Programming
Web Development
3 Days Ago
by toneewa
Maybe you were thinking of something like this: <?php // Include PHPMailer-BMH library require 'vendor/autoload.php'; // Adjust the path as needed // Create a new BounceMailHandler instance $bmh = new \voku\BounceMailHandler\BounceMailHandler(); // Set up Office 365 SMTP settings $bmh->…
Re: What's up with XOAuth?
Programming
Web Development
3 Days Ago
by Dani
Wait, huh?? Is that code generated by ChatGPT or something? It doesn't make any sense?
Re: What's up with XOAuth?
Programming
Web Development
3 Days Ago
by toneewa
[Setting up phpmailer-office-smtp](https://stackoverflow.com/questions/24947434/setting-up-phpmailer-with-office365-smtp) [PhpMailer example](https://github.com/voku/PHPMailer-BMH/blob/master/examples/index.php) Maybe these will help.
Re: What's up with XOAuth?
Programming
Web Development
3 Days Ago
by Dani
Unfortunately the first link is for support with PHPMailer itself (totally different library), and the second link is just a generic example of how to use the library which we are already doing. Thank you for trying though!
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…(images = cropped_image, return_tensors="pt") # make prediction
using
table transformer outputs = structure_model(**inputs) # post process output to… = get_cell_coordinates_by_row(features) ``` ### Extract Text from Cell Coordinates
using
OCR Finally, we define the `apply_ocr()` function that iterates through…
Re: How can I create a meme generator using js canvas?
Programming
Web Development
4 Weeks Ago
by jessicaboland
… project! To allow users to move text around the canvas
using
the mousemove event, you'll want to directly manipulate the… text within the canvas rather than
using
an overlay div. See Example: const canvas = document.getElementById('yourCanvasId…
How to query database using variable and get all results not just one row
Programming
Web Development
3 Weeks Ago
by nander
… a database to show records only for the current user
using
variable I get the correct data but only 1 row…
Re: How can I create a meme generator using js canvas?
Programming
Web Development
2 Weeks Ago
by kimnancy
Implement text movement on the canvas
using
mousemove. Update text position within the canvas for efficiency; avoid overlay divs. Aligns with the graphical nature of meme generation.
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
3 Weeks Ago
by Reverend Jim
… = cv2.imread(r'C:\Users\Audun Nilsen\Pictures\pica.webp')
Using
`r'` in front of a string indicates a raw string…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
… ) ``` The script below divides all the documents into text chunks
using
the `RecursiveCharacterTextSplitter` splitter. ``` all_text_chunks = [] # To store chunks …=True) return final_response ``` We can test the `generate_response` function
using
the following script: ``` query = "What is Warren Buffets…
Re: Postfix authentication problem
Hardware and Software
Linux and Unix
1 Week Ago
by chickenbirds
… Ubuntu local web development machine for send-only e-mails
using
Gmail so I can test e-mails sent by a…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… to run. We can reduce the model weight sizes
using
bits and bytes configuration. The following script sets model….png) Let's now try to make a prediction
using
our fine-tuned model. To do so, we will… accepts a text review, formats it, and predicts its sentiment
using
our fine-tuned Gemma model. ``` def predict_sentiment(review): text …
Re: Header design inconsistency between the Home and Blog Page
Programming
Web Development
3 Weeks Ago
by Dani
It sounds like the Kadence theme has its own additional CSS that is overriding some of the CSS you're
using
for your custom header.
Mule 4 - Workday connector
Programming
Software Development
3 Weeks Ago
by brother_1
i'm wanting to get employee data from Workday such as when a new hire happens, employee terms, or just an update to employee record. I'm
using
the HR workday connector from Workday and I believe that I configured the connector correctly, but i'm still getting a 500 error. Are there any suggestions to get my connection working?
GCC Fails to Recognize Parameters
Programming
3 Weeks Ago
by snah19
…;certain" Parameters in FFmpeg Source Code Hi, I am
using
the DJGPP cross compiler 12.2.0, developed by Andrew…
Help with functions - basics
Programming
3 Weeks Ago
by verrandhack
… im working on functions for the first time in vscode
using
c++. i'm want to declare functions and having trouble…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC