|
Yes please!
I was looking for something similar a little while ago but really struggled to find anything. Most of the testing articles seem to be appreciated at Code Project.
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Anyone interested in a hierarchy model for ports?
Something like
CPort
- CSerial
- CUSB
Mike "Cop" Pulice
mike@puliceworx.com
|
|
|
|
|
yes could you discus it or publish an article for it
especially the USB port
Mhmoud Rawas
------------
Software Eng.
|
|
|
|
|
yeah definitely !
bring it on.
|
|
|
|
|
Has anyone tried developing .NET apps for the X10 Activehome products? This basically entails sending and receiving packets through a serial port, which then sends a signal through your power lines to control lamps, appliances, etc. Tricky part is that the transmissions have to synchronize with the frequency of the AC power line! Tutorial and samples for monitoring COM ports are here:
http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/
And the X10 protocol for the power line interface is here:
ftp://ftp.x10.com/pub/manuals/technicalnote.pdf
Any input is welcome. The Activehome kit is a pretty nifty little toy and could make for some interesting programming applications.
|
|
|
|
|
Hi,
It actually sounds like a nifty idea. Everyone seems to have a serial port and the interface protocol is a bonus; however, if there is no hardware with which to interface, it's difficult to do the testing.
I think it would be rather keen to create devices (such as infrared receivers) to be able to provide the ability to dim and/or turn on/off lights. (i.e. from the home entertainment system remote control.)
Regards,
Joe
|
|
|
|
|
Is this stuff available in the UK?
My wife is disabled, and among other things has problems with light switches, etc, although she can use a PC, so this would be quite interesting...
Steve S
|
|
|
|
|
I have to impelement my own double pow(double x , double y)
I cannot use of math library any ideas
Ctrl+Alt+Del
|
|
|
|
|
it helps if you understand what POWER means...
in primary school, we learnt that 2^5 = 2*2*2*2*2
so x^y = x1*x2*x3*x4*...*xj where j=y
you don't need any maths libraries...
i hope this helps with you homework...
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
In high school, we learned that you can raise numbers to non-integer powers. Although your 'algorithm' would be applicable if the request was for double pow(double x, int y), things become more complicated for double y, typically involving logarithms.
|
|
|
|
|
yup...
sounds reasonable... it's been a VERY long time since i was at either primary school or high school, but your response sounds reasonable...
either way, this sounds like a 'homework' question, and i think our friend needs to do their homework by looking up the alorithms either on the net, or in their maths book...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
Mr. Nik,
How with your primary school maths, can you calculate
Pow(1.5, 2.3)
I myself don't know the answer.
But I would give a friendly advice - Give a thought before commeting and telling what is taught in primary schools.
Thanks
Ruchi
|
|
|
|
|
ruchi,
if you had read my previous response to janovetz, you would have realised i had already conceded that point...
i would also like to provide some friendly advice... read *all* the thread before providing friendly advice...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
public double Pow(double a, double b)
{
double temp = 0, final = 0;
temp = b*Math.Log(a);
final = Math.Exp(temp);
return final;
}
Hope this helps
Thanks
Ruchi
|
|
|
|
|
Get it here! Enjoy the reading.
|
|
|
|
|
No text. Well, nothing worth saying, atleast.
<--Signature begins here-->
I am...
Currently: A Programming Student/Intern.
Working on an outside project: A game for the GamePark32 (GP32) portable gaming console.
GamePark32 English(Engrish) site[^]
My new website: www.gp32us.com *Currently Under Construction*
|
|
|
|
|
sorry, replyign to this as a test of my sig I can't find a testing area for this, so, sorry
|
|
|
|
|
nssone wrote:
<img src=http://gp32us.com/images/linkimage.jpg border=0>
Nope - images the traditional way are disabled. If you can find a way to do it anyway, go ahead, but I don't think I'm supposed to tell.
|
|
|
|
|
nssone wrote:
Re: Is there anything on g++ around here?
Is there anything in particular you want to know?
- Mike
|
|
|
|
|
Well, I was kind of looking for some basic ARM based stuff for like pocketpc type applications.
Who am I?
Currently: A Programming Student trying to survive school (especially this semester).
Working on an outside project: A game for the GamePark32 (GP32) portable gaming console.
GamePark32 English(Engrish) site[^]
My website: www.GP32US.com
|
|
|
|
|
i've been searching all over the net for info on how to code USB communication. it seems like people are keeping USB technology under the lid. Surely USB applications are becomming more abundant as we step away from serial comport stuff.
would someone be kind enough to put me out of my misery and tell us all about USB communication. especially how to autorun a USB flash memory stick
thanx in advance
|
|
|
|
|
|
Okay, I get so much SPAM e-mail, I want to do something about it.
So, is there a reliable, configurable program that can help me to eliminate SPAM from my e-mail? I am looking for a recommendation.
Otherwise, I am willing to help code COM objects, C++ classes, whatever, to write a utility to help me do this.
Now, if I have to work on one from scratch, this is what I would like to be able to configure (off the top of my head...).
1. Multiple e-mail sources/services. Each one has its own username and password, etc. for logging in, perhaps.
2. I want some notion of e-mail 'senders' who are automatically considered VALID and those that are automaticlaly considered INVALID.
3. I want to be able to configure text snippets that might be contained in the message subject line, or body text, or both. Those that are considered automatically VALID and those that are considered automatically INVALID.
Ideally, this program would be able to obtain all pending message header data from the server, perform the analysis, and then request the server to delete the invalid items, thus saving me from even downloading the bulk of the spamming e-mail. I am pretty sure this is a specification for the e-mail operations, as I recall Eudora used to have some feature to view e-mail headers, without downloading the entire message. If Microsoft Outlook has such a feature, it is buried under so many layers of dialogs and menus, I have never seen or identified it.
Usage of such a utility:
1. User configures the utility.
2. User runs utility first (assuming it deletes messages at the server source based upon the message header data)
3. User then collect e-mail like normal.
Now, since I primarily use Microsoft Outlook, and it might be compatible with Outlook Express at some level, it would be possible, I think, to write an 'add in' that could also do this same work. However, I can live with a completely stand-alone utility as well.
So, any ideas out there? Does this seem like a worthwhile project?
Is there an inexpensive commercial product that already does this?
Can I perhaps successfully automatically eliminate over 150+ SPAM e-mails per day?
Thanks.
|
|
|
|
|
Where have you been the last year? Bayesian filters are the de facto method for filtering SPAM by classifying spam with a percentile representing the likelyhood that it is spam based on SMTP headers and content. There are already a TON of stuff - both free and not - that do this. One of the most popular is a plug-in for Outlook called SpamBayes.
There are also a lot of articles on Bayesian filters and most of the large ISPs (and many personal sites) use such an algorithm because - after a little training - it can filter about 99% of SPAM with only about 0.1% of false positives - or around there).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Well we ve all seen the multidesk freeware that helps group together windows and hides them suposedly as seperate virtual desktops.
Well it only helps in uncluttering the taskbar and nothing else
and basically all it does is group together window handles to either hide or show right
so i basically thought it as pretty lame
I was trying on how to build an app to indeed create virtual "MULTIPLE DESKTOPS"
where when switching between desktop indeed changes the icons on the desktop themselves
a feature that linux desktops serve
coz my desktop really does get pretty cluttered
----------------
if ive stated my objective clearly enough could anyone give me pointers on how to get the icons/objects in the desktop window
from spy++ ive found that the real desktop window is a SysListview32
so basically its a ListCtrl
thinking abstractly therefore its a ListView window whosn in LARGE ICONic view
so all i need in my program is the group the different icon elements in the list ctrl right
only i cant seem to do this
-----------------------------
any pointers on how i can do this??
or do u have any other ideas
if my basic premise is flawed please correct me
attaching a lame source snippet by which u can RESIZE the desktop window
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
HWND hDeskWnd;
hDeskWnd=FindWindowEx(0,0,"Progman",NULL);
hDeskWnd=GetWindow(hTmpWnd,GW_CHILD);
hDeskWnd=GetWindow(hTmpWnd,GW_CHILD);
SetWindowPos(hDeskWnd,NULL,0,0,200,200,SWP_DRAWFRAME);
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
|
|
|