Golang

525

Solutions

1K

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

I have a subscription to Office 365 on my PC.  Now I just bought a new MacBook.  Where do I go to install Office on my Macbook?  Thanks
0
I have large building that is really 3 old building tied together.  Wiring from one building to another is difficult, not impossible, but very difficult.
The goal is to have the background music in all building playing the same thing (from one source).   Currently there are speakers in each building and each "building's speakers" go to an old stereo tuner of some sort amplifying the signal.  

We have a "Music on Hold" device that allows music and "ads" to be loaded onto a USB and this device has a simply RCA Out jack that feeds into one of the tuners.
We have standard 14ga SPEAKER WIRE running from the center-most tuner to the other 2 tuners.  If looking at the attached PDF, we have speaker wire running from A to B, and from A to C.
If that wire can be used to connect them together that would be AWESOME.  If I need to run a different kind of wire because of new equipment needed, so be it.
I have attached a rough diagram that hopefully will make clearer my situation.

My question is what device(s) can I get to make all these speakers play from one source?   Either new amplifiers, or something that could go from an output of one amplifier to an input of another.   AND.... of course I'm trying to do this as inexpensively as possible.  
Thans for any help.AudioDiagram.pdf
0
The computer is connected and has access to the Internet, but the Network icon in the taskbar shows the warning sign and says No Internet access.

I've tried:
1)     restart Network Location Awareness.

     2)     Check IPV4 and make sure it has default settings.
     Ipconfig /release
     Ipconfig /renew
     right click on the desktop and click refresh
     

     3)     netsh int ip reset in cmd window and reboot

     4)Go to the Properties of your NIC's then go to  Configure of all your NIC's and make sure if you have it, a Power management tab, go under this tab and  turn off all power management stuff  Like Respond to ARP Requs, Respond to NS Requs, Ect. turn  off All Power saving options also turn off all wake on lan I own a Netgear WNDR4500 as a WAP. This fixed the probmel  WIn10 has been doing some fishy stuff when it comes to updates turning porwer and privcy options back on after a update.. Thinks Windowns. Hopefully this fixs your problem. this is for win 10/8.1 os

     5)Finally if none of that worked check your anti-virus and make sure you have allowed the following URLS:
     dns.msftncsi.com
     http://www.msftncsi.com/*
    if that still doesn't do the trick stop scanning port 80 network traffic at %SystemRoot%\system32\svchost.exe - path may be off.

All with no luck.  Any other ideas?
0
Recently upgraded to Win 10 OS, I have been utilizing Omniforms 5.0 for several years and have several older forms that I had in sequence with data. For some reason now when I go to open the form they are blank. I have these copied forms on a shared drive and can open them fine on a Win 7 pc, data still visible, but not on the Win 10 pc, any suggestions? Thank you
0
It is a VM under Server 2019. It was activated. I then had to move it to a temporary server and now it is back to the original server but it is no longer activated. I still have the product key but when I go to "Change Product Key" I get the attached screenshot. It started out being a fresh, clean install of Windows 10 so I don't know why it thinks it wasnot activated prior to upgrading. It has to be a false error. Any ideas on how I can reactivate?

Error Message
0
Excel 365

I am trying to take the attached sample file and go through the 'Rating' column and count the number of instances of 'A', 'S', and 'NI'. I need it to count the number of times it sees each one and then return in cell B2 which one had the most instances.

For example in this column 'A' occurred most often so it would return 'A'
Sample.xlsx
0
When trying to get Bitlocker key saved to the Azure AD, I sometimes get this:

Can't sign in to your Microsoft Account
You need to be signed in to Windows with a Microsoft
account to save your recovery key. Sign out and then
sign in with a Microsoft account or go to
Settings and choose Accounts to change your
existing account.

This doesn't make sense to me. The user is signed in to his "Work or School" account which appears to register him with not only the Microsoft 365 apps etc. but also registers him and the laptop on the Azure Active Directory for the organisation. Under "Devices" in the AD his device appears with correct name.

It's only when attempting to save the BL key to the AD that we have this issue.

Is there perhaps another way to get the user signed in to the domain account but without having to tell Windows that the laptop is an organisation's laptop?

Confused of Berkshire!
0
The strange thing here is that I have the two table as follows:

(1) Table Inventory (Primary ) with primary key called InventID
(2) Table Productiondetails (Child) with primary key PRID

