16,001,979 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Amarnath S (Top 39 by date)
Amarnath S
23-Mar-24 2:35am
View
On Mac, I believe you've to use the Command key instead of the Control key.
Amarnath S
20-Jan-24 12:56pm
View
What is your question?
Amarnath S
8-Jan-24 1:30am
View
Will need a Tally Prime license in order to try this out. I don't even have a basic Tally license. So, you need to post this in the Tally support forum.
Amarnath S
3-Dec-23 1:30am
View
Looks more like a linking issue. However, to really eliminate compilation errors, you should compile each of the files individually, and fix all compilation issues. Then see whether the library references are proper, to remove all linking errors.
Amarnath S
24-Nov-23 7:31am
View
You code does not have any Zdog library references in the JavaScript part. You need to show what you've tried using Zdog, and where is it failing, with specific error description.
Amarnath S
24-Nov-23 7:27am
View
Cybersecurity is indeed difficult.
Amarnath S
22-Nov-23 4:20am
View
Perhaps you need to map the cursor location to the exact triangle within which this cursor lies (this is indeed a complicated mapping, based on whether your projection is isometric or perspective), and then get the height by some interpolation between the z-coordinates of the three vertices of this triangle.
Amarnath S
16-Jan-23 0:43am
View
You can see some sample code on rolling a die, in this article of mine - https://www.codeproject.com/Articles/1247382/An-Interesting-Problem-in-the-History-of-Probabili
You can then modify this code to your requirements.
Amarnath S
8-Apr-22 8:06am
View
I got this formula document - https://www.cgeo.uliege.be/CAO/CAD_05.pdf, which contains a formula for the same using blending functions. Give it a try, while I will also try it. My Matlab knowledge is quite rusty, and I could not get it easily, because matrix dimensions caused a problem. Perhaps can do it easier in JavaScript.
Amarnath S
7-Apr-22 20:51pm
View
I got the formula from somewhere on the Internet. Will work on it today afternoon (India time) and let you know.
Amarnath S
7-Apr-22 12:40pm
View
Which book are you referring to? I referred to the Mortenson and Rogers & Adams books. Can you post the formulas as an image, somewhere.
If you send me a link to the formulas, I will find some time to work on it tomorrow afternoon (India time).
Amarnath S
7-Apr-22 6:20am
View
At a first glance, it looks like this line is incorrect
(((1-u(i)*(1-w(j))* A1))) - (((1-u(i)*(w(j))* C1))) - (((1-w(j)*(u(i))*D1))) - (((w(j)*(u(i))* B4)));
A4,
You have A1, C1, D1 and B4. Should they all not have the same index - All should be A1, C1, D1, B1, or all should be A4, etc.
If you have any reference to the formula for the Coons surface, check the coefficients one by one. In my reference, I have a different formula for the Coons surface, as shown in one of my articles - https://www.codeproject.com/Articles/5295155/CurSur-3D-Curves-and-Surfaces-in-Geometric-Design
Amarnath S
7-Apr-22 2:47am
View
What are your expected results?
Amarnath S
1-Apr-22 10:47am
View
Looks like you have an extra closing bracket } just before the line http.send(data);
Just delete that } and check.
Amarnath S
20-Nov-20 10:10am
View
Maybe the server is not started. Start the server and see. If you use VS Code, you can start the app using Live Server.
Amarnath S
3-May-20 21:38pm
View
Check three things:
1. Whether your camera is pointing towards the triangle.
2. Whether you have defined the light.
3. Reorder the triangle vertices, as in {0, 2, 1}. The front face of the triangle may be away from the camera, this is to correct that.
Amarnath S
29-Sep-19 5:10am
View
Deleted
What is the issue?
Amarnath S
15-Aug-18 6:14am
View
Try to run the same code outside of the timer code, say upon clicking of a button, and see if it works. Then add the complexity of Timer.
Amarnath S
24-Sep-15 5:15am
View
Very briefly:
Library: A bunch of code having some common functionality. For example, the math library has functions related to math, like sin, cos, sqrt, etc. This may be in the form of dynamically link libraries (.dll), statically linked ones (.lib), shared objects (.so on Unix systems), etc.
makefile: A file specifying the order in which compilation and linking have to happen, and commands to create the final executable. And external dependencies.
Amarnath S
17-Sep-15 23:12pm
View
The best way is to: Close your eyes and think through the solution. You'll have a working solution in not more than an hour.
Amarnath S
15-Sep-15 12:16pm
View
Is your Professor not watching this post? Does he know that you consider his data structure as absurd?
Amarnath S
15-Jun-15 1:38am
View
Not sure whether you can 'find' code somewhere for this specific problem.
You need to write the code. For that, should use SQL syntax.
Amarnath S
15-Jun-15 1:11am
View
And, what have you tried so far?
Amarnath S
12-Jun-15 5:59am
View
What will be my prize, if I win?
Amarnath S
12-Jun-15 5:29am
View
Look at the Matlab SVM tutorials, and examples. Hopefully they have examples from the healthcare domain. Since you mention you are a research student, (the easy part of) your research will involve understanding these examples, and applying it on your features.
Amarnath S
7-Mar-15 11:10am
View
Deleted
When is the deadline for this assignment?
Amarnath S
1-Jan-14 9:04am
View
If you want to go with C++, here is a fine book to read and understand - available at the Stanford website: http://www.stanford.edu/class/cs106x/ - Go to the "TextBook PDF" link on that page. Bear in mind that this book is about problem solving using C++; and therefore not like any other standard textbook - in fact it is much better than those.
Amarnath S
1-Jan-14 8:59am
View
Can you not debug and check?
Amarnath S
13-Aug-12 7:25am
View
Just type "Steganography" in the CodeProject Search box, and you'll get 26 results, most of them with code.
Amarnath S
8-Aug-12 23:52pm
View
Already answered in http://www.codeproject.com/Questions/436313/Did-how-can-image-processing-environment-QT
Amarnath S
8-Aug-12 12:33pm
View
If it were so easy to get into Google just by reading a book, ...
Amarnath S
8-Aug-12 12:29pm
View
@CIDev, thanks. Somehow, I missed that star icon amidst all the contents of this page. I was looking for it at the top, and it is in the bottom.
Amarnath S
7-Aug-12 7:34am
View
Is there a way to bookmark your solution? I'd like to bookmark it.
Amarnath S
19-Jul-12 0:15am
View
Look at this example:
http://doc.qt.nokia.com/4.6/widgets-scribble.html
Amarnath S
18-Jul-12 23:52pm
View
A quick search for "qt rubber band line" yields these results:
http://www.qtcentre.org/threads/3596-Draw-rubberband-line
http://lists.trolltech.com/qt-interest/2001-12/thread00642-0.html
See also:
http://doc.qt.nokia.com/4.7-snapshot/painting-basicdrawing.html
In the above, they have drawn a rectangle, you need to modify this to draw a line. Also make sure that you're painting the bitmap before drawing the line, so this gives the appearance that the line is drawn on the image. A similar method for drawing text.
To achieve a flicker-free performance, you need to do double-buffering:
http://doc.qt.nokia.com/qq/qq06-flicker-free.html#doublebuffering
Amarnath S
7-Jul-12 9:37am
View
Though I can't tell you the exact function names in OpenGL, there are basically two functions you'll have to use:
1. Line function (two calls) - to draw two radial lines shown in your figure
2. Arc function - to draw the circular arc in your figure.
One thing still needs clarification - You mention that M is greater than N - this means that their meeting point is not at the centre of the arc. Have you got a mathematical formula for that point?
Amarnath S
3-Jul-12 13:08pm
View
Thanks. Yes - I missed this out. Thanks for pointing.
Amarnath S
1-Jul-12 11:25am
View
Work the other way round. Look at how the user uses the executable, and try to figure out how the code would have been written. Why knows, you may come up with a better, faster way of achieving the same result. Of course, it is quite a struggle; nothing ever happens without a struggle, isn't it?
Amarnath S
30-Jun-12 5:41am
View
The procedure is very well explained on that site, and even has an example for an invalid NRIC number. Quite easy to convert to code. So, start thinking about the implementation.
Show More