Golang

154

Solutions

438

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

Corel wordperfect office x8 has a strange error I do not know how to fix.
 It freezes once you go to the settings. It has the source as StrongVault online backup.
corel.PNG
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

When we go to print to PDF a word document nearly everything prints fine.
There is a area of the right side of the page that has some border coloring that isn't following the pdf. I believe its shading.

We highlight a couple of values with green but they don't come through as shaded when we convert the word document to a PDF.
I have gone through and tried to adjust acrobat and word settings. But the document conversion still doesn't appear to be working.
0
Client has audio files from town meetings that need to go on website.  Site is due to launch as early as next week.  Largest file size is 341MB.  Website is being built on Wordpress.

Can someone recommend a software or plugin we can use to reduce the file sizes.  They are not tech savvy so it would need to be something pretty easy to use since they do not want to have me do it for them on a weekly basis.  

They might be ok with a free trial and then pay afterwards if it serves their needs.
0
We have an Exchange 2010 environment with several mailbox servers a single DAG and one CAS/OWA server. (we are unable to upgrade the version yet due to compatibility issues but we are working on it)

There were some issues when we were originally transitioning from 2003 so the Exchange admin at that time never implemented a CAS array.  

As part of our Disaster Recovery plan I would like to set up a second CAS server in our DR/colo site and have mail automatically flow through it should my primary site go down.  Of course mail has to keep flowing while I set up the new server and move over to the new array.

My question is is it possible to set up a new CAS server, create an array and move over to it without causing an interruption in mail?  Would my users continue to get mail from the stand-alone CAS server while I am transitioning them to the array?  what would be the order of steps to implement this change?  

As an added complication we are using VERITAS Enterprise Vault to archive our mail so we need to maintain Enterprise Vault integration in OWA.  But this is not a part of my original question.

Thank you.
0
For example as per attachment, i would like a  function that looks at a single occurrence of females first on the management level field and Gender field and gives an additional column a label for example VP Black women, and at the same time look at the occurrence of both male and female and the management level and gender field and give a label/column field of for example VP Black. I would like to use this label or column in SSRS to show a field grouped by females only and a combination of males and females. Your assistance will be highly appreciated.

for example, the query i had in mind would go like this. Excuse i am a complete novice

select [Management level],[gender],[Corporate grade]
case when patindex(%Black%,[Management level]) AND patindex(%Female%,[Gender key]) the 'VP Black women' else 'VP Black'
0
There are descriptions for switching back to classic on youtube but it does not appear for me.

The same google account has the old classic view on other computers

How can I switch back to classic?
0
Hi - I'm using jQuery ticker found here: https://github.com/gluhbirne/TickerMePink

I'm pulling ticker news via recordset. However when I change the default ticker speed to slow duration, i.e. 5000,  it creates a longer load time.  It delays the duration by 5 extra seconds for first item to even show.  How would I go about Increasing the initial speed so first item displays right away then keep with the 5 second duration?

<script type="text/javascript">
      $(function(){
      $('#ticker').tickerme({
            duration: 5000,
            control_rollover: '#099'
      });
});
      </script>
1
Hi All,

