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

Hey Experts.  Running into a situation that is just defying logic, so I know it's time to bring in the pro's.

This is on a Windows 10 ENT test box.  Using a GP, I'm deploying a defaultapps.xml file for many of the apps we have on that Win 10 PC and for all but one file association, the file associations match the defaultapps.xml.

The one that isn't getting set is with .ps1.  Here is the code that I am using in that xml file for Powershell:

<Association Identifier=".ps1" ProgId="Applications\powershell.exe" ApplicationName="Windows PowerShell" />

Open in new window

When I run gpupdate /force on that PC, it runs successfully.  I use cmd /c assoc .ps1 to see if .ps1 is associated with PowerShell and it shows it is.  When I go to Default Apps > file extension, .ps1 shows Notepad.  However when I browse to a directory where there are .ps1 files, the icon next to a powershell script has the notepad icon and if I open it, the script opens with Notepad.

I'm at a loss for trying to get .ps1 files to open with PowerShell.  Can anyone offer any insight into this?  I would appreciate your help and time.
Become a Certified Penetration Testing Engineer
LVL 13
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Hi All;

Im having the same error messages when sending data and receiving Json string using RS 232, before I start working on the gadget I want a second eye to  take a look on the code below, please  note the following :

9600 baud is converted to 64 bytes

All the  two codes for sending & receiving as well as for converting received data are called from the main code that has the data for sending since once the data is received by the gadget then the gadget is supposed to send a signature back instantly.

Receiving code

Private Sub CmdTaxReceive_Click()
Dim strData As String
Dim lngStatus As Long
Dim strError As String
Dim intPortID As Integer
' Read maximum of 64 bytes from serial port.
    lngStatus = CommRead(intPortID, strData, 64)

If lngStatus > 0 Then
        ' Process data.
 ElseIf lngStatus < 0 Then
      lngStatus = CommGetError(strError)
      MsgBox "COM Error: " & strError
    End If
    lngStatus = CommFlush(intPortID)
    If lngStatus <> 0 Then
      lngStatus = CommGetError(strError)
      MsgBox "COM Error: " & strError
    End If
' Reset modem control lines.
    lngStatus = CommSetLine(intPortID, LINE_RTS, False)
    lngStatus = CommSetLine(intPortID, LINE_DTR, False)
 ' Close communications.
    Call CommClose(intPortID)

End Sub

Open in new window

Sending code

Private Sub CmdSendTax_Click()
Dim intPortID As Integer ' Ex. 1, 2, 3, 4 for COM1 - COM4
    Dim lngStatus As Long
    Dim strError  As String
    Dim strData   As String
    Dim lngSize As Long

    ' Initialize Communications
    lngStatus = CommOpen(intPortID, "COM" & CStr(intPortID), _
        "baud=9600 parity=N data=8 stop=1")
    If lngStatus <> 0 Then
    ' Handle error.
        lngStatus = CommGetError(strError)
    MsgBox "COM Error: " & strError
    End If
    ' Set modem control lines.
    lngStatus = CommSetLine(intPortID, LINE_RTS, True)
    lngStatus = CommSetLine(intPortID, LINE_DTR, True)

    ' Write data to serial port.
    lngSize = Len(strData)
    lngStatus = CommWrite(intPortID, strData)
    If lngStatus <> lngSize Then
    ' Handle error.
    End If
End Sub

Open in new window

Calling them on the same form but on the main code

Call CmdTaxReceive_Click
Call CmdSendTax_Click
Call CmdEmp_Click

Open in new window

Where do I go wrong????



I have a cloud server where I am hosting a website. It is a Windows Server 2012 R2. Recently I noticed a message in my account control panel saying something like this:

"CRITICAL NETWORK - 384 kbit/s received       12.11 MBit/s transfered"

This is the first time I received a message like this. The server has been operating since 2015.
I am not a network administrator so I do not really know how to proceed. So, I will very much appreciate any support/help you can provide to find out what is going on.

I had watched the Network Activity in Task Manager and I am attaching a screenshot just as a reference. Maybe I need to go over log files but I a not sure which ones are the correct to review and how to proceed.

For example, I watched the System log and I see error entries like this:

"A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 10. The Windows SChannel error state is 1203."

