Posts

Showing posts from January 14, 2019

Sóviet Supremo de la Unión Soviética

Image
Sóviet Supremo de la Unión Soviética Верховный Совет СССР Tipo Tipo Bicameral Cronología País  Unión Soviética Fundación 1938 Precedido por Congreso de los Sóviets y el Comité Ejecutivo Central de la Unión Soviética Sucedido por Congreso de los Diputados del Pueblo Varios Consejos Supremos postsoviéticos: ... Asamblea Federal de Rusia Parlamento de Georgia Parlamento de Kazajistán Asamblea Nacional de Bielorrusia Seimas Parlamento de Moldavia Asamblea Nacional de la República de Azerbaiyán Asamblea de Turkmenistán Riigikogu Saeima Asamblea Nacional de Armenia Rada Suprema Consejo Supremo de Kirguistán Majlisi Oli Oliy Majlis Disolución 1991 Miembros 542 (en la disolución) 1500 (máximo pico) Cámaras Sóviet de las Nacionalidades Sóviet de la Unión Elección Tipo de sufragio Elecciones directas no competitivas (1936-1989) Electos por el Congreso de los Diputados de

VPN via pptp Windows 10 Home not working

Image
-1 I have 2 computers running: Windows 10 Pro -> VPN (Windows, builtin) -> pptp -> login Everything works well. Windows 10 Home -> VPN (Windows, builtin) -> pptp -> login Login works (I can see that in the router), but no network access on the internal network. When running IP scanner I see only 2 ip addresses (my own and VPN). Tried various things: Uninstalled/reinstalled WAN Miniport adapters for IPv4, IPv6, and PPTP Require MS-CHAPv2 encryption on VPN adapter flush dns Installed TAP drivers (looks like nothing is done with it) etc Any ideas? networking windows-10 vpn share | improve this question edited Dec 19 '18 a

If a negative integer summed with a greater unsigned integer is promoted to unsigned int?

Image
9 3 After getting advised to read "C++ Primer 5 ed by Stanley B. Lipman" I don't understand this: Page 66. "Expressions Involving Unsigned Types" unsigned u = 10; int i = -42; std::cout << i + i << std::endl; // prints -84 std::cout << u + i << std::endl; // if 32-bit ints, prints 4294967264 He said: In the second expression, the int value -42 is converted to unsigned before the addition is done. Converting a negative number to unsigned behaves exactly as if we had attempted to assign that negative value to an unsigned object. The value “wraps around” as described above. But if I do something like this: unsigned u = 42; int i = -10; std::cout << u + i << std::endl; // Why the result is 32? As you can see -10 is not converted to un