The two table are supposed to be linked in sql server , but each time I try to use server management studio to directly link these tables , they look like below:

Primary table                                                             Secondary table
 Inventory                                                                    Productiondetails
 InventID                                                                      InventID


But after saving the above relationship , then I try to go and check whether the relationship remain the same as above to my surprise I find that the following is showing:

Primary table                                                             Secondary table
 Productiondetails                                                     Productiondetails
 PRID                                                                                PRID

As a result when the data is posted to this the parent primary key (InventID) will update PRID instead of InventID as foreign key

I'm still new in the SQL server I can't on this!

So what do I do fix this situation, any help will be appreciated.

Regards

Chris
0
Hi,

I have an Excel csv database, or will have when completed consisting of around 200 columns and almost one million rows and at least 1GB in size.
I need to then add around 35 columns of formulas copied down to 170k rows I intend to sort the data each time I want to do some calcs.
I fear that Excel will not be able to handle such a workload and wondered how best in terms of efficiency and speed  I could go about solving this puzzle.
Thanks if you can shed some light on it.

Ian
0
The primary key is not being inserted in the secondary table while other data is being inserted in SQL server 2016 , the strange thing is that when tabbing or using tab the data from the child form will go or disappear leaving the data from the main form . I'm using the same tables , same form , same queries as in ms access , I tried to recreate the form still nothing is working out , I have just re exported the tables again to sql server still nothing is being sorted out.

I have not recreated the relationship in sql server since the export went with all the links except the date which I had to normalise to datetime

What should I do now????????????


Regards

Chris
0
I need to move or clone a virtual server from one VCenter to another. I know I did something similar with VMware 5.0 but now I have VMware 5.5. I downloaded the latest VMware vCenter Converter Standalone and installed it on the machine I want to move. I go to Convert Machine and leave the drop down as "The Local Machine". I hit next and leave the destination type VMware Infrastructure virtual machine. Then I run into trouble. On this screen I assume I should be pointing to an ESXI host on the other vcenter? Is that correct? Or should I point directly to the new VCenter? and for login credentials. I cannot seem to get anything to work. I tried my AD account, that is also a Domain Admin and what I think is the local host ROOT password but It does not seem to like my credentials. Am I on the right track?
0
How is dedicated ethernet internet 40Mbps/40Mbps  different then regular business internet that has 150Mpbs/20Mbps
- My company has 17 people how would either of the options affect them?

Whats the best way to go on Primary Internet Service and Failover internet.
- Someone says do LTE Failover and we've tried but the bandwidth just is horrible when spread across 17 people.
1
powershell and Windows 7.

Hi,

I have a text file request.txt containing filenames such as:
18-111
18-222

Actual filenames:
18-111 member 91-A.pdf
18-111 MD 91-A.pdf
18-222 member 91-B.pdf
18-222 MD 91-B.pdf
18-333 member 91-C.pdf
18-333 MD 91-C.pdf

QUESTION: how do I use powershell to
1) loop through request.txt and do a partial match to identify certain .pdf files to move from folder A to a specific folder B that has the same name as the last 4 characters of the filename?  

RESULT:
18-111 member 91-A.pdf is moved to folder 91-A.
18-111 MD 91-A.pdf is moved to folder 91-A.
18-222 member 91-B.pdf is moved to folder 91-B.
18-222 MD 91-B.pdf is moved to folder 91-B.

2) Add today's timestamp to the end of the filename in the format YYYMMDD_HHMM in 24hour format.
RESULT: If today is 3/26/2019 1:21pm.
18-111 member 91-A 20190326_1321.pdf
18-111 MD 91-A 20190326_1321.pdf
18-222 member 91-B 20190326_1321.pdf
18-222 MD 91-B 20190326_1321.pdf
1
Can Salesforce allow me to create a list of accounts that will quickly allow me to open and append a field value? In other words. I would like to create a list of 500 accounts and input the actual total revenues of that particular company into the field called Total Revenue. We need to do that so we can identify if the representative who handles that account big or small really is QUALIFIED/SKILLED enough to handle them by themselves? Is there an efficient way to go into Salesforce and quickly do that? If not Salesforce needs a way to allow Managers a quick edit tool for salesmen, sales teams and representatives so that corrections can be made quickly and efficiently in the even a new salesman or representative missed some entries or new policy calls for the updating of all or some accounts with new variables for analysis purposes. Opening individually could take forever to do. It would be great to have a list with a column like excel and just go down the list entering the correct value....?
Does Salesforce do anything like that?
0
I want to change to a new user in Windows 10. How do I go about this and I would like to access all programs and data by the new user - it  would be ideally if I  can just swap users or is that too na├»ve!
0
I am installing on OnPremise Exchange 2016 with one Domain, What type of SSL would be best suited so when you want to connect Mobile Devices/OWA by putting in the email address and password, it will go out and search for it and connect it to the device without setting it up manually?
0
Hello Team,

