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

Hi! I have a Crosstab showing the totals of my companies at my report footer. The problem is: I don't want the crosstab to be cut in half at the end of the paper, and to throw the rest of the information to next page. Is there anyway for me to set the cross tab to go to the other page automatically?

Thanks in advance
Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I have a piece of code that someone gave me for a Teradata report I am working on but have been unable to reach them for a question. I have never used an if, then and else in my queries so I am not sure how to apply this code. Would it go in the Select statement or the Where Clause and is the format correct or does it need ( )

Option Compare Database

Dim RS As ADODB.Recordset

Private Sub Form_Load()
Dim RS As ADODB.Recordset

Set RS = New ADODB.Recordset
RS.Open Me.RecordSource, CurrentProject.Connection, adOpenStatic, adLockOptimistic
If RS.RecordCount = 0 Then
    MsgBox "There are no existing records to edit! Please go to the add form to create some!"
End If

End Sub

I get error messgae user defined type not defined?
I have a probook 4530s laptop which we use for displaying security cameras on an external screen using HDMI cable. The issue is that the laptop seems to go into hibernate on its own after a while. I tried to check the settings and set it to never dim the display nor go to sleep whether on battery or power. Also i set to nothing when the power button is pressed.

Please advise how do I stop it from going into hibernate or sleep on its own.
My managers have pointed out to me when they go look at old emails they sent to distribution groups, its updated with the current distro group and not who they actually sent it to. Is there a setting to toggle so that it doesn't show updated information. For example a manager was disputing an email he sent to an employee that is no longer a member of the distro but when he went to show the employees name on the email as proof, it showed the updated list so their name wasnt included. I know ultimately, I could go in and run discovery but just wondering if there was something to toggle on the back end for my managers.
what does this mean Warning: number_format() expects parameter 1 to be double, string given in /home/fmptrcom/public_html/scripts/includes/show_minimum_payout.inc.php on line 7
I have a csv file with two columms of first names and lastname . I need to use a powershell to to go thru AD and pull into an exported csv file the results for each user  = samaaccount name, email , and display name. also there is one unique thing here , in order to get the correct name a match by last name needs to occur because I don't need to get all the , for example  smiths in the org , if the first name is joe smith in the csv I need to get joe smith and not Josephine smith
I have local exchange 2013 CU18 servers set up as a SMTP server.  I have set up a send connector to go to a smart host.  This works fine.  But I need to make sure emails coming from other systems inside of the domain are using an authoritative domain to send email via my SMTP servers.  I know I can set up another send connector using MX records, but I have to have all emails go out my smart host.  

Dear expert

I would like to improve code below. Right now if I don't write anything inside $Path and $String it will return a error message:
FindPattern : Cannot validate argument on parameter 'Path'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Now I would like to add a if statement inside like this way: if ($Path -Or $String = $null) {$response}
Simply if variable $Path or $String is empty, go to do statement below or go to variable $response. Now I don't know if Im right about the statement or the execution with $response after but i need help with: where I put this if statement at best? And how will I write?


