Golang

145

Solutions

404

Contributors

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

Dear Verizon,
     I had a cell phone that did get kind of damp, so that did put it out of use. (Question: Do you know of ANY way to bring it back into use?)
     Now I did find this older model (Verizon (and I have been a Verizon customer for several years)) that did still works, so I am using it at the moment. When I did go to the Columbia, Maryland office (it's at 6480 Dobbin Center) and they said that they didn't have the proper tools - cable-S - ?? to move the phone No. from the cell phone (my older one that works) to a smart type phone that I now have. The older phones Model is: BST195ASE (it looks like that (small digits) and VZW: SAM650BATS. Since I am a Verizon customer it would seem logical that if they don't have one in-house they could get one from headquarters. HMMM ? ? ? ? I was told that it was a phone that was maybe eight years old. HMMM ? ? ? ? Do you have the proper equipment or ?? ***REMOVED BY MIT***
     Have a Good Day,
John Hamilton
0
Announcing the Most Valuable Experts of 2016
LVL 6
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

I have a situation where if I open a group in AD, go to the members tab then click add and type a user's name, the user is not found when I click Check Names or OK.  If I type the first letter of their first or last name and click check names I see everyone with that letter beginning their name, but not the effected user.  This is a single domain environment, and I have selected the root of the domain under for this location as well as the OU where the user account is located and I have checked every option under Select this object type.  If I browse to the user in AD directly I am able to add the group to his account no problem.  I can go back to the group and remove the user, but then still can't find him to add him back within the group membership properties.  If I do a simple search for the user from the root of the domain in AD I am able to find the user as well.  This is a single domain environment, and I have selected the root of the domain under for this location as well as the OU where the user account is located and I have checked every option under Select this object type.  Any help or advice would be appreciated.
0
When the below restore script  was executed ,it's trying to restore databases that already in non recovery mode (always on setup) I try to restore all databases  in no recovery mode but not databases which has already been set up for  always on . want to exclude restore with always on please help

RESTORE HEADERONLY FROM DISK = 'C:\backup\test.bak'

USE [master]
GO
/****** Object:  StoredProcedure [dbo].[sp_RestoreFromAllFilesInDirectory]    Script Date: 16/07/2017 15:22:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROC [dbo].[sp_RestoreFromAllFilesInDirectory]
@SourceDirBackupFiles nvarchar(200), @DestDirDbFiles
nvarchar(200),@DestDirLogFiles nvarchar(200)
AS
--Originally written by Tibor Karaszi 2004. Use at own risk.
--Restores from all files in a certain directory. Assumes that:
--  There's only one backup on each backup device.
--  Each database uses only two database files and the mdf file
---is returned first from the RESTORE FILELISTONLY command.
--Sample execution:
-- EXEC sp_RestoreFromAllFilesInDirectory 'C:\Mybakfiles\',
----'D:\Mydatabasesdirectory\' ,’C:\MylogDirectory\’
SET NOCOUNT ON

--Table to hold each backup file name in
CREATE TABLE #files(fname varchar(200),depth int, file_ int)
INSERT #files
EXECUTE master.dbo.xp_dirtree @SourceDirBackupFiles, 1, 1

--Table to hold the result from RESTORE HEADERONLY. Needed to get
---the database name out from
CREATE TABLE #bdev(
 BackupName …
0
I have a personal OneDrive account.  I share it with 'John'.  It seems that when John accesses a file on his laptop (which also syncs with OneDrive), I can see the files that John accessed on his laptop while I am on my laptop.  So, in Word 2016, when I go to open a file all the files we have both worked on display in my recent files list?

Is there a way to change this, so that I will only see my recent files?

Do I have to setup a separate OneDrive account for myself?
0
In Excel 2013, I have an excel file with a macro that contains this code:

Function UserNameOffice() As String
    UserNameOffice = Application.UserName
End Function

And in cell A1 i have this code:
=UserNameOffice()

The first time I run the file, and receive the "SECURITY WARNING Macros have been disabled" prompt and click the "Enable content" button, the field updates properly and displays the correct name in Office. However, every time the file is opened after this the field will not update. I have to manually go into the cell's value, and hit enter on it to get it to update.

If I go into the Trust Center / Trusted Documents / checkbox Disable Trusted Documents - the code will update the field properly every time you click the "Enable Content".  Or if I Click the Clear button to remove all trusted documents, it will then work the first time opened only. So it seems like there is a bug within Trusted Documents causing this feature not to work.

Has anyone experienced this before or know a work around? This is not a problem in Excel 2016.
Book1.xls
0
Hi,

I have attached a spreadsheet with some code and functions, but I want to know if I can achieve the following.

Spreadsheet has 7 tabs.  The tabs I am interested in is tabs 2 - 7

Each tab has one row of data.  Now if you go to tab 2 - Risks, the go to column J and in the dropbox click Action.  You will now see that the row has gone.

Go to the Action tab, and you will see that the row appears here, and that is correct.  I column B you will see an R.  As it was moved from the Risk tab, it was enetered as a R for Risk.  But as it now resideds in Action, I want the cell automatically update to an A.

This movement and changes will only aplly for rows that move between Tabs 2-4,  Risk, Action, Isse and Dependancy.

Please let me know if any more info is needed.
Sample-Project-Raid-Log-0.1a.xlsm
0
I've had it about 5 years an all sudden when I turned it on it showed the Hisense logo but it wI'll go to a black screen an have no picture. I can hear a sound of the channel though
0
Whenever I start Chromium it opens 2 different tabs with two different websites.  I have one of the websites set up as the correct site that I want it to go to, but the other one I do not want to open at all.  How do I shut this off?
0
Hi,
When i go to another VLAN with my laptop, It will not get the connection from network or we can say it will take some time to get IP from new VLAN from old VLAN. If i connect the laptop from Wireless it shows connected.
I want the suggestions that i would be able to connect on diffrent VLANs with my laptop and with my netwrok.
0
Hi, when I go to a link like: https://medlineplus.gov/feeds/topics/diabetes.xml  in IE(which I hate) or Firefox(which I no longer use, but I remember it did this), it shows the results in a user-readable manner, like:
Capture.JPG
But Chrome shows it like:
Capture2.JPG
I don't want an RSS reader, I don't want to have to save feeds or subscribe, or get notifications. I just want to read the page. Is there a way to do this? Seems so silly that Chrome doesn't just do this. Thanks.
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

I have a server 2012 R2, it started to do strange things. First when I log on to it, it go to the tool bar right away does not stay on the desktop. When I am remote to the server it will sometimes request a re-connection and it only takes a second to come back. The server will broke its connection from me something on it own. I have many servers that I remote to without this issue.
 Does anyone know what going one?
 Thanks
0
Hi All,
I have a doc library with many folders.  
I created a view where Checked out to = [Me]
If I go to the folder and choose the checked out view it works
If I am in the library and not in the folder I don't see my checked out file in a folder

How do I set up the view at the top level of the library and it spans all folders?
Also how do I see ALL checked out files regardless of who checked them out and where within the library?

TIA,
Joe
0
I have researched a software and also have surfed on the internet and came to know that no such software exists, So there can be a possibility that this can be patented, and as this is unique and I know unique things can be patented. But as this is a software so can this be patented. Should I refer an attorney for this. I told this to one of my friends, she stays in Sydney she suggested me to consult cotters registered designs which are in Sydney. She said they have senior attorneys so they can help. Should I go with her suggestions or someone can suggest me a better company to go with.
0
hi experts my code is like that check on table1 if textbox1.Text exist if yes go to table2 and check if textbox1.text exist and if textbox2.Text exist if they exist open the form if not insert them and open the form and if textbox1.text exist and textbox2.text doesn't exist close form

i wrote this :

MySqlConnection con = new MySqlConnection(connectionString);
            i = 0;
            con.Open();
            MySqlCommand cmd = con.CreateCommand();
            cmd.CommandType = CommandType.Text;
            cmd.CommandText = "select * from informat where u_ser = '" + metroTextBox2.Text + "' ";
            cmd.ExecuteNonQuery();
            DataTable dt = new DataTable();
            MySqlDataAdapter da = new MySqlDataAdapter(cmd);
            da.Fill(dt);
            i = dt.Rows.Count;
            int userial = metroTextBox2.Text.Length;
            if (userial >= 5 || metroTextBox2.Text == null)
            {

                MySqlConnection conet = new MySqlConnection(connectionString);
                conet.Open();
                MySqlCommand cmsd = conet.CreateCommand();
                cmsd.CommandType = CommandType.Text;
                cmsd.CommandText = "select * from alred  where u_ser = '" + metroTextBox2.Text + "'and u_ip =  '" + textBox1.Text + "'";
                cmsd.ExecuteNonQuery();
                DataTable ddts = new DataTable();
                MySqlDataAdapter ddas = new MySqlDataAdapter(cmsd);
                ddas.Fill(ddts);

         

Open in new window

0
a user had her computer changed to a new one. She has opened a database and there was a message that popped up but she cannot recall what the message was and she clicked on something. After that the database has opened but she cannot click on any buttons or go to any other screens. The database works fine for everyone else, she just changed something on her computer and I cannot figure out what it was. It's like she has disabled the whole system.
please help!
0
we are moving to o365 and I need your recommendations-
we head quarters have emails park at network soulutions
we have couple of stelite offices and most of them have emails hosted on different go daddy sites
Couple of them are on exchane servers too
We gave this project to third party vendor and hey are doing for us
What would be best strategy? we dont want one day cut off
we want one by one
one site cutoff and help users
2nd site cutoff and help users
so that process goes smoothly
any suggesstions?
I'm looking for besst traing materials for end users so that I can prepare document for them. I would like to include all functionalities of office 365 2016 ncluding skype for business.
0
Hello, this morning I go to my computer and my system cannot recogize my SanDisk Extreme Pro SSD Drive.   Does anyone have any techniques that I should try to recover the drive?    I have data backup but if there is a semi easy way to recover I would prefer to do this than to rebuild the applications, etc..  

Thanks in advance
0
I am working on a project in the middle of nowhere and have several offices over a 25 mile radius. This project i am working on has 7 construction companies all supplying resource to the project. Now each of these companies supplies IT equipment to each of their staff and is on on their own domain, so we have

7 companies supplying their own staff with domain locked computers.

What i want is to set up some dedicated lines to each of the companies and arrange with them a link from there corporate environment to the project environment to help facilitate computer updates without having to go to a corporate office. One company is using DA which is not great.

Does anyone know the best way this can be achieved and have either instructions or links to instructions on setting this up?

  • We have access to our networks, routers etc
  • The project is not a domain
  • 7 companies are employed on this project
  • Each company has their own staff and BYOD on their domain

Finally

  • I need to set up links to each of these companies so that computer updates and installs via SCCM can be installed

Thanks in Advance

John
0
I have an old Dell Precision Workstation T7600 that is not booting or giving any video display.  It is caught in a loop and the diagnostic codes on the front are 3 and 4 together, which according to the owner's manual means a memory power failure has occurred.  

The diagnostic procedure is to remove one DIMM at a time, and I did this with the same result.

Would this situation possibly indicate a power supply issue with that section of the motherboard?

As I have some critical information on this system that needs to be recovered by a deadline, I would be willing to pay for support to resolve this issue and get the system booting.  Unfortunately, getting support from Dell on a system this old will be problematic.  I will spend the two days trying to get Dell to even acknowledge a responsibility to try to help.

What options do I have here, and what are some other troubleshooting steps I could go through?
0
Free Tool: Site Down Detector
LVL 9
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Why is my BlackBerry World not connecting? At first it used to say, Blackberry World currently unavailable. Please try again later. Now I opened it, but when I try to go to my apps. It stopped working. It says, there was a connection problem. Blackberry world must close
0
Im using a dental program open dental i am trying to you use the eservices when i go to install i get the error message . failed upgrading to the econnector service.. requested registry access not allowed..  logged in as admin on the server ... i am running 2012 server essentials..  I tried installing manually I get this error..... application attemted to perform an operation not allowed by the security policy to grant this application permission contact system admin or use the .NET framework config tool
0
I have a form that my user enters dates to include on this excel sheet. A from and To Date.  The user enter the dates clicks the command button and the excel spreadsheet  is created.  However we go back to the form and enter new dates, the excel is not overwritten with the data  The data from the dates entered the first time appear.


Private Sub Command60_Click()

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "QryEbill", "C:\Documents\myexcel.xlsx", True
 
 FollowHyperlink "C:\Documents\myexcel.xlsx"

 End Sub
0
hey ,

the port that has the sfp SR does not come up , i have tried to do a shutdown no shodwon and still does not come , when i do shutdown command the port does not go for orange color .


i am confused !

BR
0
Hi Guys,

how do i determine where a network drive is pointing? when connected onto the server itself the mapped network drives show with the path name and drive letter but i cant see where the drive actually lives.

when i go to the route of the path which is the server IP: \\10.20.92.53 i can see the folders here as well but they show in size as 0 bytes. i wanted to create another folder in this location but dont have the option when i right click anywhere. i can right click the existing folders.

this is because the folder is a share i believe.

can some please help, i just want to create another folder at the same location/level
0
I have a SFTP server in DMZ (D-SFTPS) and a SFTP server in LAN (L-SFTPS).  The idea is that any SFTP traffic between WAN and LAN has to go through D-SFTPS and L-SFTPS.  What is the best practice to enable communication between D-SFTPS and L-SFTPS when it only involves sftp between internal server and external server?
0

Golang

145

Solutions

404

Contributors

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.