Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
I've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
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
That might be a little bit an exotic problem, but I hope somebody can still help me out a bit ;). I would like to execute a standard C program, however, at some point during program execution I would like that a certain number of instructions, which are stored in [...] read more
I want to get CPU Id of my computer (windows) using c++. I used this code to get it. It outputs information something like: For InfoType 0 CPUInfo[0] = 0x5 CPUInfo[1] = 0x756e6547 CPUInfo[2] = 0x6c65746e CPUInfo[3] = 0x49656e69 For InfoType 1 CPUInfo[0] = 0xf31 CPUInfo[1] = 0x20800 CPUInfo[2] = [...] read more
I'm trying to get a notification when input devices are added/removed, and from what I understand that's what registerInputDeviceListener should do... but my listener isn't being called! Here's a snippet of my code: InputManager im = (InputManager) getSystemService(Context.INPUT_SERVICE); im.registerInputDeviceListener(new InputManager.InputDeviceListener() { @Override public void onInputDeviceAdded(int deviceId) { Log.d("Input", "InputDeviceAdded: " [...] read more
I have a Dell Precision Laptop model M4400 with an Intel Core 2 Duo P8600 processor. In the BIOS, there are several options for enabling virtualization technology (VT-x). I've toggled all of these options ON. My problem is that neither Virtual PC 2007 nor Sun's VirtualBox will allow me to [...] read more
Basically I've followed the instructions here http://sig9.com/bochs-grub to create a bare image file which does nothing but lets the BIOS start GRUB. The problems are: * The kernel I am writing will be 32-bit, using http://www.jamesmolloy.co.uk/tutorial_html/index.html for a start, but my host (physical) machine is x86_64 with bochs configured like [...] read more
I am following brokenthorn OS development series, until now I am able sucessfully run bootloader stage1 but there is some issue with loading second stage bootloader from FAT12 floppy in bochs emulator on linux machine(ubuntu 16.04) (It works fine in virtual box though). Here is my stage1 boot loader: bits [...] read more
I am trying to run COMPSs with the tracing system (extrae) activated. I first had an installation issue but I solved it thanks this question: How to fix libpapi.so.* cannot open shared object file when running (py)COMPSs with tracing? However, now I am facing a new PAPI problem. The COMPSs [...] read more
I am working on custom board containing a 32bit MCU (Cortex A5) and a 16bit wide DRAM chip (LPDDR2). The MCU has an on-board DRAM controller which supports both DDR3 and LPDDR2, and I do have a working setup using LPDDR2. Now, I am trying to half the clock rate [...] 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
I'm currently developing my bootloader, but I have problem. I use Bochs to test bootloader, I compile bootloader and make disk image with: rm disk.bin rm boot.bin rm post.bin nasm bootloader.asm -o boot.bin nasm postmbr.asm -o post.bin cat boot.bin post.bin > disk.bin This is bootloader.asm: [BITS 16] ;Tells the assembler [...] read more
I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
I'm having the following error usiing SmartPlant P&ID (SPPID) automation library Llama (Interop.Llama.dll): System.Runtime.InteropServices.COMException (0x80000008): No DBConnect for Data_Dictionary at Llama._LMEquipments.Collect(LMADataSource& DataSource, _LMAItem& Parent, String& RelationshipName, LMAFilter& Filter) Here is the code that calls it: Dim objDS As Llama.LMADataSource Dim objEquips As Llama.LMEquipments objDS = New Llama.LMADataSource objDS.ProjectNumber = Project.SPPIDName [...] read more
A string is represented as an array of char. For example, if I have a string "abcdef" at address 0x80000000, is the following correct? 0x80000008 0x80000004: 00 00 46 45 0x80000000: 44 43 42 41 (In stack, it grows down so I have address decreasing) 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
<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
Host: Windows 10 VM: ubuntu-18.04.3-desktop-amd64 enter image description here [https://i.stack.imgur.com/wz4Mb.png] When I boot the VM it only shows the black screen with a blinking cursor. I checked the BIOS, VT-X is enabled. Windows Hyper-V is also disabled. VM Log didn't show VT-X error. What could be the problem? 00:00:06.225090 Features [...] 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
recently I came across a term "identification register" related to Intel Processors. It was like key-value pair "IdentificationRegisters": "0x34AC34DC8901274A". Now since I don't know much about these terminologies related to processors(may be to identify them !), can I get some input from this community regarding what this could mean ? [...] read more
I have one small program. It is supposed to determine the width of VMA (Virtual Memory Address). It works fine with gcc/mingw, but for now i need equivalent to work with msvc. Here is the code #include <stdio.h> int main(int argc, char *argv[]) { unsigned long ret = 0x80000000; __asm [...] read more
I am sitting an small Android app to check the user login information. I have been working on this with no luck. I appreciate if someone can help me with this. Thanks in advance. I am getting this error login_invalid_error with an okay button under. this is my php. <?php [...] read more
What is differance between the UIAlertView's from IOS 5 to IOS 6. In My IOS 6 all server side validation messages are not working..if We click on the Alert Button App is crash. I need Help On this. (lldb) bt:(after bt got this log) * thread #1: tid = 0x1c03, [...] read more
I'm build a app that consist of user login and registration but every time I test it on the emulator I receive a force close. Below are the errors I'm receiving in the log cat: 08-14 14:06:28.853: D/dalvikvm(828): GC_FOR_ALLOC freed 108K, 3% free 8262K/8455K, paused 89ms, total 92ms 08-14 14:06:29.273: [...] read more
I have a function GrantGenericRead that works when I create an object $ouUnixGroups in the same run. I'm trying to figure out how to get an object out of AD that I can run GrantGenericRead on, but it seems when I try this every way I know how (adsi, lookup [...] read more