Golang

401

Solutions

886

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
Rowby Goren Makes an Impact on Screen and Online
LVL 12
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

18 Signs of maturity: How mature are you?

Which of these do you relate to?

  1. Maturity is when you stop trying to change people and instead focus on changing yourself.
  2. Maturity is when somebody hurts you and you try to understand their situation instead of trying to hurt them back.
  3. Maturity is when you accept people for who they are.
  4. Maturity is when you understand that everyone is right in their own perspective.
  5. Maturity is when you realize that nothing is more important in this world than you and your family.
  6. Maturity is when you understand that whatever you do, you do for your own peace.
  7. Maturity is when you stop proving to the world how intelligent you are.
  8. Maturity is when you focus on positives in people.
  9. Maturity is when you do not seek approval from others.
  10. Maturity is when you stop comparing yourself to others.
  11. Maturity is when you are at peace with yourself.
  12. Maturity is when you can differentiate between Need and Want, and you can let go of your wants.
  13. Maturity is when you stop attaching Happiness to material things.
  14. Maturity is when you learn to Let go, accept the situations and move on.
  15. Maturity is when you don't react to the behaviour of insane people.
  16. Maturity is when you are able to drop expectations from a relationship and give for the sake of giving.
  17. Maturity is when you are able to walk away from people and situations that threaten your peace of mind, self-respect, value, morals or self-worth.
0
LVL 39

Expert Comment

by:BillDL
I'm not sure I agree with:
15. Maturity is when you don't react to the behaviour of insane people.
It is completely out of context with the other points.
0
LVL 25

Author Comment

by:Andrew Leniart
I got a hilarious response to point Number 2 from a member at another forum. He said "Some people say violence never solves anything. I think that sometimes a good hard punch in the mouth is the only solution."

Made me laugh out loud :)
0
Customer called, they are having an issue after a Synology DS1515+ system had a power failure.
The customer moved the drives to the new Synology NAS.
Once they did this they powered up and had to check consistency.
The consistency scan ran for 5 or 6 hours. From there when that ended, we could see the iSCSI information on the Synology.

We went into the ESXi console, Tried adding a storage adapter and connection that would target the NAS and see the datastores.

When we add the host name of the iSCSI target, we don't see anything populate. But if we go in and add the IP address of the Synology in question under the Dynamic Discovery, we see 3 disks come up under static. It shows the .25 IP address and an IPv6 address for each of the LUNS.   But even with the LUNS showing up in the discovery area, we still can't target the storage and see it under the Storage Adapter as noted in the image attached. How can I get the Synology NAS to show the iSCSI Target so the system will boot again?
2019-01-10_22h46_09.png
2019-01-11_01h07_13.png
0
I need to create remote desktop server 2008 r2 2 Factor Authentication.

How would I go about doing this?
0
I use different netsh commands to run individual back ups of DHCP servers.
For example:
netsh dhcp server dump > \\10.0.0.1\dhcp$\Area1\dhcpcfg.txt
netsh dhcp server export \\10.0.0.1\dhcp$\Area1dhcpdb all
pause
netsh dhcp server dump > \\10.0.0.2\dhcp$\Area1\dhcpcfg.txt
netsh dhcp server export \\10.0.0.2\dhcp$\Area2\dhcpdb all
pause
I have to go on each server to run this
Please indicate a power shell command I could use to run once and back up all my dhcp servers
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
OWASP Proactive Controls
LVL 12
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

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
Hello Experts.

I'm looking for some creative ideas on how I might go about adding drill-down capability to my databound forms. Allow me to explain...

Let's say that my hypothetical project is for managing a local sports league, and includes three databound tables and corresponding forms for entering / updating records:
  • Players
  • Teams
  • Schedule

As you can imagine, some of the data in these tables are related. So, the Players table would have a field to specify which team they are on. The Teams table would have a field to specify the Captain and their Player ID. The Schedule table would have the two Team IDs that are competing each week.

I would like to be able to make the TextBoxes which have a direct relationship clickable, with the action being to display the correct Form and record. So, if I'm working within my Players Form, and I want to have a look at the details about their Team, I could just click that field and the Teams form would be shown for that player's team.

