Are you over 18 and want to see adult content?
More Annotations
![A complete backup of editorialcep.com](https://www.archivebay.com/archive2/c5ac9143-eff3-4151-a7f7-fda3c209d237.png)
A complete backup of editorialcep.com
Are you over 18 and want to see adult content?
![A complete backup of cursodemodelo.es](https://www.archivebay.com/archive2/55754b51-fca7-4c41-b7dd-33c34a49cc9d.png)
A complete backup of cursodemodelo.es
Are you over 18 and want to see adult content?
![A complete backup of oracionesesotericaspoderosas.blogspot.com](https://www.archivebay.com/archive2/bac1eb26-5147-41fb-a944-2680f5067f4f.png)
A complete backup of oracionesesotericaspoderosas.blogspot.com
Are you over 18 and want to see adult content?
![A complete backup of pancreapedia.org](https://www.archivebay.com/archive2/d8958e59-1663-48a4-b1c7-161afab3f3cd.png)
A complete backup of pancreapedia.org
Are you over 18 and want to see adult content?
![A complete backup of tomkiewiczopony.pl](https://www.archivebay.com/archive2/5a4c07a7-3d13-46ba-8826-b018da28342f.png)
A complete backup of tomkiewiczopony.pl
Are you over 18 and want to see adult content?
![A complete backup of thelohasmith.com](https://www.archivebay.com/archive2/f253eaf9-b18b-43c7-a679-706094d3bd6e.png)
A complete backup of thelohasmith.com
Are you over 18 and want to see adult content?
![A complete backup of outdoor-magazin.com](https://www.archivebay.com/archive2/bb372966-5241-45bc-b45d-227a2c9b9882.png)
A complete backup of outdoor-magazin.com
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of https://vaiw.org](https://www.archivebay.com/archive6/images/bd30ea29-def6-4565-8414-40480de09f65.png)
A complete backup of https://vaiw.org
Are you over 18 and want to see adult content?
![A complete backup of https://mycharm.ru](https://www.archivebay.com/archive6/images/35a5c34c-7ddf-4e22-8dad-f7698f66d99f.png)
A complete backup of https://mycharm.ru
Are you over 18 and want to see adult content?
![A complete backup of https://howden.com](https://www.archivebay.com/archive6/images/a47a8354-1bd9-4ec8-835d-68ab482d0c01.png)
A complete backup of https://howden.com
Are you over 18 and want to see adult content?
![A complete backup of https://luka-kp.si](https://www.archivebay.com/archive6/images/2c204f2e-1aa5-4797-a99e-9b4894226194.png)
A complete backup of https://luka-kp.si
Are you over 18 and want to see adult content?
![A complete backup of https://leaguelobster.com](https://www.archivebay.com/archive6/images/024137ca-66f2-4f66-bc93-7dafaa1ed7ab.png)
A complete backup of https://leaguelobster.com
Are you over 18 and want to see adult content?
![A complete backup of https://hcny.com](https://www.archivebay.com/archive6/images/21187c96-be21-4913-bc6f-79956102bda8.png)
A complete backup of https://hcny.com
Are you over 18 and want to see adult content?
![A complete backup of https://nation.com.pk](https://www.archivebay.com/archive6/images/b684b349-04c3-43c8-b527-5946f78d2666.png)
A complete backup of https://nation.com.pk
Are you over 18 and want to see adult content?
![A complete backup of https://kdab.com](https://www.archivebay.com/archive6/images/32ab2452-34b4-4e96-946c-444ed3de5f19.png)
A complete backup of https://kdab.com
Are you over 18 and want to see adult content?
![A complete backup of https://puregrenada.com](https://www.archivebay.com/archive6/images/5e9868e0-8b4e-453a-bd1f-6574a33e4a0e.png)
A complete backup of https://puregrenada.com
Are you over 18 and want to see adult content?
![A complete backup of https://forexpeacearmy.com](https://www.archivebay.com/archive6/images/f3975279-4456-4e01-b1e2-e0b706bbec22.png)
A complete backup of https://forexpeacearmy.com
Are you over 18 and want to see adult content?
![A complete backup of https://pcnmobile.com](https://www.archivebay.com/archive6/images/84aa73d7-8c6f-4a23-8859-e4b9e459cb99.png)
A complete backup of https://pcnmobile.com
Are you over 18 and want to see adult content?
Text
Ν42
ν42: ν42 is about information technology, programming, data analysis. The name is inspired by the 'Hitchiker's Guide to the Galaxy': I know it's geek and it's cliché, but I like geek and I likecliché.
DEFINE CONSTANTS FOR USE BY OTHER MODULES IN PERL ν42: In Perl, there are a number of ways to define a bunch of constants in a module and use them from other modules. There is one I like a whole lot. It uses Const::Fast alongside Importer WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. KNOW WHAT YOU ARE TESTING: THE CASE OF THE TEST FOR MEDIAN A few days ago, I wrote about my adventures with the Boost.Accumulators library.Since then, I have spent some time staring at the test code for the median algorithms included with that library.The provided test demonstrates many problems created by flawed attempts at doing TDD.Here is the relevant code: FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS Q A - Q H are the eight output pins. VCC is VCC, GND is GND. SER better be serial. O̅E̅ is “output enable” meaning put “put the bits you buffered on the pins”. Q H ′ seems to provide the same output serially.. OK, so I need to connect Q A - Q H to the LED inputs I think I did this the “wrong” way by connecting Q A to D 1 on the keypad, but at this stage, I didn’t care C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much as DISPLAY GIT BRANCH IN WINDOWS COMMAND PROMPT git.exe %* invokes the actual git binary with all the arguments that were passed to the batch file. Then, we clear the variable GITBRANCH.In the for statement, we pipe git’s output through findstr to pick the line that begins with * which indicates the current branch. The tokens=2 parameter to the for statement causes GITBRANCH to be set twice: First for the * character, and then for theCONTACT SINAN
A. Sinan Unur (Economist & Developer) A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer) A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM For months, I had been involved with a frustrating struggle to get my Time Warner internet service to work properly. During this time, I made quite a few phone calls to Time Warner, had to patiently listen to customer service reps keep explaining to me how to unplug my cable modem, had to stop by the local office a number of times to replace my cable modem, actually chose to downgrade myΝ42
ν42: ν42 is about information technology, programming, data analysis. The name is inspired by the 'Hitchiker's Guide to the Galaxy': I know it's geek and it's cliché, but I like geek and I likecliché.
DEFINE CONSTANTS FOR USE BY OTHER MODULES IN PERL ν42: In Perl, there are a number of ways to define a bunch of constants in a module and use them from other modules. There is one I like a whole lot. It uses Const::Fast alongside Importer WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. KNOW WHAT YOU ARE TESTING: THE CASE OF THE TEST FOR MEDIAN A few days ago, I wrote about my adventures with the Boost.Accumulators library.Since then, I have spent some time staring at the test code for the median algorithms included with that library.The provided test demonstrates many problems created by flawed attempts at doing TDD.Here is the relevant code: FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS Q A - Q H are the eight output pins. VCC is VCC, GND is GND. SER better be serial. O̅E̅ is “output enable” meaning put “put the bits you buffered on the pins”. Q H ′ seems to provide the same output serially.. OK, so I need to connect Q A - Q H to the LED inputs I think I did this the “wrong” way by connecting Q A to D 1 on the keypad, but at this stage, I didn’t care C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much as DISPLAY GIT BRANCH IN WINDOWS COMMAND PROMPT git.exe %* invokes the actual git binary with all the arguments that were passed to the batch file. Then, we clear the variable GITBRANCH.In the for statement, we pipe git’s output through findstr to pick the line that begins with * which indicates the current branch. The tokens=2 parameter to the for statement causes GITBRANCH to be set twice: First for the * character, and then for theCONTACT SINAN
A. Sinan Unur (Economist & Developer) A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer) A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM For months, I had been involved with a frustrating struggle to get my Time Warner internet service to work properly. During this time, I made quite a few phone calls to Time Warner, had to patiently listen to customer service reps keep explaining to me how to unplug my cable modem, had to stop by the local office a number of times to replace my cable modem, actually chose to downgrade myΝ42
ν42: ν42 is about information technology, programming, data analysis. The name is inspired by the 'Hitchiker's Guide to the Galaxy': I know it's geek and it's cliché, but I like geek and I likecliché.
PLAYING WITH THE TRUERNG 2 HARDWARE RANDOM NUMBER GENERATOR ν42: Many applications can benefit from a hardware random generator that doesn't use pseudo-RNG algorithm. TrueRNG2 is a USB device which provides 'true' random numbers generated using the 'avalanche effect' in a semiconductor junction to generate true random numbers. It works with Linux, Mac OSX, Windows. AN EXCELLENT OPTIMIZATION STORY This is a story of how I was able shave about 95% from the running time of a long running program searching through large sets of integers. While the particular problem might sound esoteric, this type of thing pops up in many scientific and financial contexts where multi-precision arithmetic libraries tend to be heavily utilized. KNOW WHAT YOU ARE TESTING: THE CASE OF THE TEST FOR MEDIAN A few days ago, I wrote about my adventures with the Boost.Accumulators library.Since then, I have spent some time staring at the test code for the median algorithms included with that library.The provided test demonstrates many problems created by flawed attempts at doing TDD.Here is the relevant code: GENERATE K RANDOM SAMPLES OF N DRAWS FROM A SET OF In my quest to improve the tests in Boost.Accumulators, I decided to generate some random samples (i.e. sets of draws) from known distributions and compare the results produced by the P 2 algorithm as implemented by a well-respected data analysis software package to the medians calculated using the Boost.Accumulators implementation. It turns out, the well-respected software BUILDING OPENSSL 1.0.1G ON 64-BIT WINDOWS PRO 8.1 WITH Building OpenSSL 1.0.1g on 64-bit Windows Pro 8.1 with Windows SDK 7.1 A. Sinan Unur April 10, 2014 HAPPINESS IS A MID-2010 13" MACBOOK PRO WITH A NEW BATTERY Happiness is a mid-2010 13" MacBook Pro with a new battery A. Sinan Unur January 12, 2017 FIXING PERL'S UNICODE PROBLEMS ON THE COMMAND LINE ON Here’s what this change gets us: $ ..\perl -Mopen=:std,:utf8 -E "say for @ARGV" iş iş. or $ ..\perl -CAS -E "say for @ARGV" iş iş. Yes, if we are going to use -CS we must actually use -CAS because, apparently, -C flags are not cumulative. That is, it looks like perl -CA -CS is equivalent to perl -CS and not perl -CAS.I have considered whether to make -CAS the default, but that is of MANIPULATE %PATH% IN THE CURRENT WINDOWS CMD.EXE WINDOW I often find myself working in one ConEmu window for extended periods of time. Sometimes, I end up adding a bunch of directories to the %PATH% during a session. And, more often than not, I end up wanting to just remove one or two directories from the %PATH% and continue working. For example, I might want to switch to using Cygwin’s git instead of the MinGW git installed alongside BUILDING RAKUDO STAR PERL6 DISTRIBUTION ON WINDOWS 10 WITH It’s been more than a year since I last looked at Perl6.. Time flies. Pretty soon, it is going to be Christmas for the first time again.Well, OK, that didn’t make much sense: What matters is the fact that there have been huge developments on the Perl6 front this year, and I would like to try to catch up.Ν42
Happiness is a mid-2010 13“ MacBook Pro with a new battery. For the past three or four years, it has been telling me that the battery needs to be replaced. Initially, the message was “Service Battery”. A couple of years later, it turned in to “Replace Now”. Recently, battery life fell to an annoying 90 minutes. more. WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS The ATtiny85 has 8 pins in total. We need a further four wires to read the state of the KEY B bank consisting of the red buttons, and we need an additional eight wires to read state of the KEY A bank consisting of the 4x4 keypad. Note the pins on the KEY A bank are labeled Li and Ri where I would expect L to stand for “line” and R to stand C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much asCONTACT SINAN
A. Sinan Unur (Economist & Developer) WHAT DOES INT A, B, C DO IN PERL? b. c. The bareword a is not the name of a defined subroutine, so it just evaluates to "a". Now, "a" is not numeric, so int "a" evaluates to zero. Similarly, b evaluates to "b", and c evaluates to "c". Therefore, int a, b, c; is basically 0, "b", "c"; in void context. Now, of course, if one added use strict; before this line, as onereally ought
A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM A quick look at the modem’s outdated and buggy management screen quickly revealed downstream power levels ranging between -0.2 dBmV and 0.6 dBmV (zero is optimal), and SNR around 42 dBmV (what a great coincidence ;-). I used to consider myself lucky if I got a downstream SNR of about 20 with the Ubees. Upstream was the real shocker though. A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer) ACCEPTABLE USE POLICY Acceptable Use Policy. The purpose of unur.com is to provide an online presence for A. Sinan Unur. Communications are welcome so long as they specifically relate to this purpose. Users and site visitors are expected at all times to provide unur.com with accurate information. NU42.COM: SINAN UNUR'S BLOG ON PROGRAMMING AND INFORMATION nu42.com: Sinan Unur's blog on programming and informationΝ42
Happiness is a mid-2010 13“ MacBook Pro with a new battery. For the past three or four years, it has been telling me that the battery needs to be replaced. Initially, the message was “Service Battery”. A couple of years later, it turned in to “Replace Now”. Recently, battery life fell to an annoying 90 minutes. more. WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS The ATtiny85 has 8 pins in total. We need a further four wires to read the state of the KEY B bank consisting of the red buttons, and we need an additional eight wires to read state of the KEY A bank consisting of the 4x4 keypad. Note the pins on the KEY A bank are labeled Li and Ri where I would expect L to stand for “line” and R to stand C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much asCONTACT SINAN
A. Sinan Unur (Economist & Developer) WHAT DOES INT A, B, C DO IN PERL? b. c. The bareword a is not the name of a defined subroutine, so it just evaluates to "a". Now, "a" is not numeric, so int "a" evaluates to zero. Similarly, b evaluates to "b", and c evaluates to "c". Therefore, int a, b, c; is basically 0, "b", "c"; in void context. Now, of course, if one added use strict; before this line, as onereally ought
A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM A quick look at the modem’s outdated and buggy management screen quickly revealed downstream power levels ranging between -0.2 dBmV and 0.6 dBmV (zero is optimal), and SNR around 42 dBmV (what a great coincidence ;-). I used to consider myself lucky if I got a downstream SNR of about 20 with the Ubees. Upstream was the real shocker though. A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer) ACCEPTABLE USE POLICY Acceptable Use Policy. The purpose of unur.com is to provide an online presence for A. Sinan Unur. Communications are welcome so long as they specifically relate to this purpose. Users and site visitors are expected at all times to provide unur.com with accurate information. NU42.COM: SINAN UNUR'S BLOG ON PROGRAMMING AND INFORMATION nu42.com: Sinan Unur's blog on programming and information NOTES ON UNICODE ON THE COMMAND LINE IN WINDOWS WITH Your program will now receive command line arguments in UTF-16. You can convert the argv and envp arrays to UTF-8 encoding and just work with them or stick with the wchar_t and compatible functions, depending on which makes the most sense for your specific situation.. However, when you are dealing with a script interpreter written mostly for *nix folks, things get hairer. ATTINY85 CHIRPING IN RESPONSE TO RED KEY PRESSES ON A For background on this post, please see “Fun with an ATTiny85, Liyafy HC-35 keypad with eight LEDs, and a serial to parallel shift register”. Last time, I was just excited to get some lights to blink.Since then, I’ve figured out a few things. For example, if a bit in the output is set, the corresponding LED on the HC-35 is turned off.Therefore, to get the pleasing animated counting AN EXCELLENT OPTIMIZATION STORY A positive integer n is said to be an excellent number if there exist two positive integers a and b such that: b 2 - a 2 = aK + b ≡ n. where a and b has the same number of digits d and K is 10 d/2. For example, 48 is an excellent number because it is equal to 8 2 - KNOW WHAT YOU ARE TESTING: THE CASE OF THE TEST FOR MEDIAN Three runs of the script above generated 10, 14, and 11 out of 1,000 medians more than 1% away from the true median of 1.0. In this case, you can think of each of those 1,000 medians as someone running the test suite. If the code is correct, and we are generating a fresh independent sample of 100,000 draws from N (1,1) each time the testcode
PLAYING WITH THE TRUERNG 2 HARDWARE RANDOM NUMBER GENERATOR ν42: Many applications can benefit from a hardware random generator that doesn't use pseudo-RNG algorithm. TrueRNG2 is a USB device which provides 'true' random numbers generated using the 'avalanche effect' in a semiconductor junction to generate true random numbers. It works with Linux, Mac OSX, Windows. GENERATE PRETTY WEEKLY SCHEDULE CHARTS USING HTML::TEMPLATE In the input data, the first number is the day of the week (Sunday = 0), the second number is the beginning of busy time in seconds since midnight, and the third number is BUILDING OPENSSL 1.0.1G ON 64-BIT WINDOWS PRO 8.1 WITH Building OpenSSL 1.0.1g on 64-bit Windows Pro 8.1 with Windows SDK 7.1 A. Sinan Unur April 10, 2014 ON WINDOWS, HOW CAN I FIND WINDOW HANDLES FOR A GIVEN Let’s say you want to send some messages to the window of a Windows process, but all you have is the process id. How do you find the window handle for that process? According to this post on Stackoverflow, you need to use the EnumWindows function to go through each Window, look up its process id using GetWindowThreadProcessId function, and compare it to the process id whose UPGRADING MY LAPTOP'S WIRELESS CARD TO AN INTEL 7260 Then, turned the power off, removed the battery, and opened the cover that protects both the hard drive and the wireless adapter. Made a note of which antenna cables connect to which port, removed the antenna cables, removed the screws, and unplugged the old card. The most difficult part was attaching the 7260 to the bracket adapter withthose
NU42.COM: SINAN UNUR'S BLOG ON PROGRAMMING AND INFORMATION nu42.com: Sinan Unur's blog on programming and informationΝ42
Happiness is a mid-2010 13“ MacBook Pro with a new battery. For the past three or four years, it has been telling me that the battery needs to be replaced. Initially, the message was “Service Battery”. A couple of years later, it turned in to “Replace Now”. Recently, battery life fell to an annoying 90 minutes. more. WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS The ATtiny85 has 8 pins in total. We need a further four wires to read the state of the KEY B bank consisting of the red buttons, and we need an additional eight wires to read state of the KEY A bank consisting of the 4x4 keypad. Note the pins on the KEY A bank are labeled Li and Ri where I would expect L to stand for “line” and R to stand C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much as DEFINE CONSTANTS FOR USE BY OTHER MODULES IN PERL ν42: In Perl, there are a number of ways to define a bunch of constants in a module and use them from other modules. There is one I like a whole lot. It uses Const::Fast alongside Importer DISPLAY GIT BRANCH IN WINDOWS COMMAND PROMPT git.exe %* invokes the actual git binary with all the arguments that were passed to the batch file. Then, we clear the variable GITBRANCH.In the for statement, we pipe git’s output through findstr to pick the line that begins with * which indicates the current branch. The tokens=2 parameter to the for statement causes GITBRANCH to be set twice: First for the * character, and then for the A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM A quick look at the modem’s outdated and buggy management screen quickly revealed downstream power levels ranging between -0.2 dBmV and 0.6 dBmV (zero is optimal), and SNR around 42 dBmV (what a great coincidence ;-). I used to consider myself lucky if I got a downstream SNR of about 20 with the Ubees. Upstream was the real shocker though. A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer)CONTACT SINAN
A. Sinan Unur (Economist & Developer)PRIVACY STATEMENT
A. Sinan Unur (Economist & Developer)Ν42
Happiness is a mid-2010 13“ MacBook Pro with a new battery. For the past three or four years, it has been telling me that the battery needs to be replaced. Initially, the message was “Service Battery”. A couple of years later, it turned in to “Replace Now”. Recently, battery life fell to an annoying 90 minutes. more. WHAT IS MY IP ADDRESS? Every device connected to the Internet is identified by an IP address.If you connect to the internet using a wired or wireless router at home or at work, the address assigned to your computer inside that network will be different than the address that is seen by the sites you visit.. Other computers will see the address which was assigned to your router by your ISP. FUN WITH AN ATTINY85, LIYAFY HC-35 KEYPAD WITH EIGHT LEDS The ATtiny85 has 8 pins in total. We need a further four wires to read the state of the KEY B bank consisting of the red buttons, and we need an additional eight wires to read state of the KEY A bank consisting of the 4x4 keypad. Note the pins on the KEY A bank are labeled Li and Ri where I would expect L to stand for “line” and R to stand C++: PARSING COMMAND LINE ARGUMENTS WITH BOOST Still feeling excited about modern C++, I decided to install Boost with MS Visual Studio 2015 RC.Of course, most of Boost is header-only, but there are some libraries with binary components. One of those is Boost.Program_options whose purpose is to provide nice interface to reading program options from either the command line or a config file.. Feeling ambitious, I decided to build as much as DEFINE CONSTANTS FOR USE BY OTHER MODULES IN PERL ν42: In Perl, there are a number of ways to define a bunch of constants in a module and use them from other modules. There is one I like a whole lot. It uses Const::Fast alongside Importer DISPLAY GIT BRANCH IN WINDOWS COMMAND PROMPT git.exe %* invokes the actual git binary with all the arguments that were passed to the batch file. Then, we clear the variable GITBRANCH.In the for statement, we pipe git’s output through findstr to pick the line that begins with * which indicates the current branch. The tokens=2 parameter to the for statement causes GITBRANCH to be set twice: First for the * character, and then for the A UBEE NIGHTMARE: MAYBE YOUR CABLE MODEM IS THE PROBLEM A quick look at the modem’s outdated and buggy management screen quickly revealed downstream power levels ranging between -0.2 dBmV and 0.6 dBmV (zero is optimal), and SNR around 42 dBmV (what a great coincidence ;-). I used to consider myself lucky if I got a downstream SNR of about 20 with the Ubees. Upstream was the real shocker though. A. SINAN UNUR (ECONOMIST & DEVELOPER) A. Sinan Unur (Economist & Developer)CONTACT SINAN
A. Sinan Unur (Economist & Developer)PRIVACY STATEMENT
A. Sinan Unur (Economist & Developer) Ν42 - NU42.COM TABLE OF CONTENTS ν42 - nu42.com Table of Contents. 2021. Feburary. ATtiny85 chirping in response to red key presses on a Liyafy HC-35 keypad. January. Fun with an ATtiny85, Liyafy HC-35 keypad with eight LEDs, and a serial to parallel shift register. 2020. December. Small is beautiful. NOTES ON UNICODE ON THE COMMAND LINE IN WINDOWS WITH Your program will now receive command line arguments in UTF-16. You can convert the argv and envp arrays to UTF-8 encoding and just work with them or stick with the wchar_t and compatible functions, depending on which makes the most sense for your specific situation.. However, when you are dealing with a script interpreter written mostly for *nix folks, things get hairer. KNOW WHAT YOU ARE TESTING: THE CASE OF THE TEST FOR MEDIAN Three runs of the script above generated 10, 14, and 11 out of 1,000 medians more than 1% away from the true median of 1.0. In this case, you can think of each of those 1,000 medians as someone running the test suite. If the code is correct, and we are generating a fresh independent sample of 100,000 draws from N (1,1) each time the testcode
AN EXCELLENT OPTIMIZATION STORY A positive integer n is said to be an excellent number if there exist two positive integers a and b such that: b 2 - a 2 = aK + b ≡ n. where a and b has the same number of digits d and K is 10 d/2. For example, 48 is an excellent number because it is equal to 8 2 - GENERATE K RANDOM SAMPLES OF N DRAWS FROM A SET OF In my quest to improve the tests in Boost.Accumulators, I decided to generate some random samples (i.e. sets of draws) from known distributions and compare the results produced by the P 2 algorithm as implemented by a well-respected data analysis software package to the medians calculated using the Boost.Accumulators implementation. It turns out, the well-respected software FIXING PERL'S UNICODE PROBLEMS ON THE COMMAND LINE ON Here are some problems with Perl and Unicode on the command line in Windows. 1. Can’t pass interesting characters to perl on the command line. You can’t pass characters that are outside of the Windows code page to perl on the command line. It doesn’t matter whether you have set the code page to 65001 and use the -CA command line argument BUILDING RAKUDO STAR PERL6 DISTRIBUTION ON WINDOWS 10 WITH It’s been more than a year since I last looked at Perl6.. Time flies. Pretty soon, it is going to be Christmas for the first time again.Well, OK, that didn’t make much sense: What matters is the fact that there have been huge developments on the Perl6 front this year, and I would like to try to catch up. EXTRACT BULLET LISTS FROM POWERPOINT SLIDES USING PERL AND We first use the Bullet property of the ParagraphFormat associated with the paragraph at hand. In addition to the ppBulletNumbered and ppBulletUnnumbered types, there is also ppBulletNone, ppBulletMixed, and ppBulletPicture bullet types. Finally, there are a bazillion numbered bullet styles (see PpNumberedBulletStyle) which you shouldtake into
MANIPULATE %PATH% IN THE CURRENT WINDOWS CMD.EXE WINDOW I often find myself working in one ConEmu window for extended periods of time. Sometimes, I end up adding a bunch of directories to the %PATH% during a session. And, more often than not, I end up wanting to just remove one or two directories from the %PATH% and continue working. For example, I might want to switch to using Cygwin’s git instead of the MinGW git installed alongside ON WINDOWS, HOW CAN I FIND WINDOW HANDLES FOR A GIVEN Let’s say you want to send some messages to the window of a Windows process, but all you have is the process id. How do you find the window handle for that process? According to this post on Stackoverflow, you need to use the EnumWindows function to go through each Window, look up its process id using GetWindowThreadProcessId function, and compare it to the process id whoseA. SINAN UNUR
ECONOMIST & DEVELOPER* Home
* ν42.com
* nanis
* Sinan Ünür
* sinan_unur
* Terms
* Privacy
* What is My IP Address? Any trademarks mentioned belong to their respective owners. All original content Copyright © 2020 A. Sinan Unur. All rights reserved.Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0