I found the error below in the Administrative Events log:

"The RD Session Host server received large number of incomplete connections.  The system may be under attack."

Something I should say is that I use Remote Desktop to connect to my cloud server.

Task Manager Network Activity Screenshot
Jorge Maldonado
- Does anyone have the step by step for doing this upgrade?

I have done a decent amount of reading, but if anyone has a checklist/ what they did I would greatly appreciate you sharing.

Current environment- Windows 2008 R2 with Exchange 2010
Ideally I would like to go to Windows 2019 with Exchange 2019, however I know that will take a 2 step upgrade so I would at least settle to go to Server 2019 with Exchange 2016.

Thanks in advance!
When users visit a website hosted on a virtual server at a client site, they are getting a Error and have to refresh the page. 2019-10-10_13h25_26.png
If I select the URL in the toolbar, and hit enter, the page refreshes and it comes up. but then I click on a menu option and it will then time out with the same error unless I hit the uRL and press enter to refresh the page. I have to do this every time I move from one link to another.

The server the site is on is Server 2016.
IIS is where the site is hosted.

I don't see any security updates with Microsoft that could be causing this block. The support entity told me to uninstall a specific security patch that isn't installed. So not sure where to go.
Hi, in the Xcode IDE for javascript,

How do I setup this example code correctly?
This example will get me going full speed ahead..
ie, what do I name the html section and the javascript section? (labeled "the code used is:")
and do I copy the entire code section into its own file? Separate would be better.
Also, there is no <script...> code to link the code into the HTML
Should I add that anywhere before?
where it says, "the HTML markup is:"

Also..What else must be done to get this working? What are some exploitable mistakes I can make? How do coders make it simple to code swipe games w/o using a phone for test?
Link the mouse in to the swiping? How?
Can you see the PNG's for the arrow pics?
The code first example page is here

Maybe this page is better? here

Hello experts - We recently had a major problem with our internet provider (Broadview) and have been down for more than 30 days.  I'm looking to switch providers but don't know where to start.  Broadview's service had been purchased through a VAR which I'd also like to get away from.  Where can I go to find out who can provide dedicated business internet service with 10 public IPs for us in my area?  I've already tried FIOS and they are not available at two of the three sites I need to connect.  I've got Comcast/Optimum as my failover already setup and need to find a primary, preferably with 100mb service.

I have to build an Access for that will allow a user to browse up to 6 photos.
The paths of these photos will be stored in a table field.
I am looking for an example of managing photos in this way with some VBA code to go with it.

I am not an MS Access person.  I have a 3800 row spreadsheet that I want to get into MS SQL, however, I want to see if the vision is correct before I go to the trouble.  I have the spreadsheet imported into Access.  No problem.  I created an entry form to add new ones.  I believe.  I would like the form to do a couple of things and am not sure if it's possible.  What I'd like to have happen:
User opens database and gets form.
User enters an account number.  If the number is already in the table, the form is auto-populated with the information from the table allowing the user to change and update any of the fields, as needed.  If the account number is not in the table, the user completes the form and the record is added to the table based on a field that is also populated on the form.  An example of this is account number 1234 is not present in the table.  The form remains blank.  All information is entered into the form.  One of the fields is a store location.  Instead of adding the record to the table at the bottom, it append the record to its specific location.  So if we have locations 1-12 and account 1234 is serviced out of store 5, the record does not got to the bottom of 12, but is inserted somewhere with the 5's.

Is this even possible? And if I get it to work in Access, can I import and have the same functionality in MSSql?
Say, I have an android Black Berry Key one with Google Backups enabled. I'm after restoring a backup of my call logs from 5 months ago.
How do I go about this? tx Shaun
OWASP Proactive Controls
LVL 13
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

A friend had a medical event last week and the pastor sent a text message to me and 6 others. I never got the original text asking us to pray for the guy. I only got the reply message sent to the pastor by three of the 6 others. When I go to the message it gives me the pastors phone number and half the phone number of one of the others. I'm not finding a way to see who the others are since if I reply they all will get my messages. i'd like to know who the others are. It's a ZTE phone. There are very tiny icons for each of the 6 people but no access I see to their phone number or name. I don't want to send text to a group of 6 when I don't know who they all are. Any ideas without having to ask who the other 6 are? Because the pastor won't reveal that. We all are in his address book or contact list and he sends out messages that are of interest to all of us. Thanks.
Hello the experts !

