This code was defined by a third party software company,
and may mean different things for different software.
Contact the software author for more information about this error.
I've seen this pattern used a lot in C & C++. unsigned int flags = -1; // all bits are true Is this a good portable way to accomplish this? Or is using 0xffffffff or ~0 better? read more
I am trying to create a Bluetooth PAN between two devices where I can access REST based web services over the Bluetooth connection. I have had some success with various proof of concepts (both Bluetooth legacy and Bluetooth Smart) but I am having problems trying to create a Group network [...] read more
I have been going crazy trying to read a binary file that was written using a Java program (I am porting a Java library to C# and want to maintain compatibility with the Java version). JAVA LIBRARY The author of the component chose to use a float along with multiplication [...] read more
I've seen this code can anyone please explain to me what the AppTheme._() means, as I've read about its singleton class in dart but I really can't understand how it works. class AppTheme { AppTheme._(); static const Color notWhite = Color(0xFFEDF0F2); static const Color nearlyWhite = Color(0xFFFEFEFE); static const Color [...] read more
The program '[3984] dotnet.exe' has exited with code -2147450751 (0x80008081). The program '[3984] dotnet.exe: Program Trace' has exited with code 0 (0x0). The program '[2492] iisexpress.exe: Program Trace' has exited with code 0 (0x0). The program '[7352] chrome.exe: WebKit' has exited with code -1 (0xffffffff). The program '[2492] iisexpress.exe' has [...] read more
> LUI (load upper immediate) is used to build 32-bit constants and uses the U-type format. LUI places the U-immediate value in the top 20 bits of the destination register rd, filling in the lowest 12 bits with zeros. I found this in manual, but if I want to move [...] read more
I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
I've seen this sort of question posted a few times before, but so far, none of them have solved my issue. I'm trying to set up an IKEv2 VPN on my Ubuntu Server to use with my Windows Phone using Strongswan. The connection seems to be set up correctly, but [...] read more
I have three sites, Toronto (1.1.1.1), Mississauga (2.2.2.2) and San Francisco (3.3.3.3). All three sites have ASA 5520. All the sites are connected together with two site-to-site VPN links between each other location. My issue is that the tunnel between Toronto and San Francisco is very unstable, dropping every 40 [...] read more
I need to know how I can dump memory in Safari.app, to a file. I've entered gdb attach 6741 (my safari PID). Now what? I tried searching for help on gdb on google, but I couldn't find anything that told me what to do, even when searching for "how to [...] read more
I want to detect how many instances of a specific application, managed by the window manager, are opened. At the moment, I have this: #!/bin/bash # wmctrl required pids=$(pidof $1) IFS=' ' read -a pid_arr <<< "$pids" matches=0 for pid in "${pid_arr[@]}" do matching_lines=$(wmctrl -l -p | egrep -c "^.+\b.+\b$pid\b") [...] read more
I've been working with Microsoft Service Fabric since November 2015 and have encountered many issues but now Service Fabric has become completely non-functional on my development machine. Uninstall/reinstall doesn't help. I was using 1.5-preview and have since tried 2.0 to no avail. The problem started when I attempted to run [...] read more
A few months ago we installed SQL Server 2012 in Windows 2008 R2 under the virtual account "NT Service\MSSQLSERVER", all good. A few days ago, one of the admins of the IT dept installed Full Text Search component to the SQL Server 2012 (the problem is he could not recall [...] read more
My external hdd with a single NTFS partition was accidentaly plugged out (kids!)... and is now corrupted. Iv tried running ntfsfix - with no luck - output below.. When I look at the disk under disk management in Windows 7 it shows up as having 5 partitions 2 of which [...] read more
I dual booted arch linux with window 8.1. After installation, while booting for the first time, this error occurred. Here is the error I found. { [0.063411] Ignoring BGRT: Invalid status 0 (expected 1) starting version 218 Arch_Linux: clean, 70622/18677760 files, 1643393/74703025 blocks [ 15.759913] nouveau E[ PIBUST][0000:01:00.0] HUBO: 0xffffffff [...] read more
I am trying to initialize the RTC on a STM32F469I-DISCO board. Since I am still learning, I tried to play with the HAL API that allow me to achieve some projects till the day I'll get enough understanding of this microcontroller to play with registers directly. Anyway, my code uses [...] read more
I have a Windows 7 64 Bit machine, and I cannot find a way to disable the IPv6 Loopback. I looked at the article at How to disable IP version 6 or its specific components in Windows and shows how to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents to various values – but none of [...] read more
It’s been awhile since I programmed in C/C++. For the life of me, I cannot remember (or find in Google) how to make the following work. I thought there was a shorthand way of writing a repeating string of bytes, like these: 0x00 => 0x00000000 0xFF => 0xFFFFFFFF 0xCD => [...] read more
I have a FreeBSD VPS that until recently had assigned 3 public ip addresses in a /29 subnet. When making outgoing connections, the IP address used was always the non aliased one ".20", however now I have added another block of 3 ip addresses in a different /29 subnet and [...] read more
We swapped to ASA's over the weekend, and we replaced our VPN infrastructure which was previously based on openvpn and are now using IPSec between our ASA 5520's and our other sites that have linux (CentOS) routers. The VPNs connect just fine, but after a period of time the connections [...] read more
I have a ListView containing only buttons. What I want to do is pretty simple, I want to have the index of the button that has been clicked. The count of the list varies from 0 to 100, so when the user clicks on button 6, I need this number [...] read more
I got some issues getting the TLS 1.2 protocol running on one of our Windows Server 2012 machines. I checked this using ssllabs.com by Qualys and also tested with a powershell script and the linux tool "cipherscan". The server hosts one Exchange 2013 SP1 (CU4) Server, with IIS 8.0. The [...] read more
I'm not sure why I'm the only one running into this, I think it's a larger problem with Server 2012 and RDS protocols... With 2008 machines, you can use utilize a one way trust to authenticate across domains with the TSGateway service, but with 2012 it breaks when running across [...] read more
Currently I'm running Proxmox 5.3-7 on ZFS with few idling debian virtual machines. I'm using two SSDPE2MX450G7 NVME drives in RAID 1. After 245 days of running this setup the S.M.A.R.T values are terrible. SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff) Critical Warning: 0x00 Temperature: 27 Celsius Available Spare: 98% [...] read more
I created ip xfrm rules on 2 machine and trying to pass traffic through the ipsec tunnel. The packet comes into the other end, encrypted, and disappears. I traced them through iptables, and here is the trace. 2015-11-27T14:50:21.442638+04:30 cfae kernel: [70234.667488] TRACE: raw:PREROUTING:policy:2 IN=eth0 OUT= MAC=00:0c:29:b7:97:49:00:0c:29:42:5b:e1:08:00 SRC=172.24.1.178 DST=10.60.60.31 LEN=128 TOS=0x00 [...] read more
i try to setup openvpn on a vps and I'm able to establish a connection to the server, but the gateway isn't assigned to the client. Here are my config files: client config: client dev tun proto udp remote foo.bar 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client1.crt [...] read more
I have a KVM server (host) with multiple virtual machines (guests). My goal is my host forward port 222 to port 22 of a guest running an ssh service. This works... iptables -I OUTPUT -d 0.0.0.0/0 -j ACCEPT iptables -I FORWARD -d 0.0.0.0/0 -j ACCEPT iptables -I INPUT -d 0.0.0.0/0 [...] read more
I have a VPN connection set up on my OS X machine, and when I run ifconfig in the terminal I get the following response: utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.8.0.6 --> 10.8.0.5 netmask 0xffffffff Can someone help me understand what the --> symbol means? read more
My server running on latest kernel (4.4.6) has configured a bond device (bond0) with two enslaved interfaces eth0, wlan0 with primary interface eth0. cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: fault-tolerance (active-backup) Primary Slave: eth0 (primary_reselect always) Currently Active Slave: wlan0 MII Status: up MII [...] read more
I've been using WSUS to roll out IE11, there's a few stranglers that IE11 will not install and I've started looking into. Here's what I've done. 1. Confirmed all prerequisite updates have been done. 2. I'm using the x64 bit package of ie11 and only using x64 servers and workstations. [...] read more
We have two Windows 2008 R2 SP1 servers running in a SQL failover cluster. On one of them we are getting the following events in the security log every 30 seconds. The parts that are blank are actually blank. Has anyone seen similar issues, or assist in tracking down the [...] read more
On a RHEL 6 host, I have a Cassandra server listening for TCP connections on localhost. In parallel, I have a client application that sends it requests. The client (C# Mono) uses sendmsg to send the serialized bytes. I consistently see the sendmsg return without having sent all requested bytes. [...] read more
DxDiag crashes when I open it unless I bypass Direct3D. It works fine in 64-bit mode. I have a NVIDIA GeForce GT 525M, and I've tried updating (also uninstalling, reinstalling) my drivers. I've also tried doing the same with DirectX. How can I enable Direct3D for 32-bit? I've tried enabling [...] read more
I'm just starting out with VPN and OpenVPN. What I understand is that I when I have a vpn connection, it's like I'm on the same network as the server. Then I should be able to connect to the server via the local address (10.8.x.x). Next to that I should [...] read more
I apologize for posting in length, but I thought being complete would be of more value: 20120822, my browser was not resolving a domain so I went into my terminal to check and lo-and-behold! I find these crazy commands remnant: mac-mini$ su Password: sh-3.2# sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts Mar 22 23:07:08 [...] read more
not sure what i am missing here.. every website suggests creating this reg key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents as DWORD and setting its value to 0xFFFFFFFF i've done this, but when i reboot, my NIC adapter still shows IPV6 enabled. since i have 64bit version, i also tried setting this value as QWORD. [...] read more
i'm getting a network interface error when building for the 4.4 ti staging kernel. All layers are in the morty branch. The image is a core-image-minimal. Configuring network interfaces... ifup: unknown address type "inet" With the following config: IMAGE_INSTALL_append = " automake " IMAGE_INSTALL_append = " binutils " IMAGE_INSTALL_append = [...] read more
On an x86-64 CPU, is it possible to switch to unreal mode and be able to use more than 32 bits to address memory? Usually, the CPU (80386 or later, 286 needs loadall since it can't return to real mode without resetting and trashing all registers) can be put in [...] read more
int c = 0xffffffff; printf("%x\n", (c) == (0xffffffff)); printf("%x\n", (c >> 1) == (0xffffffff >> 1)); The first output is 1 but the second output is 0. And c >> 1 outputs 0xffffffff. But why? read more
I encounter often a function calling itself (in the pseudo code, produced by IDA) such as: result = (**(__int64 (__fastcall ***)(volatile signed __int32 *))lambda)(lambda); 1. Since the disassembly is call qword ptr [rax], can't this be simplified into result = lambda(); if I translate the pseudo code in c ? [...] read more
IssueI am trying to add a fragment in activity, along with Navigation. But I see the following error java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.myapp/com.app.myapp.HomeMainActivity}: android.view.InflateException: Binary XML file line #12: Binary XML file line #12: Error inflating class fragment at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) at android.os.Handler.dispatchMessage(Handler.java:102) at [...] read more
I'm reversing an assembly function that I believe is converting an array of pixels (RGB) or photosites (RGGB) into a final array with an original (I think) encoding made of 10bits or 12bits per pixel. My goal is to understand in terms of c/c++ operations or natural language in the [...] read more
first of all, this is not an every-day routing issue. The setup is fairly complex, so let me state it before. I got a router with, lets keep it simple, 3 interfaces. eth0, eth1, eth2. eth2 is used for pppoe. eth0 & eth1 have the clients. Okay so far so [...] read more
During mvn compilation, I have random crashes. The problem seems related to high IO and in kern.log, I can see things like: kernel: [158430.895045] nvme nvme1: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10 kernel: [158430.951331] blk_update_request: I/O error, dev nvme0n1, sector 819134096 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class [...] read more
By spec, NTFS partitions can have up to 263 - 1 logical clusters. But when I tried to calculate what size drive I'd need to test values greater than 32bits, I ran into a problem. Doing the math, a 4k cluster size with 0xFFFFFFFF + 1 clusters results in 17,592,186,044,416 [...] read more
I have a gateway whose OS is Linux.Assume my downlink bandwidth is 100 Mbps. I want to limit the max download speed to 1Mbps for every device which uses this gateway.In other words, if there are 100 devices, every device can get 1 Mbps bandwidth in theory.I tried doing traffic [...] read more
I updated a FreeBSD box from 10.4 to 11.2-RELEASE-p4 recently and it seems to have broken the vpnc VPN connectivity. Here's the vpnc.conf:IPSec gateway 10.1.0.1 IPSec ID vpnuser IPSec secret su0hoh8liNgeiT8 Xauth username vpnuser Xauth password miuthei3Niew2ee Nat Traversal Mode none Noninteractive Following the interface configuration; em0 is the hardware [...] read more
GENERAL DESCRIPTION OF THE ISSUE We're currently running an application on a PaaS type solution for PHP. Their solution is based on AWS cloud and due to the fact that their plans don't fit our scaling needs, we've decided to migrate to AWS directly the application is performing "well" ~100ms [...] read more
Introduction I have two sets of machines, set A and set B, with apparently the same hardware/software configuration, but with a significant difference in performance. Machines in set B are up to x4 faster than machines in set A. However, if I reboot a machine in set A, inexplicably it [...] read more
I'm currently setting up IPtables to redirect certain UDP payloads to my application. Here is an example of what I have working so far: iptables -t nat -I PREROUTING -p udp -d {IPDST} --dport 27055 -m u32 --u32 '0>>22&0x3C@8=0xFFFFFFFF && 0>>22&0x3C@12=0x54536F75 && 0>>22&0x3C@16=0x72636520 && 0>>22&0x3C@20=0x456E6769 && 0>>22&0x3C@24=0x6E652051 && 0>>22&0x3C@28=0x75657279' -j [...] read more
I have a t2.medium instance running in AWS on the CentOS 7 AMI and I noticed in top and free it's basically reporting 3.45GiB of total memory. If I launch an instance with the AWS linux (I think I tried the RedHat one too) it reports about 4GiB of memory. [...] read more
EDIT I spawned the Windows events logging service won't start issue to a separate question here I have a strange problem: 1. SQLAGENT won't start 2. Windows events logging service won't start Today I tried to copy a db to test some changes, and discovered that SQL server agent can't [...] read more
My provider has a (stupid) setup where the IP address for the gateway is on a totally different IP range than the assigned IP address. They insist on doing this for whatever reason. I'm trying to get Windows Server 2012 R2 configured using a static route but have had no [...] read more
I'm trying to monitor hard drive's smart status. I've tried smartctl tools and HP's own hpacucli to generate ADU report. However, neither of them are useful. smartctl does not show values like Power On Hours or Hard drive temperature. ADU report shows them empty. What's the right way to monitor [...] read more
I would like to use port-based routing on my Linux local gateway. Here is my network diagram : 192.168.42.148/24 192.168.42.1/24 192.168.44.2 192.168.44.1 +--------------------+ +----------------------------+ +----------+ | Workstation (eth0)-|----------------|-(em0) Local_GW (tun0)-|------------| VPN_GW | +--------------------+ | (rl0) | +----------+ +-------------|--------------+ 10.133.8.79/21 | | 10.133.15.254/21 | +--------------------+ | Provider_GW | +--------------------+ Provider_GW only [...] read more
I tried installing Debian with a netinstall CD-ROM on my custom-built PC. Everything is going fine until I choose any of the install options because then the screen turns black and I get no graphical feedback at all. The screen itself seems to get information though because it doesn't go [...] read more
I'm trying to upgrade Internet Explorer my Windows 7 (x64) development VM from IE8 to IE11. Both the online and offline installers fail with a bland error message: enter image description here [https://i.stack.imgur.com/0dueo.png] The troubleshooter tells me nothing, but the IE11_main.log reveals: 00:04.524: INFO: Download for KB2834140 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=303935 [...] read more
I'm having a problem installing/setting up an image. Background:I've created a Windows 7 Enterprise image (i.e. installed OS, installed applications, configured settings, etc.). Then I sysprepped it and captured/applied it with imagex (onto a computer with identical hardware as the original). When I boot up the new machine, windows starts [...] read more
I have a Macbook with Mac OS X 10.4.11 here, with an annoying problem. After starting the computer and logging in, the finder keeps stealing focus. You can go back to your working app, but a minute later, it steals focus again. Even as I'm typing this message, I had [...] read more
I have Windows 7 and I have very strange thing with my network. Some time I was connected through wireless router and my IP was 192.168.2.103, router's IP was 192.168.2.1 and some other IP was 192.168.2.100. The last I get from page "active DHCP clients" of web interface of the [...] read more
I need to run EXCEL.EXE with a user different than current one; in the past I do this without any issues, but after updating the system to Windows 10 Pro version 2004 (19041.508) this method is not working anymore. I was using the following class (thanks to Impersonate user in [...] read more
I am struggling with a problem in assembly, where I have to take the first byte (FF) of the hex code and copy it over the entire value: 0x045893FF input 0xFFFFFFFF output What I did is: movl $0x04580393FF, %eax shl $24, %eax # to get only the last byte 0xFF000000 [...] read more
Recently adobe XD released its new plugin that supports flutter. basically it takes the design and transforms it into actual flutter code. The designer designed it on iphoneX dimensions and the code use absolute positioning according to it. The problem is it doesn't support layout / responsive yet so if [...] read more
I am trying to implement a shell terminal in a webapp using websocket in spring. I am able to send a single command to the JSch "exec" channel and send the output back to the websocket. Image [https://i.stack.imgur.com/EHuRQ.png] The problem I am having is: 1. I am not able to [...] read more
Related to Understanding `_mm_prefetch`. I understood that _mm_prefetch() causes the requested value to be fetched into processor's cache, and my code will be executed while something pre-fetches. However, my VS2017 profiler states that 5.7% is spent on the line that accesses my cache and 8.63% on the _mm_prefetch line. Is [...] read more
I have a program that performs pointer chasing and I'm trying to optimize the pointer chasing loop as much as possible. I noticed that perf record detects that ~20% of execution time in function myFunction() is spent executing the jump instruction (used to exit out of the loop after a [...] read more
Our monitoring solution currently uses WMI for a few of it's metrics, however when under load WMI performs terribly and often fails to return in time, causing a large number of false alerts of various things being offline or missing metrics. Replacing WMI queries with calls to windows functions found [...] read more
I'm trying to set up a MariaDB 10.2 Server on a FreeBSD 11.2 Jail. The Server is running and accepts remote connections via IPv4 just fine. According to sockstat, it should also be listening on IPv6: db# sockstat | grep 3306 mysql mysqld 17516 177 tcp46 *:3306 *:* This is [...] read more
I am trying to setup a transparent HAproxy load balancer using ubuntu 18.04 on amazon EC2. I got the HAproxy to work on a non-transparent mode, so now I am trying to add the changes required for the transparent mode, but I am getting 503 Service Unavailable No server is [...] read more
I'm running an Arch Linux server which acts as a TOR relay and I would like it to act as a hidden service as well (I want to provide .onion access to my services, I know running a relay next to a HS is not suitable for an anonymous service). [...] read more
Apache2 was reading the correct area for php.ini in /etc/php5/apache2 until suPHP was added to the system. Configuring suPHP_ConfigPath in /etc/apache2/mods-available/suphp.conf gets the correct php.ini loaded, but does not correct the directories to be scanned. How, and where, do I fix this so that Apache loads/scans/uses PHP from the original [...] read more
I have an OpenVPN server with successful static-key tunnels to two separate hosts - my laptop, and another server elsewhere on the internet. I have connectivity over both OpenVPN tunnels. How do I make it so the server with two tunnels routes traffic across its tunnels? Switching to server mode [...] read more
I setup an Openvpn server on a centos box and I can get the client to connect (osx) but can't access the internet or even the local network. I thought maybe DNS but couldn't access any sites via IP. Any help would be appreciated. I will list my config files [...] read more
My DHCP server broadcast DHCPACK 0xffffffff . it is not working on layer 3 dhcp relay agent . as it can not forward this broadcast message to my client. can any one help me from exactly the broadcast bit set ? should I send any parameter to dhcp server so [...] read more
I posted on the freebsd forums. I've been trying all night and I've made some progress but still I can't connect to the internet from my freebsd jail. Please just give me a hint here. I get the following inside the jail if I do nslookup www.google.com : ;; connection [...] read more
I have a performance lab running behind a firewall, so none of the machines in the lab has internet access. All machines in the lab are part of a domain with the domain controller also present inside the lab. The problem is that some server's time are drifting heavily. Some [...] read more
I'm using Windows Server 2012 as a workstation. The problem is that HTTPS connection initiated by node.js randomly fails. Probably this is system-wide issue and not only node is affected, but it appears mostly with node. Because any HTTPS request can randomly fail, npm install is a lottery and for [...] read more
Update 3: 22 January 2017 I've narrowed down the update that causes this problem: KB3201845 OS Build 14393.479 from December 9 2016. I went through all these updates step by step. Looking at the changes files manifest, these files have been changed: * agilevpn.sys * vpnike.dll Other topics I've created: [...] read more
After asking this question I've gotten a wireguard vpn set-up that forwards all traffic from my local lan to a remote server. Connecting from the wireguard client host is fast. However, the connection from clients on the lan is much slower and drops a lot of connections. Traceroutes show that [...] read more
How many cycles are required to add long ints on a xeon? from timing trials, it appears that 2 clock ticks are needed. /proc/info says model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz sample c code (loop.02.c) unsigned long i, j=0; for(i=0; i<(0xFFFFFFFF);i++) j+=3; assembler code 21:loop.02.c **** for(i=0; [...] read more
I’ve an error with my MacBook Air (Retina, 13-inch, 2018), version 10.15.1 Boot ROM version : 1037.40.124.0.0 (iBridge: 17.16.11081.0.0,0) I try to boot on Tails by a USB key and Apple adaptator Thunderbotl/USB See the log after select Tails boot : (AE_ALREADY_EXISTS) (20190703/psparse-529 [ 0.772994] ACPI Error: Aborting method \_PR.CPU0._PDC [...] read more
I'd like to know exactly what is happening when I create a connection with my company's VPN. When I connect (using OpenVPN), I see the following network interface by using ifconfig: utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.8.0.18 --> 10.8.0.17 netmask 0xffffffff This looks different from other network interfaces in that [...] read more
I'm on Ubuntu 14.04; I'd like to learn the basics of traffic shaping, I made a simple script that should slow down my HTTP(S) traffic to ports 80 and 443. # usage: sudo ./filename.sh #delete existing rules # wlan0 is my WiFi tc qdisc del root dev wlan0 iptables -t [...] read more
I'm using a Linux computer (raspberry pi) to share a VPN connection over ethernet. I want the raspberry pi to connect to the internet normally (not over the VPN). I'm very close to getting it working, but I don't know how to configure the DNS for the eth1 network. Connection [...] read more
People seem to be happy with second-hand Mellanox ConnectX-2s on Linux so I grabbed a pair. Both cards result in an network interface showing up on one computer but neither show up in the other computer. Working computer: * EVGA 120-LF-E650 desktop board * Ubuntu 16.04 LTS * Linux 4.4.0 [...] read more
I have enabled TLS 1.0/1.1/1.2 protocols on my local Win7 machine and 2012R2 server as well as disabled SSL 2.0/3.0 using the registry DWord value DisabledByDefault = 0 based on the following Microsoft support article: https://support.microsoft.com/en-us/kb/245030(see SCHANNEL\Protocols subkey...) But i noticed another TechNet article which seems to contradict this KB [...] read more
Introduction I'm trying to set up a VPN on my router so that I have two routing tables. I want it so that all the filtering is done with iptables, and iproute just acts on the specific fwmarks, ie generic rules. It is an improvement of Routing a particular subnet [...] read more
For half a year, I've been experiencing random freezes/reboots on my MacBook Pro Retina Mid 2012 model. My current OS is OS X Yosemite, but I started experiencing the issue in the Mavericks era. The laptop has endured some occasional, unintended slight physical abuse, but nothing very serious. Just mentioning [...] read more
About a month ago my computer started experiencing crashes, at first it was just every once in a while, then it escalated to around 5 times a day. Typically it crashes when I access flash-based games and videos, but it has occurred at random, e.g. no sensible correlation between what [...] read more
I have only the "basic" PBI installed on my company server, so I need to find a solution with DAX or PowerQuery. No Python, No R ... :/ I have two tables with Networks ip and mask, and another one with Machines ip and mask. I would like to set [...] read more
According to my understanding time_t rawtime = 0xffFFffFF is GMT: Sunday, February 7, 2106 6:28:15 AM But programm below brings Thu 1970-01-01 02:59:59 MSK in some compilers and just crashes in others. int main() { time_t rawtime = 0xffFFffFF; struct tm ts; char buf[80]; ts = *localtime(&rawtime); strftime(buf, sizeof(buf), "%a [...] read more
My application is based on Micronaut and GraalVM (java 11) and does a simple call to http://httpbin.org/get: @Controller("/api") class HelloWorld( @Client("http://httpbin.org") private val httpClient: RxHttpClient ) { private val logger = LoggerFactory.getLogger(javaClass) @Get("/hello") fun hello(): String { return "Hello World!" } @Get("/fb") fun fb(): Flowable<String> { logger.info("Trying to call FB") [...] read more
Newlib is a C standard library implementation (largely inspired by BSD libc) intended for use on embedded systems. Apparently, the string to floating point conversion functions (strtod, strtof) use dynamic memory allocation by calling a function called Balloc, which calls _calloc_r which calls _malloc_r. Why? I tried to look at [...] read more
I am creating an operating system and I want to call the bios in protected mode, so I switch back to real mode, and I call the bios, but when I try to call the bios my emulator bochs write that as loop : 00002065173i[CPU0 ] BxError: instruction with opcode=0xff [...] read more
I have a registration form with many DropDownButton fields that take enums in the menu. Currently, I'm making a separate widget for every single button. Is there a way to just make a single widget and then using its parameters to change it? Is there a better way to do [...] read more
As a preface, I'm running this on a 64-bit Linux OS and am thus using the 64-bit Linux syscalls. My strlen procedure takes rdi as a parameter and returns the length of the string excluding \0 in rax. (You have to enter a string that ends with \0). I have [...] read more
Summary: On my ISR routine I call a function that tries to set the WiFi mode to APSTA in a ESP32, and it crashes with the following dump: Scanning for Modules... OK1 Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4008b7cc [...] read more
I run into a problem I got this Snackbar and I want it to look like pciture1, it works fine in android but not in iOS. In iOS, it looks like picture2. I couldn't find out what causes this weird difference in iOS. So my question is: How can I [...] read more
I run into a problem I got this Snackbar (Code below) and it works fine in android. But not in an IOS emulator (I didn't try it on a real device yet). The problem is that when I open the Snackbar it lags like hell. What causes this is the: [...] read more
First and foremost i have to mention that i wrote very much to what i did to maybe help other people interested in binary exploitation unterstand what i did and to document. The actual Question starts after the second "___________________" Lately i am learning some binary Exploitation, that brings me [...] read more
I am trying to generate a QR Code and set it to an ImageView out of a PGP Public Key in my Android Application with Java. The libary I use is XZing and I am on Android Studio. This worked well before with smaller Strings, however when I try to [...] read more
I encountered a problem when converting binary values to float, prompting me to research the issue further. I found out that the values between 0xff800001 and 0xffb00000 when are reinterpreted as float have their 15th 22nd LSB bit flipped. The test program I used for this: unsigned long long ca [...] read more
I'm trying to get the filepath for the opened file for the sys_openat syscall for both 32bit and 64 bit processes. 64 bit processes work fine. For 32 bit processes I had to register for __ia32_compat_sys_openat (instead of __ia32_sys_openat) to get the callback to get called at all. However the [...] read more
i've been trying to make a listview in flutter and get how many pixels the view had scrolled. Unfortunately, i used NotificationListener Like this: NotificationListener<ScrollUpdateNotification>( child: ListView( children: [ //content here ], ), onNotification: (notification) { //How many pixels scrolled from pervious frame // print("scrollDelta: ${notification.scrollDelta}"); setState(() { this.scrollValue = [...] read more
(gdb) run `python -c "print('A'*524+'\x55\x61\x55\x56')"` Starting program: /home/xxx/Documents/ethical_hacking/buffer_overflow/simplebuffer `python -c "print('A'*524+'\x55\x61\x55\x56')"` Off to 0x56556155 Program received signal SIGSEGV, Segmentation fault. 0x56556155 in register_tm_clones () (gdb) run `python -c "print('A'*524+'\xcd\x61\x55\x56')"` Starting program: /home/nepalidai/Documents/ethical_hacking/buffer_overflow/simplebuffer `python -c "print('A'*524+'\xcd\x61\x55\x56')"` Off to 0x55618dc3 Program received signal SIGSEGV, Segmentation fault. 0x55618dc3 in ?? () When I [...] read more
TL;DR: * Tensorflow 1.15 crashes on my virtual machine when imported by Python (error message is Illegal instruction (core dumped)), very probably thanks to AVX and AVX2 being disabled on it. * My host machine (Windows 10 64bit) has AVX and AVX2 (validated using Cygwin, see more details below) [CPU [...] read more
I need to write quite simple program which makes LED diode flashes using processor ARM AT91SAM9263. I need to run this code using QEMU emulator, which is installed on my Ubuntu machine. I am trying to write a program with 4 functions, which are initializing LED ports and Buttons ports, [...] read more
so I'm still fairly new to Android Programming, and have been working on an app. I just created a settings menu in which all the settings are held, and I'm having an issue that when the back button in the action bar is pressed, the app crashes. If I press [...] read more
Hey I am using ShowCaseView in my Flutterapp. When I first open my app, after registration there is no showcase, not even the icon which should be 'showcased' is shown. But when I am closing the app and opening it again it works just fine. Thats the code referring to [...] read more
Following connection attempt fails. reiscV-gdb -> patched openOCD (see setup below). Following messages are displayed in gdb and openOCD RISCV-GDB OUTPUT (gdb) target remote 127.0.0.1:3333 Remote debugging using 127.0.0.1:3333 warning: Architecture rejected target-supplied description warning: No executable has been specified and target does not support determining executable automatically. Try using [...] read more
I am trying to disable SSLv3 on a 2008 R2 web server that runs IIS 7.5 but as soon as I disable SSLv3 and reboot, the website is no longer reachable. I ran a packet capture with SSLv3 still enabled and my client is establishing a TLS 1.2 connection so [...] read more
I am trying to achieve something very similar to iptables - Target to route packet to specific interface? and https://unix.stackexchange.com/questions/21093/output-traffic-on-different-interfaces-based-on-destination-port but I do not get it working. Here is my setup: RPi4 (local IP, eth0: 10.0.0.196/24; wireguard IP: 10.10.10.2/24; wireguard interface is named "client") <---> Server (wireguard IP: 10.10.10.1/24, global [...] read more
I am trying to connect multiple Amazon VPCs (across regions) together using OpenSWAN and Amazon VGW's. The router instance can ping to hosts in both VPCs, and traffic is attempting to cross the router, but is getting dropped. EDIT: I see the counter XfrmInNoPols incrementing when the pings are not [...] read more
I have the following setup, involving one host and a docker container. * On the host, I am setting up an ipsec tunnel connection to a remote gateway. * In the docker container running on the host, I setup a transport mode ipsec connection to another address that is only [...] read more
The BIND 9 Administrator Reference Manual e.g. for version 9.14.11 or 9.17.1 states in * 5.2. CONFIGURATION FILE GRAMMAR * The category Phrase * queries > The query log entry first reports a client object identifier in @0x<hexadecimal-number> format. This term has not been mentioned anywhere else in the ARM, [...] read more
I made a TC BPF ingress program and I want it to process specific packets only marked by NFTables. Here's my NFTables table that marks the specific packets: table ip compressor_tc { chain prerouting { type nat hook prerouting priority -99; policy accept; ip daddr 10.50.0.3 tcp dport != ssh [...] read more
I have already used this configuration a bunch of times and I haven't had this problem before. Basically I establish the tunnel connection, but after connecting (with swanctl --initiate --child ch_vti0 --ike ch_vti0) I get my virtual ip assigned on the appropriate interface vti0, but also I have the same [...] read more
I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
Having a very strange case here, where a windows task scheduler job executes a C# console application at a specific time, that returns -1 in case of an error. The job is configured to rerun itself if an error occurs. The console app fails and returns the error code. The [...] read more
first for those of you, who might think, this question has been asked so many time before so it is a useless duplicate... 1. I cannot (yet) comment on other questions, so my only option on this is to ask new question. 2. I've searched and read the following articles [...] read more
I've been trying to update the Patches which is failing continuously enter image description here [https://i.stack.imgur.com/PDkYQ.png] When I click the Failed to Install, I popped with the below description > 2018-08 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4343887) A security issue has been identified in a Microsoft [...] read more
I recently created a new RDS of SQL Server Express 2012. I have set the security to be publicly available and to accept all ports and incoming connections. From some reason, I fail to connect it using my three clients: - HeidiSQL - SQL Server Management Studio - java client [...] read more
Another machine on my LAN is uploading to Dropbox and saturating my internet connection's upload bandwidth. When that happens my pings to 8.8.8.8 take 3000-6000ms. When dropbox is not uploading my pings to 8.8.8.8 are 45ms. I'm trying to simply slow down and de-prioritize forwarded traffic to/from Dropbox on my [...] read more
I attempted to upgrade our system's mainline kernel and am now dropping into initramfs. < update>: The commands I used were: apt-get update apt-get upgrade apt-cache search linux-image //grabbed last entry apt-get install linux-image-4.4.0-67-generic < /update> I have researched the topic and found that I should be able to access [...] read more
I have an average of 17-18 failure audit events per hour recorded in the Security event log of a Windows 2012R2 domain controller, related to attempts of a Windows 2008R2 member server to obtain a Kerberos service ticket A Kerberos service ticket was requested. Account Information: Account Name: TORPDC01$@ACME.COM Account [...] read more
I have a mark/mangle/SNAT setup that has been working great for years. However, when trying to use this same setup for DHCP requests, it intermittently fails: *mangle -A OUTPUT -p udp -m udp --dport 67 -j MARK --set-xmark 0x7/0xffffffff #... *nat -A POSTROUTING -m mark --mark 0x7 -j SNAT --to-source [...] read more
I recently installed Windows Server 2003 on a virtual machine and then added the IIS role. (The reason for using an old OS is to make some old software work - Crystal Reports web server component) I have not yet added any pages/apps to the website (except one very simple [...] read more
I am trying to import a Centos7 based VM into Amazon AWS. The VM was created with the Centos7 minimal ISO installed into VirtualBox. Networking in the VM works fine locally before trying to do the import. I am using the EC2 command line tools to do the import: ec2-import-instance [...] read more
I have a VMware vSphere hypervisor set up with two VMs. I need to be able to reach the host (for configuration, etc.) as well as both VM's from my client (which is also in the same subnet). I want to set up a PoC Hadoop cluster, and the client [...] read more
I am having trouble backing up my server. I back up to an external hard drive, and up until now, I haven't had any problems with it. But today my backup failed. Here is the report from the backup log: Backup Status Operation: Backup Active backup destination: File Media name: [...] read more
I've got a Linux based Firewall/Router running iptables and SNAT for traffic passing through it to the Internet via a single uplink - This is working fine. There is also a small number of applications running on this server which also work fine. I've also got an OpenVPN client running [...] read more
I have two Citrix XenServers in a pool. Both have a NIC for Management, a NIC for the SAN and a NIC for the VMs to connect to the network. The NIC for the VMs (eth3) has multiple networks configured for the VMs with different VLAN IDs. This has been [...] read more
I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How can I use hardware acceleration on a headless server? Note that even though output [...] read more
I am using ffmpeg to transcode videos into a specific AVI format using ffmpeg.exe -i "Input.ext" -y -vcodec rawvideo -pix_fmt rgb555le -an -map_metadata -1 TEST_ENCODE.avi. The resulting AVI is an input for a legacy command-line program that is no longer supported. Unfortunately, this program is unable to read AVIs produced [...] read more
I need to convert my input audio file to the lowest possible size to transfer it over a radio transmitter. Now with the AAC codec and MP3 format I used 8kbps for bit rate, 16 kHz for sampling rate and 1 channel, and my output data is about 3kb per [...] read more
I have Ryzen 5 3600, Gigabyte X570 GAMING X and Radeon RX 580 Series. I installed Ubuntu 20.04 and it is loaded with kernel parameter acpi=off but now system recognize only 1 core(lspcu, cut /proc/cpuinfo, nproc). When I remove 'acpi=off' - Ubuntu freezes on login screen. dmidecode -t processor recognize [...] read more
I'm trying to set up a Win 10 / Debian 10 dual boot on an Asus UX430UA that I've just bought new. I replaced the OEM SATA SSD with a larger NVMe SSD (ADATA XPG SX8200) and am trying to install both OS's on the same SSD, as I've done [...] read more
Im running freepbx version 13 and started to upgrade to version 14. System is on a CentOS 6 system. The system required certain upgrades first including php which I've upgraded to 5.6.40 and installed zenguardloader 2.6.0 I'm assuming there is some sort of incompatibility between php and zenguardloader as I [...] read more
Recently, I started getting BSODs a few times a week. I have a hunch that they are related to the display driver/docking station (I'm using IBM T480) because they seem to happen around the time I connect/disconnect to the docking station and more importantly, I don't actually see the BSOD, [...] read more
I've been struggling with this problem for quite some time and am completely out of ideas. I have 8GB memory installed, but ubuntu sees only 3.2 GB. Hardware: Mother Board Information Intel DG965SS Processor Information Socket Designation: LGA 775 Type: Central Processor Family: Core 2 Manufacturer: Intel(R) Corporation ID: F6 [...] read more
A colleague at work has a Kingston 240GB SSD drive which has come out of a now dead computer. We want to be able to recover some data from it (no backups sadly) however the drive won't mount properly. I am using an Anker USB3 external HDD enclosure which I [...] read more
Problem Description: With Arm machine as a Server, with Ubuntu as a Client, Server via the Client send time package to sync that time, after synced time, Comparing their time, I found that with a continuation of the time, the time difference is bigger and bigger, I suspect that may [...] read more
I am getting SOME/IP length error(but getting correct data) in trace window when sending SOME/IP messages from CANOE using CAPL script. I think i am missing any settings that should be done in Canoe. Can anyone suggest a possible reason for this? and how to solve this? The code used [...] read more
I have been trying to port a non-Linux mostly multiboot 0.6.96 compliant (the multiboot header is past 8 KiB) 32-bit elf kernel from GRUB Legacy to GRUB2. Currently, the kernel and GRUB are placed on a USB which is used to boot a different computer via the BIOS, like a [...] read more
Today went to turn on the Hyper-V feature in the "Turn Windows Features On and Off" settings, but the dialogue would always just load for like 20 seconds then crash my machine. I looked up alternative ways to view/access the Windows Features and found you could do it from DISM [...] read more
So I am attempting to copy a User Profile to the default profile. I am using WinSpy++ to enable the disabled "Copy To" button - this process works on a stock laptop I have here. However, this does not work in a customised image I have with a fair amount [...] read more
I am trying to setup second VPN connection over the first one, which is my only option at the moment. The first VPN connection works fine(utun1), providing me internet access and it looks like this: Internet: Destination Gateway Flags Refs Use Netif Expire 0/1 10.56.10.5 UGSc 0 0 utun1 default [...] read more
I have a PATA disk from a 386 laptop (1995?) which I would like to get files off. It is a Seagate 9096A, and is working. Using the old laptop is not possible. I have tried a USB - 2.5" PATA adapter, but it failed to properly interface with the [...] read more
I'm using Windows 10 in our company for a couple of weeks. Using the GPO (I'm a domain admin myself) we added some network drives for all users of our domain. This works fine. But.... For some reason, after a while my network drives are semi-disconnected. I use the word [...] read more
There are a SSL vulnerability called POODLE discovered by Google team in SSLv3 protocol. So uses of SSLv3 is not secure to use. Now its recommended to use TLS 1.2. We have IOS applications that are using web services over SSL for login to app. Apps started throwing error as [...] read more
I track packets using LOG targets for all chains of all tables and the last chain I see my packet in is the POSTROUTING chain of the mangle table: mangle_PREROUTING: IN=eth0 OUT= MAC=00:16:3e:0f:01:00:00:16:3e:0f:02:00:08:00 SRC=10.2.1.2 DST=10.1.1.2 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=60912 PROTO=ICMP TYPE=0 CODE=0 ID=41230 SEQ=1 As off http://inai.de/images/nf-packet-flow.png, I expected [...] read more
The maximum resolution available for my Ubuntu 14.04 vm is 1360x768. However, the max resolution for my Ubuntu 16.04 is 2560x1600. Both are running on the same ESXi host with the same video card settings. Both have the latest version of VMware tools installed. The physical monitor I am accessing [...] read more
I have a RHEL 5 workstation with 2 nvidia Quadro FX4500 cards, with one display attached to each card. After doing a clean install of RHEL 5.5, the second display doesnt work (it worked ok in RHEL 5.2). Neither separate X screens nor Xinerama are working. The kernel version is [...] read more
I'm using a Sager NP5160 laptop, which has an NVIDIA GT 540M dGPU as well as integrated graphics. I'm dual-booting Windows 7 and Linux Mint. I've recently noticed issues with games not performing as well as they should when I switch to balanced mode (from UMA mode) in Windows 7. [...] read more
I'm trying to connect to a VPN on my Mac, but for some reason routes aren't being set, even though they seem to be set by the vpnc-client script. root@machost:/Users/username# cat .openconnect authgroup=AUTHGROUPHERE user=USERHERE script=/usr/local/bin/vpnc-script no-cert-check #background #passwd-on-stdin root@machost:/Users/username# openconnect --config=.openconnect HOSTHERE POST https://HOSTHERE/ Attempting to connect to server 1.1.1.1:443 [...] read more
I noticed the route table has a lot of entries I do not understand. The route tabel is: Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.254 UGSc 28 0 en1 10.8.0.1/32 10.8.0.5 UGSc 1 2 tun0 10.8.0.5 10.8.0.6 UH 2 3 tun0 127 localhost UCS 0 284 lo0 [...] read more
I am trying to route packets generated by a specific user out over a VPN. I have this configuration: $ sudo iptables -S -t nat -P PREROUTING ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -A POSTROUTING -o tun0 -j MASQUERADE $ sudo iptables -S -t mangle -P PREROUTING ACCEPT -P [...] read more
* I have a small computer with 2 USB sockets : A and B. * I want any external USB disk, attached to socket A - to be mounted as " deviceA" * I want any external USB disk, attached to socket B - to be mounted as " deviceB" [...] read more
I'm trying to use tc from iproute2 to prioritize packets sent to a canbus. Before doing so I read this guide about the issue: http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf Even using the exact examples from that pdf, I'm not able get any of the filters to get a match. My current version of kernel [...] read more
Sometimes I come upstairs and my computer has left suspend and is booted or booting or whatever. Is there a log somewhere that will show what caused it to leave suspend? (ie mouse, keyboard, magic packet, power button?) This is what I see in dmesg: [191069.614821] init: anacron main process [...] read more
I have had an external USB drive attached to a RaspberryPi (headless), 1.5 TB Volume, 100% partition NTFS. During this question Creating ext4 partition from console, my goal was to change the overall fs to ext4 by shrinking the ntfs partition to 50%, copy all files to the new partition [...] read more
I am using Spotify on wine on Linux (Ubuntu). It worked fine before, but after I uninstalled and re-installed it, for some reason every time I run it, it doesn't work. It crashes after I log in. When it crashes I can see the Spotify window. When it crashes, Spotify [...] read more
My Mac (MacBook Pro, 10.7.3 OS) is crashing a couple of times a day. I started this behaviour just recently, and for no apparent reason. I've done a disk check and it all seems fine. When it crashes, the screen goes black and I have to long-press the power button [...] read more
I have a Macbook Pro bought over a year ago without extended warranty. Lately it has started crashing as follows - the screen goes black. The last note of the music (if playing, radio or iTunes) loops repeatedly. It will not go into in standby when screen is closed. Power [...] read more
Every time I open any printer queue I get a kernel panic and have to reboot. It's quite frustrating. I've tried removing/adding printers, clearing all caches with Onyx, repairing permissions, all manner of things to no avail. Any tips would be greatly appreciated! ==== CRASH REPORT ==== Interval Since Last [...] read more
Here is my xorg.conf file. The problem is that my resolution setting 1600x900 is getting ignored. The resolution keeps popping to 1280x1024 Edit The resolution comes up as 640x480 after unplugging the physical monitor. When my file gets ignored, the system seems to read my monitor to find it's capabilities [...] read more
I have an application that will stuff fixed point values into CPU registers. They're 32 bit (4 byte) and specified as: Unsigned fixed-point number: 5 bits integer 27 bits fractional Min = 0x0 = 0.0000000 Max = 0xFFFFFFFF = 31.9999995 How would I convert a number like 1.003936 to 4 [...] read more
I saw such a usage when reading the code struct conf_param conf_params[] = { #include "s2conf.h" { NULL } }; I don’t understand what this "#include" does? Will it put everything in the "s2conf.h" file into "conf_params"? =========================s2conf.h====================== #ifndef _s2conf_h_ #define _s2conf_h_ #include "rt.h" #define DFLT_LOGFILE_SIZE "\"10MB\"" #define DFLT_LOGFILE_ROTATE "3" [...] read more
I want to change a registry key value via python. The value type will be REG_DWORD which means hexadecimal including 0x000 in integer format. I am having trouble converting a string with a number to its hexadecimal format in integer. Since I am looping through a number of registry keys, [...] read more
I am creating a Journal mobile application which would work as a medium to view magazines and daily news updates. This is my first flutter project and I am totally new to flutter. So kindly excuse me if I had said something wrong about something or didnt provide enough information. [...] read more
Good day, I am trying to build a row to show stories in a project am working on, i used the flutter Instagram stories package for it but i want to add a add stories button before the flutter Instagram stories so a user can easily add stories by clicking [...] read more
I have an theme and button theme .. ThemeData( buttonTheme: ButtonThemeData( textTheme: now I want to change text size but I understond I only can change text color from theme. I can change it with textTheme in ThemeData ThemeData( themeData: TextTheme( headline6: TextStyle( fontSize: 12, fontWeight: FontWeight.w400, color: Color(0xffFFFFFF)), ) [...] read more
I am trying to allocate some memory on CycloneV ARM9 in the Linux kernel. This is the code in the driver typedef struct tx_dma_buf { volatile phys_addr_t phys_addr; volatile unsigned int *virt_addr; volatile unsigned int *dma_regs; dma_addr_t *dma_handle; struct device *dev; } buf_t; typedef struct bufs { buf_t *tx_buf; buf_t [...] read more
I'm trying to port RTEMS on the SAME54P20A. I managed to make a basic BSP that compile and a basic application. I compile the application using ./waf configure --rtems=$HOME/rtems/5 --rtems-bsp=arm/same54p20a ./waf But when running the application on the target, it seems that it never gets to the application task. I [...] read more
In my simple exoPlayer i play video file and when app is minimized and maximized i was not able to resume the play back here is my code. private void initializePlayer() { if (player == null) { DefaultTrackSelector trackSelector = new DefaultTrackSelector(this); RenderersFactory renderersFactory = new DefaultRenderersFactory(this).setExtensionRendererMode(DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON); player = new [...] read more
I am using a sample code from an old book but the code is written as inline assembly! I created a new console app project. added MASM dependancy and the file type is Microsoft Macro Assembler. I keep getting this error whether it's targeted for 32 or 64! =>MOVAPS XMM0, [...] read more
I'm trying to test a buffer overflow on my 64-bit linux virtual machine. I have trouble to do it : The program stop, the shell seems to be launched but I don't receive the result of my instructions. My C code (vulnerable) is : #include <stdio.h> #include <stdlib.h> #include <string.h> [...] read more
I'm on Windows 10, I installed the Toolchain by following chapter 8.2 of the getting-started-with-pico.pdf. I created the test-project by following chapter 7 of the same pdf. CONTENTS OF MY PROJECT FOLDER -------------------------------------------------------------------------------- CMAKELISTS.TXT cmake_minimum_required(VERSION 3.12) include(pico_sdk_import.cmake) project(test_project) pico_sdk_init() add_executable(test test.c) pico_enable_stdio_usb(test 1) pico_enable_stdio_uart(test 1) -------------------------------------------------------------------------------- PICO_SDK_IMPORT.CMAKE # This is [...] read more
I'm getting linking errors when CMake tries to run a basic compiler check in CLion, using Visual Studio Build tools as the enviroment. The errors are as follows: "C:\Program Files\JetBrains\CLion 2020.3.2\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_C_COMPILER=C:/Program Files/LLVM/bin/clang-cl.exe" "-DCMAKE_CXX_COMPILER=C:/Program Files/LLVM/bin/clang-cl.exe" -DCMAKE_C_FLAGS=-m64 -DCMAKE_CXX_FLAGS=-m64 -G "CodeBlocks - NMake Makefiles" D:\ASGE-Repositories\asgenetgame-team-11 -- The CXX compiler identification is [...] read more
In my Android application i am trying to implement a feature where i am reading doc files using iOffice Reader. The pattern this library uses is it draws the content of word file on a Linear Layout. So basically the handling is on onDraw method. When we open any file [...] read more
I'm setting up Linux device to act as BLE host, and ESP32 to work as a BLE controller over UART. I'm using BlueZ v5.55, with btattach and bluetoothctl utilities, and bluetoothd running in the background. However, after finishing the setup bluetoothctl still says No default controller available. # /usr/bin/btattach -B [...] read more
We are facing following exception in calling Sendgrid Send Email function in some case. We get this exception for 20-30 emails out of 50,000 in a day. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Unknown error (0xffffffff) at [...] read more
Hello I want to make the Listview when I tapped the item, it removes and insert that item in the last of the item list. removing and inserting is working, but the problem is image. I use item's image. If I tapped the item, it reordered by removing and inserting. [...] read more
I am developing on ESP32 WROOWER using Arduino IDE. When I use BLE in my sketch it bricks down, I dont know why. My sketch is big, 1416000 bytes and in Tool>Partition Scheme I selected "HUGE APP 3MB....". Here is the backtrace: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception [...] read more
Consider the following: unsigned int i1 = 0xFFFFFFFF; unsigned char c1 = i1; char c2 = i1; printf("%x\n", i1); // 0xFFFFFFFF as expected printf("%x\n", c1); // 0xFF as expected printf("%x\n", c2); // 0xFFFFFFFF ???? printf("%d\n", c1 == c2); // false ???? I know, one should not assign an int to [...] read more
I was able to pinpoint the issue to this function, but I'm unsure of how to fix it. Color colorLuminance(String hex, double lum){ // Verifying & extending hex length if (hex.length < 6) { hex = hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2]; } // Convert to decimal and change luminosity var rgb = "", i; [...] read more
I'm try to understand how to store and change a two different color for button in light and dark theme: /// light ThemeData lightTheme() => ThemeData( brightness: Brightness.light, ... textButtonTheme: TextButtonThemeData( style: TextButton.styleFrom( primary: const Color(0xffffffff), backgroundColor: const Color(0xff5063EE), // blue ), ), ); /// dark ThemeData darkTheme() => ThemeData( [...] read more
We are trying to set up Zephyr on an nrf52832 to run a HCI interface. Due to hardware limitations we are obliged not to use flow control and thus the H:5 HCI (three wire UART) together with bluez 5.54 We have disabled flow control in the DTS overlay. We have [...] read more
I am currently trying to build a conan package. Part of that is to prebuild a static library using cmake(repo). At the moment I can not figure out how to link the generated static lib inside another build. 1. The library I am building is flecs 2. Using flecs inside [...] read more
I'm trying to convert this function from this repository, programmed with the AutoHotKey language. But I ended up stuck in one question: In C# what would the NumPut and VarSetCapacity functions present in AutoHotKey be equivalent to? The function I want to convert calls certain functions in memory process by [...] read more
I have a motherboard (KINO-DH310) with windows 10, the GPIO controller displays under Device Manager -> System devices -> Interl(R) Serial IO GPIO Host Controller. How am I supposed to begin simple I/O with this controller? I've tried different strategies, different programming languages, but to no affect. The majority of [...] read more
I have a Raspberry 3 Model B which has a BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board and recently installed Ubuntu 20.04 LTS. Thanks in advance for looking and let me know if Ubuntu 20.04 on RPI3 does not support wifi at this time. I've read a [...] read more
i m creating an application in which i have to change the state of a button save the state. and afterwards when that page is open again then the changed state should be displayed. for example: if i click on the favorite button then its state gets changed from unselected [...] read more
when I enter the first input I receive this error Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error:#0 0xffffffff... here is my code leading up to where the error occurs program helloworld implicit none !gets inputs character(len = :), allocatable :: point1 real :: [...] read more
Recently I've been trying to learn some stuff about Minecraft Modding. I've chosen to use Fabric Mod Loader to make/test mods I'm making. In doing so, I've working on a recent project (more like test) and it has to do with screens. So enough about that and on to the [...] read more
We are developing a touch simulating application which needs to simulate user actions read from a log file and automate over a WPF application. When using InjectTouchInput API we are able to simulate the first gesture action and rest of the actions are seen but it is not recognized as [...] read more
I am writing a simple text editor using the Win32 API and I am trying to write a function to compare the content of the file to the content of an edit control. I currently have this: BOOL checkForModification (PCWSTR pszFileName, HWND hEdit) { BOOL bSuccess = FALSE; DWORD dwTextLength [...] read more
I use this code for fingerprint. If i use for similarity between 2 file, it worked. How can i use this code for compare one audio file with a large of audio file? @author: narges """ # fingerprint-db import acoustid import chromaprint duration, fp_encoded = acoustid.fingerprint_file('music.mp3') fingerprint, version = chromaprint.decode_fingerprint(fp_encoded) [...] read more
Good evening everyone, I have a problem with Firebase. Basically I'm creating a leaderboard and I have to find the 7 users with the most points, no problem on that one but I can't understand how to save the data of the 7 users into a List to show them [...] read more
I'm trying to use the triangle primitive in XRender to draw stroked lines. According to the (quite limited) documentation (see section 10): > Abutting edges must match precisely. When specifying two polygons abutting along a common edge, if that edge is specified with the same coordinates in each polygon then [...] read more
I'm creating a flutter web project that looks like a dashboard. It has a side navigation and a body area that displays different screens. To achieve this, I have divided my screen into two parts using Expanded and given them a flex value. And to display different screens I have [...] read more
Good evening everyone, I have a problem with Firebase. Basically I'm creating a leaderboard and I have to find the 7 users with the most points, no problem on that one but I can't understand how to save the data of the 7 users to show them later in a [...] read more
I am assigning random color to a ListTile leading property in flutter, but when I am deleting a item using setState, color of all list items are changing, I tried to use ObjectKey() , I want to keep the color state constant ListTile( key: ObjectKey(expense), onTap: () { setState(() { [...] read more
i make appBar and add a drawer to it and also search icon the problem there is padding between the icon for the Drawer and the search icon And I can't get rid of it this the code: class _HomeState extends State<Home> { @override Widget build(BuildContext context) { return Scaffold( [...] read more
I'm trying to configure IPSEC tunnel between two virtual machines (R2 R3) in the same network where one of them would work as a router (R2) so I can send data from third virtual machine (R1) over the IPSEC tunnel to R3. I have made the following topology: enter image [...] read more
Litle setup description: intel sbc connected with vlans managed switch connected with vlans wan1 dhcp 100M cable internet wan2 dhcp 100M+ mobile internet wan3 dhcp wifi wan4 dhcp pppoe cable internet 5 networks 10.x.x.x one nic for each interface multiple dhcp openvpn clients Wan 2-4 are hotplugged, and for now [...] read more
I have a strange situation, I have created a second postgres server that will eventually become a slave to my current master, anyway for testing purposes I have currently installed postgres, and testing connections from other hosts. In my postgresql.conf I have a nice an easy:listen_addresses = '*'# what IP [...] read more
I have a docker problem which - when consulting the web - seems to happen quite often. Still, I didn't find among the million post I read and tried a solution. I can start "systemctl start docker.socket", but not "systemctl start docker", neither "sudo dockerd" seems to work, at least [...] read more
I currently have HAProxy 1.5.4 setup using keepalived for HA on centos 7 using IPtables to create a transparent load balancer to load balance a number of cisco WSA proxy servers for internet filtering on an infrastructure of around 15,000 users running on vmware and cisco UCS with one GB [...] read more
I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-3.2# cat /etc/ipnat.rules map fxp0 lama -> 0/32 rdr fxp0 [...] read more
I have a CentOS 6 (kernel 2.6.32) router with working OpenVPN client on it, and I want to redirect some traffic via VPN server. Client (192.168.60.159) sends request to router (192.168.60.6:1443), and router redirects it via VPN connection (10.200.0.54) to server (185.61.149.21:443). I've created a specific routing table tunde and [...] read more
I am currently working with a traffic shaping Linux node. The rule set has grown to about 2500 hosts, all identified specifically by MAC address. The filter configuration is "basic", meaning that on average, 1250 rules must be tested before a packet is filtered to the correct class. At line [...] read more
I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How can I use hardware acceleration on a headless server? Note that even though output [...] read more
This question is a follow on to my original. The situation is a host with a single HDD must be cloned to a larger HDD over the network. I ran a couple of tests of a clonezilla live remote transfer from a 500Gb HDD to a 1000Gb HDD. The second [...] read more
I need to add delay to packets after doing some modification using the SNORT inline module. However, I cannot seem to get the packets to match a filter using tc filter ... It always matches the default filter. The commands I am using are stated below: sudo tc qdisc del [...] read more
Hello to the community! Let me get into the details of the problem itself. We have a total of 6 SuperMicro Servers in a cluster. The problem occurs only in 3 them, which are the newest generation. The same thing happened on all three nodes (different times, same day). I [...] read more
I have a docker swarm consisting of an Nginx service that serves as a reverse proxy for a couple of other upstream services, web and mail. Both web and mail service need to connect to an external service via HTTPS in order to perform authentication. The mail service needs to [...] read more
My Ubuntu machine is 10.0.0.15, my Windows machine is 10.0.0.10. My gateway, that routes the Internet traffic to the LAN is 10.0.0.1. When I ping the gateway from my Windows machine everything is fine - I get every single packet back. Same holds true, when I ping the Ubuntu machine [...] read more
I have the following setup on a director node running keepalived: * native IP 10.65.5.72 * VIP 10.65.5.230 * keepalived DR mode enabled for port 80 and 443 I was debugging a problem where I couldn't access the IPVS service from the director node itself, and during that process noticed [...] read more
I am trying to start JBoss EAP5 server on Linux CentOs machine. However, the process gets killed abruptly and I get nothing in the boot.logs. Please find the logs below: Server Library URL: file:/usr/share/jboss-5.1.0.GA/server/default/lib/ Server Log Dir: /usr/share/jboss-5.1.0.GA/server/default/log Server Native Dir: /usr/share/jboss-5.1.0.GA/server/default/tmp/native Server Temp Dir: /usr/share/jboss-5.1.0.GA/server/default/tmp Server Temp Deploy Dir: [...] read more
I'm on OS Sierra. This is (part of) what I get on ifconfig ... en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 98:01:a7:b4:91:63 inet6 fe80::4e:52ae:9fa8:2e6c%en0 prefixlen 64 secured scopeid 0x5 inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active ... utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1400 inet 10.161.136.55 --> 10.161.136.55 netmask 0xffffffff [...] read more
I have setup a rabbitmq ssl connection on my remote server as per the docs here: https://www.rabbitmq.com/ssl.html I am using java rabbitmqclient to connect to the remote server and sending a hello message to a queue on rabbitmq-server, the connection works fine from my local ubuntu 14.04 machine but does [...] read more
I want to configure OpenVPN server that works on alias IP. I changed the client config to have alias IP as remote and added "local 188.xx.xx.55" in OpenVPN config which is our alias IP. Also set "netd_interface=188.xx.xx.55" which is again alias ip. When the VPN connects and I check my [...] read more
Due to a malconfigured NTP server of ntp.org, the date and time on all our servers and client was set to the date of tomorrow (1/1/2017 instead of 31/12/2016). We've manually changed the date back to the date of today on our Primary Domain Controller (PDC) and executed w32mt /resync [...] read more
I have a server behind two public facing gateways INTERNET | | GW1 GW2 | | SERVER GW1's IP is 192.168.w.x, MAC aa:bb:cc:dd:ee:ff GW2's IP is 192.168.y.z, MAC ff:ee:dd:cc:bb:aa # note: w != y and I'm trying to load balance outgoing connections from the server. I've built upon pepoluan's solution [...] read more
I have two Ubuntu 16.04 Azure VMs created from the same image, in the same region (WestEurope), configured to be the same size (Standard A1, 1 vcpus, 1.75 GB memory) and created at the same time (days of difference). Inspecting the CPU info they are completly different, one being a [...] read more
I got problem with Opcache. It's not working as I wish/desire.. This is my opcache configuration cat /etc/php/7.1/apache2/php.ini | grep opcache [opcache] opcache.enable = 1 opcache.enable_cli = 1 opcache.memory_consumption = 256 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 8882 ;opcache.max_wasted_percentage=5 ;opcache.use_cwd=1 opcache.validate_timestamps = 0 opcache.revalidate_freq = 0 ;opcache.revalidate_path=0 ;opcache.save_comments=1 opcache.fast_shutdown = 1 [...] read more
I have an ubuntu 14.04 server with two NICs, each one connected to seldom routers, each with separated internet access. We want to redirect ftp ports traffic through the second interface, em1, and all the rest through the default interface p4p1. I have both interfaces up. I've followed the instructions [...] read more
I'm seeking help for this issue that I'm having in our AD domain controller where a lot of security events are being logged due to failed logon attempts by a (former) domain user that has been disabled and subsequently deleted. I'm trying to pin-point the origin of these attempts but [...] read more
I would just like some heads up on this as I really don't understand -why- this is the case. Further down is the TCPDUMP output (tcpdump -s0 -XXnni eth0 tcp port 80) of the 'HTTP' response a webserver gives when a normal GET request is made to it. What I [...] read more
I have one DIMM installed on a Lenovo x3550 M5 server. The OS is Ubuntu 16.04.2 64 bit uname -ra Linux hostname 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux free -hm gives: total used free shared buff/cache available Mem: 7.2G 238M 6.5G 20M 474M [...] read more
I am using kerberos to authenticate a user and its failing. Audit failure details in event viewer are following A Kerberos authentication ticket (TGT) was requested. Account Information: Account Name: HTTP Supplied Realm Name: TEST.COM User ID: NULL SID Service Information: Service Name: krbtgt/TEST.COM Service ID: NULL SID Network Information: [...] read more
I have an old server running CentOS 5(Kernel 2.6.18-92.el5). It is running a legacy application so I can't retire it yet. I had connected a 2 TB USB disk to it to take backups and the disk is almost full right now. I bought a new 4 TB disk but [...] read more
I've tried almost all iptables rules to block smtp on openvpn server but still clients clients can access remote smtp servers on port 25. I'm using openvpn access server. It's creating two interfaces as0t0 and as0t1. All users assigned ips from 172.16.0.0/12. Please help me what rules can be written [...] read more
I'm moving my router from Rpi with Rasbian to another pc device with ubuntu server 14. I have: - local network 10.0.0.0/16, with my router gateway 10.0.0.1 - lte usb device 192.168.8.1 in network 192.168.8.0/24 - lte usb device 192.168.10.1 in network 192.168.10.0/24 I have moved all network settings with [...] read more
I'm trying to redirect all the browser's requests from my wifi interface wlan1 to a captive portal. I have a node web server running on my target on 10.4.30.34:4040. It has to redirect the browser directly to the web server, on the good port, like I entered "10.4.30.34:4040" in the [...] read more
I am running a development server on a fairly old version of CentOS 5. This server has been live almost constantly for the past five years ago, so has been pretty stable. A while ago, it crashed during normal operation. I restarted it and it crashed again after a few [...] read more
This is my php sample script: <?php try{ $db=new PDO('mysql:dbname=_mydb;host=localhost', 'root', 'xxxxxx'); }catch(PDOException $e) { echo "Error: ".$e->getMessage(); } ?> And I have returned: could not find driver Also: user@nbook:~$ php -i|grep PDO PDO PDO support => enabled PDO drivers => mysql PDO Driver for MySQL => enabled This is [...] read more
An old dedicated server (Debian with Raid1) wasn't responding today and now can't boot after manual reset. Last message is > No inittab file found. I still have access to filesystem via rescue system. Ran fsck and checked raid (both arrays are clean). Booting 'Debian GNU/Linux, kernel 2.6.26-2-amd64 Default' root [...] read more
I know question was answered multiple times, but this situation a bit different. So here is what I have: * All users must user default gateway on eth0, except one * That one must only use gateway on eth1 and must not under any circumstances use eth0 Separately this things [...] read more
Background: We have a number of AD networks (domains) that are connected through VPNs and have established AD trust relationships. We have an externally hosted web server and have configured seamless authentication for any user within the trusted network. This works but the presence of the VPN to an external [...] read more
I am trying to bulid an lvs system, where 202.141.81.239 is the virtual IP and 202.141.81.241 and 202.141.81.242 are the lvs routers.Ths system is working fine in our intranet but is not through internet. The following is my iptables configuration # Generated by iptables-save v1.4.7 on Tue Mar 25 12:30:26 [...] read more
This line in a script: iptables -A jk2_ddos -m u32 ! --u32 "0x1c=0xffffffff" -j ACCEPT will result in this error: iptables v1.4.12: u32: option "--u32" cannot be inverted. This seems not to work in iptables 1.4.12. In older versions it worked. I need something that does the same. The problem [...] read more
I cannot sucessfully connect to my smtp server from my mail client. I am getting the following errors in my /var/log/mail.log file Dec 21 15:08:04 pareto postfix/smtpd[11101]: SSL_accept:SSLv3 flush data Dec 21 15:08:04 pareto postfix/smtpd[11101]: read from B96D2180 [B96C1EB3] (5 bytes => -1 (0xFFFFFFFF)) Dec 21 15:08:04 pareto postfix/smtpd[11101]: read [...] read more
I've written a script that shapes traffic into 3 pipes. The first pipe needs to be high priority and always be send first. This works perfectly now on 1 condition. I enter a correct ceil/max bitrate. This script is written to work an a device that will work with lots [...] read more
I'm trying to run a vehicle simulator based on UE4 on a Linux machine with a TITAN RTX. The TITAN works smoothly for CUDA work and documentation says it supports Vulkan, but Vulkan won't run which stops the simulator from running. One possible complication is I'm running nvidia-driver-450 which is [...] read more
I want to change powercfg.cpl "Power Options" directly through registry. Specifically I want to change this: enter image description here [https://i.stack.imgur.com/R2Fqq.png] To these settings: enter image description here [https://i.stack.imgur.com/mQyWK.png] I am using a desktop computer on alternating current power, therefore power saving is unnecessary and it impairs performance; I have [...] read more
My ifconfig looks like this: utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420 options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM> inet 10.1.0.100 --> 10.1.0.100 netmask 0xffffffff utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 172.27.245.240 --> 172.27.244.1 netmask 0xfffffe00 utun2 is my wireguard (MacOS app) interface which gives me access to IPs on the 10.1.0.0/24 network utun3 is my OpenVPN interface which somehow [...] read more
A windows powerplan sets a number of behaviors of the system and these are enumerated as separate power setting GUIDs. For example Power Setting GUID: 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 (System unattended sleep timeout) GUID Alias: UNATTENDSLEEP Minimum Possible Setting: 0x00000000 Maximum Possible Setting: 0xffffffff Possible Settings increment: 0x00000001 Possible Settings units: Seconds Current [...] read more
I can unlock the access to adjust clocks and voltages of my AMD GPU by appending the Kernel parameter amdgpu.ppfeaturemask=0xffffffff with kernel 5.8.x of Ubuntu 20.04 but not with kernel 5.4. Why not with kernel 5.4 ? With kernel 5.8, I can edit the file /sys/class/drm/card0/device/pp_od_clk_voltage but with kernel 5.4, [...] read more
I have installed VB on a new machine running Windows 10 Pro 1803 (build 17134.556) and running any machine instance always fails with this error: The virtual machine 'linux' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\Users\osama.shabrez\VirtualBox VMs\linux\Logs\VBoxHardening.log'. Result Code: E_FAIL [...] read more
I want to transfer video from a VHS tape to my computer with Arch Linux, using a USB capture device that comes with Roxio Easy VHS to DVD, which I recently bought. I tried to plug in the device, and it was properly recognized. From /var/log/messages.log, em28xx #0: Identified as [...] read more
I have Aorus Master X570 with Ryzen 9 3950X and separate graphics card (ASROCK Radeon RX 5500 XT Challenger D 8G in PCIe 4 16x slot) I have installed 4x 32GB DDR4 corsair modules (VENGEANCE RGB PRO 64GB (2 x 32GB) DDR4 DRAM 3000MHz C15 Memory Kit) to it which [...] read more
I have an AHK script that allows me to bind joystick presses to keystrokes. These keystrokes are used to trigger functions in a trainer that runs in the background while I play a game. The script works fine, but the problem is that the joystick bindings send unwanted input to [...] read more
My dynamic shared library complied with CPPFlAGS: -q64 -G. The compiler version is IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0024 when it was started, then crashed, here is part of information in hs_err*.log. It seems that this error occurred by dlopen # # A fatal error has been [...] read more
I am following Bootlin's embedded Linux training which aims to put an embedded Linux system on an Atmel SAMA5D4 Xplained board (theory slides, practical lab instructions) and I am stuck a putting the whole system on the NAND flash. They ask me to put the DTB, the kernel, the root [...] read more
I'm working with Raspberry Pi Zeros on a subnet. I bought external Ethernet adapters for each one to connect them to one another. Unfortunately, these ethernet adapters all came with the exact same MAC addresses, making communication between the Pis near impossible. Because of that I've tried forcing a change [...] read more
For past two days the system would hang up or enter black screen and won't restart right away (after pressing restart button) but at one instant it generated Blue Screen (BugCheck Code 278). This issue has been occurring only during gaming(for one game during loading screen for other mid game [...] read more
My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
I have a personal VPN that I use as a default gateway for all Internet traffic when I'm on the road. This works great and I have no problem. I also have a work VPN, which I need to connect to reach machines on their private network. What I want [...] read more
I have Samsung NVMe SSD 960EVO 250GB disk and it gives me some weird result when testing read speed using hdparm -tT. Speeds before trim /dev/nvme0n1: Timing cached reads: 24486 MB in 2.00 seconds = 12256.70 MB/sec Timing buffered disk reads: 5502 MB in 3.00 seconds = 1832.95 MB/sec jkalmar@supercomp:~> [...] read more
I have a kworker thread with high cpu usage, which is causing my touchscreen to be very lag-y and unresponsive. Running a beaglebone with Debian. uname -r 4.1.15-ti-rt-r43 pid user pr ni virt res shr s %cpu %mem time+ command 90 root 20 0 0 0 0 R 34.7 0.0 [...] read more
After a few hours of correctling working, our proliant Server stop calculus with the System Healt LED 12 blinking, which according to the documentation ( http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c01706108-8.pdf ) is the sign of a "Critical system failure detected (processor, memory, regulator, thermal event, fan, NMI)" (page 96). SSH is then lost. We [...] read more
I set up a PPTPD server on Arch Linux. If I connect to the VPN using the server's local IP (192.168.1.107), it works, but if I connect to the VPN using the external IP address, then the client results in error 619. Any help would be greatly appreciated! Output of [...] read more
I am trying to finish configuring my postfix/dovecot mail server that sits behind my home's router/firewall. I'm on Mint/Ubuntu 12.04. I'm close. I can connect/retrieve emails via SSL but can only send email from a client when not using SSL, just username/password. If I attempt an SSL connection with the [...] read more
When i start my laptop i get this error "DPC_WATCHDOG_VIOLATION" i really donyt know what is the issue... can some one help.... -------------------------------------------------------------------------------- DUMP FILE Microsoft (R) Windows Debugger Version 6.3.9600.17336 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [I:\121115-55411-01.dmp] Mini Kernel Dump File: Only registers and [...] read more
I already have Windows 8.1 on my newly built PC and wanted to dual-boot with openSUSE. I wrote the install image to a USB, but the install kept hanging so I used network install (also written to a bootable USB). Before install I created a separate 100 GB partition on [...] read more
Today I observed that suspend sometimes does not work properly in freshly installed Debian Jessie. After executing suspend (Alt + Shut Down button) the following message appears on black screen: Loading, please wait... The syslog is as follows. I kindly as for any suggestions. Jul 12 18:53:10 svarog kernel: [ [...] read more
I'm trying to make pm-hibernate to work on my Ubuntu 14.04 system. When I invoke sudo pm-hibernate display turns off and I can't do anything anymore but computer does not turn off. All I have found in logs is: Mar 17 21:40:25 dmitry-pc kernel: [ 0.000000] PM: Registered nosave memory: [...] read more
Mono is crashing on MAC OS X (10.8.4) with Keepass 2.23 while accessing password database. Using keepasshttp with firefox. Any workaround for this ? =========================================================== Process: mono-sgen [7586] Path: /usr/bin/mono Identifier: mono-sgen Version: ??? Code Type: X86 (Native) Parent Process: bash [7194] User ID: 501 Date/Time: 2013-08-15 13:34:28.515 +0530 OS [...] read more
I have set up a VPN connection on my MacBook Pro OS X 10.8.5 laptop, to my office network so I can access my AFP file server from home. The VPN connection appears to be working correctly. The Status reads Connected and I am getting both a connect time and [...] read more
I have trialed to use Network, NAP profiles on Bluetooth. On Host, xUbuntu 13.04 I have followed as here. This Host or XUbuntu machine is behind proxy & runs on virtual machine. It is installed with Bluetooth version 4.101 On embedded board, ping 173.194.112.211 responds as below: PING 173.194.112.211 (173.194.112.211) [...] read more
I have a bat file that we use to write meaningless data to a harddisk. But I dont know what exactly it means... Here is the command: dtlite2 of=\\.\physicaldrive1 bs=256k limit=200m passes=1000 disable=cache pat_part1=0xffffffff pat_part2=0xffffffff pat_part3=0x0 pat_part4=0x0 dlimit=2048 platform is windows. This is run from a bat file. read more
So i have this laptop whenever i open a folder, close a folder, or do anything graphical it runs slowly. and when i say slow i mean you can actually SEE in slowmo the animation running. Say for instance you want to open a folder. you can see the full [...] read more
I think there is something wrong with my Wine setup, but I don't know how to fix it or even what it is. Others have gotten this program to work without problems in Wine. This is the console output that I get from Wine before it crashes. > fixme:system:SetProcessDPIAware stub! [...] read more
I am running OSX 10.6.6 and I this is the second kernel panic in 2 weeks. Here is the log that gets sent to Apple. Help! Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i7 Processor Speed: 2.66 GHz Number Of Processors: 1 Total Number Of Cores: [...] read more
I'm in the process of working on a kernel program to handle printing capabilities of input for a custom OS. I'm following Poncho's 2nd YouTube Video series found here, I'm currently on Video 4 in the series where he starts to add numerical types as inputs to the renderer's print [...] read more
I would like to change the color of "index == selectedIndex" in my drawer in connection with the switch between dark and light themes. bool isDark = Theme.of(context).brightness == Brightness.dark; Anybody knows a way to combine this : decoration: BoxDecoration( color: isDark ? Color(0xFF000000) : Color(0xFFFFFFFF), ), to decoration: BoxDecoration( [...] read more
currently I was tring to implemente a custom HTTPs client to perform a POST over ESP32 with freeRTOS. I'm facing problems with mbedTLS with dynamic memory allocation. Let me explain, if I set the MAX_FRAGMENT_LENGTH to 8k IN and 4k OUT with STATIC, the POST is corretly executed. But if [...] read more
I try to use CreateEnclave() on windows 10 ( https://docs.microsoft.com/en-us/windows/win32/api/enclaveapi/nf-enclaveapi-createenclave ) I get the current process handle with GetCurrentProcess() ( https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocess ), which give me 0xFFFFFFFF Then i allocate a memory region with VirtualAlloc() in order to have an area for the ENCLAVE_CREATE_INFO_SGX structure or ENCLAVE_CREATE_INFO_VBS structure. By the way, [...] read more
Im trying to upload image from android to server with apache-commons-net also server file permission set to 777 the main problems is the app connect to the server but file not upload to server and return false and i use this comment to debug ftpClient.getReplyString(); And it return is Can't [...] read more
Given a mask and a value, the mask covers the value if all bits from the value fall into the mask. For example: mask: 0b011010 value: 0b010010 true or mask: 0b011010 value: 0b010110 false For int arr[arr_size], I need to calculate how many elements of the array are covered by [...] read more
A long time ago, I made a game in which a sort of connected-component labeling is required to implement AI part. I used the two-pass algorithm unknowingly at that time. Recently, I got to know that I can make them faster using bit-scan based method instead. It uses 1-bit-per-pixel data [...] read more
Everything was working fine and no changes were made. For no apparent reason, we can no longer RDP to any domain computers except for the domain controllers themselves. This includes Windows 7 clients and non-controller 2008 R2 servers. After entering the password, we immediately get the following error message: "The [...] read more
I would like to make an arbitrary Microsoft FILETIME. The algorithm is more important than the Microsoft programming language. For example if today is June 2 2016, I would like to calculate the FILETIME at midnight June 2016. Any help is greatly appreciated. [EDIT June 2 2016 5:09 P.M Here [...] read more
my project is at RocketArticle. When not using framebuffer, the scene will show as normal, but with framebuffer enabled, there will be only clear color in the bind framebuffer. Also, Renderdoc shows that, vertex output is fine, but fragment shader has no output. Below is render result No Framebuffer Output [...] read more
I am trying to go over the memory addresses and see different accessibility of the contiguous memory areas, which are: read-only, read&write and no accessibility. I also have a signal handler that takes care of segmentation fault so the program can continue running. char* currentAdd; char readBuf; for (unsigned int [...] read more
I have uploaded few text items, image items and pdf documents to firebase database / storage and and able to retrieve all of them in HomeScreen i.e Vertical CardsUI list as well as ListTiles View with one image, one title and one subtitle. But unable to build DetailView i.e One [...] read more
I wrote the following code to understand the bit-wise right shift operation, unsigned long a = 0; unsigned long b = 0xFFFFFFFF; a = ~a; // now a is equal to b a = a >> 1; b = b >> 1; printf("a = %x\n", a); // result: a = [...] read more
It appears that a false file path has been installed on a home computer many of us use, that reroutes my emails from gmail, to an Entourage mail app that I do not use, and from my dock have no access to…. My question is, is this even possible, and [...] read more
i'm a newbie in java and im having a error at Eclipse java, i cant explain what is going on (its a little troublesome), so please someone help me, the only thing i know is that the erro cames after i typed the last yfinal at render (at the las [...] read more
Actually I am using Httrack as a web crawler, can it use my credentials to access members area and download the zip files because they are restricted from public access. Thank you in advance. Update: After all the problem was with my IPV6 it must be disabled; with (Windows 8 [...] read more