Hopefully, that's fairly clear. Any thoughts how I might go about making this a reality?

Tony
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
Hi,
Can someone please help me understand how a certificate works on a firewall. The concept and how the firewalls authenticate certs.
The scenario is a Fortigate 100d with a cisco ASA (3rd party) Certificate based VPN.

We have setup a tunnel however i don't see many logs due to firewall in shared datacentre managed external. However they do not support certificate based VPN tunnels.
We initially setup on pre shared key and was fine. So we know all the other settings are correct.

We have created a CSR on the fortigate and completed this with a CA "Digicert" we have loaded the cert into the firewall (Fortigate using web gui) We have received the Certificate Authority (Go Daddy from external 3rd party and installed these. Now remote_Cert1 2 etc.
We have setup the VPN tunnel to use the Peer certificate and pointed to 1 of the Go Daddy Remote-Certs. No option on a Fortigate to use 2 certs.

The info we are getting from the Cisco side debug is as follows

IPSEC An inbound LAN to LAN SA xxx between IP and IP (user==IP has been created
same and outbound LAN to LAN created
AAA retrieved default group policy IP for user =IP
local remote connection established. then it say an IPSEC inbound/outbound LAN to LAN has been deleted.

The CIsco (3rd party side have no experience on Fortigate( they are seeing a message saying our certificate has been successfully validated SN x subject name CN = company etc.

The tunnel won't come up on the fortigate. So any info on …
0
We are setting up Log Analytics in Azure and are trying to monitor for specified services if they go into a stopped state.  My issue is that I'm not seeing all of the EventID records for event 7036 in Log Analytics.  If I use the following query:

Event
| where (EventID ==7036)
| where Computer == "xxxx.yyy.com"


I see entries for some services but not all.  Example I see entries for "The WMI Performance Adapter service entered the running state. "  but none for "The Print Spooler service entered the stopped state." when the following entry is in the Event log on the actual VM.


Log Name:      System
Source:        Service Control Manager
Date:          12/7/2018 2:28:39 PM
Event ID:      7036
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      xxxx.yyyy.com
Description:
The Print Spooler service entered the stopped state.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="16384">7036</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2018-12-07T20:28:39.267645100Z" />
    <EventRecordID>122417</EventRecordID>
    <Correlation />
    <Execution ProcessID="664" …
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
Good Day,

I need assistance with config in a proxy.pac file.

In the file I need to specify that if the traffic is from a certain subnet then it needs to go directly to the internet and bypass our proxy appliance.

Currently there are statements stating that if the destination is a specific subnet then it returns "DIRECT", but I need to add a source subnet in there.

In the .pac file I have statements like this:

var resolved_ip = dnsResolve(host);
      
    if (     isInNet(resolved_ip,"127.0.0.1","255.255.255.255")
        || isInNet(resolved_ip,"10.0.0.0","255.255.255.0")
        || isInNet(resolved_ip,"10.10.1.0","255.255.255.0")
        || isInNet(resolved_ip,"10.10.1.0","255.255.255.0")
          || isInNet(host, "41.160.7.14", "255.255.255.255")
          || isPlainHostName(host)
          || localHostOrDomainIs(host, "127.0.0.1")

       )
      return       "DIRECT";


    else
      return "PROXY 10.51.158.158:8080";
}


So I need to add a statement in that top part that says if the soure of the traffic is a specific subnet (10.54.206.0/24) then it must also return "DIRECT".

Thanks for any assistance.
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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
I am having a real problem trying to get an Office 365 label published. I have created the label and linked it to a policy and applied it to my test account. When I go into my word online the label does not appear. I have an E1 and an AIP license assigned. Any ideas why this is not working
0
(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
Search results appear to have no file associations . it shows a blank page and you cannot click on it to open the files.  These are word documents.  you then can go into the directory and open the file ok.  Only the search results is missing the file associations.   The os is 2016 server with remote desktop.
0

Golang

401

Solutions

886

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.