I got this little macro I use on horizontal plannings to go to today cell

Sub GoToToday()
'On déverrouille la feuille, on se positionne
'Puis on va chercher la cellule qui contient la date du jour et on la sélectionne
    For Each Cell In ActiveSheet.Range("Y3:PG3")
    If Cell.Value = [Today()] Then
    End If
End Sub

Works perfectly fine

But I need something more from this macro today, I would like to check if the "today" cell is part of a grouped range and if it is, ungroup this range (without clearing the outline, just expand and leave it that way)

Your help is very welcome !

Kind regards,

After this major update many apps like calculator, photos, snip & sketch open partially then just go away. I've searched for a solution to no avail. Any help would be appreciated.
Hi There,
We are testing our new website on Test environment , Couple pages on it uses angular 8  and the images on it is not displaying  when we go to our test website from within our organization, when we check from outside our network it works fine.

We do use OpenDNS to block certain category of web, so if we change our dns to use google public dns the test website displays the images correctly. We did try to disable OpenDNS still the web site doesn't display the images. So something internal when we use our DNS is blocking it.
Till we figure this completely,  is there a way inside our network where we can adjust the host file  or something so only for this particular website which we know is safe we can default it to use the dns server and all other request go through our DNS server which basically gets forwarded to OpenDns.

so for example anybody inside our networks look for www.example.com should be the dns server that should resolve it, any other website should go through our DNS.
I will appreciate anybody has any idea if we could do that and if so how..
This one customer has a single Cisco Meraki MR32. Now he needs better coverage. I am no wireless guru but I guess the reason they got this was because they need multiple SSIDs and the killer..... the option to isolate every wireless client from each other so no one can see any other devices. They are probably going to need a total of three Access Points to give them good coverage so I guess I need either a repeater/booster for their existing one or need to go to another manufacture that makes access points that have these capabilities.
I just setup a 2019 standard server and created the first VM guest.  When I go to connect to that guest in hyper-v manager, the display window is larger than the screen.  Both the host and guest instance are set for 1024x768.  I do not have the option to grab any of the borders of the window to drag and make the window smaller.  This should be straight forward.
Im using php but i have a problem, when allowing user to create a list they adding charaters they shouldnt, here is a list i collected below

. ; / ? ! " @ $ ()

how can i make sure non of these enter the database in one go instead of mutiple find and replaces ?

I have been asked to provide functionality for an Access database that allows users to change the images and label text on a form. What is the best way to go about this?

I would like to know if anyone can help me configure in a easy to understand steps how the Adblock app works? I have it installed on my Chrome browser as an extension. I am having every time to click RELOAD in order to block the ADS, it works fine for that particular page but once I go to another Tab or Window , the ADS are back again. I want to know an easy and simple fix to block the ADS before I navigate to a given website if it's possible or once I am there to block the ADS for once and for all for future access to that website? I am open for other alternatives/recommendations from the Experts as long as it is  to easy and simple apps to use to block the ADS.

Thank you,

Exploring ASP.NET Core: Fundamentals
LVL 13
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Good afternoon everyone.   I was wondering if anyone had any experience using the My Fax application.   Currently one of our customer is using the service to send outbound faxes directly from their EMR application.   The majority of the fax numbers associated with the EMR application they send to are coming through without a problem.   There is one fax number (which I believe to be an analog line) when sending , the EMR application shows the fax sends and completes the send however only partial pages are coming through.   This is only happening with 1 fax line out of the rest.   According to the vendor they did state this.

"Good afternoon. Pls note that this change reflects ALL faxes sent. In our experience, this raises a few additional issues:
1) Additional Support Calls in to our team as to why the failed confirmations are delayed (ie could take up to 30 minutes to produce a failed confirmation)
2) If the line we are dialing is of poor quality and cuts off multiple times mid transmission, we will still try multiple times to deliver that fax meaning that they would receive partial faxes…."

Where specifically can I look to find out where the break is happening?   Is there a way to verify if the line quality is poor?  Or if not, and the fax is making it to the destination could the drop happen on the way they are processing the inbound transmission on their end?

