Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.

Share tech news, updates, or what's on your mind.

Sign up to Post

When I wanted to learn ASP or ASP.NET I obtained a MS hosting account.
I went to Bluehost to set up an account to learn PHP.

How would I go about this with Python?
: Client Connectivity  Failing  with CT-LIBRARY error:
        ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed

Open in new window

 Sybase instance in setup to run on port 5000 . netstat -a confirms that 5000 is listening .  Am able to connect to the server locally using isql  i.e from the server itself.  However, from any other outside client source the port looks closed. I have enabled the trace and have checked for the connectivity errors.

“Failed to connect to the server - Error is 10060 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Open in new window


Listener Status

1> sp_listener 'status'
2> go
         port                       …
I am looking to power down a domain controller that we are looking to decommission.  We want to turn it off to see if we can't find anything else that is connecting to it.  However, I see that some exchange servers have the default configuration domain controller set this DC that we want to power down.  I tried using the set-adserversettings but that didn't change the default.  I went into the EMC and set it to a static AD in the meantime but it still shows the default pointing to the DC we want to shut down.  In the server configuration, I went to properties of the exchange servers and can see all other domain controllers configured.  What is the best way to go about changing the default config DC?

Exchange Server 2010 SP1

I tried this article
I need to add grouping to this method:

        public JsonResult GetData(string variable1, string variable2, string variable3)
            string[] reportData = (from x in DB.GetDetails().ToList()
                            where x.field1 == variable1
                            && x.field2 == variable2
                            && x.field3 == variable3
                            select x.field4).ToArray();

            return Json(new { option = reportData });

Open in new window

I get duplicate values and need to group the data or add a Distince to the reportData.  I'm not sure how to go about this.  Thanks for any help!
I am implementing an Aironet deployment, and I am not sure if I am seeing unnatural instability... or if these things just "do" this sort of thing. My infrastructure is solid, and I am using two subnets- and My wireless devices will all exist on the subnet, so the access points are plugged in there, and I have also connected two of the ports on the WLC 3504 to the subnet. I have also connected the service port on our subnet, for a number of reasons I won't go into now. There is no DHCP server on the subnet, but there is one on, and the subnets are physically connected via Cisco 2901 router. The service port is configured at and the two other ports are statically set and Just letting things sit, I noticed the SSID's keep appearing and disappearing every few minutes and I consoled in to the AP to see this cycle:

[*08/13/2019 18:50:24.7198] AP has joined controller USMDWLC00
[*08/13/2019 18:50:24.7698] DOT11_DRV[0]: Stop Radio0
[*08/13/2019 18:50:24.7798] DOT11_DRV[0]: Start Radio0
[*08/13/2019 18:50:25.9294] DOT11_DRV[1]: Stop Radio1
[*08/13/2019 18:50:25.9394] DOT11_DRV[1]: Start Radio1
[*08/13/2019 18:50:27.3889] Password for user changed
[*08/13/2019 18:50:27.5989] save_on_failure is set to 1
[*08/13/2019 18:50:27.5989] save_on_failure is set to 1
[*08/13/2019 18:52:08.6904] Re-Tx Count=1, Max Re-Tx Value=5, …
We just upgraded to Exchange 16.  One problem we are having is when we go to recipients>groups, then double-click on a group to make some changes, nothing comes up in the popup except for "waiting for response from example.com".  If we go anywhere else in exchange, the popup windows opens up right away and everything works.  it's only in the groups section.  We have tried restarting exchange and running updates.  Still not working correctly  Any help would be greatly appreciated.
I've got a client who's running Bitnami Wordpress using AWS Lightsail.

When I go to the page, it's completely white. I thought this was pretty unusual behavior so I did some Google-Fu and found a known permissions issues that has to do with Group and Ownership.

This requires adjusting the ownership of the wp-config.php file, a normal file that should be located at the root of Wordpress.

It's not.

Which is frustrating.

When I locate it using this command: locate wp-config.php

I find it in a swap file form: e.g. 2COMPANYNAME.com/.wp-config.php.swp



How can I take that ".wp-config.php.swp" and move it to "~/apps/wordpress/htdocs", which is where index.php is for some reason and where I expected to find the "wp-config.php" file.

Thanks for your help.


Python: Moving files into folder based on excel spreadsheet.

I have a spreadsheet with the column that is the name of the folder (column A) and column B (the name of the file). The files in column B are not sorted into folders and I am trying to write a python script that will go through the list of files and move them into their designated folder. Below is what I have built so far:

import os
import shutil
import openpyxl

src = "S:\\Compliance Dept\\Vendor Management\\VCM\\VCM Attachments\\"
dst = "S:\\Compliance Dept\\Vendor Management\\VCM\\VCM Attachments\\"
exFile = "C:\\Users\\mfigur\\Desktop\\Attachments.xlsx"

wb = openpyxl.load_workbook(exFile)
sheet = wb.get_sheet_by_name ('Sheet1')
ven = sheet['A']
fil = sheet['B']

for cell in fil:
   folderName = cell.value
    os.path.join(src, folderName)
    print("\nFolder created in: ", os.path.join(src, folderName))