I have a Run-time Error '2105' (You can't go to the specified record) in the event builder.
This is my code

    Option Compare Database
   




Private Sub Command123_Click()

End Sub



    Private Sub Form_Load()
   
    Dim str As String
    Dim db As Database
    Dim rs As DAO.Recordset
    Dim sSQL As String
   
    sSQL = "SELECT distinct(ID)  FROM tblMembers"
    Set db = CurrentDb
    Set rs = db.OpenRecordset(sSQL)
    MemberID.SetFocus
    MemberID.RowSource = ""
      Do While Not rs.EOF
       MemberID.AddItem (rs!ID)
        rs.MoveNext
       Loop
       
    Set rs = Nothing
    Set db = Nothing
       
   
    End Sub
   

    Private Sub MemberID_Change()
    Dim strID As Integer
    Dim strName As String
   
    strID = CInt(MemberID.Text)
   
    Dim db As Database
    Dim rs As DAO.Recordset
    Dim sSQL As String
    sSQL = "SELECT *  FROM tblMembers s WHERE s.id = " & strID
    Set db = CurrentDb
    Set rs = db.OpenRecordset(sSQL)

    If rs.RecordCount > 0 Then
     txtFullName.Value = rs!Title & " " & rs!Fname & " " & rs!Mname & " " & rs!SurName
    Else
       txtFullName.Value = "Record Not found"
    End If
    Set rs = Nothing
    Set db = Nothing

End Sub

Thank you
0
Apple's iPad Pro and Microsoft's Surface Pro aren't supposed to be competitors in my eyes, but Consumer Reports (CR) sees it a bit differently.

If you would like my take on it, the Surface Pro is just a smaller laptop that has tablet functionality. While the iPad Pro is a tablet that has laptop functionality but only depending on what apps you have. Meaning that you can use the iPad Pro for strictly playing games from the App Store, or you can turn it into a laptop replacement and use it to knock out those daily business chores.

All in all, we should all agree that we like what we like. If you're an MS fan, I'm sorry you got dinged like this, but if you're an Apple fan know that the iPad Pro can be a laptop replacement if you choose to use it that way. Oh, and don't go laughing at your MS buddies because CR smacked them on the hand. What goes around comes around, and we should all just respect that we have different taste and love to drive the machine of our choice.

Take care everyone.
3
 
LVL 10

Expert Comment

by:Colleen Kayter
Justin, the one that caught my attention is facetime. ugh! the only people you can connect with are other Apple devices. And I wasn't talking about using my Surface to manage SharePoint, I was talking about being able to see/use SharePoint and OneDrive from within Word, PowerPoint, Excel. The cloud storage is treated just like any other folder on my computer.

And I'm jealous of the vette.
0
 
LVL 10

Expert Comment

by:Colleen Kayter
BTW, Justin... what you said about going to your Mac to get some stuff done? That. What if you could squeeze your Mac into your iPad? That's why Surface is not like an iPad.
0
Hello,

I am new to XenServer, coming from VM ESXi, which I presently will say prefer.

New env looks to have either the free or essentials version, but I not sure.  I see two XenServers with Pools under them in the XenServerCenter, but only one of the two(bottom) allows access to alerts where you can set alerts, which I believe indicates it's licensed.

Pool1 w/two host - XServer 6.1 Build 59235p DBV:2010.0521
Pool2 w/Two host - Xserver 7.2 Build 2017-05-11 DBV: 2017.0517

The first of the two(top) It's pool and hosts listed on top, does not allow setting alerts and says licensing upgrade required.   So, I am assuming this setup being managed through the single Xcenter console is not licensed?  

Either way, under the aforementioned pool and hosts there is a vmhost that tends to be high in CPU when you check the top tier Xenserver/Pool performance tab where I see 21 CPU # listed.  I have to go to each vmhost and it's performance tab to find the specific vmhost with the corresponding high CPU usage.  Is  there any free ty in apps or scripting options that could ty things together and definitively tell you which Host is reflecting high resource use, cpu  in particular in this instance but memory, too, etc...?

Thank you.
0
Want to be a Web Developer? Get Certified Today!
LVL 9
Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Hi, I have a digital art project I'm currently a part of, and I really need a long line with no gaps. As you can see below, there are gaps in between every em dash I put. ↓↓↓

————————————————

It is also important to note that I am doing this project on my phone; therefore, solutions available for Android phones will be highly appreciated.

Please reply soon, because the due date for this project is close. Thank you. :)
0
I am writing an application that is binded with a small Access Database. I have designed a report with RDLC (Visual Studio 2017) (VB.Net).
The report is design to be more of a form like, and not a table view if that makes any sense.

The issue I am having is that when I load the report I am not able to go through the records or reload it to the report. It only shows the first record in the dataset when it loads. I would like to choose what record or row is shown in the report.

Can this be done with some code on reportviewer form or load? A solution I thought of is showing the dataset in a datagridview and then allowing the user to select which row they want to do a report on. Click or select that row and then that record or row is loaded as the report.
0
My school has a great IT, so they were able to block our games on our school laptops, I have tried everything to make this go away, so I can play my games. Please help me!
0
Hi
I m developing  mini qemu like VM for Android device .
Any suggestion how to go through.Any starting point of atleast 1000 line code only
0
 
LVL 12

Administrative Comment

by:Andrew Leniart
Hi Manoj,

Welcome to Experts Exchange.

What you have done is made a "Post" here.  To get expert help, you need to "Ask a Question" so that more experts are able to see that you need help. Click the Big blue button near the top of your screen.