Function FindPattern {
	[Parameter(Position=0, Mandatory=$True)][ValidateNotNullOrEmpty()]
	[Parameter(Position=1, Mandatory=$True)][ValidateNotNullOrEmpty()]
	$Script:Results = $false
	Get-ChildItem -Path $Path -Recurse -File |
		Select-String -Pattern $String |
		Select-Object -Property Path, LineNumber, @{n='LWT'; e={
			Write-Progress -Activity "Searching for '$($Path)'" -Status $_.Path
			(Get-Item -Path $_.Path).LastWriteTime
			$Script:Results = $true
	If (-not $Script:Results) {
		Write-Host "Cannot find '$($String)' under '$($Path)'"
	Write-Progress -Activity 'Done' -Status 'Done' -Completed

Do {
	$response = Read-Host 'Search again?'
} Until ($response -ne 'Yes')

Open in new window

In SharePoint Custom Code I am trying to add the following:

<a href="gov_finance.aspx?ID={@RETID}&SOURCE=gov_finance.aspx?ID={@RETID}">
Which gives me a correlation error trying to load page

<a href="gov_finance.aspx?ID={@RETID}">
Without SOURCE works fine... How do I pass a source so my page knows where to go after submit?
Upgrade your Question Security!
LVL 12
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

In Outlook 2007 when I try to open an excel attachment it does not open. To get it working, i have to go to excel settings and then remove the check on " Ignore other applications that use Dynamic Data Exchange (DDE)” . Is there a way we can get rid of this option being enabled.
Greetings, I am unable to move beyond a black screen with cursor on two computers.  This occurred on on both computers in the past two weeks. Recovery efforts such as automatic repair, startup repair, system restore, sfc /scannow, and back to previous build will not resolve the problem.  I did not go back as far as Restore to factory image. The drives are readable and files can be retrieved on another computer through a USB adapter. System OS is Windows 10 Pro.  I thought it might be related to a MS update. I tried the DISM get-package command but did not see an update around the same time period. Has anyone seen this issue and have a recommendation? Thank you, David
Microsoft Word 2013/2016 cursor/arrow down does not always go to the end of the line.  Over time, I've noticed when creating templates (more like just word documents) that when there is a form like this:
Patient Name:
Chief Complaint:
and after typing in the patient name (or using Dragon Naturally speaking) and you arrow down, it will go to the end of the line generally.  However, if the next line, like Chief Complaint: is longer, it will just move the cursor to the middle of the word and not the end of the line.  Is there a way to always have the cursor when arrow'd down to go to the end of the line without the juse of the End key afterwards?

Thank you,
Hi Experts,

I am Nar Singh from India (Delhi). I have a question. I wanna highlight Max Values columns wise by VBA Code. Like I have a table and 5 columns in every columns values are given.
when I run macro It highlight first max value of first column with any color. After that go to next column and highlight max value of this column and than next column, next column.........next column.

Thanks & Regards
Nar Singh
I use a Epson WF 7620 printer. When I scan a document (8x11) , I usually save for printing. When I go to print, the printer program is showing the document as being 8.3x11.7 size. That being said ,when i print im getting lines,the print is smaller, this is frustrating if im printing scanned forms.I see the lines in the print preview.test120180223.pdfThe copy isnt the same size as the original because of the lines that appear. Could the issue be that the AFD is out of "timing" with the scanner? Could it be the scanner is out of alighnment. If so can these things be adjusted? I include a picture of a scanned test sheet that shows the lines. I also noticed that the documents arent feeding into the scanner "square", they are always a little crooked.
have a problem with yahoo blocking my advertiser form sending my leads to my aol account was told tp go to postmaster.aol.com but a warning pops up that that site is a problem my e mail is contendermachine@aol.com and my other e mail being send from dubizzle going to chuck@americanboatsinternetional.com. waiting on your response.
Thanks chuck

Error Icon
Message blocked
Your message to contendermachine@aol.com has been blocked. See technical details below for more information.
Warning This link will take you to a third-party site
The response from the remote server was:
554 5.7.9 Message not accepted for policy reasons. See https://help.yahoo.com/kb/postmaster/SLN7253.html

Reporting-MTA: dns; googlemail.com
Received-From-MTA: dns; customersupport@dubizzle.com
Arrival-Date: Wed, 21 Feb 2018 20:02:28 -0800 (PST)
X-Original-Message-ID: <YDLOG22MVV_5a8e40d1963c6_76023fc8536cb9881560fb_sprut@zendesk.com>

Final-Recipient: rfc822; contendermachine@aol.com
Action: failed
Status: 5.7.9
Remote-MTA: dns; mx-aol.mail.gm0.yahoodns.net. (, the server for
the domain aol.com.)
Diagnostic-Code: smtp; 554 5.7.9 Message not accepted for policy reasons.  See https://help.yahoo.com/kb/postmaster/SLN7253.html
Last-Attempt-Date: Wed, 21 Feb 2018 20:02:29 -0800 (PST)

From: dubizzle Support <customersupport@dubizzle.com>
Subject: Request #1430307: How would you rate the support you received?
Date: February 21, 2018 at 11:02:26 PM EST
To: …
Hi, If I take a photo from my android One Note and have it to go my computer, sometimes shows up on the computer as an x.  It shows on the android fine.  it's happens about 30 percent of the time.

Thanks all.
Clock.JPGIf you wish to add seconds on your computers clock in the task bar, you may find this helpful when you are measuring how long a certain task take, do the following; open the registry [run/regedit] go to Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced create a new DWORD value, name it ShowSecondsInSystemClock set the value to 1, restart.
LVL 15

Expert Comment

by:Andrew Leniart
Nice tip Abraham. Didn't know that one.
We have 3 domains (not child) and I have been trying to remove one of them (not root) to get us down to the 2 we use. This domain I am trying to remove used to hold many child domains under it, and they were all removed properly....except for one it seems. When I try to demote the server, it starts all checks, passes, and then reaches this point (according to the logs)

02/12/2018 10:41:36 [INFO] Uninstalling the Directory Service
02/12/2018 10:41:36 [INFO] Invoking NtdsDemote
02/12/2018 10:41:36 [INFO] Preparing the security account manager (SAM) and Active Directory Domain Services for demotion...
02/12/2018 10:41:36 [INFO] Validating the removal of this Active Directory Domain Controller...
02/12/2018 10:41:36 [INFO] Error - Active Directory Domain Services could not be removed on this Active Directory Domain Controller because this is the last AD DC in the domain, and the domain has a child directory partition DC=OldChildDomain,DC=ThisDomain,DC=Com. (8398)
02/12/2018 10:41:36 [INFO] NtdsDemote returned 8398
02/12/2018 10:41:36 [INFO] DsRolepDemoteDs returned 8398
02/12/2018 10:41:36 Failed to demote the directory service (8398)

I cant find this child domain anywhere....not in ntdsutil, not in ADSI edit...the onl;y reference I ever found to this old domain was in the attributes of the domain itself (right click domain name and go to properties --> attributes tab) and it was under the "subrefs" attribute.
Free Tool: Path Explorer
LVL 12
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

When you go on to Control Panel and Windows Firewall you see three. 1) Domain Networks 2) Private Networks and 3) Guest/Public Networks

When you go in to GPEDIT=Computer Configuration=Administrative Templates=Network=NetworkConnections=Windows Firewall you only see two 1) Domain Profile and 2) Standard Profile. Obviously there is a one to one correlation on the Domain Profile but what does the "Standard Profile" control  with respect to Private Networks and Guest/Public Networks?
I'm helping a client (about 15 users)  start putting all their company data on centralized storage for file sharing and backup purposes.  They have an in-house app server (no AD) and NAS box, the latter of which has plenty of space for their data storage.   Am wondering whether to go with a mapped-drive scenario or just put them on Sharefile via Office 365?  Thanks for your input.
I am new to running vba in OutLook 2016, but was wondering if there is a way to run a vba macro on the body of an email prior to sending?

