Latest Hardware and Software Posts

Hello, my name is John McPherson. I work for the DOL, in the Uneployment Insurance office, and I am working on an application that uses bash scripts as the controller running the application. I am trying to add a capability to email the output files to the users, which are the states that use the application. The case statement chooses which state to send the email to( or optionally not send an email if state does not want it), is erroring off. I am not sure what the problem is with code. The case statemnet in question is:

## print or display
    if test $print_flag
    then
      if [ $run = FF ]
      then
        rm -f picktbls
        /bfm/devt/comexec/prtmnu $showfl ##select tables >temp.d
        act=`cat temp.d`
        if [ "$act" = QUIT ]
        then ##canceled
          bfm_sigon
        elif [ "$act" != ALL ]
        then
          showfl=picktbls
        fi
      fi
                case $OPT1 in
                  ARKANSAS)
                    mailx -s "BFM Output" $ARUSER1 < $showfl;;
                  CONNECTICUT)
                    mailx -s "BFM Output" $CTUSER1 < $showfl;;
                  DC2)
                    mailx -s "BFM Output" $DCUSER3 < $showfl;;
                  GEORGIA)
                    mailx -s "BFM Output" $GAUSER1 < $showfl;;
                  INDIANA)
                    mailx -s "BFM Output" $INUSER1 $INUSER2 < $showfl;;
                  KANSAS)
                    mailx -s "BFM Output" $KSUSER1 $KSUSER2 < $showfl;;
                  KENTUCKY)
                    mailx -s "BFM Output" $KYUSER < $showfl;;
                  LOUISIANA)
                    mailx -s "BFM Output" $LAUSER1 $LAUSER2 < $showfl;;
                  MAINE)
                    mailx -s "BFM Output" $MEUSER1 $MEUSER2 $MEUSER3 < $showfl;;
                  MARYLAND)
                    mailx -s "BFM Output" $MDUSER2 < $showfl;;
                  MINNESOTA)
                    mailx -s "BFM Output" $MNUSER1 < $showfl;;
                  NORTH CAROLINA)
                    mailx -s "BFM Output" $NCUSER7 < $showfl;;
                  SOUTH CAROLINA)
                    mailx ...

Since printing is no longer the issue, I will close this thread, and open a thread about the case statement problem.

I had same problem in 2018 XD. Problem solved by removing the battery.

By now you figured out that without asking what printer to print can't be avoided.

I have discussed this issue with the Network people, and there is no way that the Federal government can require state governments to adopt a standard printer. The Benefit Financial Model( BFM) is run on a server at the National Office, and the state users log in from their state office with Putty to run the BFM. Also the BFM is inside the firewall at the National Office, so the BFM cannot find the printer at the individual state offices. I discussed this with the customer, and the customer agreed to my suggestion that instead of printing, the BFM will email the file to the state user. I have been working on converting the bash script to send email instead of printing, and I am having a problem with the case statement that does the seding of the email. the code that is giving a problem is:

## print or display
    if test $print_flag
    then
      if [ $run = FF ]
      then
        rm -f picktbls
        /bfm/devt/comexec/prtmnu $showfl ##select tables >temp.d
        act=`cat temp.d`
        if [ "$act" = QUIT ]
        then ##canceled
          bfm_sigon
        elif [ "$act" != ALL ]
        then
          showfl=picktbls
        fi
      fi
                case $OPT1 in
                  ARKANSAS)
                    mailx -s "BFM Output" $ARUSER1 < $showfl;;
                  CONNECTICUT)
                    mailx -s "BFM Output" $CTUSER1 < $showfl;;
                  DC2)
                    mailx -s "BFM Output" $DCUSER3 < $showfl;;
                  GEORGIA)
                    mailx -s "BFM Output" $GAUSER1 < $showfl;;
                  INDIANA)
                    mailx -s "BFM Output" $INUSER1 $INUSER2 < $showfl;;
                  KANSAS)
                    mailx -s "BFM Output" $KSUSER1 $KSUSER2 < $showfl;;
                  KENTUCKY)
                    mailx -s "BFM Output" $KYUSER ...

i also faced this issue beacuse i am not restart my laptop i always shutdown. try to retart your pc then install it again see this will work for you or not

there are alot og videos availabe at youtube check out there you will find better solution.

check the task messenger which app use the more ram and cpu and if it then disable it if this will not fix your problem then scan the whole computer

quite bit a late but if someone else want to buy a budget laptop then i would suggest ASUS VivoBook F510UA.In the last couple of year asus imrpoved very much and produce a quality products at reasonable price. well i am not a big fan of Asus but all blogs like this one
https://guruverdict.com/best-gaming-laptops-under-500-dollars/ and many tech youtubes austin evan, Dev2d and many others likes it very much due to its sleek gesign and latest upgtradtions. Although there are few other options available as well but the majority is recommended ASUS VivoBook F510UA if you have a tight budget.

