I've been following the latest efforts (in the US) of the GOP to unfairly redraw electoral boundaries and was considering how simple a law could be worded to ensure a more fair allocation of electoral districts. What I came up with is: 1. All boundary lines must consist of straight line segments 1. No district may contain an inside angle of greater than 180 degrees 1. No district may have a major axis greater than 1.5 times its minor axis I chose the 1.5 number as a starting point. Do the above three restrictions effectively eliminate the tetris/dragon style maps?

Member Avatar
Member Avatar
+0 forum 5

When I go to the programming forum, the banner says "Join the Programming Group Chat - 188 members are chatting as of 20 Hours Ago", yet when I go there I see Dani was there Friday morning and bookday502 was there Dec 7. Where exactly are these 188 members who were chatting 20 hours ago?

Member Avatar
Member Avatar
+0 forum 2

I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start. Speedy Gonzales was banned by the Cartoon Network for being an offensive stereotype, only to be returned after mass protest by the Hispanic-American community. [link](http://en.wikipedia.org/wiki/Speedy_Gonzales#Censorship)

Member Avatar
Member Avatar
+10 forum 529

I think I finally understand why Trump is doing so well (he recently pulled even with Hillary Clinton). It's only after years of shows like American Idol and America's Got Talent that his rise is possible. These shows got Americans used to the idea that they could vote with no actual consequences. In most cases (with very few exceptions), people with minimal talent are voted on and selected as "the winner", then almost immediately return to obscurity. In some cases (remember Sanjaya Malakar) there was an actual campaign to rig the vote so that a thoroughly undeserving candidate would win. …

Member Avatar
Member Avatar
+0 forum 313

I posted a question last week on Microsoft Technet and during the resulting discussion the following was posted: >VBScript will be gone in the next version of Windows. Almost all references to VBScript have disappeared from MS sites. In all the columns I've read about what's new and what's being removed from Windwos 10 in the spring update, no mention was made about vbScript. Has anyone else come across anything? I have a (rude word)-ton of scripts I'm going to have to convert unless I can just copy/restore cscript.exe and wscript.exe.

Member Avatar
Member Avatar
+0 forum 7

Why is it that when nine innocent Americans get shot and killed by gangs in Mexico, Tom Cotton says the US should basically invade Mexico and clean thisi mess up. But when 40,000+ (2018) get killed by guns in the US the GOP just shrugs its collective shoulders and say "there's nothing we can do"? Never mind. I already know the answer to that.

Member Avatar
Member Avatar
+0 forum 1

For any karaoke freaks out there, There is an experimental package available for free from MIT called [spleeter](https://github.com/deezer/spleeter/wiki). This is a simple (in terms of use) AI which is quite remarkable in its ability to separate an audio file into component sounds. In its simplest form it can take a song and split it into separate instrumental and vocal files. Great for those of us who want to see how we would sound in place of the original artist. If you already have python 3.x installed you can get the package by pip install spleeter although it is always a …

Member Avatar
Member Avatar
-1 forum 2

Sophos software has recent.y made their [Sandboxie](https://www.sandboxie.com/) software free for personal use and will soon be making it open source. For anyone unfamiliar with Sandboxie, it implements an isolated enviroment where you can run programs (even install them) without fear of affecting your system. When you run a program from within a sandbox, any files, registry settings, etc. are made within the sandbox. For example, if you save a file to the desktop, it will appear in the Sandboxie desktop (with an option to move it to the actual desktop). This is a much more convenient way to test new …

Member Avatar
Member Avatar
+3 forum 1

My wife got a VeryfitPro fitness monitor for Christmas. I have the app loaded on my Android (6) phone and was hoping to install a companion app on my Windows 10 laptop but the only thing available is to install an Android emulator on Windows 10 then load the phone app into that. I did a google search and found a list of the 7 best emulators. The list was 1. BlueStacks 1. Remix OS Player 1. Droid4x 1. MEmu 1. Nox Player 1. AMIDuOS 1. Windroy I tried Bluestacks and ended up at an online poker site. Remix resulted …

Member Avatar
Member Avatar
+3 forum 26

Because Microsoft will be removing vbScript in the next version of Windows, I have been busy converting my utility vbScripts into Python. Part of this is a library of functions that I keep in `D:\include`. I'd like to maintain this system in Python, but the import process is rather clumsy. I have to import sys sys.path.insert(0,r'D:\include') Only after that can I import a file. The documentation is somewhat obtuse but I gather my best option is to add the file `D:\include__init__.py`. As long as that folder is known to Python I could then do from include import myfile1 to include …

Member Avatar
Member Avatar
+0 forum 6

If you like to use Sticky Notes, do yourself a huge favour and stop using the Windows 10 Sticky Notes tool. Instead, go to [Zhorn Software](https://www.zhornsoftware.co.uk/stickies/) and download Stickies by Tom Revell. It works much better, has more features, is very well documented and is very intuitive. You can also download a [Skinner Tool](https://www.zhornsoftware.co.uk/stickies/skins/skinner.html) if you want to design your own interface, or you can use one of the many prebuilt skins (although I prefer the one that came with an older version which is attached here). I've been using it for several years and I freaking love it. To …

Member Avatar
+1 forum 0

In keeping with tradition, Microsoft has released the latest update before resolving a number of outstanding issues. But at least they now provide a more centralized location for getting update information. The home page (dashboard) can be found [here](https://docs.microsoft.com/en-us/windows/release-information/) and the specific page for the latest update can be found [here](https://docs.microsoft.com/en-us/windows/release-information/status-windows-10-1903).

Member Avatar
Member Avatar
+3 forum 2

I have been wrestling with this for two days now and getting nowhere. Something is broken, either the GridSizer control or me. I'm hoping it's me and someone can show me the problem. I've stripped my app of non-essentials. What I am building is a Sudoku app which consists of several nested controls, as can be seen in the atached image. The outer frame contains the puzzle which contains a 3x3 grid of panes. Each pane contains a 3x3 grid of tiles and each tile contains a 3x3 grid of digits. So far so good. Except for the layout. I …

Member Avatar
Member Avatar
+0 forum 1

I think we can all agree (this will likely provoke disagreement) that a voting machine that records a vote electronically without a way to do a manual verification is a bad idea. How then should a proper voting machine work. My suggestion is to have a touch screen on which the voter makes his/her selections (invalid selections would not be allowed). The voter would 1. Make selections on screen 1. Print ballot 1. Compare ballot to screen Once the voter receives the printout he/she would then compare the printed ballot with the selections made on screen. At that point the …

Member Avatar
Member Avatar
+2 forum 34

As I continue my conversion from vbScript to Python I am finding the gotchas. For example... A lot of my utility scripts take a file name or a file pattern as a parameter. My script, bitrate.vbs, for example allows me to invoke it as bitrate file bitrate pattern Technically file and pattern are identical since specifying a file is really just specifying a pattern that matches up to one file. To get file listings in vbScript I would just spawn a dos `dir` command and grab the output from stdout. In Python, however, they provide what I thought was a …

Member Avatar
+2 forum 0

I'm having a problem with my python installation. The packages that came with the installation work just fine but when I try to use other installed packages I run into problems. For example, I installed a package `pymsgbox` using pip from an admin shell. When I run a sample script from the command line as in `sample`, I get ModuleNotFoundError: No module named 'pymsgbox' but when I run it by `python sample.py` it works fine. Likewise if I load it into IDLE and run it from there. Suggestions?

Member Avatar
Member Avatar
+0 forum 8

The Quebec government will be introducing legislation that prohibits public employees from displaying religious symbols while at work. This would include items such as crucifixes, kirpans, turbans, hijabs, yarmulkes, etc. Even though there is majority public support for this legislation ther has been a strong backlash with the claim that this impinges on religious freedom. If anyone is interested, I'd like to start a discussion on this. I'm on the "public service positions should at least have the appearance of neutrality" side of the debate. I hear interviews where I wish the interviewer would ask certain qquestions, or respond to …

Member Avatar
Member Avatar
+0 forum 26

A few years ago, the Canadian government (at that time it was a majority Conservative government under Stephen Harper) proposed legislation which would have weakened the privacy rights of all Canadians. Part of the justification was to allow easier apprehension and prosecution of people trafficking in child pornography. The justice minister, Vic Toews, said that anyone opposing the bill was in favour of child pornography. Of course, this was a ridiculous statement, creating a false dichotomy of "you're either with us or against us". Similarly, the media seems intent on painting anyone who favoured Great Britain's exit from the European …

Member Avatar
Member Avatar
+1 forum 110

After saying for the last 10 years that I would never own a cell phone (I had enough of that spending many years on call), I finally broke down and got one. It is a Figo (Speak Out) Android (Marshmallow) phone that allows me to buy a block of minutes without having to pay monthly fees. Basically I can use it as much or as little as I want and just pay for what I use. My first complaint was the almost complete lack of documentation. It is a royal pain in the ass figuring out what every little (microscopic, …

Member Avatar
Member Avatar
+1 forum 16

I just got a PM from a user who said "Hello! I'm <username>. Nice to meet you! Let's connect." What I know about this user is precisely zero. Before I respond to a "let's connect" request I'd like to know a little bit about this user. In the old Daniweb I would just go o that user's profile page and read whatever he/she had decided to share. How do I do that now? And if I can't do that, what incentive do I have to respond?

Member Avatar
Member Avatar
+0 forum 11

I tried to attach a file to a post by clicking the attachment icon and the file upload dialog did not show. I tried several times with no luck.

Member Avatar
Member Avatar
+0 forum 9

As I understand it, there were problems on Sunday (Feb 24) which caused problems logging in. Daniweb would not accept my password (or so it said). Normally when I go to login I get presented with the login page with my userID (reverend Jim) and password already filled in. Now I was getting the login page with my email address instead of my userID. Manually entering my userID and password resulted in an indication that my password was incorrect. I clicked on the "Reset Password" which is supposed to send a reset email to a given address (which I entered). …

Member Avatar
Member Avatar
+0 forum 22

I can't seem to find a way to send a PM. I tried going to the member's profile page but the PM area is gone.

Member Avatar
Member Avatar
+1 forum 55

To all in the last week or so who received a private message from me consisting only of the phrase, `Noli Mentula`, I sincerely apologize. In the previous incarnation of Daniweb, sending a private message was considerably different than in the new version. I had assumed that a message would not be sent unless/until I composed it, then clicked some equivalent of `Send`. You know. Like practically every other text messaging system ever invented. While trying to work through the new system with Dani I inadvertantly started conversations with several users. To further explain `noli mentula`... It fall into the …

Member Avatar
Member Avatar
+1 forum 6

The day that Americans will decide if they want to step on the brakes or drive off the cliff.

Member Avatar
Member Avatar
+0 forum 9

Remember when once upon a time all you had to do to start Windows in safe mode was go all Woody Woodpecker on the F8 key during boot? Well in Windows 10 it seems you have to do just a little more... 1. On the login screen click on the power icon (lower right) then hold the shift key while clicking "Restart" from the popup menu. 1. During the reboot you will get a "Choose an option" menu. Click on "Troubleshoot". 1. On the next menu click on "Advanced options". 1. On the next menu click on "Startup Settings". 1. …

Member Avatar
Member Avatar
+1 forum 3

My geo-location was being displayed as Cambridge (I returned from there on Monday) so I told daniweb to update, which it did, except it now reported me as `Winnipeg, Manitoba - 3,897 miles away`. What am I 3,897 miles away from? Then, when I click on `Member Connect` it says (for example) that I am 46 miles away from aravindc (London, England) so I'm assuming that even though I did the update, part of daniweb still thinks I am in jolly old.

Member Avatar
Member Avatar
+1 forum 15

My wife's laptop is a Dell Latitude E6520. A good enough machine except for one annoying quirk. The wireless card keeps disabling itself. We have it configured so that closing the lid puts it to sleep. When it wakes up, the wireless card is disabled. Before you ask, I already have it configured to not power off. I reinstalled the latest driver from Dell but no luck. So far I have managed by running a script in the background that repeatedly checks to see if the device is disbled, then automatically re-enables it, but I would rather fix the problem …

Member Avatar
+0 forum 0

It wasn't bad enough that Skype nagged me with "your current version will soon stop working" every time I brought up the GUI. When I ignored the upgrade requests is started popping up notices even when I wasn't using Skype. So I finally bit the bullet and did the upgrade to Skype version 8.25.0.5. As far as I can tell, the changes are only cosmetic. Changing the font size is non-standard. In Chrome, Firefox, my email, etc, you can increase/decrease the font size with CTRL+/CTRL- or by CTRL-SCROLL. But in Skype you have to CTRLSHIFT+. There is still no way …

Member Avatar
Member Avatar
+0 forum 17

ASUS Computers I recently had dealings with Asus. The situation was regarding a malfunctioning keyboard. The computer is a several-year-old (no longer under warranty) Asus K53E laptop. It belongs to my father-in-law and because he is somewhat careless with food (he is 91 so this is understandable), something eventually got under one of his CTRL keys causing it to stick closed. Naturally, this made the keyboard (and scroll wheel) useless. At this point there were two possible solutions: 1. Clean the keyboard 1. Replace the keyboard Before trying option 1 I wanted to see if I could actually purchase a …

Member Avatar
Member Avatar
+1 forum 2

The End.