Golang

567

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

All of a sudden, when I type a local IP address in MS Edge address windows, it wipes it out and does not go to the site.
It does not return an error code, just stays on the current page and the IP address disappears from the address bar.

I have tried to reset the browser settings, delete all history.  The same browser works OK on anther computer in the same network.

Also, it behaves that way when it is hard wired to the network.  When I switch to WiFi it works OK.  The WiFi network assign a different IP address (different subnet)
LAN is 20.0.0.X  Wifi is: 20.0.50.X

MS Internet Explorer and Chrome are working OK.
0
I need to create remote desktop server 2008 r2 2 Factor Authentication.

How would I go about doing this?
0
I am about to buy several MS Office Home and Business 2019 licenses from Dell and wanted to know if there are "issues" with it, before I do.  Should I get Office 2016 instead?  We are installing these, as I don't want to go cloud with our email.  Does 2019 have issues or bugs?  I can go with 2016 if that is the more reliable solution. We are using 2007 now.  Our server and Exchange are being upgraded next week to Exchange 2016, so I have to get the new Office software, as Office 2007 won't run on Exchange 2016.

Please don't distract from the purpose of this question with commentary about the cloud, especially 365.  That is not a good solution for us, for multiple reasons. Please help me with the decision of whether to install Office 2016 or 2019.
0
Concerning the program "CAMTASIA". I would like the opinions of Camtasia users only please. This program is the one that is the most memory intensive application that I have. Is it your opinion that utilizing a Nvidia video card  P5000 and 32 gigs of ram more than sufficient to have smooth operation of Camtasia? My ONLY decision is if I should go with 64 gigs of ram instead of 32 gigs. I do not do any heavy duty intensive work with Camtasia. I think that 32 will be just fine but wanted the opinion of actual users before I made a final decision. Note: The publisher of Camtasia recommends a minimum of 2gb  of ram. Experts?
0
hello Experts,

I am in process of creating a Script that check for operating system version and software installed version.  if the operating system build number equals 16299 and installed software version 2.8 dont do nothing if not throw a message, to update for software.
Is that possible
Get-WmiObject -Class Win32_Product | Select-Object Name, Version | Where-Object -FilterScript {$_.Name -like "*"} 

Open in new window

[environment]::OSVersion.Version

Open in new window


i got these but, dont know where to go.

Thanks
0
Hi I have a client that has Office 365 through Go Daddy, it was just setup.  I'm trying to configured Outlook to have multiple email addresses, problem is the first Exchange email box goes in fine, the second one gives me an error "sorry another account from your organization is already signed on this computer".

Question, is it possible to have multiple Exchange email accounts using the same domain on the same profile?  If not, this seems like a large loophole in Exchange.

Thanks all.
0
Joe, I'm hoping you will see this.  I screwed up again.  I moved the Auto HotKeys scripts text file from one folder to another and now, none of my scripts work.  I can still access all the information if I go to the new folder and click on edit but the "H" icon no longer shows up at the bottom.  Help please.
0
HI,

