Questions tagged [code-analyst]

11 questions
5
votes
2 answers

IndexOutOfRangeException in indexed getter

In my indexed property I check whether the index is out of bounds or not. If it is, I throw an IndexOutOfBoundsException. When I run the Code Analyst (in VS12) it complains with CA1065: Unexpected exception in unexpected location. Referring to the…
Mario The Spoon
  • 4,799
  • 1
  • 24
  • 36
2
votes
0 answers

Confusion about the performance counter

I am working on a program written in OpenCL and running on Fusion APU (CPU+GPU on one die). I wan to get some performance counters such as instructions number, branch number and so on. I have two tools on hand: AMD APP Profiler and CodeAnalyst. When…
user1682375
1
vote
1 answer

I am not able to fetch accurate date based on condition it is giving me wring output

i am not able to fetch accurate date based on condition it is giving me wring output. i want to fetch the date which is before 01/01/2010 but it is giving true even date is less than 01/01.2010 https://i.stack.imgur.com/zLlV6.png
0
votes
0 answers

In Informatica analyst tool

How rule can be " Atleast one must be passed either legal_name or trading_name and it should not be null" IIF(ISNULL(LEGAL_NAME OR TRADING_NAME),'FAIL','PASS'),'PASS') this is not working.
0
votes
0 answers

Converting object into time

I have a database that I made the difference between two dates, then I changed the format to be like : HH:MM:SS. df['start'] type: datetime64[ns] df['end'] type datetime64[ns] df['time'] = df['end'] - df['start'] df['time'] = type: …
Luan Brito
  • 19
  • 5
0
votes
1 answer

There is no proper solution available for "utf-8' codec can't decode byte 0x99 in position 21"

Currently stuck with a .csv file having 10lac rows. I was loading the dataset in a data frame Python called rawdata. The file is having ascii codes probably because of which its shooting the error 'utf-8' codec can't decode byte 0x99 in position…
0
votes
0 answers

how to deploy 'test' and 'production' to 2 different heroku servers

I have a project managed by git, deployed on Heroku. I'd want to have a 'test' version, deployed on heroku-test, and a 'prod' version, deployed on heroku-prod. What's the best practice to do this? Have 2 different branches, push just one Push…
DeLac
  • 1,068
  • 13
  • 43
0
votes
1 answer

How to work out the time a user has opened the app for in android?

I am trying to implement something that allows me to caluclate the time a user has used the application for, but it seems quite difficult or at least complicated to code. I tried several attempts and logics but failed. I am not sure whether this is…
Adam
  • 1
0
votes
2 answers

SQL average complex query

This is the scenario I have a table with customer detail and the time when they installed my app,they will find the way back to the table even if they re-installed the app. In the next table I have the purchase time for the same customers.…
sai
  • 313
  • 2
  • 7
  • 19
0
votes
1 answer

AMD CodeAnalyst Missing System Data Tab

Hi I just downloaded the AMD CodeAnalyst 3.8.1203.1066 and while going through the Demo it states that after a profiling is done for hotspots a system data tab would appear however I cannot see this tab any suggestions ?
Casper_2211
  • 1,075
  • 5
  • 14
  • 25
0
votes
1 answer

No symbol info on profiler

When I use g++ with -g on, AMD CodeAnalyst shows no Symbol information, and Very Sleepy crashes. However, if I compile it without debug information, Very Sleepy runs but of course, no symbols. I tried to use MSVC and it works perfectly fine, all…
Halil
  • 2,076
  • 1
  • 22
  • 30