Windows error 0xFFFFFFFF, -1

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginCustomer

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.

NTSTATUStrue
Reserved (X)true
FacilityCode4095 (0xfff)
Error Code65535 (0xffff)

Questions

34votes
9answers

Remove padding in Flutter Container > FlatButton

I am looking to remove the default margin of the FlatButton but can't seem to set/override it. buttons with padding [https://i.stack.imgur.com/auKR7.png] Column(children: <Widget>[ Container( children: [ FractionallySizedBox( widthFactor: 0.6, child: FlatButton( color: Color(0xFF00A0BE), textColor: Color(0xFFFFFFFF), child: Text('LOGIN', style: TextStyle(letterSpacing: 4.0)), shape: RoundedRectangleBorder(side: BorderSide.none)))), Container( margin: const EdgeInsets.only(top: 0.0), child: FractionallySizedBox( [...] read more
flutter
32votes
8answers

Make AppBar transparent and show background image which is set to whole screen

I have added AppBar in my flutter application. My screen already have a background image, where i don't want to set appBar color or don't want set separate background image to appBar. I want show same screen background image to appBar also. I already tried by setting appBar color as [...] read more
dart
flutter
flutter-appbar
20votes
1answer

Setting up a Bluetooth PAN

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
linux
networking
wireless-networking
bluetooth
pan
18votes
6answers

Efficient computation of the average of three unsigned integers (without overflow)

There is an existing question "Average of 3 long integers" that is specifically concerned with the efficient computation of the average of three signed integers. The use of unsigned integers however allows for additional optimizations not applicable to the scenario covered in the previous question. This question is about the [...] read more
c
algorithm
bit-manipulation
micro-optimization
extended-precision
18votes
7answers

How can ARM's MOV instruction work with a large number as the second operand?

I just begin to study ARM assembly language, and am not clear about how to use MOV to transfer an immediate number into a register. From both the ARM reference manual and my textbook, it's said that range of immediate number following MOV instruction is 0-255. But when I test [...] read more
assembly
arm
cpu-architecture
machine-code
immediate-operand
12votes
1answer

Hardwarebreakpoint WINAPI

I'm currently implementing the last task for a little debug framework, namely HW Breakpoints. I referred to this article so far: http://www.codeproject.com/KB/debug/hardwarebreakpoint.aspx and a Book about writing a Debugger. I got following two functions so far for setting a HW breakpoint: void debuglib::breakpoints::hw_bp() { HANDLE helper = 0; CONTEXT co; [...] read more
c++
winapi
breakpoints
12votes
1answer

write a hexadecimal integer literal equal to Int.MIN_VALUE in Kotlin

how does one write a hexadecimal integer literal that is equal to Int.MIN_VALUE (which is -2147483648 in decimal) in Kotlin? AFAIK, an Int is 4 bytes...and sometimes it seems like 2's complement is used to represent integers...but I'm not sure. I've tried the following hex literals to help myself understand [...] read more
integer
hex
kotlin
10votes
2answers

CreateFileA fails to open HID device in Windows

EDIT: Issue reported here: https://github.com/signal11/hidapi/issues/276 Inkling is a pen-device from Wacom. (InklingReader) is an open source project that gets real-time data from it. I'm trying to tidy up InklingReader to use HIDAPI rather than libusb (as it works at higher level: HID rather than raw USB, so is much more [...] read more
windows
usb
driver
hid
hidapi
9votes
7answers

What is the value of ~0 in C?

I want to get the values of INT_MIN and INT_MAX. I've tried ~0 and ~0 >> 1 since the leftmost bit is a sign bit but I got -1 for both of them. It's so confused that why ~0 doesn't turn out to be 0xffffffff and ~0 >> 1 to [...] read more
c
bit-manipulation
9votes
2answers

Strongswan (IKEv2) connection established, but no traffic routing

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
ubuntu
ipsec
strongswan
vpn
9votes
1answer

Cisco ASA Site-to-Site VPN Dropping

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
cisco
cisco-asa
cisco-vpn
9votes
5answers

How to dump memory to a file in gdb (osx)? Need to rescue my work

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
macos
gdb
8votes
1answer

What's the difference between the x86-64 AT&T instructions movq and movabsq?

After reading this stack overflow answer, and this document, I still don't understand the difference between movq and movabsq. My current understanding is that in movabsq, the first operand is a 64-bit immediate operand whereas movq sign-extends a 32-bit immediate operand. From the 2nd document referenced above: > Moving immediate [...] read more
assembly
x86-64
att
immediate-operand
8votes
3answers

Adding Card to ListView

I'm trying to get list of Cards, and trying using the Expanded widget, but got overflow error My code: new Expanded( child: StreamBuilder( stream: Firestore.instance.collection('baby').snapshots(), builder: (context, snapshot) { if (!snapshot.hasData) return const Text('Loading...'); return ListView.builder( itemCount: snapshot.data.documents.length, padding: const EdgeInsets.only(top: 10.0), itemExtent: 25.0, itemBuilder: (context, index) { DocumentSnapshot ds [...] read more
dart
flutter
8votes
3answers

SQL Server 2012 with account NT Service\MSSQLSERVER access is denied in domain

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
sql-server
sql-server-2008
domain
permissions
8votes
3answers

Corrupted NTFS Drive showing multiple unallocated partitions

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
external-hard-drive
ntfs
filesystem-corruption
7votes
3answers

Disable IPv6 Loopback on Windows 7 64 Bit

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
windows-7
networking
6votes
3answers

Why is my straightforward quaternion multiplication faster than SSE?

