Golang

551

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

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.
0
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 8.8.8.8 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 8.8.8.8 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  8.8.8.8 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..
Thanks
0
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.
0
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.
0
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 ?
0
Hi

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?

Thanks
0
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,

Basem
0
Our network time is off by 7 minutes and slowly gotten to 7 minutes. Our PDC is a physical server and the other domain controller is VM.

I have checked the the time server on the PDC is NtpServer: time-nw.nist.gov (Local)
On the BDC is set to time.windows.com,0x9 as are other workstations on the domain.

The w32time  service is running and I have stopped and restarted it.

I have stopped the w32time service and set the time in windows and restarted the service and it went back to being off. Assume that due to pulling or getting the time from the bios.

I want to go into the bios on the PDC and change the time to the correct time and assume will need to sync or set the time on the other domain controller so that are not off on time by 7 minutes.
0
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 …
0
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
      rs.MoveNext
    Loop
  End If

  rs.Close
  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?


Regards

Chris
0
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?
0
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.
1
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
0
Hi,

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.
Recent-colours-in-Font-Signature-and.PNG
0
I have a stored procedure in a SQL server database that creates a temp table. When the procedure is ran I need to add a column to the temp table that will have the value of the hour (.e. 0, 1, 2 etc..) that is calculated from a date and time field for that corresponding  record. For example if the date and time field value = '2019-09-05 08:15:29' then the value in the added column would = 8. The date and time field name = "Started" and the new column name should be "Hour".  Below is a copy of the current stored procedure.

USE [Netrio]
GO
/****** Object:  StoredProcedure [dbo].[CreateTempQueueCalls]    Script Date: 9/5/2019 2:57:59 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO




-- =============================================
-- Author:            <Author,,Name>
-- Create date: <Create Date,,>
-- Description:      <Description,,>
-- =============================================
ALTER PROCEDURE [dbo].[CreateTempQueueCalls]
      -- Add the parameters for the stored procedure here
      @Queue varchar(50),
      @StartDate datetime,
      @EndDate datetime
AS
BEGIN
      -- SET NOCOUNT ON added to prevent extra result sets from
      -- interfering with SELECT statements.
      SET NOCOUNT ON;
      
    -- Insert statements for procedure here
      Select * from Queue_Calls where First_Queue_Name = @Queue and Queue_Calls.Started Between @StartDate and @EndDate

END
0
Q: How to unite interaction columns from R emmeans package dynamically generated in R-Shiny?

I am building an R-Shiny app where I need to wrangle the output from the 'emmeans' package. However, in this interactive environment where many factors may be entered by the user, the single-tibble 'emmeans' output structure will vary with each run depending on the selections made. It could go from having only a single main effect to having multiple 3-way interactions (mixed with main effects and 2-way interactions) arranged in a wide format way.

For instance, assuming the user selects FctrA (with levels A and B) and FctrB (with levels C, D, and E), the interaction FctrA_FctrB will be automatically considered as well. When (~FctrA, ~FctrB, ~FctrA+FctrB) are submitted to 'emmeans', the output tibble is structured as follows:

- the leftmost side of the tibble contains FctrA results (levels, estimates, SE, df, CLs);
- the certermost block contains FctrB results;
- the rightmost side of the tibble contains the interaction results

So far so good except that FctrA levels columns is a single column, FctrB levels column is also a single column, but the interaction portion has its levels split into two columns, one with FctrA and one with FctrB.

The above issue impairs gathering, spreading, stacking of the separate blocks owing to the dimensional discrepancy.

My question is: How can I tell Shiny ('tidyr') to find those split interaction columns and concatenate them …
0
Suddenly today, my file explorer window has a white background without an edge. Almost impossible to see and move against a white background.

Here it is against a colored background:
against-background.JPG
and here it is against a web page:
agaist-webpage.JPG
Any ideas on changing that? I don't want to go to the dreaded dark theme. Thanks in advance!
0
Hi Team ,

i have a problem but i did't get any solution for it . i have a parent jsp from where a search icon is there when i click on search icon a popup jsp is open . in popup jsp i retrieve values form database and display.
there is 2 column in database Employee_ID and Employee_Name. all values come row by row and display on popup jsp . in each row there is a checkbox no my problem comes and i did't get any solution for it please help me out.there is two case -

1 Case - when i check multiple check boxes in popup.jsp and click on submit button(popup.jsp) the value of Employee_ID and Employee_Name   should display on parent.jsp.

2 Case - when i check multiple check boxes in popup.jsp and click on submit button(popup.jsp) the value of Employee_ID and Employee_Name should go to a servlet and after that servlet send that data to parent.jsp.


please let me know both of the above solutions.
0
Kindly help me to have the listed code below work in Ms Access VBA , I have already imported the JsonBas converter from GTuB site.

Private Sub CmdJson_Click()
Set MyRequest = CreateObject("winhttp.winhttprequest.5.1")
MyRequest.Open "GET", "https://jira.atlassian.com/rest/api/latest/issue/JRA-9"
MyRequest.Send
Dim Json As Object
Set Json = JsonConverter.ParseJson(MyRequest.ResponseText)
MsgBox Json("Key")
End Sub

Open in new window



On My request it say user not defined

I want to have JRA-9 showing after clicking the above button, this part of my training if this works , then the next stage is prepare the Json Spec , I may also ask how to go about it, I'm not worried about opening the record set that used to feed the Json.


JsonCorrection.png

Regards

Chris
0
Experts,
The office I work in has huge number of floors and at any given time during office hours, there are hardly few available rooms across these floors. Currently, to book a room, I go through every floor in the Schedule Assistant to check if there is any room available in that floor. Just wondering if there is any automated way either through Powershell or other tools to view all the available rooms in one go. Any inputs greatly appreciated.
0
Anybody know what this thing is? If so can you post a link to a guide, or a model number? Anything to go off would be great. AK.jpg
0
Good Day,

My 11 year old needs to build a curriculum for the next 12 months, since he is keen on learning programming, I intend to hire teachers locally and online and also for him to go for international competition during this period to develop his skill set.

The overall goal of this training is for my son to become an expert in Hardware and Software Systems by understanding the fundamental principles governing them and be able to derive solutions to problems using analytical and programming approach coupled with hardware integration and IOT.
Learning-Plan-for-Max.docx
0
Hello,

I need to replace a .ini file on machines that are connected to a domain and the easiest way for me to do this is probably via GPO.

The location of the file on each machine is C:\Bidmaster Office\Bidmaster.ini.

This file will be updated as per a data migration, and don't want to have to go around all 70 machines and do this manually.

All help would be greatly appreciated!!

-LI
0
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?
0
Title
: 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
proto                                                                                                                                                      
         host                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
         port                       …
1

Golang

551

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.