Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
raw_input
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
2 Days Ago
by lennyli
> Why your approach isn’t working > What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: > > Running a .exe on the server > You can technically make the server launch an .exe file like Notepad, but: > > It will run in the background on the server, not visibly on…
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
2 Weeks Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
send checkbox to email using phpmailer
Programming
Web Development
2 Months Ago
by ianhaneybs
I need some help with getting checkbox values sent to email using phpmailer I have not done it before so unsure how to do it, the current code I have is below $postData = $_POST; $oneway = $_POST['oneway']; $return = $_POST['return']; $htmlContent = '<h2>Contact Form Details</h2> &…
Implementing a Dynamic Filter Option in a Web Application
Programming
Software Development
1 Month Ago
by YashSmith
If you want to add a dynamic filtering option in your web application, here’s a simple and effective solution using React. This filter allows users to search by keyword, set minimum and maximum values, and filter by category. import React, { useState } from "react"; const DataFilter = ({ data }) => { const […
Re: send checkbox to email using phpmailer
Programming
Web Development
2 Months Ago
by Dani
I would begin by making sure that you sanitize input passed in via $_POST. This ensures that someone doesn't pass in something like `$POST['oneway'] = '</p>Foo!<strong>Blah</strong>` and completely screw up your HTML, or, worse yet, inject Javascript into your HTML. <p><b>One Way:</b> ' . …
Using Ubuntu for chess tournament
Hardware and Software
Linux and Unix
2 Months Ago
by Quantum1982
Hi I want to run a chess tournament that uses Android tablets as the input for each player. These tablets will be placed on a table, where at the end of the table there will be a pc running Ubuntu. The tablets will communicate with eachother using Bluetooth. The tablets will also send the moves wirelessly to the pc running Ubuntu. I want to …
Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by ianhaneybs
I need to display a pound currency symbol before the amount that is calculated Below is the code I currently have <th class="text-right py-1 px-2 grand-total">0</th> function calc(){ var grand_total = 0; $('table#list tbody input[name="total[]"]').each(…
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by Biiim
Since Dani did the best standard-correct answer I will do the botch-job answer: $('table#list tfoot .grand-total').text('£'+parseFloat(grand_total).toLocaleString('en-gb', {style:'decimal',maximumFractionDigit:2})); $('[name="amount"]').val('£'+parseFloat(grand_total)); may also want to use £ to display in …
【McCharts】基于鸿蒙 ArkTS 语法开发的图表组件 -- 折线图
Programming
Software Development
1 Month Ago
by 杨_659
## **Introduction** > The McCharts component library is developed based on Hongmeng ArkTS syntax and supports API 9 and above. The chart component has been open sourced. Everyone can participate, whether they are new or experienced, to learn from each other, develop more component libraries, and enrich the ArkTS ecosystem. > > You can…
Best way to find a segment of code that matches a given input segment?
Programming
Software Development
2 Months Ago
by mark_hahn
I need to develop an application where I give an llm a piece of code, like maybe a function, and then the llm finds the closest match that does the same thing. It would look in one or more source files. The thing found may be worded differently. If the search finds the identical code then it should consider that the match. I assume the llm …
Re: Best way to find a segment of code that matches a given input segment?
Programming
Software Development
2 Months Ago
by rproffitt
I'm going to start with a joke: Q. How do I get to Carnegie Hall? A. Practice, practice, practice. You won't be doing what you ask without building up your skillset and learning how to create "things". Now if you need this today you outsource the work. I know folk underestimate projects all the time so I'll share that the smallest …
Re: Best way to find a segment of code that matches a given input segment?
Programming
Software Development
1 Month Ago
by Dani
I'll echo rproffitt in that *anything* is feasible with the right tools, skillset, money, and time. However, I think the question you really mean to be asking is how feasible this is for *you*? I will start off by saying that, as long as you're only thinking of very simplistic complexity, I think the existing LLMs out there are capable of …
Re: Best way to find a segment of code that matches a given input segment?
Programming
Software Development
1 Month Ago
by Salem
What's the use-case? "Black Duck" is an existing application for scanning your in-house proprietary software to make sure it doesn't get tainted with open source software with vague/incompatible licence terms.
Re: Escape in-app browser?
Programming
Web Development
2 Months Ago
by Dani
rproffitt, alexxx does not have the ability to edit raw HTML within his Instagram bio. Instead, the link has to point to a URL that uses deep linking to redirect the final destination URL to open in Safari. I am not familiar enough with mobile development to know how to do this, but, yes, it does involve writing code. I also want to point out …
Re: Selling the house that I grew up
Community Center
Geeks' Lounge
1 Month Ago
by Reverend Jim
Ayup. First went to Shebandowan summer of 1981 (wife's family cottage) and sold in 2021. At that point it had been in the family for almost 100 years. It was getting too hard to maintain at our age and the drive (close to eight hours) was just getting to be too much (I did the round trip three times that summer to bring stuff home). Also with …
Re: Show selected option id
Programming
Web Development
2 Months Ago
by Biiim
Normally you would use the value property as well, I have actually never seen the id attribute being used like that before. <select class="form-control select2" style="width: 100%;" id="managsel"> <option value="" SELECTED>Select Department</option> <option value="…
Re: Contact form does not working
Programming
Web Development
2 Months Ago
by Dani
> Firstly, I'd suggest you edit your post to remove your real email address from the code. I have replaced their email address with a dummy email. > Sanitise your subject and/or message. You can't in general feed whatever was typed into your dialog directly into mail. Salem is referring to passing each of those variables in …
Re: How Can I Hookup My Mobile Phones To My PC Monitor ?
Hardware and Software
Hardware
Mobile and Wearables
1 Month Ago
by Fitmovers
If you want to connect your Samsung Galaxy A9 to your Dell E1916HV monitor, you'll need a USB-C to HDMI adapter (if your phone supports HDMI output). Since your phone has only USB ports, check if it supports Samsung DeX or screen mirroring via an MHL adapter. If your monitor only has VGA input, you might also need an HDMI to VGA converter.
Re: Is AI good in future for content writing
Programming
Software Development
1 Month Ago
by Yenjeff
AI is great for speeding up content creation, but human creativity still matters. It struggles with originality and deeper emotional storytelling, so a mix of AI and human input works best.
Re: Fine-tuning OpenAI Vision Models for Visual Question-Answering
Programming
Computer Science
2 Months Ago
by RKE2
Fine-tuning OpenAI Vision Models for visual question-answering is an exciting step forward in AI! It is amazing how these models can combine image recognition with natural language processing to provide accurate, context-aware answers. Cannot wait to see more advancements!
Re: How To Send MYSQL Data To An Email
Programming
Web Development
2 Months Ago
by Biiim
Here's the code I've been using for about 15 years now - but a bit more simplified: function dbConnect($type = ''){ $conn = mysqli_connect( DBHOST, DBUSER, DBPASS, DBDB); if (!$conn) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . …
Re: Using Ubuntu for chess tournament
Hardware and Software
Linux and Unix
2 Months Ago
by Salem
It's probably going to depend on the number of connections your hardware supports. https://man.archlinux.org/man/hcitool.1.en > lealsz Read size of LE Accept List On my machine $ sudo hcitool lealsz Accept list size: 25 Bluetooth is generally low bandwidth, so if you're just sending moves as short ascii strings, the …
Re: Using Ubuntu for chess tournament
Hardware and Software
Linux and Unix
2 Months Ago
by Quantum1982
Hi Thanks for the info. I will do a search to clarify what the distance limitation is for using Bluetooth. I assumed that the Wifi module in the Android tablet would be a better option to communicate with the pc ?
Re: Using Ubuntu for chess tournament
Hardware and Software
Linux and Unix
2 Months Ago
by rproffitt
I'd forget BlueTooth (BT) for this and head for a classic WiFi Adhoc setup. For my system which displayed a building door status in real time the demo system had a server which had an adhoc Wi-Fi setup so the clients could connect and send in status. Wi-Fi has range and supported many connections so that part of the problem was solved. …
Re: Using Ubuntu for chess tournament
Hardware and Software
Linux and Unix
2 Months Ago
by wootingdouble
Ubuntu is a solid choice for a chess tournament! It's stable, lightweight, and great for running chess engines smoothly. Curious to know how it's working for you!
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by Salem
https://stackoverflow.com/questions/44969852/javascript-number-tolocalestring-currency-without-currency-sign Maybe use style 'currency' rather than style 'decimal' ?
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by Dani
Yes, but you might want to also add `currency: 'GBP'`, as so: $('table#list tfoot .grand-total').text(parseFloat(grand_total).toLocaleString('en-gb', { style:'currency', currency: 'GBP', maximumFractionDigit:2 }))
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by gediminas.bukauskas.7
JS has a function for the formatting currencies. Read the 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat' article. You will find code samples there.
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by gottaloveit
[Currency.js](https://currency.js.org/) also works very well for this
Raw input (keyboard)
Programming
Software Development
13 Years Ago
by jain1.anuj
hi I am working on USB HID KEYBOARD and want to perform read/write operations over it. Can any one help me in providing information on RAW INPUT? code samples would be appreciated. Thanks in advance
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
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
© 2025 DaniWeb® LLC