• Member Avatar for rproffitt
    rproffitt

    Gave Reputation to alan.davies in Counting vowels in open text file with php

    $lc = count_chars(strtolower($str)); $total = $lc[97] + $lc[101] + $lc[105]+ $lc[111]+ $lc[117] ; A good reason for this is that you don't have to isset for each element as each …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to alan.davies in Counting vowels in open text file with php

    Good link rp +1. You may benefit from using a strtolower on the string so you only have to check aeiou instead of also having to check AEIOU. There are …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Why building process of setup projec fails even without any error in VB.NET

    I do not have this version to test with but some other. But I did have build issues a few years back and after some thinking I tried the CLEAN …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Why building process of setup projec fails even without any error in VB.NET

    Hello! Good Day to All, I am working on Visual Studio 2015. I have two workstation computer systems, in both same operating system and Visual Studio is installed. When i …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Counting vowels in open text file with php

    This is the old "letter frequency" code. You can see it done in 91 languages at https://www.rosettacode.org/wiki/Letter_frequency Just take that and adapt.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Counting vowels in open text file with php

    I'm trying to count the vowels in a lengthy text, provided by a .txt file. I can successfully open the file and echo it out into the browser. What I …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Reverend Jim in global variable vs pointer counter with multiple functions

    My personal preference would be to use a global (and document it well). It's the most straightforward and simplest way. Creating a class for a simple counter or throwing pointers …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in set the minimum and maximum values for Mousewheel

    Your reply writes about mouse wheel not accepting changes which isn't my thought about how to constrain values in code. Maybe you are thinking you need to change what values …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in USB not Formatting ...

    Good luck in your cable business but moving on. Let's hear more about this USB drive. You and I will encounter failed USB sticks, SD cards and more that do …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching USB not Formatting ...

    USB not Formatting ...disk protected
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Enable/Disable a QAction

    That code doesn't look correct to me. I would have expected to read something about PySide.QtGui.QTabBar.tabText(index). Documentation appears to be at https://srinikom.github.io/pyside-docs/PySide/QtGui/QTabBar.html This leads me to think you are just …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How can i show my website only display on a mobile phone not in pc

    @Alan.davies. It gets even weirder as I check my old iPhone 6. The iPhone 6 display is 4.7 inches in size with a 16:9 resolution of 1334x750 (326 ppi, minus …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How can i show my website only display on a mobile phone not in pc

    How can i show my website only display on a mobile phone not in pc. Here the sample website 2gud.com,this website content only shows in mobile not in desktop.Is there …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in set the minimum and maximum values for Mousewheel

    I don't see much in the way of comments but let's say that x and y are the values that drive the drawing. Given that won't you test that that …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching set the minimum and maximum values for Mousewheel

    Hello, here is my code: import tkinter as tk import tkinter.font as tkFont from tkinter import ttk from tkinter import * root = tk.Tk() pressed = False class Example(tk.Frame): def …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Find difference between values in two separate CSV Files

    Since you have workplace restrictions, deal with that first. That is, if that insist you work while handcuffed, why do this? Just do it like you have been and get …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Find difference between values in two separate CSV Files

    First, a big nod to http://winmerge.org/ for such work. Next, where's your code and where are you stuck? Read how this works here at https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question If you are hiring this …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Find difference between values in two separate CSV Files

    Hi i am having a code to check the input and output rates of ports on few cisco mds switches. i will be saving yesterday and today values to two …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to pty in How can i show my website only display on a mobile phone not in pc

    No, that's not how the web works. If I want to browse 2gud.com (I don't, but bare with me) I can just override my user agent at the click of …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to pty in How can i show my website only display on a mobile phone not in pc

    No, that's not how the web works. If I want to browse 2gud.com (I don't, but bare with me) I can just override my user agent at the click of …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Enable/Disable a QAction

    I could be wrong but it sounds like you are asking for code. But let's dive in. To look at this I read this link: https://wiki.qt.io/Qt_for_Python#What_does_Qt_for_Python_look_like.3F For item 1 you …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Enable/Disable a QAction

    I am using PySide2 for GUI. I have a "Rename Project" QAction. The function must be like this: 1. set enable to false if tab name is "*Untitled" or file …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to gentlemedia in How can i show my website only display on a mobile phone not in pc

    Search for browser and device detection plugin if you really have to.
  • Member Avatar for rproffitt
    rproffitt

    Created New Employee Training. USA. "Active Shooter Training Module."

    The title of the new employee training module alone was a sign that times have changed. This topic never came up in all my years at any job. Here's the …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching New Employee Training. USA. "Active Shooter Training Module."

    The title of the new employee training module alone was a sign that times have changed. This topic never came up in all my years at any job. Here's the …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in ASUS Parts

    Small world. At my brother's office we had a pair of K55's and a K53. Due to use and age the keyboards did give out and I picked up new …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching ASUS Parts

    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 …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to pty in What is the latest most important trend in digital marketing?

    I think the next big thing is to sign up for forums with a female name and fake avatar and make nothing posts with links to shit websites that like …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to pty in Tory party conference app with ZERO login security hacked by pranksters

    And these clowns want companies to add backdoors and to circumvent encryption. I hope the GPDR gives them a nice kick up the arse while we embarrass ourselves on the …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to alan.davies in Tory party conference app with ZERO login security hacked by pranksters

    ![DeTE3m6WkAA5Pbx.jpg](/attachments/large/3/85d7248ef0f08177acf1ee6576aa3ccd.jpg "align-center")
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Tory party conference app with ZERO login security hacked by pranksters

    A funny hack would be to change all the attendee photos to Boris Yeltsin. Well that would have been a hoot. I can share that the few encounters with political …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Tory party conference app with ZERO login security hacked by pranksters

    Guardian newspaper columnist [Dawn Foster](https://twitter.com/DawnHFoster) posted images on Twitter this weekend showing how she was able to login to the official Conservative party conference app as Boris Johnson, until recently …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Cesar Cypher in Java

    This might be Caesar Cipher instead of Cesar? Can you reveal how it differs? Don't cheat by checking the [118 solutions](https://www.rosettacode.org/wiki/Caesar_cipher). If you use that, you would not learn a …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Cesar Cypher in Java

    I am doing a java caesar cypher application and i need your help.I am supposed to Implement a Caesar cipher, both encoding, and decoding. The key is an integer from …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Format HD and reinstall original Windows 7

    To add to Reverend Jim's F8, once in a while the F8 or Fkey to cover all PCs seems hard to hit at the right time. So once you know …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Bowsette

    It's something that came out of nowhere. From near zero (actually zero) to millions of searches. To me this just another example how things happen and maybe all this moves …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in passing x value between two python files in network

    About passing information, some may think it's deep but here's a free title about semaphores and more. Python is included. http://greenteapress.com/semaphores/LittleBookOfSemaphores.pdf
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Cisco_1 in passing x value between two python files in network

    Can I do it with udpsocket ?
  • Member Avatar for rproffitt
    rproffitt

    Created Bowsette

    Who would have guessed that would be a keyword a week ago?
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Bowsette

    Who would have guessed that would be a keyword a week ago?
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Format HD and reinstall original Windows 7

    Can you reveal which Windows? For W10 I use the Microsoft Media Creation Kit to make the usual install and repair USB stick or DVD. No CDKEY required for use …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Need a Gaming Laptop with Solid Graphics

    I'll start at https://www.cnet.com/topics/laptops/best-laptops/gaming-laptops/ The razer is not on my list due to heating issues. Yes, you can put it on a cooling pad but my son has one and …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Need a Gaming Laptop with Solid Graphics

    After months of waiting, I am ready to invest in a gaming laptop with all the features included. Looking for something with great graphics and performance, possibly 16GB Ram. My …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Reverend Jim in Operand Calculator

    There is such a thing as too much whitespace.
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in passing x value between two python files in network

    My thought is to look into URL query strings. Example reading at http://www.compciv.org/guides/python/how-tos/creating-proper-url-query-strings/
  • Member Avatar for rproffitt
    rproffitt

    Began Watching passing x value between two python files in network

    Hi guys : Any help with this please! script1.py in 192.168.1.10 x = 10 script2.py in 192.168.1.20 if x == 10: print x else: print "sorry" how can apply this …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Reverend Jim in macro key combo

    Best macro app I've seen is AutoHotKey.
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Swith Case

    In C? No. I don't have a Speech API for Windows using just C. So that's a dead end. How about VBScript? Kind of easy there. https://www.instructables.com/id/Text-to-speech-using-VBS/ PS. Why the …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Swith Case

    Can someone give me the code of this program: Write a program that convert the numbers of length upto 3 into words and speech.Use either if else or switch case …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Problem with nasm program

    Not how I'd go about this. I'd start with known working examples.

The End.