Open in new window

Also here is a screenshot of the folder structure.
We have a SonicWall 2650 with Content Filtering enabled to restrict website activity for those on the physical network and those on VPN. We are having problems with folks using their company devices to go to non-authorized sites when they are not on VPN or on the physical network. They are using a company-issued wireless device or their home ISP to gain internet access. It would be great if we can somehow force all of their traffic to go to our SonicWall for filtering without having to create a VPN connection (tends to slow things down on these machines).  Perhaps a proxy server (but only for external users since our internal users are already protected by the SonicWall?  Would it be best to install a third party product to block site access (would have to work on all possible browsers)? Maybe something else? Looking forward to your suggestions.
I normally use this site for system issues, but I have an urgent Excel text file issue that I need some quick, if possible, assistance with.  I run reports from our EMR system and those files are exported as CSV files.  I had my settings in Excel and in the Control Panel region to changed the comma delimited to pipe delimited.  I would export the files and then instead of saving the files as csv, I would save them as Unicode text.  It worked fine, until the EMR company changed the way the file was exported, they come down as tab delimited.  I can go in and manually change those files to comma delimited and then they use the pipe delimited format, but only for csv files; not the text files.  When I open the text files in the Notepad, the tabs are still there.  I have contacted the company to let them know, but unfortunately there is a language barrier that I am not able to communicate this in a way so that they can understand my issue.
The user would like all web traffic from all devices to go through what I'll call a privacy VPN connection.  They have a SonicWall Security Device as a router.  
I have set up VPN connections on the SonicWall
I have also set up Routing Policies

Is there a privacy VPN service that they could connect to?  

As I see it, a single connection from the SonicWall Router, along with a Routing Policy, would take care of providing privacy for all computers and devices.

My daily DB2 backups have gone from a couple of hours to 22 hours.  Here are the stats from my last backup.
Parallelism       = 5
Number of buffers = 10
Buffer size       = 3149824 (769 4kB pages)
                                                                               Compr     Retry       %   
BM#    Total      I/O      Compr     MsgQ      WaitQ      Buffers   MBytes    MBytes    MBytes     Retry 
---  --------  --------  --------  --------  --------    --------  --------  --------  --------  --------
000  82411.97   1657.43    296.71      0.00  78085.25        1899    174805     10502         5       0.1
001  82404.48   2133.06  13840.11      0.10      0.18      107275    380546    380340       347       0.1
002  82404.48    720.83   2260.55      0.00  72087.44        3334     57064     56920         5       0.0
003  82404.37    805.24   2539.45      0.00  69463.70        2247     77614     77537         0       0.0
004  82404.30   1864.22    285.66      0.00  77991.13        1657    178222      9018         4       0.1
---  --------  --------  --------  --------  --------    --------  --------  --------  --------  --------
TOT  412029.62   7180.80  19222.50      0.11  297627.73      116412    868252    534319       364       0.1

MC#    Total      I/O                MsgQ      WaitQ      Buffers   MBytes 
---  --------  --------            --------  --------    --------  --------
000  82411.81    294.56            82115.54      0.00      116413    349687

Open in new window

I'm having a "duh" moment and I need some advice.  I have a parent domain with 6 child domains and I'm adding a 2019 server to the parent domain that will be a DC.  I have run adprep on the parent domain and the domain functional level is at 2012 R2.  Do I also need to run adprep on the child domains or am I good to go ahead?
The user has a computer in his store, and a home computer that he needs to do a remote session with from time to time.

They have been using Go To My PC, but just received the renewal notice of $420 a year/$35 a month.

Is there a reliable alternative, even good shareware that they could use instead?

Computers on both ends are Windows 10
I am in the process of decomissioning one of my domain controllers.  It is a 2008 DC.  I have 3 other 2016 DCs.  I ran diagnostic on all three and it came back with no errors.  My Exchange 2010 server was showing as pointing to my 2008 DC.  I wanted to make sure it wasn't an issue for my exchange server when I decomissioned my 2008DC so I ran the following commands on my exchange server
Set-ExchangeServer -Identity <server_name> -StaticDomainControllers DC-01.dc.local,DC-02.dc.local


Set-ExchangeServer -Identity <server_name> -StaticGlobalCatalogs DC-01.dc.local,DC-02.dc.local

Then I rebooted the exchange server.  After reboot I could no longer remote into the server and mail was not working.  When I'm physically at the server, the network connections have a red x in them but I cannot access network connections to fix them.  It acts like it's opening them but even after 30 minutes the window is blank.  I tried to go into the Exchange PowerShell window so I could change the DC and GC back to the old server but it tells me it cannot connect to my Exchange Server
We had a hypervisor suffer a catastrophic failure over the weekend. Two drives in the same RAID-5 failed within minutes of each other, so all of the VHD's are gone and we have to go to backups. The last backup happened a few hours before the failure. Who knew the restore was going to be the nightmare? I am using BE 15, and having the most difficulty with the database restore. This backup is not a file backup- the file backup does not contain the database MDF and LDF's. I have to restore it by choosing the "Database Restore" option, not the file restore option in BE. When I restore the Master database, the SQL service goes down and will not start because the other files do not exist. It refuses to restore the other files that Master needs to start unless Master has been restored first. I must be doing something wrong. Any idea what it is? (Besides using BE in the first place?)
Hello, I am looking to upgrade our current wireless access. I am using several Cisco WAP321 access points. They work fine but tend to be slow. I would like to keep it simple as we really do not have the need for a sophisticated set up. I currently mange each access point individually and would like to keep it that way if possible. I have looked into some new ones and they require a management console or control centers. I would rather not go that direction if I don't have to. With WAP321's I simply connect directly to the device and configure it then just connect it to the network. I can then manage it through a browser. Are there any faster access points that I could set up the same way?

Thank you
HI Experts

I want to simplify the posting of the Good received note in ms access , the current position is that we have to select the purchase order from the parent grn form ,then in the grn detailline form you have to select the reflected order line one by one.

What is required here now is that when an order is select from a combo called CboOrder based from a parent form frmGRN, then what is in the subform sfrmGRNdetailline in a combo called ProductID must populate in the data sheet automatically

Example the parent combo hold the order number , so we want to be just selecting the order number and everything is populated in the data sheet


Any code to used will be highly appreciated otherwise selecting lines 1 by 1 is not the way to go


I'm trying to fix javascript I found here:

When I paste it from that form shown, it generates errors on my end. A lot of them.

If I inspect and go to console, it has this error. And I don't know if it's because of the single quotes being curly quotes or not. I tried with normal single quote and that didn't help.

Error is: Cannot read property 'appendChild' of null

            productEl.innerHTML = `<div class="product-image">
                                <img src="${item.imageUrl}" alt="${item.name}">
                             <div class="product-name"><span>Product:</span> ${
                             <div class="product-description"><span>Description:</span> ${
                             <div class="product-price"><span>Price:</span> ${
            } $</div>
                             <div class="product-add-to-cart">
                               <a href="#0" class="button see-more">More Details</a>
                               <a href="#0" class="button add-to-cart" data-id=${
            }>Add to Cart</a>


Open in new window

I have a full Windows Image Backup of a server running 2008 Standard. I need to create a virtual machine (hyper-v) from this backup. I have done this before, but I can't remember what I did. I know boot up with an ISO and go into system restore, but once I get there I cannot access the USB media that contains the backup. Any suggestions!?

The server im trying to restore was a standalone server.
We are setting up SPF, DKIM, and DMARC for our domains but just wanted to get some clarification on the best options to set for each scan result:
none, neutral, softfail, hardfail, permerror, temperror

So basically wanting to know which is the best option?
From reading it seems that HardFail would be the way to go but just wanted some insight for these settings and what is the best practice for them to set them up?
I have been asked to setup email for a new company that has outsourced the building of their website.  The website company has not fully configured the new domain of my new company and has asked me if I could go ahead and create the desired email accounts with the DNS method??  I am not a network person and don't have the experience to do this, if it is possible.  Can anyone tell me how you setup new email accounts without using a C-panel or hosting company and by utilizing DNS?  Thank you very much!

Please let me know if you require any additional information from me.  Thank you
I'd like to disable netbios

I set
HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces\ {GUID OF NIC} \NetbiosOptions = 2

for each NIC on my domain controllers and restarted.

this can also be done by powershell script
$key = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces"
Get-ChildItem $key |
foreach { Set-ItemProperty -Path "$key\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose}

$key = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces"

Open in new window

then removed netbios option on DHCP Scopes.

Now I'd like to create a GPO to disable "TCP/IP NetBIOS Helper" service as well as "NetBt" service as a test on some devices according to this

However, only the NetBT service does not appear in the list of services in order to add this one to a new GPO.  There is no display name for this service, however CLI responds appropriately when you Net Stop NetBT or set to disable via  sc config netbt start= disabled

I would rather just choose the service and disable it using the settings listed for group policy without scripting it, however this would appear to be impossible because NetBT is not listed.  Go to any machine and try finding it.  Why isn't it there?  permissions?
Client has an HP LaserJet 400 that is an EcoSMART model. It will go to sleep/Auto off after 15, 30, 45, 60 minutes. We have it the 1 hour setting and it is supposed to Wake on These Events:
Lan Job
Control Panel
But it does not.
Is there any way of turning off this feature?
This printer is used to print out pick lists from IFS and the way the system is configured, if the printer is sleeping, the job is dropped. Once it is dropped, it cannot be recreated. We did not have this problem several months ago. Could there have been a firmware or driver update that caused this to happen?

Main issue is to get it back to where it won't sleep and will stay on all the time.
Is there a way to change the paper size printing for for POS which is already in Ms Access run-time , as at now I find difficult to manually go back to Ms Access developmental mode and change the paper size manually save before compiling the software in Ms access run-time. This method is not good because the paper size will always keep on changing , can you imagine each time the users change the paper size again you have to recall back the software and do the changes manually?.

Kindly assist








Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.