I've been going through a few different quaternion multiplication implementations, but I've been rather surprised to see that the reference implementation is, so far, my fastest. This is the implementation in question: inline static quat multiply(const quat& lhs, const quat& rhs) { return quat((lhs.w * rhs.x) + (lhs.x * rhs.w) [...] read more
c++
optimization
sse
quaternions
6votes
1answer

Solution needed for building a static IDT and GDT at assemble/compile/link time

This question is inspired by a problem many have encountered over the years, especially in x86 operating system development. Recently a related NASM question was bumped up by an edit. In that case the person was using NASM and was getting the assemble time error: > shift operator may only [...] read more
assembly
x86
nasm
ld
osdev
6votes
3answers

Flutter: exception when having 2 FloatingActionButton

I receive an exception at first time the page is built, when this build involves 2 FloatingActionButton. However, if I comment out one of the 2 FloatingActionButton, run the app and at a later stage, I uncomment and proceed with a Hot Reload, it works. The following piece of code [...] read more
exception
flutter
6votes
1answer

FreeBSD IP aliases in different subnets and default outgoing IP address

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
networking
freebsd
ip-aliasing
6votes
1answer

ASA site-to-site IPSec vpn to linux ipsec-tools endpoints stops working after a random period of time

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
linux
cisco
cisco-asa
ipsec
racoon
5votes
1answer

My two-way trust with selective auth seems to behave opposite to a one-way trust

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
authentication
windows-server-2012-r2
active-directory
5votes
1answer

Enable TLS 1.2 in Windows Server 2012 running Exchange 2013 via IIS 8.0

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
windows-server-2012
tls
exchange-2013
5votes
2answers

OpenVPN connection works but no gateway is assigned

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
vpn
configuration
openvpn
gateway
open
5votes
1answer

What does the "-->" notation mean in the output of ifconfig?

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
networking
vpn
ifconfig
4votes
3answers

How to limit ZFS writes on NVME SSD in RAID1 to avoid rapid disk wear?

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
zfs
ssd
proxmox
nvme
4votes
2answers

How to debug ip xfrm rules

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
ipsec
4votes
0answers

Block incoming traffic in bonding mode when primary interface is down

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
linux
iptables
firewall
bonding
4votes
0answers

Issue installing IE11

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
windows-server-2008-r2
windows-7
wsus
internet-explorer-11
4votes
1answer

System Account Logon Failures every 30 seconds

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
windows-server-2008
security
windows-event-log
failovercluster
4votes
1answer

firewall-cmd - add-forward-port don't work

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
firewall
port-forwarding
iptables
forwarding
firewalld
4votes
1answer

What can trigger a SIGPWR signal that interrupts a 'sendmsg' system call?

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
linux
redhat-enterprise-linux
tcp
strace
system-calls
4votes
0answers

Direct3D crashes dxdiag in 32-bit but works fine in 64-bit mode

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
windows-7
directx
direct3d
4votes
2answers

Is my mac hacked? Found weird things

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
mac-mini
logmein
4votes
1answer

disabling ipv6 on windows 7 64bit

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
windows-7
ipv6
3votes
0answers

how do we call assembly function in c?

Hello :) i got a serious problem to call my assembly function in my c program, it said that it's undefined reference. here my assembly code : [GLOBAL gdt_flush] gdt_flush: mov eax, [esp+4] ; Get the pointer to the GDT, passed as a parameter. lgdt [eax] ; Load the new [...] read more
c
assembly
x86
kernel
3votes
3answers

How to compile a C++ source code written for Linux/Unix on Windows Vista (code given)

I have a c++ source code that was written in linux/unix environment by some other author. It gives me errors when i compile it in windows vista environment. I am using Bloodshed Dev C++ v 4.9. please help. #include <iostream.h> #include <map> #include <vector> #include <string> #include <string.h> #include <strstream> [...] read more
c++
unix
windows-vista
3votes
0answers

On wrapping a Container to SigleChildScrollView the UI look blurry?

I am building an overlay and the overlay content exceeds the container size so I tried to wrap the container inside a SingleChildScrollView but on after doing this the UI looks blurry. And the container had a Column in which I'm placing FormFields and for the Column the mainAxisAlignment property [...] read more
flutter
dart
3votes
1answer

Packets not entering FORWARD chain

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
networking
iptables
routing
policy-routing
3votes
3answers

Linus/ext4/nvme crashes during high io

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
linux
ssd
ext4
io
nvme
3votes
2answers

How to limit speed for every device per MAC address in the gateway via Linux command "tc"?

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
tc
3votes
0answers

FreeBSD major update broke vpnc connectivity, incoming ESP traffic doesn't appear unencrypted on interfaces

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
freebsd
ipsec
cisco-vpn
vpn-client
3votes
0answers

High Performance AWS EC2 / RDS + Nginx + PHP-FPM setup

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
nginx
amazon-ec2
amazon-web-services
php-fpm
high-load
3votes
1answer

Same hardware/software, significant difference in performance

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
performance
hardware
3votes
1answer

Iptables u32 matching nat

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
iptables
linux-networking
3votes
2answers

CentOS reporting lower total memory compared others in AWS

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
amazon-web-services
memory
centos7
3votes
1answer

Windows 2008 R2 services not working

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
windows-server-2008-r2
sql-server-2008
service
windows-event-log
3votes
3answers

Setting up gateway on different subnet than IP address

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
networking
routing
windows-server-2012
gateway
3votes
2answers

HP P410 ADU (hpacucli) generates empty report

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
raid
monitoring
hp
hardware-raid
hp-smart-array
3votes
1answer

Linux port based routing : reponse packets discarded

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
linux
iptables
routing
iproute2
3votes
2answers

iptables NAT with multiple interfaces

I have an ubuntu 10 machine I'm trying to set up with NAT. eth0 is the WAN interface, that uses DHCP. eth1, eth2, eth3 are LAN interfaces. They are connected to 192.168.0.50, .51, .52 respectively. NAT through eth1 works great. On eth2/3, I get nothing -- "no route to host" [...] read more
iptables
nat
3votes
1answer

Black screen while installing Debian

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
installation
debian
3votes
2answers

Error installing IE11 - prerequisite update KB2834140

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
windows-7
installation
internet-explorer
3votes
2answers

Sysprepped image will not complete setup

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
windows-registry
setup
deployment
sysprep
3votes
4answers

Mac OS X: finder window keeps opening by itself and stealing focus

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
mac
finder
focus
3votes
2answers

How to use openvpn for browsing

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
debian
vpn
openvpn
tunnel
bridged
3votes
2answers

Something very strange with network

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
windows-7
networking
2votes
1answer

How to let ld link the function in a header file?

I have a self-defined function strlen() in lib.h inline int strlen(char * String) { register int __res; __asm__ __volatile__ ( "cld \n\t" "repne \n\t" "scasb \n\t" "notl %0 \n\t" "decl %0 \n\t" :"=c"(__res) :"D"(String),"a"(0),"0"(0xffffffff) : ); return __res; } which is invoked in printk.c #include "lib.h" .... len=strlen(s); and when [...] read more
c
2votes
0answers

Identity login function stopped working Blazor Wasm Asp.net core hosted

I've been playing with a blazor wasm asp.net core hosted project for a few weeks now, yesterday I added a few controllers on the server side and everything was working fine (Also logging in).. Came back today and identity server just stopped logging in?? I can reach the api (and [...] read more
identityserver4
asp.net-core-3.1
blazor-webassembly
2votes
2answers

Is there a way to decrypt a String that is hashed into a CRC int from a specific table?

I have this very archaic Java code that has left behind a one-way solution for converting strings (which are always "some_string_like_this_03" format) into a CRC using bitwise math that is referenced by a lot of other mechanics in the very large codebase. Is there any reasonable way to reverse this [...] read more
java
string
bit-manipulation
crc
2votes
0answers

"Error LNK2019: unresolved external symbol _long_add@12 referenced in function _main" when using an Assembly function in C++

I'm trying to use an Assembly(FASM) program as a function in C++, but it doesn't seem to be working, even though I linked the compiled object. Any advice? C++ program: #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <stdio.h> #include <string.h> using namespace std; extern "C" { unsigned int __stdcall long_add(int*, int*, int*); [...] read more
c++
visual-studio
assembly
fasm
2votes
2answers

AWC EC2 Amazon Linux 2 Instances failed to boot after applying os updates

Yesterday we lost contact with 10 identically configured servers, after some investigation the conclusion was that a reboot after security updates had failed. We have so far not been able to get any of the servers back online, but were lucky enough to be able to reinstall the instances without [...] read more
amazon-web-services
amazon-ec2
crash-reports
amazon-linux-2
2votes
1answer

How should I initialise my stm32 ( f215 )

I am trying to make an extremely minimal stm32f215 firmware to teach myself its boot-up intricacies. As it is now I have this dump which, to my knowledge, should write the stack address to r0 and loop forever: firmware-d: file format elf32-littlearm Disassembly of section .isr_vector: 08000000 <vector>: 8000000: 20002000 [...] read more
arm
embedded
cortex-m3
2votes
1answer

How to make widget out of a GestureDetector with a Container child?

I want to make a reusable button with a container in GestureDetector which will execute some function if I tap it and its color will become dark if I hold it. Any help, hint, tip would be very much appreciated. I tried writing the GestureDetector in the custom widget file [...] read more
flutter
dart
2votes
1answer

Compositor is blending OpenGl even when fragments alpha's are 1.0

The following code (a bare minimal example) produces a triangle on top of a plain color screen. The triangle and the screen colors have alpha values of 1.0, but still when the program is run with compositor enabled (X11/KDE system settings) the colors are merged with whatever is behind the [...] read more
c++
opengl
x11
egl
glx
2votes
1answer

What's the largest possible Logical Cluster Number (LCN) on an NTFS volume?

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
ntfs
2votes
1answer

Enable IPv6 in MariaDB in FreeBSD jail

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
mysql
freebsd
ipv6
mariadb
2votes
2answers

Transparent HAproxy on ubuntu (amazon EC2)

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
haproxy
transparent-proxy
2votes
0answers

How to get TOR hidden service to work with iptables

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
iptables
service
arch-linux
tor
hidden
2votes
0answers

How to fix Apache2 w/ suPHP to scan the correct .ini directory?

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
apache2
php
2votes
2answers

OpenVPN routing between static hosts

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
debian
vpn
routing
openvpn
2votes
4answers

OpenVPN client connects but can't access internet

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
centos
iptables
openvpn
2votes
0answers

DHCP offer is unicast but DHCPACK is broadcast

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
dhcp
dhcp-server
isc-dhcp
2votes
1answer

nslookup fails inside freebsd jail

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
networking
freebsd
bsd
2votes
3answers

How to configure an authoritative time server in Windows Server

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
windows-server-2003
windows-server-2008-r2
ntp
w32time
2votes
1answer

Windows: SSL/TLS connection reset after ClientHello (ECONNRESET / write:errno=10054)

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
windows
networking
ssl
https
openssl
2votes
2answers

Windows 10 drops IKEv2 VPN connection to Cisco router in exactly 60 seconds after last data exchange

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
networking
windows-10
vpn
2votes
0answers

on xeon, does addq require 2 clock cycles?

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
xeon
clockspeed
2votes
0answers

Failed MacbookAir boot Linux (Tails) - Kernel panic on boot

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
linux
boot
mac
kernel-panic
tails
2votes
1answer

Network interface for VPN connection explanation

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
vpn
ifconfig
2votes
1answer

How to slow down traffic with tc?

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
wireless-networking
iptables
network-traffic
traffic-shaping
2votes
1answer

How do I configure DNS when sharing a VPN connection in linux?

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
linux
networking
vpn
dns
dnsmasq
2votes
0answers

How can I get a Mellanox ConnectX-2 to work on this ASUS desktop motherboard?

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
linux
networking
network-adapter
2votes
1answer

Enable SCHANNEL Protocols in Windows Registry (Win7 & 2012R2) DisabledByDefault or Enabled?

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
encryption
tls
authentication
cryptography
openssl
2votes
1answer

Routing subnet to specific routing table with fwmark, direct to ISP and VPN

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
networking
router
routing
iptables
openvpn
2votes
1answer

OS X - GPU Panic

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
macos
gpu
kernel-panic
2votes
1answer

Computer tends to BSOD crash (in any browser) when using Flash based apps?

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
windows-7
crash
flash
bsod
1vote
1answer

Create xlib window with a frame buffer i can draw directly and use XPutImage

I'm trying to create a xlib window, create a frame buffer that has a depth of 32 and draw that buffer to the window, However. Everything works until XPutImage gets called, the window never shows and the console outputs: Process returned -1 (0xFFFFFFFF) execution time : ?.??? s Press ENTER [...] read more
c++
c
codeblocks
x11
xlib
1vote
2answers

pinch zoom the layout in android

This is the zoom the layout. public class Zoom extends FrameLayout { /** * Zooming view listener interface. * * @author karooolek * */ public interface ZoomViewListener { void onZoomStarted(float zoom, float zoomx, float zoomy); void onZooming(float zoom, float zoomx, float zoomy); void onZoomEnded(float zoom, float zoomx, float zoomy); } [...] read more
android
pinchzoom
1vote
2answers

In C++, how do I pass a 32 bit number into an 'int' variable without anything above 0x7FFFFFFF being considered negative?

I need to have an int variable go up to 4294967295 (0xFFFFFFFF), without using unsigned and long, so it can actually be used by other functions. Is that even possible? read more
c++
1vote
2answers

How to export data from PostgreSQL database to excel sheet? using vb.net 2019 windows form

I have this button that when the user click all data from postgres will download to excel. i found the reference but the problem is its C# http://www.sqlines.com/postgresql/npgsql_cs_result_sets Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click Dim dt As New DataTable Try Using MyCon As New Odbc.OdbcConnection("Driver={PostgreSQL ANSI};database=YouthRecord;server=localhost;port=5432;uid=*****;sslmode=disable;readonly=0;protocol=7.4;User [...] read more
excel
vb.net
postgresql
1vote
2answers

How to calculate CRC32-C checksum with zlib

I am using the C zlib API because it has the crc32_combine function to concatenate checksums together, whereas the Boost one does not. However, I need to implement the CRC32-C (Castagnoli) checksum, with polynomial 0x1EDC6F41, instead of the standard CRC32 checksum. With Boost I can apparently use: #include <boost/crc.hpp> using [...] read more
zlib
crc
1vote
1answer

how do you make a container(whose child is a textformfield) expand based on the number of lines of text? (flutter)

I am attempting to make a container expand based on the number of lines in a textformfield as you see in most modern messaging apps. I've searched high and low with no avail and am part of the way there with a possible solution. So i have the container height [...] read more
flutter
dart
containers
chat
textformfield
1vote
1answer

STM32H7 SPI communication: FIFO management problem

I've been struggling for quite a while now on my SPI setup. The setup is as follows: * SPI Slave is a Nucleo STM32H743 in simplex mode, clocks at maximum (sysclk 400MHz, hclck 200Mhz, APB clock 100MHz) * SPI master is another identical Nucleo in simplex mode, clocks divided by [...] read more
stm32
spi
cortex-m
1vote
0answers

allocPhysPages function in System

I am trying to implement a custom physical allocation for which I need to modify the allocPhysPages() function in the System class. There is this section of code in that function AddrRange m5opRange(0xffff0000, 0x100000000); if (m5opRange.contains(next_return_addr)) { warn("Reached m5ops MMIO region\n"); return_addr = 0xffffffff; pagePtr_arr[chiplet_id] = 0xffffffff >> PageShift; } [...] read more
gem5
1vote
2answers

Optimize signed bitvectors in Z3

I am trying to optimize an expression that consists of bitvectors in Z3 (the code runs in e.g. https://rise4fun.com/Z3/tutorial/optimization): (declare-const x (_ BitVec 32)) (assert (bvslt x #x00000008)) (maximize x) (check-sat) (get-objectives) The result I get is: sat (objectives (x 4294967295) ) which is the maximum int 0xffffffff for 32 [...] read more
optimization
z3
smt
1vote
0answers

How to set italic typeface for future text in current cursor position on edittext and to bring it back to normal?

I want to apply Text Format Options on Edittext. I am able to apply Bold, Italic, Strike, Underline after spacebar is trigger but i can't bring it back to normal typeface. I want to apply this typeface on the current cursor position, also able to bring it back to normal [...] read more
java
android
spannable
sketchware
1vote
2answers

How to change wchar.h to make wchar_t the same type as wint_t?

wchar_t is defined in wchar.h Currently, if the developers want to use only wchar_t, they can not do this without getting type conversion warnings from the compiler. Ifwchar_t will be made the same type as wint_t, it will be good for both parties. The developers who want to have both [...] read more
c
glibc
wchar-t
widechar
wchar
1vote
2answers

Bit shifting limit?

I'm trying to create a subnet mask from CIDR notation eq. /8 would mean that the 8 leading bits would be 1's. I'm achieving this by left shifting (I'm working with 32 bits here) (uint)(0xffffffff << (32-8)). The code works fine until I get a /0 mask which leads to [...] read more
c#
bit
bit-shift
bitmask
cidr
1vote
2answers

[Atollic Truestudio][STM32] "Load Failed" while GDB download/debug using CMSIS-pack/Components

I am trying to use CMSIS-pack with my new F103 project. Until now, I was using auto-generated project structure, just moving some files elsewhere and everything worked fine. Now with CMSIS-pack, although the code is successfully compiled, I get some "Load Failed" error during downloading the .elf into the MCU. [...] read more
gdb
stm32
cmsis
truestudio
1vote
0answers

Petalinux hangs during boot

I am trying to boot linux on a zedboard and monitor all memory accesses through Programmable Logic. I am first trying to boot linux with a start address 0x40000000. I am following this article https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/460653138/Xilinx+Open+Source+Linux Petalinux boot hangs at this point when I try to boot from SD card. U-Boot [...] read more
boot
bitstream
petalinux
1vote
3answers

Automate Video Snapshots

How can I use Java to automate video snapshots? Below is my attempt. Unfortunately, the seek command seems does not work since the color of the pixel at [100,100] remains still the same no matter where the video is. What would I need is an app that would create snapshots [...] read more
java
javafx-2
video-capture
snapshot
1vote
1answer

Is it possible to use non-absolute address range in SRecord and paste some data on the last bytes of binary file?

I'm making project for ARM Cortex-M4 microcontroller using STM32CubeIDE (Eclipse based IDE with gcc compiler) and want to embed CRC of whole firmware in the end of binary file. I have already modified linker script to create some variables placed in the end of compiled binary file. Here is my [...] read more
c
binary
microcontroller
crc
srecord
1vote
2answers

Get full path to file given its "Reference Number"

I want to use Windows' change journal to track some file changes. I managed using an exemple code to access the said journal and read records from it. The issue I face now is that the record only holds the related file name, but not the absolute path to it. [...] read more
c++
windows
ntfs
deviceiocontrol
1vote
1answer

WslRegisterDistribution failed with error: 0xffffffff

Unable to install Ubuntu 20.04 LTS in WSL 2. I have enabled all the required things for WSl. It is resulting following error.Error message [https://i.stack.imgur.com/riOxF.png] read more
docker
windows-subsystem-for-linux
wsl-2
1vote
1answer

Electron builder fails with: no 'object' file generated

I have a problem with electron-builder since upgrading to Electron 10.1.2. My build now fails at rebuild for keyboard-layout. The rebuild only fails for Windows, not Mac. I don't know where to open this issue so I am asking here :). -------------------------------------------------------------------------------- My setup: * angular: 9.0.7 * electron: 10.1.2 [...] read more
electron
v8
electron-builder
keyboard-layout
1vote
0answers

Why is OpenGL simple loop faster than Vulkan one?

I have 2 graphics applications for OpenGL and Vulkan. OpenGL loop looks something like this: glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT); static int test = 0; // "if" statement here is to ensure that there is no any caching or optimizations // made by OpenGL driver (if such things exist), // and commands [...] read more
opengl
vulkan
1vote
1answer

IIS Site breaks after disabling SSLv3

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
windows-server-2008-r2
ssl
iis-7.5
tls
poodle
1vote
1answer

Routing between OpenSWAN / IPSEC tunnels

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
amazon-web-services
vpn
linux-networking
ipsec
openswan
1vote
1answer

Client object identifier in BIND 9 query logs

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
bind
1vote
0answers

TC Filter With BPF and NFTables Packet Marking

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
tc
filter
1vote
0answers

Hyper-V Core Server 2019 ignoring power plan thresholds

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
hyper-v
ups
1vote
0answers

Windows Task Scheduler claims successful execution despite return code of -1 (0xffffffff, 4294967295)

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
windows
scheduled-task
.net
console
1vote
0answers

Enabling TLS 1.1/1.2 on Windows Server 2008 SP2 still not possible

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
windows-server-2008
ssl
1vote
3answers

2018-08 Cumulative Update for Windows Server 2016 (KB4343887) Failing

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
windows-server-2016
windows-update
credssp
1vote
1answer

Amazon RDS SQL Server Express 2012 - Fail to log-in

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
amazon-vpc
amazon-rds
1vote
1answer

shape dropbox on linux router with tc and iptables

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
traffic-shaping
qos
tc
htb
1vote
2answers

Ubuntu: updated mainline kernel, now drops to initramfs

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
ubuntu
boot
kernel
grub
initramfs
1vote
2answers

Kerberos Failure Audit Event Id 4769 on Domain Controller

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
windows-server-2008-r2
windows-server-2012-r2
kerberos
1vote
0answers

iptables SNAT not honoring original port intermittently

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
iptables
routing
1vote
2answers

"Service Unavailable" on fresh installation of OS and IIS 6 no matter what I try

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
windows-server-2003
iis-6
1vote
1answer

Can't connect to AWS instance after import with stock Centos7

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
amazon-ec2
amazon-web-services
centos7
import
1vote
1answer

Out of 2 VMs and their 1 host, only 2 at a time are reachable from the LAN

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
networking
vmware-esxi
1vote
3answers

Windows Server 2003: Backup Failed

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
windows-server-2003
backup
vss
1vote
0answers

Policy routing local user's traffic down a tunnel

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
iptables
routing
openvpn
linux-networking
1vote
1answer

How to debug intermitent network outage on Citrix XenServer

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
xenserver
1vote
2answers

Wireguard tunnel slow and intermittent

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
vpn
wireguard
1vote
0answers

Make Headless Server Use Hardware Accelaration

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
linux
graphics-card
centos
opengl
headless
1vote
1answer

ffmpeg scanline ordering in rawvideo AVI format

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
ffmpeg
avi
1vote
1answer

Codec and setting for lowest bitrate ffmpeg output

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
audio
ffmpeg
android
mp3
1vote
0answers

AMD Ryzen 5 3600 + Ubuntu 20.04 problems

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
acpi
amd-ryzen
core
1vote
1answer

Debian not detecting NVMe, ASUS Zenbook UX430UA

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
linux
debian
ssd
asus-laptop
nvme
1vote
1answer

php and zendguard with asterisk / freepbx

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
php5
freepbx
1vote
0answers

Find cause of BSOD

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
windows-10
bsod
1vote
0answers

Missing memory in linux ubuntu 16.04 system

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
linux
ubuntu
memory
1vote
2answers

External SSD Drive won't mount on OSX

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
macos
hard-drive
ssd
external-hard-drive
data-recovery
1vote
0answers

The system time interval between Arm and Ubuntu

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
linux
ubuntu
1vote
0answers

SOME/IP length error in trace window when sending SOME/IP messages from CANOE using CAPL script

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
networking
1vote
0answers

GRUB2 fails to boot multiboot compliant kernel that worked with GRUB Legacy

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
boot
usb
grub
1vote
0answers

Error 582 while trying to access Windows Features

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
windows-10
dism
1vote
1answer

Windows 7 OK button on Copy To dialog doesn't copy profile

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
windows-7
windows-registry
user-profiles
event-log
windows-embedded-7
1vote
2answers

How to add routing for 2 VPN connections?

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
networking
macos
vpn
routing
1vote
2answers

Mount ancient PATA disk (from a 386) to restore files (ATA 1, or older)

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
hard-drive
1vote
1answer

Semi-disconnected network drives Windows 10 after timeout

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
windows-10
network-shares
connection
1vote
0answers

Web Services for authentication over SSL failed due to TLS 1.2 on Windows Server 2012 and IIS 8

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
login
ssl
windows-server-2012
https
web-services
1vote
1answer

linux drops packet when trying to route it - why?

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
networking
routing
iptables
1vote
0answers

Higher resolution not available Ubuntu 14.04 on ESXi host

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
ubuntu-14.04
esxi
1vote
1answer

How to set up dual quadro cards on RHEL 5.5?

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
multiple-monitors
redhat-enterprise-linux
nvidia-quadro
1vote
0answers

Is my NVIDIA GT 540M having a hardware failure?

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
graphics-card
hardware-failure
nvidia-geforce
discrete-graphics
1vote
0answers

Mac not setting routes on openconnect with vpnc-client

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
networking
mac
vpn
routing
cisco-vpn-client
1vote
1answer

What does netstat -r on OSX tell you about gateways?

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
macos
networking
vpn
routing
netstat
1vote
1answer

Packets marked by iptables only sent to the correct routing table sometimes

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
iptables
openvpn
iproute2
1vote
0answers

Auto-mount all USB-devices at same USB socket to same mountpoint

* 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
linux
ubuntu
usb
debian
automount
1vote
0answers

Using TC from iproute, unable to match canid

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
linux
networking
iproute2
1vote
0answers

Why did my ubuntu machine leave suspend?

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
linux
ubuntu
hibernate
1vote
1answer

MFT / NTLDR / NTFS (external drive) damaged after ntfsresize (Linux)

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
linux
ntfs
mft
ntldr
ntfsresize
1vote
1answer

How do I stop Spotify from crashing?

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
linux
ubuntu
wine
spotify
1vote
0answers

Mac crash report info - what can I learn from it?

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
macos
mac
crash
1vote
0answers

Mac crashing with black screen on XCode install + random other times

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
mac
crash
xcode
1vote
4answers

Kernel Panic every time I open a print queue

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
macos
printing
osx-leopard
kernel-panic
1vote
1answer

xorg.conf: Why does this have no effect?

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
resolution
xorg.conf
solaris-10
0votes
0answers

Verilog modules and testbench

How to write the verilog modules for each of the following digital circuit components and then create a testbench? Can you give me by writing a module and testbench for a full-adder? If you can direct me to some good resources that will be helpful too! Thanks in advance. Multiplexer [...] read more
verilog
computer-science
cpu-architecture
circuit
test-bench
0votes
0answers

How to fix conflicting simulink simulation accelerated artificats issue when running test in parallel mode?

My goal is to optimize the time it takes to run a set of simulation test cases. I'm having issues running test with parallel processing and accelerated simulation features. https://www.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html Context: I have 29 Simulink files that are called inside of a parametrize Matlab Unit Test. The Simulink files have [...] read more
matlab
unit-testing
parallel-processing
simulink
mex
0votes
0answers

Flutter API Data fetch

How to bind my json response to my project ? Can you show me how to convert this data on this site? but i got error > Tried calling: map(Clouser:(Dynamic)=> CampaignSHelList) Here is my json response: { "Success": { "SuccessCode": "S0019", "SuccessMessage": "Success.", "CompaignShelfList": [ { "CoverImagePath": "https://photogranthtest.s3.ap-south-1.amazonaws.com/uploads/default/images/default_cover.png", "ShelfImagePath": "https://photogranthtest.s3.ap-south-1.amazonaws.com/uploads/photographerCampaign/3/shelfImage/3_shelfimage.jpg", [...] read more
api
flutter
0votes
0answers

arm_pc in signal handler

Trying to print the faulting instruction address in my signal handler as demonstrated in https://devarea.com/linux-writing-fault-handlers/#comment-12995 for some reason each time I print p->uc_mcontext.arm_pc content I get a different result which doesn't make sense to gdb. if I run the same program with gdb and print the registers with "info registers" [...] read more
c
arm
gdb
interrupt-handling
0votes
1answer

Command using ChannelExec not executed - Jsch

I am using Jsch to create a file in the server and execute some commands. For the file creation, it's working fine, however, for the command execution, doesn't. It keeps the status -1 (still working on it) and keep there forever. This happen for shell execution or when I try [...] read more
java
ssh
jsch
0votes
0answers

Wiegand 24 bit Calculator online

I am trying to make a calculator like https://cortexdetect.com/ns_wiegand_calculator/but when I try to use another calculators like https://pripd.com/tools/cardCalculator.php or https://www.idcubesystems.com/card-calculator/ The hex value is different, is it another definition for hex that I am missing? I think they use some decoding with sha algorithm or utf-8? Like this script gives [...] read more
javascript
utf-8
wiegand
0votes
1answer

flutter Login Api Screen is navigation even email is wrong or right ....! thank you

i'am new to flutter and i'm stuck here since 5 days ! i have api and this api is accessing properly and the thing is that image is navigating ! plz look below code and give me any solution on it... i very helpfull if some gives me this soln [...] read more
api
flutter
authentication
0votes
1answer

How does D3D11 render pixels with an alpha value of 0 in the texture as transparent?

* I used DrawIconEx (GDI/D3D11 interoperability and CopyResource) to generate an ID3D11Texture2D which has many pixels with an alpha channel value of 0. this texture has been verified by D3D11_USAGE_STAGING/Map to view the pixel value and ScreenGrab save png (relevant code needs to be modified: DXGI_FORMAT_B8G8R8A8_UNORM->Use GUID_WICPixelFormat32bppBGRA instead of GUID_WICPixelFormat24bppBGR). [...] read more
winapi
gdi
direct3d
direct3d11
0votes
1answer

Cuda _sync functions, how to handle unknown thread mask?

This question is about adapting to the change in semantics from lock step to independent program counters. Essentially, what can I change calls like int __all(int predicate); into for volta. For example, int __all_sync(unsigned mask, int predicate); with semantics: > Evaluate predicate for all non-exited threads in mask and return [...] read more
cuda
0votes
0answers

Windows service impersonation with Golang with a sub-process - access denied

I am trying to get the UPN of a logged user while running as a service. I was able to get the Username of the logged in users in format DOMAIN\username, along with the SessionID of the user and a lot of other things. To get the UPN, I tried [...] read more
windows
service
impersonation
upn
0votes
0answers

Onpressed button UnActiveted ... ! plz give me any solution ..Thank you

i'm new to flutter and i'm tried many tym fr this api access and it is accessing but problem is that.. when i called onpress button Unactived... i pass parameter to textfileds and its passing....! actully can u check whre is the problm fr Unactivte button without SignUp function code [...] read more
api
flutter
onpress
0votes
0answers

print register value in assembly on bootloader

I'm trying to print vendorID and DeviceID of my hardware which stores in ebx using this code and I'll boot it: _start: xor eax,eax mov eax,0x80000000 xor ecx,ecx .main mov dx,0x0cf8 out dx,eax mov dx,0x0cfc mov ebp,eax in eax,dx cmp eax,0xFFFFFFFF ;eax will fill with 0xFFFFFFFF if no device founded [...] read more
assembly
boot
0votes
1answer

How to redirect to the next page after successful authentication in flutter

Context: I am building a simple login app using azure AD, after clicking the login button the app authenticates but doesn't not render the next screen but the login button disappears. I want to redirect to the next page after a successful login, but am not being able to. I [...] read more
flutter
dart
0votes
0answers

android 11 open source project for emulator problem before custom rom

I try to build android open source project, I am at the beginning of it. Initially, I have successfully built android-11.0.0_r17 source code. I have obtained the out files (system.img, ramdisk.img and userdata.img). When I tried to execute following emulator command, it has been failed. I mean, the system has [...] read more
android
android-emulator
android-source
0votes
1answer

The following _TypeError was thrown building Builder(dirty, dependencies: [MediaQuery]): type 'Future<Null>' is not a subtype of type 'Widget'

Context: I am building a simple login app with azure ad, the app logins just fine and gets the token and redirects to the next page just fine, but before it redirects it throws an error Error: > The following _TypeError was thrown building Builder(dirty, dependencies: [MediaQuery]): type 'Future' is [...] read more
flutter
dart
0votes
1answer

Cannot find page table entry

I cannot find records in the page table/page directory for address 0xB8000. It works correct and when I put some symbols into this memory region display shows it. I’m in the protected mode, and paging is enabled. I’m using bochs. cr0 is 0xe0000011 or 1110 0000 0000 0000 0000 0000 [...] read more
assembly
memory-management
x86
operating-system
page-tables
0votes
1answer

Why jetpack compose elevation clip my shadow?

I have a problem with jetpack compose elevation render. I'm trying to add elevation on Surface but my UI seems to with clipped shadow. Also, how can I add a colorful shadow on my Surface? See the below on the screenshotenter image description here [https://i.stack.imgur.com/ZCkrs.png] @Composable fun DiscoverItem() { Surface( [...] read more
android
android-jetpack-compose
0votes
1answer

how you can remove the padding between the icon for the drawer in the appBar and the Search Icon in flutter

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
flutter
dart
0votes
1answer

Embedded Buildroot and Yocto Linux crash 50% of the time

I am getting the below error 50% of the time during startup on an STM32 based processor (OSD32MP15x). I've tried over 40 versions configs and setups none work and I am under high pressure to deliver this piece of hardware to a client. To me this looks like some kind [...] read more
linux-kernel
embedded-linux
stm32
buildroot
0votes
0answers

Assembly function for adding arrays of 32 bit elements not working properly

I'm trying to make an Assembly(FASM) function for C++ that adds 2 arrays with 32 bit elements, but it doesn't seem to be working properly. It returns {409, 0, 0} instead of {0x99999999, 0x06000001, 0x00000000}. What could be causing this? C++ program that calls the function: #define _CRT_SECURE_NO_WARNINGS #include <iostream> [...] read more
c++
assembly
fasm
0votes
1answer

FASM says error: reserved word used as symbol on base 2 binary constants like 0b101 (C++ style)

I need to make a C++ program for an assignment that can add or subtract 1024 and 2048 bit binary numbers, and the functions that do said operations must be made in Assembly. I tried going about this by interpreting the numbers as 64-long arrays of 32 bit binary numbers [...] read more
assembly
binary
x86-64
literals
fasm
0votes
1answer

mmap syscall fails with errno 14

I was trying to do a syscall injection with MMAP on another process and it was failing. I noticed the syscall was executing properly, so the problem should be something else. I decided to run the syscall directly through the target program to make it more simple to understand. Unsurprisingly, [...] read more
c++
c
linux
system-calls
mmap
0votes
1answer

Some issues with using DeepLearning4J dlls

I am working with DeepLearning4J working with the 1.0.0-beta7 release. I am getting two errors at run time. 1. jnind4jcpu.dll unsupported jni version 0xffffffff 2. no nd4jcpu in java.library.path I setup a path to the to a folder where I have a few other dlls for this effort. I am [...] read more
nd4j
0votes
0answers

my interrupt handler cause a general protection fault (using Jamesmolloy Tutorial)

i'm getting a general protection fault and i don't know why, i send a interrupt $0 and i get the message : Divide error 0 so it's good but then i got a loop of general protection fault and then it segfault. here my code : init_tables.c #include <k/types.h> #include [...] read more
assembly
gcc
x86
interrupt
osdev
0votes
0answers

What does assembly code of function "do_compare" exactly do?

The do_compare function is in the libstdc++ library. It basically checks two strings and returns -1, 1, or 0 accordingly. Here is the C++ code: template<typename _CharT> int collate<_CharT>:: do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { // strcoll assumes zero-terminated strings so we [...] read more
c++
assembly
x86
g++
0votes
1answer

IconButton with Row

I would like, in this code, to put the IconButton in the top right corner of each ItemView. The ItemDescription and the ItemTitle centered at the top. I try to put them in the same Row but I can't get them to fit together, either the IconButton sticks to the [...] read more
flutter
dart
row
iconbutton
0votes
0answers

why ptrace write 0xFFFFFFFFFFFFFFFF instead the real data?

I can't figure out why this happens, my code is this and it's from this question , i only change the type of addr and data in usigned long long int (the computer is x64 and the program run in the WLS). the minimum reproducible example is the one below: [...] read more
c
linux
debugging
x86-64
ptrace
0votes
0answers

"cannot open file 'user32.lib'" when trying to use Visual Studio 2005 on Windows 10

I'm attempting to match output with a C++ Win32 executable compiled with Visual Studio 2005, so I'm trying to use that MSVC to do so. I have a project defined in CMake. I open "Visual Studio 2005 Command Prompt", but when I try to cmake -G "NMake Makefiles" .. I [...] read more
cmake
visual-studio-2005
0votes
1answer

Cmake - fatal error LNK1104: cannot open file 'libboost_date_time-vc142-mt-gd

I am trying to build my project on Windows. On Linux it works perfectly fine. Here is my main CMakeLists.txt file: cmake_minimum_required(VERSION 3.16) project(Vibranium_Core) set(CMAKE_CXX_STANDARD 17) set(FLATBUFFERS_MAX_PARSING_DEPTH 16) set(FLATBUFFERS_LOCATION "E:/vcpkg/packages/flatbuffers_x86-windows") if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0") endif() if(EXISTS "${CMAKE_SOURCE_DIR}/.git") execute_process( COMMAND git rev-list --count HEAD WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} [...] read more
c++
cmake
0votes
1answer

Arrays multiple definition errors during linking

I'm trying to make GNUK software buildable with PlatformIO system. I have converted Makefile to platformio.ini project file, all source files compile well, but I'm getting linker multiple definition errors for two of the arrays defined in one of my C source files. The relevant part of my source file [...] read more
c
gcc
linker
stm32
platformio
0votes
0answers

C Assembly convert 0xffffffff

If there is a register, say %eax that is an integer type. If %eax is 0xffffffff, what would x be? This is on a 64-bit machine. Since 0xffffffff is 4 bytes, what could be a possible x type? an int or unsigned int or unsigned long, right? Also, could the [...] read more
assembly
byte
x86-64
cpu-registers
0votes
1answer

Atmel SAM G55 CRCCU CRC32 calculation not replicateable

We are using an Atmel SAM G55 in one of our applications. At some point, we want to calculate a CRC32 on an x86 system and pass it to the G55 (Arm 32Bit). For the G55 we use the CRCCU to compute the CRC32: uint32_t crccu_crc32(uint8_t *p_buffer, uint32_t ul_length, uint32_t [...] read more
atmel
crc32
0votes
0answers

python checksum or hash need same output every execution

Trying to create unique key for a dataframe based on some columns. Used hashlib and zlib , both generating different values for each new python program execution for the same record in dataframe. Looking for a way to create unique checksum and it should be the same for given data [...] read more
python
zlib
checksum
hashlib
0votes
1answer

Flutter/Dart - How to update Image after Image Picker on other Screens

I'm using Flutter's Image Picker plugin in order to allow the user to change their avatar. When they go to their account page they see their regular avatar photo with a camera icon on top. Clicking the camera icon will allow them to either take a photo from their camera [...] read more
flutter
flutter-provider
imagepicker
flutter-state
flutter-change-notifier
0votes
1answer

Countdown in a ListView (Flutter)

I would like to find a solution to create countdowns from a date and put them in a ListView. I hope this does not slow down the application too much when using it. I already have a code I want to keep, it's a RecyclerView with images and text. Here's [...] read more
date
flutter
dart
android-recyclerview
countdown
0votes
1answer

setState() or markNeedsBuild() called during build Query Widget

I have a problem with Graphql Flutter. I am trying to display a search list retrieved with graphql. But flutter tells me: > This widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing [...] read more
flutter
0votes
0answers

question about __shfl_sync in CUDA programming

I am freshman in CUDA programming, and now reading the following code for kawpow algorithm. The purpose of this line "hash_seed[0] = __shfl_sync(0xFFFFFFFF, state2[0], h, PROGPOW_LANES);" is to braodcast the value of state[0] from h-th thread to all other threads. I am wondering there are many threads (blockIdx.x = 0~255, [...] read more
c++
cuda
0votes
0answers

strange behaviour saving file

I use lzmaspec.cpp from 7zip library lzma1900/cpp/7zip/Bundles/Lzmaspec to decompress lzma file. it works fine and save file correctly. when I take main2 function and and make header file to use it in my project,it does not save the whole file. this is lzmaspec.h /* * LzmaSpec.h * * Created on: [...] read more
c++
7zip
lzma
0votes
2answers

Getting CRC-32 over STM32 flash and consistency with other CRC-32 tools

I'm moving my STM32F1xx project to a solution with a bootloader. Part of this is that I want to be able to compute a CRC value over the existing bootloader and application flash ranges to compare existing and possible upload candidates. Using a simple implementation on the STM32 which just [...] read more
c
embedded
stm32
crc
0votes
0answers

IBM Watson API doesn't work in VSTO Excel workbook

I'm using IBM Watson TextToSpeech API, I got this snippet from the documentation, I try it in windows forms it worked flawlessly, but when I implement it in VSTO Excel Workbook it broke. void TextToSpeech(string input) { string tempPath = Path.GetTempFileName(); IamAuthenticator authenticator = new IamAuthenticator(apikey: apikey); TextToSpeechService textToSpeech = [...] read more
c#
excel
api
vsto
text-to-speech
0votes
0answers

Cannot Read Write NFC C# using library

i have a coursework about nfc read and write, but i'm still new using C# and i found some libraries about nfc c#. one of them from h4kbas which I'm currenly using righ now. the first thing i try is how to read UID, but it seem work fine private [...] read more
c#
nfc
0votes
2answers

NodeJS: Use Data in Raw Format from .env

I have the following code which uses Jimp package to edit the background of a file: const file = await Jimp.read(JPGPath) file .resize(parseInt(width), parseInt(height)) .background(process.env.JPG_BACKGROUND_COLOR) .write(JPGPath) Anytime I run this code, I get an error from Jimp saying: Error: hex must be a hexadecimal rgba value" The value of JPG_BACKGROUND_COLOR [...] read more
node.js
environment-variables
jimp
0votes
2answers

I can't add reactions to a message in discord.py

Title. Here is my current code: @client.event async def on_message(message): emoji = client.get_emoji(765173945056886814) if message.author.id == 236199051505303552: await message.add_reaction(emoji) And the error i am getting is line 1082, in _emoji_reaction raise InvalidArgument('emoji argument must be str, Emoji, or Reaction not {.__class__.__name__}.'.format(emoji)) discord.errors.InvalidArgument: emoji argument must be str, Emoji, or Reaction [...] read more
python
discord.py
0votes
1answer

Resources$NotFoundException: Unable to find resource ID #0xffffffff using NestedScrollView with Motionlayout

When using a NestedScrollView in combination with Motionlayout, I get the above written error. The strange thing here is, that this error ONLY HAPPENS, when the Nestedscrollview has some items in it (Constraintlayout or textview, button, edittext etc) AND when I try to move the NestedScrollView up. Using a ScrollView [...] read more
android
kotlin
android-animation
android-motionlayout
0votes
1answer

AppBar with a ListView (Flutter)

I'm a big beginner with Flutter and I followed a tutorial to make a ListView with pictures. However, I'm a bit lost in the code and I don't know where to implement my AppBar. I've already tried several times but never succeeded. I hope you'll be able to help me, [...] read more
flutter
listview
dart
appbar
0votes
1answer

Center text in a row (Flutter)

I'm trying to center my text in a row but I want to keep the image on the left side as well. I would like to put the title and the description in the same line at the top centre of the right hand side. I've already tried several solutions [...] read more
flutter
dart
row
center
0votes
1answer

Python 3 calling external DLL with custom data type

I'm trying to call an external DLL with the following header definition in C. typedef long EPC_INT32; typedef void* EPC_ADDR32; typedef struct {EPC_CHAR a [16];} EPC_Str16; typedef struct { EPC_INT32 UseUSB; EPC_INT32 BoardNumber; EPC_INT32 FIFOSamples; EPC_INT32 MaxProbes; EPC_Str16 DeviceNumber; EPC_Str16 SerialNumber; EPC_INT32 ExternalScaling; EPC_ADDR32 DacScaling; EPC_ADDR32 AdcScaling; } LIH_OptionsType; typedef [...] read more
python
dll
types
ctypes
0votes
1answer

GTK+ 3.0 compilation error: cannot include errno.h

There is no way I can #include <errno.h> header in my GTK+ application. I've tried with both GTK+ 2 and 3, still error. If I don't include errno.h, it will say it was not included. However, if I do ld will fail saying no function from GTK libraries was included. [...] read more
gcc
gtk
0votes
0answers

RenderScript not generating output

I'm new to RenderScript on Android and I'm trying to set up the most basic "hello world" kind of usage of RenderScript to process a bitmap image. This minimal example is supposed to just set the output bitmap to a solid color (red) and ignore the input image. Here is [...] read more
android
renderscript
0votes
0answers

When using "int 21h", on MASM Visual Studio Assembly Language, it gives me an error

The error it displays:Unhandled exception at 0x0029101F in AddingAndDisplay.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF. occurred What I want to do:Add two numbers and display them. My Code: INCLUDE Irvine32.inc .data .code main PROC mov bl, 1 mov cl, 2 add bl, cl add bl, 48 ;since 48 = 0 [...] read more
visual-studio
assembly
masm
0votes
0answers

how to make an otp time countdown by saving the time if the otp time has not run out

I want to make an application that has registration in it. but i have difficulty in making otp verification. someone can tell me to create an otp like whatsapp, so if I have filled in the mulir form and pressed next, it will send the otp code and the application [...] read more
flutter
flutter-layout
flutter-dependencies
flutter-test
0votes
0answers

Docker daemon fails to start on RaspbarryPi

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
docker
0votes
1answer

HAProxy 1.5.4 Performance Tuning

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
haproxy
0votes
1answer

ipnat.conf - map and rdr won't work!

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
freebsd
nat
0votes
1answer

"ip rule to" works but "ip rule fwmark" fails - why?

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
iptables
iproute2
0votes
1answer

Linux traffic control u32 hashtable filters based on MAC address

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
linux-networking
tc
traffic-shaping
traffic-management
0votes
0answers

Make Headless Server Use Hardware Accelaration

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
linux
centos
headless
gpu
0votes
2answers

Can't connect to a postgres server

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
postgresql
freebsd
0votes
0answers

Supplemental to Need to replace the HDD on a single disk system

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
centos6
lvm
clonezilla
0votes
1answer

Using tc filter together with Snort

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
tc
snort
0votes
0answers

Samsung NVMe disappears when server on average to high load

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
xen
glusterfs
supermicro
pci-express
nvme
0votes
2answers

How to configure IPsec (strongswan) interface, so that only assigned interface gets virtual ip?

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
networking
ipsec
strongswan
bug
0votes
0answers

ipfw dummynet per ip fair traffic shaping

I want to shape traffic in such way, that no specific user could exhaust WAN connection that much so other users would be affected. I have ISP link with 100Mbits/s bandwidth and sometimes some users can exhaust it when they download something from internet or via vpn from smb in [...] read more
firewall
freebsd
ipfw
0votes
1answer

Nginx IP transparency reverse proxying but upstreams need to be able to initiate connections to Internet

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
linux
networking
nginx
iptables
docker
0votes
0answers

IPSec tunnel causes huge packets lost when pinging gateway and other machines

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
networking
linux-networking
ipsec
ubuntu-18.04
icmp
0votes
1answer

IPVS traffic doesn't seem to go through netfilter on the director node

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
iptables
ipvs
0votes
0answers

Jboss EAP5 fails to start on Linux

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
linux
jboss
0votes
0answers

Why can't I ping 127.0.0.1 from some network interfaces?

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
networking
netstat
ifconfig
0votes
1answer

RabbitMQ SSL connection works from an Ubuntu14.04 machine but not from a CentOS 6 machine

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
centos
ssl
java
openssl
rabbitmq
0votes
2answers

Run OpenVPN server on alias IP

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
openvpn
ip-aliasing
0votes
1answer

RDS 2012 R2 some users are not able to logon after changed date and time on Connection Brokers

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
windows-server-2012-r2
remote-desktop-services
0votes
1answer

How do I load balance outgoing connections with iptables and iproute2?

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
iptables
load-balancing
iproute2
0votes
1answer

Two Azure VM clones have different processor

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
azure
0votes
1answer

Opcache not working properly

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
apache-2.4
php7
opcache
0votes
1answer

Route ftp packets to one network interface, the rest to the other

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
iptables
routing
linux-networking
0votes
1answer

Windows Server 2012 R2 - Help finding failed logon attempts source

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
active-directory
windows-server-2012-r2
domain-controller
windows-authentication
eventviewer
0votes
2answers

Inconsistencies with Linux tc filter u32 matching on packet data payload - can someone explain?

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
linux
networking
filter
pcap
tc
0votes
0answers

Ubuntu Server 16.04 64bit had only 8Gb of RAM when 16GB are installed

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
ubuntu
memory
0votes
1answer

Kerberos authentication ticket - Event ID 4768 - Audit failure

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
windows-server-2008
active-directory
kerberos
0votes
2answers

4 TB external disk on Centos 5

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
partition
centos5
fdisk
parted
0votes
1answer

OpenVPN block SMTP Access Server completely

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
iptables
smtp
openvpn
0votes
1answer

Network configuration fault

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
linux
ubuntu
iptables
routing
0votes
1answer

Captive portal with iptables and local dns server

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
iptables
dnsmasq
captive-portal
0votes
1answer

CentOS Development Server Crashing Frequently

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
centos
centos5
server-crashes
0votes
1answer

unable to find driver - lamp debian

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
mysql
php
pdo
0votes
1answer

"No inittab file found" after reset

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
debian
raid
boot
inittab
0votes
1answer

PBR with iptables

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
debian
iptables
routing
policy-routing
0votes
1answer

LAMP server kerberos config to authenticate against a read only Windows KDC in a dmz

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
apache-2.2
active-directory
kerberos
dmz
domain
0votes
1answer

iptables rules for lvs using piranha gui

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
redhat
lvs
piranha
0votes
0answers

iptables 1.4.12 invert and --u32

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
linux
iptables
0votes
1answer

debugging smtp | ubuntu 12.04, postfix, dovecot

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
email
postfix
smtp
vps
dovecot
0votes
1answer

traffic shaping, prioritizing packets without using a bitrate ceil/max

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
linux
networking
traffic-shaping
0votes
1answer

BAT file will not run from Task Scheduler but will from Command Line

I'm trying to run a BAT script from Task Scheduler in Windows 2008 R2 and it runs for 3 seconds and then stops. It says it successfully completes but I know it doesn't. I can run this script from the command line directly, and it runs just fine. The bat [...] read more
windows-server-2008-r2
task-scheduler
0votes
0answers

How to make amdgpu.ppfeaturemask work with kernel 5.4.0 of ubuntu 20.04?

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
ubuntu
kernel
overclocking
0votes
2answers

Video from vhs via USB capture device on Linux

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
linux
video
video-capture
0votes
0answers

Can not use full capacity of installed ram

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
memory
motherboard
0votes
3answers

Disable/pause AHK script while game is minimized

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
script
autohotkey
0votes
0answers

I got a SIGILL and JVM crashed when I booted a java application with --agentpath:libxxx.so on AIX 7.1

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
crash
aix
jvm
0votes
2answers

Virtual machine has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)

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
virtualbox
0votes
1answer

UBI layout volume not found

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
linux
embedded-linux
0votes
1answer

Why isn't my forced MAC address change working (Raspberry Pi)?

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
linux
networking
raspberry-pi
subnet
0votes
0answers

System hang and black screen BugCheckCode 278 and BugCheckCode 0

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
windows-7
freeze
bsod
crash
0votes
1answer

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings

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
windows-10
sleep
power-management
dell-inspiron
0votes
1answer

Two openvpn connections: one with redirect-gateway and a second one for private network

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
networking
routing
openvpn
0votes
0answers

different speed ssd partitions

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
linux
ssd
performance
opensuse
0votes
0answers

Kworker thread has high CPU usage

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
linux
cpu
kernel
linux-kernel
threads
0votes
1answer

HP Proliant getting down with Critical error LED Blinking - what then?

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
linux
ubuntu
memory
0votes
0answers

PPTP error 619 when accessed externally

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
linux
networking
vpn
arch-linux
pptp
0votes
2answers

Postfix SMTP SSL config: Can't send email but can receive it with SSL

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
email
ubuntu-12.04
ssl
postfix
dovecot
0votes
1answer

Recieved BSOD after restart

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
windows-8
bsod
0votes
2answers

Windows 8.1 dual-boot with openSUSE boot failure

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
linux
boot
windows-8.1
partitioning
opensuse
0votes
0answers

Suspend does not work on Debian Jessie

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
linux
debian
suspend
0votes
0answers

pm-hibernate does not turn off system

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
linux
ubuntu
hibernate
ubuntu-14.04
0votes
1answer

Mono is crashing on MAC OS X with Keepass 2.23

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
macos
keepass
mono-framework
0votes
2answers

Why can't I connect to an AFP server over VPN on OS X 10.8

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
macos
networking
mac
vpn
afp
0votes
1answer

Bluetooth / Bluez: No reply to ping over bnepX interface

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
linux
networking
wireless-networking
bluetooth
0votes
0answers

command to write to physicaldrive?

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
windows
hard-drive
writing
0votes
1answer

Laptop computer grahpic opens and loads slowly

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
windows-7
graphics-card
graphics
0votes
2answers

Wine crashes when trying to run portable version of Firefox

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
linux
ubuntu
firefox
ubuntu-10.04
wine
0votes
1answer

OSX Panic about once a week

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
macos
kernel-panic
-1votes
0answers

ubuntu18 remove lvm devices in /dev/mapper without vg and lv info

These day,I found the one cpu load high $sudo top %Cpu0 : 7.0 us, 0.0 sy, 0.0 ni, 93.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 10.6 us, 0.0 sy, 0.0 ni, 0.0 id, 89.4 wa, 0.0 hi, 0.0 si, 0.0 st ... and then use [...] read more
linux
block
ubuntu-18.04
blocking
lvm
-1votes
0answers

MacBook Pro display switches off during use and does not turn back on until force restart - has anyone experienced a similar issue?

My MacBook Pro 2012 (retina) has the issue that the display switches off after using it for a while. The computer still runs, the fans are still spinning, the keyboard lighting is on and if I press a key it plays a sound. However there is no way of turning [...] read more
macos
macos-catalina
-1votes
1answer

Confusion about file offset in Win32 LockFileEx API

According to the LockFileEx() documentation, a file offset is specified in lpOverlapped->Offset/OffsetHigh. But when debugging winword.exe to analyze its file system behaviors, I see it calls LockFileEx() on a 122-byte file with Offset=0xfffffffb and OffsetHigh=0xffffffff, and the call completes successfully. Apparently this is not a valid offset, what does this [...] read more
winapi
ntfs
-1votes
2answers

RDP in 2008 R2 domain no longer working - possible Kerberos issue

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
windows-server-2008
remote-desktop
rdp
kerberos
-1votes
2answers

How to make an arbitrary Microsoft FILETIME?

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
windows-7
date-time
algorithm
-2votes
0answers

Is shift count >= width undefined behavior?

Following compiles with a warning. I expected ff >> 40 to return 0, but it acts as UB. Is this defined as UB? Is there any easy branch-less way to make it 0 or I should check shift value? (I can branchless check shift value, but looks bad style at [...] read more
c++
c
undefined-behavior
bit-shift
-2votes
1answer

How to perform PyCUDA 4x4 matrix inversion with same accuracy than numpy linalg "inv" or "pinv" function

I am facing an issue of accuracy about my code which performs a number (128, 256, 512) of 4x4 matrix inversions. When I use the original version, i.e the numpy function np.linalg.inv or np.linalg.pinv, everything works fine. Unfortunately, with the CUDA code below, I get nan and inf values into [...] read more
python
matrix
cuda
matrix-inverse
pycuda
-2votes
1answer

Console bugging and bugged, evidently

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
macos
-4votes
1answer

is there any web crawler can get access to users region for download?

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
web-crawler

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0