I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
I have been trying to upload a StorageFile (mostly image files) to a PHP File so that it can save into the server. VIEWMODEL.CS public async Task<bool> uploadFile(StorageFile file) { try { using (HttpMultipartFormDataContent form = new HttpMultipartFormDataContent()) { using (IInputStream fileStream = await file.OpenSequentialReadAsync()) { HttpStreamContent streamContent = new [...] read more
I'm pairing with a BLE device and querying all it's services & characteristics in a small test console program Every now and then I get this error during the query process: Scanning for BLE Devices with service 00008000-0000-1000-8000-0012345678 Finding nearest device Connecting to MAC CC12345678CF Pairing... Waiting for DevicePairingResult result... [...] read more
I want to send two request from my ViewModel (first - GET and then - POST) using HttpClient. GET request completes without any error. But if then I send POST request I got exception: {System.ObjectDisposedException: The object has been closed. (Exception from HRESULT: 0x80000013)} System.Exception {System.ObjectDisposedException} Or if I ran [...] read more
I am trying to execute some UEFI applications. I found this code crashes on VirtualBox (test success is not printed while test start is printed): #include <stdint.h> void* ConOut; uint64_t (*OutputString)(void* protocol, void* string); void printChar(int c) { unsigned char data[4] = { (unsigned char)c }; if (c == '\n') [...] read more
For my application (SpMV) I have more data cache misses (PAPI_L1_DCM) than total cache misses (PAPI_L1_TCM) in level 1 cache. How can that be? For Level 2 the values are ok. That is, what the PAPI counters offer: [PAPI_L1_ICM ][PAPI_L1_DCM ][PAPI_L1_TCM ][PAPI_L2_ICM ][PAPI_L2_DCM ][PAPI_L2_TCM ] 1256 3388225 1442386 1007 2389903 [...] read more
The following two lines of code execute one right after the other: this.dataWriter.WriteBytes(message.MessageBuffer); await this.dataWriter.StoreAsync(); Although the WriteBytes call completes without exception, the StoreAsync call right below it bombs with a ObjectDisposedException and says > The object has been closed. (Exception from HRESULT: 0x80000013) this.DataWriter (Windows.Storage.Streams.DataWriter) is not null, so [...] read more
We have a number of 10.9-10.9.3 - Mavericks - machines installed throughout our facility. Much of the user content is pulled from shares stored on our Windows Server 2012 fileservers with deduplication enabled. I have found that files newly written or unoptimized are able to be accessed without issue - [...] read more
I am reverse engineering an old game format. For their textures, they store display type information in a single integer. I initially though the different bits were boolean flags. For example, if bit 1 was set, the texture is transparent. The more I have worked through the different display types, [...] read more
I have an in memory WAV stream that I am able to play using mStrm.Seek(0, SeekOrigin.Begin); new System.Media.SoundPlayer(mStrm).Play(); I am trying to see how i can use the same stream and play it in a UWP application. I tried the following code MediaElement soundPlayer = new MediaElement(); var soundSource = [...] read more
The following code on a UWP project throws ObjectDisposedException (targeting Windows 10 Anniversary Edition - 14393): using (var content = new HttpMultipartFormDataContent()) { //Why disposing of the content raises an exception? } The exception message is: Additional information: The object has been closed. (Exception from HRESULT: 0x80000013) Stack trace: at [...] read more
I'm trying to use RAPI to monitor the performance of my Xeon Phi code. I just compiled and installed a native version of RAPI follwoing the documentation. And the following list is what I get when I execute "rapi_avail" on my Xeon Phi which shall display all available events. Surprisingly, [...] read more
I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more
I have problem. I try run WP7 app on Win Phone8. All work good, but sometimes I have UNHANDLED EXCEPTION with message: > Exception from HRESULT: 0x80000013. This is occurs when I go on the page where > including Gart library <ARControls:ARDisplay x:Name="ARDisplayy" d:LayoutOverrides="Width"> <ARControls:VideoPreview x:Name="VideoPreview" /> <ARControls:WorldView x:Name="WorldView" /> [...] read more