I would make sure the connections from the power supply to the motherboard are all good - it is easy to have a poor connection on the 24 pin port. Especially if it is the "split" 20/24 pin type. Also, make sure the CPU power connection is good and see if the GPU needs a power connection. It actually sounds like the power supply is not getting a "power good" signal from the motherboard. You can buy a power supply tester very cheaply ($20 or so) that plugs in and checks all the voltages and signals. So: 1. Check 24 pin connection, 2: Check CPU power connection, 3: Check for properly seated Video card and RAM, 4: Check for PCIE power connection, 5: IF none of this helps, Remove everything from Motherboard but RAM and CPU, test it, add expansion card back 1 at a time (Power OFF and UNPLUG before adding each card!) to see when it stops working.

Hi CorinthCom, the Galaxy Watch works with any Android phone (Android 5 upwards), and for that matter the iPhone (iOS 9 on) as well, but to get the best out of it you need to be using a Samsung device. The reason being that the watch runs on the same Tizen OS as the Samsung phones. That said, from what I can gather it's email and messaging that take the biggest hit - as in you can only get these apps on the watch if you are synced to a Samsung phone. You still get the notifications, but would have to go to your phone to access the actual messages.

Would you need a Samsung Galaxy phone for this, or will any other Android phone work?

I know a little about TVs in regards to USB sticks and drives.

First you have to dismiss the notion a Smart TV is anywhere near the capability of say Windows 3.0 from 1990. Many of these TVs are downright horrible and have issues like yours.

As to invisible files. Some may be the TV writing out where you paused or stopped viewing a video file so it can resume later.

It's possible you are using some Apple OS to do this click and drag. On FAT32 volumes you will indeed have a few extra files but if the TV maker did their job right these files should not show or interfere with playing video files.

Can you provide more information? For example. you don't drag files onto a USB any more than you drag files onto a serial or parallel. You drag them onto a device attached to a USB interface. What type of device are you using? How are the files being displayed on the TV? Are you using a USB memory stick? How is it formatted. If you are using a USB stick, how would you expect to delete the files without using a computer?

Hi there, when I click and drag files from afolder onto a USB to display on a TV (slideshow) I have to get someone on a PC to delete invisible copies of those files. What is that about? How can I do that myself without relying on a PC user and their PC. Thanks

My first smartwatch was pretty dumb, to be honest, and put me off the concept for many years to come: a Microsoft Spot.

Thanks for the review. My son has one of the Samsung smart watches and I'm not sure which but it may be the 2.0 model. He seems to like it.

My first "smart watch" was long ago with the PalmOS powered watch by I recall Fossil. Really appropriate maker given how long ago that was.
This beast of a watch required daily without fail charging.

I am in no way an expert on this but there was a time this was buggy in .NET 4.0. Also it would be somewhat useful to know what code the call threw at you. My bet is it was some "denied" code like 80005000 or such. You can find the bug in the old .NET with a google on just the word PrincipalOperationException.

As far as an (ugly?) workaround, this may be the time to use try and catch.

The second idea to try is run the app and command line with an elevated permission.

If I'm not asking this in the correct forum, please point me in the right direction.

I am using System.DirectoryServices.AccountManagement.GroupPrincipal FindByIdentity in C# to create an object containing the group members (user IDs and names) for the target group. My goal is to iterate through the resulting list of UserPrincipals and print the SamAccountName and DisplayName for each. For some target groups, this is working fine; for others it fails on a user (or perhaps more than one) that throws the following error:

System.DirectoryServices.AccountManagement.PrincipalOperationException HResult=0x80131501 Message=The specified directory service attribute or value does not exist.

When I use PowerShell’s Get-ADGroup to get the group object for one of the failing targets and iterate through it, there is no problem.

I’ve looked into the AD Group memberships and I believe the problem is that in some groups (those failing), some members may have been disabled, or may be part of a cross-domain trust. However, their status is of no consequence to me; I just want to list everything so the group owner can decide which members get migrated to new groups.

The method I am using is:

