smart

Is there a S.M.A.R.T. Library for .NET or Java?

I asked a somewhat related question but I want it to make it more concrete and 'programming' oriented, so here it goes: Does any body know, if there is a .NET, JAVA or any other Framework, library, .jar file or what ever: to access S.M.A.R.T. Statistics? Thanks! ...

Piano (Peano) numbers?

Hey, I was listening to the steve yegge podcast (#29, around 21:29), and in part of it, they were talking about "how to tell if the person you're talking to is smart", and they said that one way was to talk about "smart people things" (I'm paraphrasing), like "piano numbers" and "lambda calculus". I'm secure enough to admit that I'm not ...

Publish/Subscribe and Smart pointer

I would like to implement a simple Publish/Subscribe pattern where: A single publisher publishes a token (a pointer to an object) to its subscribers. Publisher and subscribers are all independent threads. I plan to add thread-safe queue to each of the subscriber such that Publisher can keep distributing the tokens to the subscribers whi...

Pointer to a Pointer question

I have a class with a (non smart) pointer to an interface object (lets call it pInterface) and I am building a nested class which also needs access to that interface. I am going to get around this by passing the pointer to the interface into the constructor of the nested class like so: CNestedClass someClass( pInterface, ... ); Howeve...

Is boost shared_ptr <XXX> thread safe?

I have a question about boost :: shared_ptr. There are lots of thread. class CResource { xxxxxx } class CResourceBase { public: void SetResource(shared_ptr<CResource> res) { m_Res = res; } shared_ptr<CResource> GetResource() { return m_Res; } private: shared_ptr<CResource> m_Res; } CResourceBase base; ...

How can I create an autocomplete ComboBox in VB6?

Is it possible to use the default ComboBox control under VB6 to make it a smart ComboBox? We suppose that the values are already populated in the ComboBox. For example: New Delhi New World New York We need the ComboBox to respond to one of the default events, so when for example the user writes 'N' the value in the ComboBox will be th...

Smart Client and Web App simultaneous development

What are the strategies and tools to be used, if an Application that is being developed needs to have Web Client and Smart client. Does Smart Client Software Factory or related applications blocks ease such developmental path? The environment is .Net 3.5 Please suggest me the direction based on these priorities 1. Reuse of code 2. Devel...

How can I read the purse balance with an EMV CARD?

I'm working with a smart card reader and I'm finding some trouble about getting the purse balance from an EMV card. I have developed software for other cards with t=0, protocol, but this time this process is killing me. I supposse it has to be something like : Select Purse balace File Read Record. I did not find this file, and then I ...

Programmatically Enable Smart Tag in Outlook 2007

There's a "global" checkbox titled "label text with smart tags" in Outlook that enables/disables the entire list of smart tag recognizers, under Tools/Options/Mail Format/Editor Options/Proofing/AutoCorrect Options/Smart Tags. I can programmatically enable the individual recognizers in the list, but the million dollar question is, how to...

SSRS 2008 smart label

Hi All, I have a 3-D pie chart and wish to show the smart label. My problem is the smart label only takes the first value in the data field series. I need to display for all the values in the data field series as label outside the chart. Can anyone point to me what am I missing? Thanks for any input. ...

IIS SMTP remote domain smart host never sends

I'm not a novice but sure feel like one, Using IIS SMTP, I'm unable to get the smart host for a remote domain to send email. Instead it always wants to send it from the IIS server unless I turn on smart host for entire SMTP IIS server in the properties. No matter what settings I put in the remote domain settings, it never uses those ...

What's the difference of *.tpl and *.html in smarty?

I didn't find the document about this. ...

admin rights with smart install maker

Hey there, yesterday I purchased Smart Install Maker. Everything seems to be working fine, except the admin rights. Even when I uncheck the field "require Administrator rights" my final install package can't be installed by a normal user who hasn't got admin rights. The installation will start, but during the copying process it promps "...

Mimicking Smart folders

Hi, I am new to mac programming. I have a small task to do. I need to watch for file creation events in a folder, intercept them, and create symbolic links instead of a copy. ANy idea if there is any source code to do so or any api i should use? ...

Cannot run unit tests for an application developed with Compact Framework for Windows CE 6.0 platform

I'm developing a solution for Windows CE 6.0 using GuD_AtomKit X86 Device emulator. I'm not able to run any unit tests, because I get following error message: The test adapter ('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=9.0.0.0, Culture=neutral, P...

When should I give out my iPhone UDID?

When should I give out my iPhone UDID? A company is developing an application for my company for the iphone wants my UDID. Are there any risks to me as an individual giving this out? Many thanks ...

How to make php application to require smart card authentication.

I can make browser to force authentication with smart card eg ID-card when php file is protected with SSLVerifyClient in apache conf. Now i need to display index.php usually without requiring smart card authentication and sometimes this same page must get user authenticated. doStuff(); if ($needed==1) authenticateUser(); doMoreStuff...

C++ SmartPointers leak on self assign?

Hello, i have small problem understanding why my smart pointer class is leaking on self assing. If i do something like this SmartPtr sp1(new CSine());//CSine is a class that implements IFunction iterface sp1=sp1; my colleagues told me that my smart pointer leaks. I added some log messages in my smart pointer to track what is going on ...

Word SmartDoc - Node Manipulation based on Current Cursor Position

I've created a smart document xml expansion pack for word that has an action associated with #actionPertainsToEntireSchema. An image in the action pane has several "hotspots" painted and using the X,Y pos I determine what the user desires to do. I'm using CS Here's where the user invokes a command: ImageClick(int ControlID, string App...

Visual Studio 2008 Create new Smart Device project option not available

I have installed Visual Studio 2008 (also tried with 2010 beta) and cannot see the option to start a new smart device project (for windows mobile) I have tried multiple websites - I appears I have to install windows mobile 6 SDK but when I try to install that it says I need to have visual studio 2005 installed. Am I missing something r...