Here is some additional information from the vendor..

I have investigated and tested the number …
I want to send the data from Ms Access VBA/Json to a general website which does not require authorisation, but the data does not go there below is my "POST" method:

Option Compare Database
Option Explicit
Private Sub CmdSales_Click()
'  Const SQL_SELECT As String = "SELECT * FROM Qry1;"
  Dim http As Object
  Dim coll As VBA.Collection
  Dim dict As Scripting.Dictionary
  Dim db As DAO.Database
  Dim rs As DAO.Recordset
  Dim fld As DAO.Field
  Dim qdf As DAO.QueryDef
  Dim prm As DAO.Parameter
  Set http = CreateObject("MSXML2.XMLHTTP")
  http.Open "POST", "http://jsonplaceholder.typicode.com/invoices,False"
  http.setRequestHeader "Content-Type", "application/Json"
  http.send ConvertToJson(coll, Whitespace:=3)
  Set db = CurrentDb
  Set qdf = db.QueryDefs("Qry1")
For Each prm In qdf.Parameters
    prm = Eval(prm.Name)
Next prm
Set rs = qdf.OpenRecordset()

Set qdf = Nothing
  Set coll = New VBA.Collection
'  Set db = CurrentDb
'  Set rs = db.OpenRecordset(SQL_SELECT, dbOpenSnapshot)
  If Not rs.BOF And Not rs.EOF Then
    Do While Not rs.EOF
      Set dict = New Scripting.Dictionary
      For Each fld In rs.fields
        dict.Add fld.Name, rs.fields(fld.Name).Value
      Next fld

      coll.Add dict
  End If

  Set fld = Nothing
  Set rs = Nothing
  Set db = Nothing
  Set dict = Nothing
  MsgBox "Post Success"
  Set coll = Nothing
End Sub

Open in new window

Just also in case of the username/password required where do I put it in the code above?


I am attempting to setup bitlocker network unlock for some of the laptop in the company.
I have a offline root and subordinate CA.  When I request a certificate on the WDS/Bitlocker server the issued certificate list the requesting computer as the issuing computer and does not trust the certificate because its not in the root CA.  I dont understand why this is happening I have to go to the subordinate CA to approve the request and after that the certificate does not show up in the personal certificate store but under the active directory user store.  Any ideas?
I need to create several hundred email addresses. I would prefer to create Google accounts and use the Gmail addresses. These need to be free accounts and not G Suite for Business accounts.

These are not for spamming or scamming. Rather, we are a non-profit organization configuring several hundred Kindle devices for students in remote areas around the world. To do this, we need to create hundreds of Amazon accounts using hundreds of unique email addresses. While the creation of the Amazon accounts will be laborious, I think I can do it. We will configure one device per Amazon account, and each account will purchase 60 books. I would like to use Gmail addresses/Google accounts for email, as I am not yet sure if we will be using Kindle, Kindle Fire, or the Kindle app on an Android tablet. If we go with the app, then we will need to use Google Play, which will require a Google Account.

Once each device is loaded and configured, the email/Gmail/Google account as well as the Amazon account (and loaded device) will be handed over to the end user who will take ownership of the Amazon and Google account. We will be providing these as gifts; we are not reselling accounts and devices.

What is the best way to create many Google accounts without raising red flags? In the end, we need around 250 accounts. We don't need to create them all at once.
Hi Experts,

What's the best practice of moving an on-premises, non-mail enabled public folder contacts and calendars to O365?
This will be a hybrid migration and we'd like to decommission the PFs as a part of the project. We're aware that they'd be accessible for online users during the hybrid, but that's not an option here.

Is shared mailbox for each PF a way to go or?
What's the easiest way to migrate?

Thank you

I'm sure this is a minor issue compared to what some might be asking, but I was wondering if it's possible to have my 'recent colours' saved to 'theme colours' or 'standard colours' in an email. Every time I shut Outlook down, I then have to go back in and reselect the colour I want to use because it is not a default in either the theme or standard colours.

I know this isn't anything major, but it would be nice to not have to do that every time I start up Outlook.

I am using Office 203, 2016 and 365.






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.