private static ArrayList EnumerateGroupMembers()
{
    ArrayList gmObjects = new ArrayList();
    string ldapVal = "DC=dc1,DC=dc2,DC=dcMain,DC=dcSecondary";
    string ldapDom = "dc1.dc2.dcMain.dcSecondary:389";

    PrincipalContext ctx = new PrincipalContext(ContextType.Domain, ldapDom, ldapVal);

    GroupPrincipal group = GroupPrincipal.FindByIdentity(ctx, "AD-GROUPNAME");

    if (group != null)
    {
        var users = group.GetMembers(true);

        //*** PrincipalOperationException occurs here ***
        foreach (UserPrincipal p in users)
        {
            Console.WriteLine(p.SamAccountName + ", " + p.DisplayName);
        }
        Console.WriteLine("Done");
        Console.ReadKey();
    }
    //*** Please note: ...

Confession time: I'm a born again smartwatch fan. I used to not see the point, and then somehow managed to buy a Samsung Gear S3 Frontier and everything changed. That this thing looked like a watch, had an innovative rotating bezel as an input control mechanism and worked so smoothly with my newly purchased Samsung Galaxy S8+ were the main reasons for that. Having been a very happy smartwatch bunny for the past 18 months or so, I was both interested and annoyed when the next-gen of the Samsung Gear watch family hit the market. I know, I know, there's always going to be something a little better just around the corner and 18 months is a long time in technology. My annoyance was more about the cost, especially as the S3 Frontier wasn't exactly cheap.

Then along came Black Friday which at least got me exploring the possibilities of upgrading to the new Galaxy Watch. I use the term upgrading purposefully as well; that's precisely what I ended up doing. The Black Friday deal, directly through the Samsung Shop online I should add, didn't discount the watch itself which was still £299 for the 46mm Bluetooth (non-4G) version I was interested in. Instead it threw the 'Duo' wireless charger that charges watch and phone together into deal. This was previously only available to pre-orders on launch so a good deal and a value of £89 for good measure. The real deal-sealer for me was the trade-in offered for my ...

Small world. I am working on making a new post about such an upgrade to old gear and did use the 1050 Ti. Here's a link to that successful upgrade: https://www.cnet.com/forums/post/3ef4c495-10ec-4348-8dc1-1322367b0f7f/

The PC in that discussion has only a 320 or so Watt PSU and is very old. I used a P3 Watt Meter to be sure I'm not stress this PSU. Turns out it was never an issue with the 1050 Ti.

As to your PC it looks like the usual home built so I'd start smaller with the motherboard on cardboard to see if you can get a BIOS screen.

As always before we upgrade such we bring the BIOS to its latest before we change GPUs.
Also, since it looks home built we find many folk installed too many motherboard mounting pins and short out the motherboard. Always check for that.

so i had bought a new graphics card and new powersupply for a pc tower my friend gave me. When I upgraded them both on my computer tower, i pluggged it in and now it wont start at all. Not even the fans turn on. The power button blinks like 3 times and then never does it again until i unplug it for a bit and then plug it back in. Ive been trying to fix it for months but nothings has worked.
I have 8gb ram
gtx 1050 ti
amd 6300 6 core proccessor
and 500watt power supply

Thank you all, the question is resolved

Fernando_14 commented: My application will run on PC without any additional software?

The application will start of course
You do not need to install or download anything!!
This is just one way to do it.

The difference between plus and minus has dozens of articles on the web. As to RW, you use that when you want to be able to erase and try again. I used that when testing how to make Video DVDs and then the -r or +r when I was ready to made media for distribution.

I have just installed a new DVD burner in my computer (a Pioneer DVD-RW DVR-105 internal drive) and am trying to figure out what kind of blank disks I should be using.

https://www.newegg.com/Product/Product.aspx?Item=N82E16834154900&ignorebbr=1

MSI GP63 15.6" 120Hz FHD GeForce GTX 1070 8GB VRAM Six-core Intel i7-8750H 16GB RAM 128GB SSD + 1TB HDD Windows 10 Home 64-Bit Gaming Laptop GP63 Leopard-428

It's listed at 1379USD and if you succeed with a rebate card the price is 1299USD. This shows prices are eroding fast.

Check this suggestions for Asus gaming laptop. The laptops recommended here are having good specs and have good display screen.
https://www.thecrazybuyers.com/best-asus-gaming-laptops/

@Camille_2

Just so you know, it's rare to find responders in 7+ year old discussions. You want the best help so here's how to get that.

  1. Use old or other discussions for ideas about your issue or problems.
  2. Create a new discussion so you get your discussion it's own platform.

In your new discussion you must supply the laptop make, model, age and the story or you just get asked for that rather than getting down to ideas.
If you can, for Windows PCs I like to check out the PC details with a Web Speccy report. How? Read https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web

I have a similar problem. My laptop freezes when I'm at work. It will work while I'm actively using it, but once I walk away for 5 minutes it freezes and I have to manually shut it down or it will restart on it's own. I don't know much about computers, but if anyone can help me out that would so great.