profile

Where is the gcov symbols?

I'm trying to compile a simple app with gcov and getting the following link errors: gcc AllTests.o CuTestTest.o CuTest.o -o TestTest AllTests.o: In function `global constructors keyed to 0_RunAllTests': /home/p7539c/cutest/AllTests.c:26: undefined reference to `__gcov_init' AllTests.o:(.data+0x44): undefined reference to `__gcov_merge_a...

How to reload user profile from script file in PowerShell

I want to reload my user profile from a script file. I thought that dot sourcing it from within the script file would do the trick, but it doesn't work: # file.ps1 . $PROFILE However, it does work if I dot source it from PowerShell's interpreter. Why do I want to do this? I run this script every time I update my profile and want to t...

UML 2 Profiles Package: How to extend Operation?

Hi, guys! I'm in a big trouble with uml profile implementation. The problem is I can't get how can I extend uml Operation class from Infrastructure::Core::Constructs using Profile? The Extension association from Profiles package allow metaclass only to be of type Core::Constructs::Class according to uml metamodel. Is Operation a met...

how do sites automagically grab profile pictures?

Some sites have the ability to grab your profile picture after you sign up for the first time without the user actually uploading a pic. I think stackoverflow has this functionality at sign as well....How does it work? ...

Performance tuning using instrumentation model

Hello everyone, If I use instrumentation model as described here to profile .Net application performance, it means the profile tool will change the executable code of the to be profiled executable to insert performance measure code? So my original executable code is modified? http://msdn.microsoft.com/en-us/library/ms242753(VS.80).aspx...

How to configure constructor arguments when defining a StructureMap Profile

When defining bindings for types that requires ctor arguments for the default instance it's pretty clear how to do it. However, when I want to create alternative profiles it gets a bit more difficult. This is how it's done for a default instance: ForRequestedType(typeof (IRepository<>)) .TheDefaultIsConcreteType(typeof (SpRepositor...

Profiling programs written in C or C++

What would you suggest the best tool to profile C/C++ code and determine which parts are taking the most time. Currently, I'm just relying on logs but ofcourse the information is not accurate since unnecessary delays are introduced. Preferrably, the tool would also be able to detect/suggest areas which could be optimized, if such tool e...

Switch GNOME Terminal Profile from the command line

If I'm running gnome-terminal with multiple tabs open, is it possible to switch the profile of a given tab at the bash prompt, with instant effect, and without altering the profile of the other tabs? I understand how to use gconftool or gconftool-2 to change elements of a profile (such as the background), but I don't know how to actuall...

MySite and profile language

Hi Gyes, My problem is I installed sharepoint language pack (arabic), it works will, I created mysite in arabic and it also works will, but when I navigate to my Profile it's shown in English, I want my Profile to be shown in Arabic too. Does anyone have a solution Thanks ...

whats your favourite entry in .dbxrc ?

I have started to customize my .dbxrc file to save some time while debugging. What is yours favourite entry in .dbxrc file ? here is mine: export PS1='[ (dbx) Working Hard @ $(date +%H:%M:%S) ]' alias si="stop in" alias attr=attribute alias bfth=stop alias blth=stop alias c=cont alias cv=condition alias d=delete alias e=edit alias h=h...

Best way to profile memory usage in a Java application?

I realize that similar questions have been asked about this before here on SO, but let me describe exactly what I need to do: I have a set of tests which run a command line java application and I'd like to add memory profiling to them. One option I see would be to add code (possibly using 3rd party tools/libraries) to my application th...

Role, Membership, Profiles, Principals, and Forms Authentication

I'm swimming in the relationships and hierarchies of a web application that I'm trying to secure with custom sql membership and role providers. I'm a little fuzzy on forms authentication, principals, and the like. So -- The web.config is set up for forms authentication with a custom membership provider and custom roles provider. When ...

Using Multiple Profile Providers with Overlapping Properties

I am working with a site that needs to use two different asp.net profile providers. They are both added in the web.config and the properties of each of them are listed there as well. I run into a problem when I try to enable a property that has the same name in each provider. Comment one out, and the site will at least load. Leave both i...

Programmatically set synchronization profile on Outlook 2003

I know that Outlook does not provide any way to configure synchronization profile in the famous MAPI. It only provide API to syncStart/SyncEnd a defined sync profile, with one exception call "Application Folders" I am now using PRF to setup the Outlook, but it is difficult to read and I cannot find a reference to do an advance customiza...

Corruption of user.config

Anyone knows the reason of "random" user.config corruption? I've a WinForms app affected by this problem at my client's production line. Found the same issue on the web and a workaround but I can't figure out because it happens. ...

open source user profile management control?

Hello everyone, I am using platform C# + VSTS 2008 + ASP.Net. I am looking for some good quality, fancy and practical open source (in C#) open source controls. Any recommendations? thanks in advance, George ...

ASP.NET Custom Profile serializeAs Attribute

I am trying to implement a custom profile class in C# that inherits System.Web.Profile.ProfileBase. I have a few properties of type System.Collections.Generic.List that need to be serialized as binary instead of the default XML. However, I am unsure of how to mark that setting in Profile class. For instance, I have a property named "Sav...

Facebook add profile box for iframe app

I have an iframe app that only really has a canvas page. I need to integrate a profile box with this app. A lot of tutorials have you editing the Default FBML under profile box settings, but that option doesn't exist anymore. I'm curious how to set default FBML for my iframe app and how to allow the user to add my app's profile box to...

Powershell not loading profile when running through PSEXEC

I am working with powershell 1.0 using PSEXEC to run scripts remotely (or on the same box in a batch mode). On my machine, the "remoted" powershell session correctly loads my profile.ps1 (from the MyDocuments folder), but on another machine, it doesn't. I'm not passing in the -noprofile switch to the powershell.exe, and I have verified...

Activator.CreateInstance throws ArgumentNullException for parameter 'Type'

I recently encountered a problem with my Profile provider: it wouldn't retrieve profiles correctly (see error below). It worked locally, but when I put the code compiled by a Web Deployment project on a server it would crash. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during th...