I have multiple areas within the body of a template email that have date fields in them and I would like to add Today+1 in those fields.


I would like the macro to find the text string in the body of the email and insert the date for us.  In the first example it would be Today+1 or current date+1 and in the second one Today+2

Is this possible and if so, how would I go about this?  Please advise and thanks.
How do you Switch Views within the same Child Frame?  C++ VS2018 15.5.6  I am using the MFC Doc/View Architecture.  I can create new 7 document, as programed.  I have seen several different code examples for do it within the Main Frame, however not within the Child Frame class.  I have created several different CView based classes.  I have added the #include(s) for them in the App.h file header, and this header is included in the ChildFm.cpp file.  It shows up OK as far as Intellisense is concerned.  
// ChildFrm.cpp : implementation of the CChildFrame class
#include "stdafx.h"
#include "TCPG.h"
#ifdef _DEBUG
#define new DEBUG_NEW

// CChildFrame
      ON_COMMAND(ID_VIEW_PLAYERVIEW, &CChildFrame::OnViewPlayerview)
      ON_COMMAND(ID_VIEW_QUESTIONVIEW, &CChildFrame::OnViewQuestionview)
      ON_COMMAND(ID_VIEW_LAYOUTVIEW, &CChildFrame::OnViewLayoutview)
      ON_COMMAND(ID_VIEW_YOURREADING, &CChildFrame::OnViewYourreading)
These are the function declarations for switching the views.  The empty bodies are in the .cpp file.
And all of it compiles OK at this point.  Each view class is filled with all of the necessaries for that class, and works with the CDocument class.
Yet ...  when I add
// ChildFrm.h : interface of the CChildFrame class
#pragma once

class CChildFrame : public CMDIChildWndEx
Malware removal and tools.  For several years Malwarebytes, gmer, autoruns, TDSSKiller, process explorer, and HJT were my go to tools for malware removal.  As of recently, it seems like Malwarebytes isn't catching as much as it used to and I was curious what are the top tools and order of progression in using them?
Its probably so simple for someone who knows
Here's the thing.  I run my service business schedule through outlook calendar.  Works really well.  I don't set each service call up as an allotted time, I just set each one up as an "all Day event", and that way they show clearly on the view, one under the other when I am looking at the days work, be it from weekly or monthly view etc.  Now that is all besides the point, except that this means each of those entries has been put in there as a recurring all day event.  It is no problem, as I print off the calendar for the day and can see all the jobs and then we just work out ourselves what time frame we will go where.  Now, my issue/problem is this:
The customer asks "when is my next visit?"    So I go into my calendar and do a search under their name, and good as gold up pops their appointment.  Now that is fine, but it only pops up the first one or what you might call the main one, and it says "Occurs every 4 weeks on a Tuesday starting Tues (date)..."   but what I need, is that when I search for 10 Batty Road, Big Freeway Town, it will bring up ALL the scheduled visits, not just the main one that says every 4 weeks starting etc.  I need it to show up a list of them, so we can see the one for the next time, and the time after that etc.  So the list should show the first one on the starting date, and then it should also show the one that is 4 weeks later, as well, and the next and so on, or give me a date range to put in.  So …






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.

Top Experts In