I have an external trust between my domain and another companies domain.
I want to create a security group in AD and members from that external domain to it.
but when I try, all I am seeing is my domain when I go to locations

How can I add users from other domains to my local security group?
0
We currently have users Outlook using IMAP/POP3 and I wanted to know if it's okay to go ahead and Install Exchange 2016 on the Server without switching the Domain until were ready, meaning it should not cause any issues with Users who are currently opening Outlook with IMAP/POP3?
0
Hello, I am adding a donation page to a WordPress website I am working on. I want the visitors to be able to go to this page and have a few options such as $25, $50, $100 buttons and a field to input the amount they desire to donate if they prefer more or less. My question is I prefer to keep the person within the webpage and not taking away to a portal to make the donation. I was thinking pay pal but wanted to get some feedback from you guys before I just go with Paypal. Are there any services / add ons that you prefer when incorporating something like this into WordPress?
0
Ok all the Google heads, dev guys, etc out there, Im looking for better ways to group my tabs.  I usually have around 80 tabs open in Chrome at work.  We're a Google shop.  Ive noticed that I have several groups that could go together, e.g. 8 Google docs, 7 of our portal, bunch of Google Sheets, etc.  Is there a better way to stay organized?  Thank you techs, Mark88tabs
0
Where do I go wrong on the insert  code below?
Private Sub CmdPos_Click()
Dim db As DAO.Database
Dim strSql As String
strSql = "INSERT INTO tblPostClearance (" & "tblPostClearance.Debit, " & " tblPostClearance.Credit " & ")VALUES(" & Me.txtCashReceivable & ", " & Me.txtCashReceivable & ")"
db.Execute strSql
End Sub
0
I have this code

I want to go to the block.field but its not working

 forms_ddl('begin DBMS_TRANSACTION.COMMIT; end;');

                                go_block('vendor_invoice_items'); 
		     	           clear_block(no_validate);
		     	         go_block('vendor_invoices');
		                  clear_block(no_validate);
		                  clear_form(no_validate);
		                 go_block('vendor_invoices');
		                 go_item('vendor_invoices.dsp_order_number');
		                   :SYSTEM.MESSAGE_LEVEL := 25; 

Open in new window

0
We are Exchange 2013 on premises ONLY, we may go 365 but not at this time. Our marketing team sends a weekly email globally to internal users only. They're requesting metrics around at least a true read status for the email. Did they read it, delete it immediately etc...

Blue sky option would be to be able to tell difference between an email opened in full outlook client and webmail or smartphone. We have tried various scripts found online with no success.

What are you using for this purpose? If you went with a third party app to deliver, please let us know which. Would listserv option be a better solution?

Thanks in advance!!!
0
a variable in linux shell.  i'm not really understanding the difference between an environment variable and a shell variable.
how long does either last?  how do you know which one is which?

if I set a variable:

VARIABLE="David" in a shell script
execute the script and go and type echo $VARIABLE... shouldn't it kick out David?

i know there are some variables you can export out of the shell, correct? but, i'm not really interested as i'm concentrating solely on bash at this point? or is that not how shells within linux work?

thanks

i guess now that i think of it ive heard of a single running of a script doing so within a 'shell'.. is this shell unique in it's processor and/or memory utilization?
why would i use anything other than bash? specialized customizations?

-dave.j
0
Hey

So i use Amazon S3 upload file to store uploaded Files,

Now what im trying to do is  a custom attach document to a email which i am using phpmailer to attach, my issue is im not sure how to get the file from Amazon S3 and attach it to the PHPMailer.

I have only front end and jq setup, where you click on a attachment which sends a ajax request to the backend which uses a file path to go to the S3 but im not sure how to bring back the file to pass into phpMailer.

any tips or advice ?
0

Golang

525

Solutions

1K

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.