Golang

443

Solutions

955

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

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
This is a Windows DNS Server question.

On the windows server that has the DNS role, this server connects to a SAN as well. So basically the server has 8 nic ports. 4 are teamed for the windows environment, and the other 4 ports are used for multipath to the SAN.

So in the dns config section i go to the properties tab of the dns server. On the interface tab it shows 5 ips. The 1 that entails my windows team, and then the 4 that go to the san. I unchecked all of the SAN ips since my clients were associating this san ip to the server when looking for a logon server etc.. However when i uncheck all my san ips that goofy self test it does on the monitoring tab always says it fails.

However when i put in this server to my laptops static dns list it seems to work fine for web, browsing pc names on the network. I even flushed all the caches locally and on the server to make sure.

Does it matter if the monitor tab fails? If i put all my san ips back in under interfaces it passes, but then the server advertises these address on my network as a way to get to it which is wrong obviously. I am content with not worrying about the monitoring tab if this is normal for people who have had a server running dns server which also connected to a san.

Any comments or suggestions welcome. Thanks!
0
I want to hide two controls in a sub form based on the condition selected from the parent form , I have tried all what I can , nothing is working out my code is on sub form before update event:

If (Me.Parent!txtProductCH <> [Purchase Order]) Then
Me.CboProduct.Visible = False
ElseIf (Me.Parent!txtProductCH = [Purchase Order]) Then
Me.CboProduct.Visible = True
ElseIf (Me.Parent!txtProductCH <> [Purchase Order]) Then
Me.CboPrices.Visible = False
ElseIf (Me.Parent!txtProductCH = [Purchase Order]) Then
Me.CboPrices.Visible = True
End If

Open in new window



Where do go wrong here?

Regards

Chris
0
Hello,

Is there a way to physically locate a connection configured as etherlink aggregation on iSeries (AS400) 7.3? We have some ethernet connections configured as ethernet ports and I can go to the properties and find the physical location (serialnumber-p1-c1-t1) but I cannot find where the etherlink aggregation ports are configured.

Thank you in advance!
0
We use an IdP (Onelogin) for SSO with Azure. Ever since we started with Azure there has been unauthorized login attempts cause user lockouts on Onelogin side.  I need to whitelist the IPs on Azure side that are able to send SSO login attempts.
We want to request to go to SSO but only if it meets the IP whitelisting first.
Azure/Onelogin uses WS-Trust for Authentication.
I checked with Onelogin, they don't offer anything that would prevent an authentication attempt based on IP for a WS-Trust auth from Azure.
0
I need an 8 port switch capable of being compatible with a Linksys EA9500. There are several options listed for switches such as managed or not managed. I have no idea what that refers to or if I need it. My needs are not complex. The ports on the switch will go to a Dish Network Hopper tv receiver, hulu, Sony TV, blueray DVD player, two laptops and a desktop. Since I pay for  one gig service and frequently get 950 up and down I naturally want to take advantage of that speed on all my devices. One expert has already suggested two different model and brands. My budget is set at $150.00 maximum unless there is a definite need for something higher priced. I welcome suggestions. Some have a lifetime warranty that is quite nice.
0
Hi All,
I want to make a script to run to swap screens 1 to 2 or 2 to 1 from left to right.
I have staff swapping desks or setting up meetings and have to go into display settings and drag 1 identified screen to 2 identified as the mouse gets caught and can't move to the other side logically.
I have wanted to do this for a while. Hope everyone has a solution and point me in the right direction.

Appreciate your help.

D :)
1
Client has brand new Win 10 Pro with Windows Defender...
He cannot access a certain website...
www.commonsku.com is providing an online training video...

Clicking on the video takes you to www.useloom.com...and Defender goes crazy...red page..."infected website"...email to tech at commonsku.com says we need to whitelist
useloom.com...

Got the IP addys...edited hosts file...no joy...
Tried to go into Defender but cannot figure out how to allow a website thru Defender...

Go to New Rule...nothing there that would apply to a website...Programs...Ports...etc...no HTTP://...

Need a little help...can't be hard....I'm just not seeing it...

thanks
0
We have a 3 server Exchange 2013 DAG with 4 DB's, Recently one of our departments decided to change their domain name. I have been moving their linked accounts from the old domain to the new domain. We have been experiencing a weird issue with public folders and shared mailboxes.

Basically a few times a day all of the public calendars for the users seem to go offline they are unable to reconnect them and it clears them out of their favorites. I have attempted re-creating the calendars and re assigning permissions. Deleting user mailboxes and recreating them and the issue persists. After 5 to 10 minutes they can close and re-open outlook and their calendars are back but their favorites are cleared so they have to re-add the calendars.
0
There arent enough of us to do the full testing we should do on new features we build for our website, plus to just make sure things keep on functioning as they should. We need to set up automated testing of all of our website features, like logging in, getting special pricing levels based on who you are, shipping API's functioning as they should, general website functionality etc. Is Selenium a good way to go? If so, can somebody please give me a bullet point list of how to get started and implemented? This is for a large website on LAMP stack. Thanks very much.
0
We're having some issues getting to our website from inside the network. The website host crashed this past week. We moved our website server to a new host. I changed the IP in the DNS area, but it still won't connect. The site works fine from outside of our network. The domain is the same internally as externally. companyname.net   so when I go to ping www.companyname.net it shows the updated IP internally but for some reason the site isn't coming up. The old site isn't either. The site refused to connect is what I see.
0
So I have a user who has an external hard drive that suddenly doesn't power up at all when connecting it via USB. I have had him try alternate cables and computers as well. It's just a regular external USB drive where you plug it into USB, it spins up, and then you go. Now he plugs it in and nothing happens on it at all. I wanted to check here with you folks before telling him sorry it's just crashed and dead. I will try extracting the internal drive on it and directly connect it to a computer when he returns to the office. Anyone have any other suggestions by chance?
0
I have an access field in my database that has date and time and the only way to view all the values for a given date is to select a > < (between) date range such 1/8 /2019 - 1/9/2019 to view all the rows for 1/8/2019. I would like to only query based on the date so when I query for 1/8/2019 it should bring up the rows for that date instead of having to search for a range or go to the next day. I know the easy is to change the column settings but I am unable to do so and would help on the correct date command or another function to make the change.
0
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
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

Golang

443

Solutions

955

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.