Ask a Question

The following link also explains more about asking for help at Experts Exchange..
http://support.experts-exchange.com/customer/portal/articles/336330

Hope that's helpful.

Regards,
Andrew
EE Topic Advisor
1
How would and what is the best way to do this?
I want all customers to come to my web page, just a single page.
Once they arrive they just need to click a button saying GO then they get directed to a website and only this website using a proxy I have from Brazil. If they leave the site and try to go anywhere else they disconnect from the proxy?

I have my paid brazil proxy hostname and it would be post 80.
So how would I get this working on php?

thanks
0
I had a quick course of database few years ago and I forgot a lot from there. So you can say I'm starting from zero. I will try to explain to you on what I want to do and a picture with what I did so far.

We have a small business at home to change tires on a car (winter tires, summer tires). When I customer comes and changes tires they usually left them in our shop and we store them on a shelfs in the basement. For easier explanation let's say we have only 5 shelfs labeled from A1 - A5.

The guy comes to change from winter to summer tires. A receptor takes his name, address, car model, tires specification (of winter tires). Summer tires comes on the car, and the winter tires goes into the basement and on the shelf (let's say they go on location A1). After they are placed on the location we update the database with the location of the tire. When he comes next year we do a SQL query to see where he has his winter tires and we change them.

After receptor makes a paper with his information (name, tires, etc.) she prints this list with QR code on it with his client it. The paper goes with tires to basement and when a worker puts the on a shelf, he scans QR code on the list and QR code of location (a1 shelf) and update the database with location information of where tires are being stored.

I hope you see what I'm trying to make.

Here is the link of the ERD I made so far:

http://imgur.com/a/ujIEX

Can you please take a look and maybe suggest if anything needs to …
0
hi experts,

 I have quickbooks 2016 installed and when I go to Edit>preferences and click on send forms under send email using:
i only see web mail and I need outlook there because I need to send using outlook but it's somehow hidden and it doesn't let me see the other options... see screenshot
quickbooks.PNG
0
Dear All,

Strange thing happened to me, Some mails are bouncing back with different Ip Address
For Exp

I have a Domain Treeadd.com and its mail server FQDN should be mail.treeadd.com
Treeadd.com have no ip address but Mail PTR record have 192.168.2.10

ASA 5510 Is Configure for port forwarding and its having address 192.168.2.1


When sending email, its should go with 192.168.2.10 address but its going with 192.168.2.1 and bouncing back

Remote Server returned 'Server #5.0.0 smtp; 550 The email sent from 192.168.2.1 by usman@treeadd.com was rejected by the receiving server as the sending server did not pass the required reverse DNS lookup.


Please Advice
Thanks,
0
#option3
                                update top(10) ud_$REAL_TABLE_NAME
                                set $UD_FIELD_NAME=@id
                                where $$UD_FIELD_NAME is NULL

                                while @@rowcount > 0
                                begin transaction
                                update top(10) ud_$REAL_TABLE_NAME
                                set $UD_FIELD_NAME=@id
                                where $UD_FIELD_NAME is NULL

                                     if @@rowcount > 0
                                       begin
                                            print 'Successfully update @@rowcount no of rows'
                                            commit transaction
                                       end


                                end

                                go

                                set rowcount 0
                                go
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Can't make a syncronous Serial Port 232 communication work.

I have  a my send routine and my receive routine. both work fine, now, my issue is that I need on a specific backround worker that when i send a line from a file I wait for 3 seconds, if the word "GOOD" or ACK (in hex) is recieved then send the next line, i do repeat this up to 3 attempts (meaning, i try sending the same line 3 times before I skip to the next, and repeat the process (send, wait for response if GOOD or ack go to next...).

as i mentioned, I can send, I can receive, but can't make them work syncronous...it is only for this background worker...any suggestions?
code below

 #region SEND DATA
        public void SendData(string message)
        {
            try
            {
                if (!MsComm1.IsOpen)
                {
                    MsComm1.Open();
                }

                string MessageToSend = "";
                MessageToSend = "<" + message + ",";
                MessageToSend += message.Length + ">";
                MsComm1.Write(MessageToSend + Environment.NewLine);
                //  byte[] newMsg = HexToByte(MessageToSend);
                // MsComm1.Write(newMsg, 0, newMsg.Length);

                LogFileAMSend((MessageToSend), RawDataLogFileName);
              
                RTBLogs.AppendText(DateTime.Now.ToString("MMM - dd, HH: mm:ss.ffff") + ">>: " + MessageToSend.Trim('<', '>') + Environment.NewLine);
                

Open in new window

0
I’ve been working on someone’s website as they need Google Recaptcha adding to stop the bots emailing them constantly.

I’ve amended the old php file and it now looks like this:-

<?php
        $msg1 = ''; $succeeded = ''; $failed = ''; $dest = ''; $sender = ''; $enqs = '';
// sort the POST array
ksort($_POST);
// iterate through the POST data and assign them to the email message or variables
foreach ($_POST as $key => $value) {
    if ($key == 'formfail')
    $failed = $value;
    else if ($key == 'formsucc')
    $succeeded = $value;
    else if ($key == 'formdest')
    $dest = $value;
    // add the enquiry types for the subject header
    else if (substr($key,0,3) == 'cb_')
    if (strlen($enqs))
    $enqs .= ', ' . $value;
    else
    $enqs = $value;
    else
    $msg1 .= "$key: $value\n";
    if ($key == 'email')
    $sender = $value;
}
ini_set("sendmail_from", $dest);
$headers  = "From: $dest\r\n";
// send the email
    $sent = mail($dest, "Quote Request From Website: $enqs", $msg1, $headers, '-f' . $dest);
        }if(isset($_POST['g-recaptcha-response'])){
          $captcha=$_POST['g-recaptcha-response'];
        }
        if(!$captcha){
          echo '<h2>Please go back and check the  captcha form.</h2>';
          exit;
        }
        $secretKey = "*********************************************";
        $ip = $_SERVER['REMOTE_ADDR'];
        …
0
The below script is printing the restore statement, instead of restoring the databases, please modify the below script to be able to restore without printing restore statement

SET NOCOUNT ON
-- This script should be run on the primary to generate a restore command for each database.
-- The restore commands that are generated should then be run against the primary after the
-- full backup files have been copied to the secondary server
DECLARE
@dbid int
,@dbname varchar(1000)
,@dbfile varchar(4000)
,@dbfileonly varchar(4000)
,@dbfilename varchar(4000)
,@sqlrestore varchar(4000)
,@dbfiledest varchar(4000)
,@logfiledest varchar(4000)
,@dbfilelocal varchar(4000)
,@logfilelocal varchar(4000)
,@backup_path varchar(4000)


-- Set data and log file destinations --
Select
@backup_path = 'C:\backup'  -- Path to the full backup <-- EDIT REQUIRED
,@dbfilelocal  = 'C:\MSSQL\Data' -- Data file location on the secondary <-- EDIT REQUIRED
,@logfilelocal = 'C:\MSSQL\Log' -- Log file location on the secondary <-- EDIT REQUIRED

DECLARE cRestore CURSOR
READ_ONLY
FOR
SELECT
    S.[DATABASE_ID]
    ,S.[name]
FROM
    SYS.Databases S
    Inner Join dbo.LSDBList LDB
    On S.[name] = LDB.[database]
OPEN cRestore

FETCH NEXT FROM cRestore INTO @dbid, @dbname
WHILE (@@fetch_status <> -1)
BEGIN
    -- add data files to restore script
    DECLARE cDBFiles CURSOR
    READ_ONLY
    FOR SELECT SF.[name]
    ,COALESCE(RIGHT([filename], …
0
I just finally got a iPhone 7 but it got deactivated before I could send my pictures to someone from my old Samsung flip phone. Can I somehow get them back. Everyone keeps saying no. Someone suggested buying a pay as you go plan and reactivating the phone. Will this even work?
0
I have a Zebra LP2824 Plus label printer.   After a [period of inactivity, it has to be switched off then on again before it will print labels.   I am using Windows Professional 64-bit OS.
0
Hi everyone, my question is same as relevant subjected issues mentioned above, my server 1 have running dhcp and 2 server have seperate wds installed, when i go through to boot from pxe there are tftp open time out and show pxe E32 error. Even port 66 and 67 are checked mark in server options in dhcp server.
somebody give me best possible solution to get out of this situation.
0

Golang

154

Solutions

438

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.

Top Experts In
Golang
<
Monthly
>