I am building a windows form program to replace excel sheets as they are always crashing and losing work and as the sole IT guy they need to go. The program is working but not very optimised due to the amount of data in the tables. One of the SQL queries selects a table and returns all company names where that line hold values and populates a drop down filter box. SQL is not really my thing but need some pointers in making this more responsive.

 public void getCompanyList(string database)
        {
            var select = @"SELECT DISTINCT dbo.[Forecast_" + database + @"].Company
FROM            dbo.[Forecast_" + database + @"] INNER JOIN
                         production.dbo.products ON dbo.[Forecast_" + database + @"].Product_Code COLLATE Latin1_General_BIN = production.dbo.products.ProductCode
GROUP BY dbo.[Forecast_" + database + @"].Nr, dbo.[Forecast_" + database + @"].Product_Code, dbo.[Forecast_" + database + @"].Description, 
                         dbo.[Forecast_" + database + @"].Category, production.dbo.products.SCE, dbo.[Forecast_" + database + @"].Company
HAVING        (SUM(ISNULL(dbo.[Forecast_" + database + @"].Week1, 0)) + SUM(ISNULL(dbo.[Forecast_" + database + @"].Week2, 0)) 
                         + SUM(ISNULL(dbo.[Forecast_" + database + @"].Week3, 0)) + SUM(ISNULL(dbo.[Forecast_" + database + @"].Week4, 0)) 
                         + SUM(ISNULL(dbo.[Forecast_" + database + @"].Week5, 0)) + SUM(ISNULL(dbo.[Forecast_" + database + 

Open in new window

0
Images not displaying on websites.
2 images side by side. Left image shows – right image does not show. (Same code on both except position)
Same code; replace the right image with another image; same problem. Replace the right image with the left image (the left image to show left and right); but, only the left shows. Combine two images in one using the code for the left image. Nothing shows except the html border.
To see the issue, go to www.jandmmfg.com  (the “about” page) The image is missing, but the html border is showing.

Positioning is done with class .i4
Code for the about web page:


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="About.aspx.vb" Inherits="About" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <link rel="stylesheet" type="text/css" href="Site_Styles.css" />
   
    <title>Consistent reliable quality apparel manufacturing since 1994 at J&M Mfg in Baltimore</title>

    <style type="text/css">



          body {
    background-color: #C0C0C0;
    color: #000000;
    height: 1500px;
    width: 85%;
    margin: 25px 0px 7px auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2em;
    font-weight: normal;
    font-style: italic;
    border-bottom: 10px solid gold;
    }


          a.LinkButton {
     
    font-family: Georgia, "Times New Roman", serif;
    font-size: small;
    text-align: center;
    position: absolute;
    z-index:…
0
Hi

I am building a test lab and need some help.
Installed ESXi on a usb on a server.

Than added Harddrives.
The HDs are not being detected.
I do not know what on them.

How would you go about this??
is there any way i can have ESXi detect the HDs? i did rescan and it did not detect anything.

Any feedback is appreciated, I dont know where to start


thanks
0
We use Outlook 365 sync with our AD in house.

We've since fired and rehired a user.  Now I wan't to use the old users License and Azure and forward the old users email to the new user.

How do I go about doing this?
0
 $('body').scrollTo('#testingScroll');

Open in new window


suppose to go to

 <li id="testingScroll" class="column">

Open in new window


this list container which is closed and has html inside but the js isnt working, it just sitting in normal button. any tips ?
1
Hi experts, I  have scroll  thumb images,  and when user scrolls and selects the thumb image,  it will be displayed in a big image and  it works fine. Now I want to add a button at the bottom of the displayed image. When the user clicks the button, it will go to the next page (third party site) displaying the same image as the user scrolls.
Below is the code. How to accomplish it?

Thank you!
        <div class="row"> 
                                            
                     <img src="img/img2.jpg" width="100" height="100" alt="" mylink="img/img2.jpg">
                        <img src="img/img3.jpg" width="100" height="100" alt="" mylink="img/img3.jpg">
                        <img src="img/img4.jpg" width="100" height="100" alt="" mylink="img/img4.jpg">
                        <img src="img/img5.jpg" width="100" height="100" alt="" mylink="img/img5.jpg">
                        <img src="img/img6.jpg" width="100" height="100" alt="" mylink="img/img6.jpg">
                         
                        <img src="img/img6.jpg" id="selected" width="100" height="100" alt="">
            </div>
        <input id="btn" type="button" value="select" />
   

Open in new window

1
(1) I'm required to deliver the access application system in a supermaket envirnoment, now the number of cashiers will be 20 (Users) accessing the same sales accounting or tables. My application is split into backend & front end of which per user will have their own front end linked to the backend on the server.My fear here is the locking system even if all my forms show the record locks property  - No Locks, any idea how go about this?

(2) I have also experienced some issues of power failure in some clients work place, now because of the same you find in the FE folder sometime their is an extra file generated after power failure any idea how to sort out this? Though my current advice to the clients is to invest in UPSs

Regards

Chris
0
owner wants to capture screenshot for local and remote users.   (he wants to be able to go back in time and see if they used a company laptop to send/receive/delete emails, used personal emails on laptop, internet history, file deletions.  

I know of Netsupport manager which allows you to discreetly look at current sessions, but not past and not webbased.  

Any ideas if one of you have used a web based program to obtain the above.
0
I have a client who set up a Seagate Blackarmor NAS box a number of years back.  It has 4 Seagate 4T SAS drives in a RAID-5 configuration.
I was in their office last week and took a look at the device as it was running very slowly.  I looked at the front panel information (scrolled through the menus) and all four drives were listed as "Good".  The volume was listed as "degraded".

I looked at the web interface and saw that drive 3 was no longer part of the array (not sure if it said offline or bad).  I used the Action button to remove it.

I have since rebooted the box and now the volume is shown (on the front panel) as "Failed".  All four drives show as "good".  On the web interface, all four drives are listed as "good" but there is no volume shown.  I'm hearing no odd noises from any of the drives.

The client's backup is not as recent as he'd like, so he is very interested in trying to get this back up.  I realize that the safest option is to go to a (rather expensive) data recovery service.  He's not likely to want to go that route.

If these were NTFS-formatted drives, I'd have numerous options to analyze and possibly recover the data.  I'm assuming that the box runs Linux and that's not something I deal with except in very rare situations.

One option is to replace the drive that was removed from the array and see if it will recreate the volume.

I'd appreciate any suggestions on how to proceed.
0
My Windows 10 system has crashed twice in the last two days. When it happens it just stops completely with my monitor turning off as well and the connected printer recycling. The interesting thing is that this Windows 10 system has not communicated with the 4K seiki monitor and does not go into sleep mode. Even more interesting is my Windows 8.1 system does communicate with an identical Seiki 4K monitor and does enter sleep mode automatically.

No blue screen of death, no warning whatsoever. My battery backup is not doing anything so it must not be a power issue. When I turn my monitor back on and press the start button on my computer it starts back up with no problem.

Both times I was working with a Microsoft Access 2013 application in VBA.
0
I have the following request from a user.    Can you recommend the best way to do this?  Windows 10.
Tx!
Can I please have the following setup up both projector and the associated laptop to:
1.      Go to sleep at 7:00p
2.      Wake up at 7:00a
3.      Never sleep between 7:00a and 7:00p
4.      An app or a setting that will allow revolving between multiple windows and if possible between multiple browser tabs?
a.      This is so if I have multiple dashboards and apps running, it can display each at a set interval of time, lets say every 2 minutes…
0
We have 2 servers running exchange 2013 in a DAG setup. All of a sudden the passive server keeps having its copy queue length continuing to go up after I run the commands to get it back to 0.
What do I need to look at to see what is causing the passive server to have its copy queue length to continue to go up?
Also if I restart the cluster service on both servers, then all goes back to good for a while
0
Hello EE Community,

I'm in need of assistance in creating a PS script that does the following:

If I schedule a script to run on Fridays at 10AM, I need the script to go back 15 weeks from date, adds a day, so it'll be Saturday and delete any files older than 12am.

For example, if I run the script this Friday 11/23 at 10AM, the script will go back 15 weeks from date so it'll be Aug 10th adds a day so it'll be Saturday Aug 11th and deletes anything before 12am.


This is what I have so far:

$limit = (Get-Date).AddDays(-7 * 15)
$path = "\\SharePath"

# Delete files older than the $limit.
Get-ChildItem -Path $path -Recurse -Force | Where-Object { !$_.PSIsContainer -and $_.LastwriteTime -lt $limit } | Remove-Item -Force
2
DNS issue

so i am new to DNS, here is my problem

we have a marketing site hosted, externally the site works perfect however lately internally when we hit the url we get page cannot be displayed, the fix is to go to our DNS servers and clear cache which works for about 30 minutes then it breaks again
0
I know there are programs, like Audacity, that will null out background noise.  You give them a sample of just the noise and they subract that from the whole audio track. Does anyone know what these programs do if the noise sample is louder than whats in the audio track? Suppose, for example, you shot a video walking around a store while the manager talks about the various items.  The noise you want to null out is a generator at a building site across the street.   But this noise will be louder when we're walking near the front of the store than when we're at the back.  If the noise sample being used to null out the noise is louder than  the noise in the audio,  will noise get added back in, or will it the track noise just go to zero and stop?

Thanks
0
I am unable to change .zpl files to open with a .bat file that was created for printing.  I go to "open with" and add the check mark to always open with .... and it prints and works great but we have to do that every time.  it is windows 10 we are using and I cant figure out how to make all .zpl files when clicked on to auto open the label.bat file.  any ideas how to force that to happen as it is not saving label.bat as the program to open all .zpl files with.
0
Hi,
I am thinking about buying a new HP ML110 G10 with iLO 5 activated and like to know how to go about buying iLO 5.
Is this a piece of chip (or hardware) that I need to purchase separately or it is intergrated inside the server?
Do I have to buy license initially and renew it annually or it is one time purchase?
I saw the demo on youtube and like the fact that you can Manage and monitor servers from anywhere.
HP Part number is 512485-B21, but the price is all over the place and don't know what/where I need to buy.
AMASON: $70.00
NewEgg: $99.00
Provantage  $257.92
CDW  $303.99
serversupply: $310
0
Greetings.
I recently updated our SSl certificate on Exchange 2016.
Upon ding so, I lost connectivity to my ECP portal.
All I get when I login in is a reloop back to login again.
I have tried checking the certificate and settings but they look good as per my understanding.
I am not an Exchange Guru and this is the first time I encountered this issue.
I do need this resolved so I can add new users to our environment.
I could do it from our other Exchange Server in the DAg, but I do not want to go that route.
Reason being is that the issue will still be there: relooping after attempting to login.
I do can use OWA but not ECP.
I am running windows 2012 R2 as the OS for Exchange 2016.

I checked the settings in "default website" the bindings and they are correct pointing to the correct certificate.
I restarted the service on IIS in application pools called "MSExchangeECPAppPool", but to no avail.

Thank you for your attention.
0

Golang

567

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.