We help IT Professionals succeed at work.

Golang

640

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.

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
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
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
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
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
Dear Verizon,
     I had a cell phone that did get kind of damp, so that did put it out of use. (Question: Do you know of ANY way to bring it back into use?)
     Now I did find this older model (Verizon (and I have been a Verizon customer for several years)) that did still works, so I am using it at the moment. When I did go to the Columbia, Maryland office (it's at 6480 Dobbin Center) and they said that they didn't have the proper tools - cable-S - ?? to move the phone No. from the cell phone (my older one that works) to a smart type phone that I now have. The older phones Model is: BST195ASE (it looks like that (small digits) and VZW: SAM650BATS. Since I am a Verizon customer it would seem logical that if they don't have one in-house they could get one from headquarters. HMMM ? ? ? ? I was told that it was a phone that was maybe eight years old. HMMM ? ? ? ? Do you have the proper equipment or ?? ***REMOVED BY MIT***
     Have a Good Day,
John Hamilton
0
I have a server 2012 R2, it started to do strange things. First when I log on to it, it go to the tool bar right away does not stay on the desktop. When I am remote to the server it will sometimes request a re-connection and it only takes a second to come back. The server will broke its connection from me something on it own. I have many servers that I remote to without this issue.
 Does anyone know what going one?
 Thanks
0
I have researched a software and also have surfed on the internet and came to know that no such software exists, So there can be a possibility that this can be patented, and as this is unique and I know unique things can be patented. But as this is a software so can this be patented. Should I refer an attorney for this. I told this to one of my friends, she stays in Sydney she suggested me to consult cotters registered designs which are in Sydney. She said they have senior attorneys so they can help. Should I go with her suggestions or someone can suggest me a better company to go with.
0
hi experts my code is like that check on table1 if textbox1.Text exist if yes go to table2 and check if textbox1.text exist and if textbox2.Text exist if they exist open the form if not insert them and open the form and if textbox1.text exist and textbox2.text doesn't exist close form

i wrote this :

MySqlConnection con = new MySqlConnection(connectionString);
            i = 0;
            con.Open();
            MySqlCommand cmd = con.CreateCommand();
            cmd.CommandType = CommandType.Text;
            cmd.CommandText = "select * from informat where u_ser = '" + metroTextBox2.Text + "' ";
            cmd.ExecuteNonQuery();
            DataTable dt = new DataTable();
            MySqlDataAdapter da = new MySqlDataAdapter(cmd);
            da.Fill(dt);
            i = dt.Rows.Count;
            int userial = metroTextBox2.Text.Length;
            if (userial >= 5 || metroTextBox2.Text == null)
            {

                MySqlConnection conet = new MySqlConnection(connectionString);
                conet.Open();
                MySqlCommand cmsd = conet.CreateCommand();
                cmsd.CommandType = CommandType.Text;
                cmsd.CommandText = "select * from alred  where u_ser = '" + metroTextBox2.Text + "'and u_ip =  '" + textBox1.Text + "'";
                cmsd.ExecuteNonQuery();
                DataTable ddts = new DataTable();
                MySqlDataAdapter ddas = new MySqlDataAdapter(cmsd);
                ddas.Fill(ddts);

         

Open in new window

0
a user had her computer changed to a new one. She has opened a database and there was a message that popped up but she cannot recall what the message was and she clicked on something. After that the database has opened but she cannot click on any buttons or go to any other screens. The database works fine for everyone else, she just changed something on her computer and I cannot figure out what it was. It's like she has disabled the whole system.
please help!
0
Why is my BlackBerry World not connecting? At first it used to say, Blackberry World currently unavailable. Please try again later. Now I opened it, but when I try to go to my apps. It stopped working. It says, there was a connection problem. Blackberry world must close
0
hey ,

the port that has the sfp SR does not come up , i have tried to do a shutdown no shodwon and still does not come , when i do shutdown command the port does not go for orange color .


i am confused !

BR
0
I have a SFTP server in DMZ (D-SFTPS) and a SFTP server in LAN (L-SFTPS).  The idea is that any SFTP traffic between WAN and LAN has to go through D-SFTPS and L-SFTPS.  What is the best practice to enable communication between D-SFTPS and L-SFTPS when it only involves sftp between internal server and external server?
0
I have been working with Adobe Muse theme - "Club Hero".  When I go to upload the project to WordPress, I receive the following error.
"Error uploading file master_a-master.css. Click Resume to try again. If this problem persists, try again later. [Failure initializing sftp session: Unable to startup channel]. I have installed MuseXpress on my WordPress site. When I look for the ".css file" I can't locate it
0
If I go into my programs and click on Malwarebytes nothing happens. Just a pop up that says "unable to connect the service".
0
I have several DT700 to put on my SV8100 switch. I setup all the settings correctly on the phone and can even use the web programming to get to it. What section do I go to for setting it up on the PBX with an extension and such? On the phone's display it shows Full Port.
0
i need a batch file to create this path: C:\Windows\winwin123
this path already exist: C:\Windows\  but the folder called  ''winwin123 '' must be created ,afetr is created i want to go there: C:\Windows\winwin123
0
Hi,

Is it possible to extract certain words from multiple documents and then place them in to an excel spreadsheet sort of like a data miner (I guess?).

Example:

Let's assume I need someone with experience in Java and they need at least 3 years experience, I can then type in those requirements and it will then go through all my CV's and put the people it thinks meets those requirements in to a excel spreadsheet.

I'm sure this is possible but I'm not sure how hard this would be (I'm doing this for a school project)

Thanks,
James
0
when I go to http://www.alliancesharedsite.com/sst.xml on one pc using ie11 I get the top pic  but when I go there with another pc I get the bottom pic.  what is wrong?  I want the top pic.  See attachment
Presentation1.jpg
0
I set up one of four laptops as usual, enabling TPM, turn on bitlocker and require a bitlocker PIN at boot to log onto the computer. In my setup, I create an original admin account (named - pallap005), a standard account (named - clinical) and then enable the default admin account. Once that is done then I disable the pallap005 admin account. In this case, I disabled my pallap005 admin account  before I enabled the default admin account leaving only my standard user account (clinical) available. I need to know if I can enable the admin account and how do I go about doing this?
0
I have a Delphi Console app that I need to call from a batch file.
The batch file starts cmd and creates a console.
The app also creates a console.
I need to write to the window/console that the batch file creates
and ignore the one the console app created.

Please go slow, I'm not very smart.
0
We currently have a Dell Equalogic SAN PS4100X and are looking at replacing it as we currently have 18TB in RAID 5 but cannot expand as all the bays are full.

What are peoples suggestions - do we stick with the same but newer or go with something else?

It should be compatible with our ESXi hosts running VMWare.

FYI a NAS is right out the question as we require about 30TB of storage minimum with a look at expanding in the future if required.  

Also how easy is it to set up a SAN from scratch and have it replace the old SAN?
0
I have printers on the network, some shared from a server some not. when i go to connect the printers to the client macine i would like the printer or printer server to install the driver. is this possible. i usually have to go to the printer manufacturers site and download the drivers and install them on the clients manually.
0
Hi There,

Let me start by saying I do not have a clue about Access other than use the existing database for entries and use the already customised  reports. Currently I have few databases that I use to enter the data and export the time sheets (which comes as one file) then extract each page and email them to individuals. The problem apart from being time consuming for doing 5 databases, the sensitivity of information (timesheets) are a stressful exercise every bi-weekly as we need to make sure the time sheets dont interchange or go to wrong person, has happened a couple of times in the past. Is there a way to Access to send the time sheets in PDF format to individuals for a specific period of time being rest assured it reaches the intended person. I can give information, but an heads up, it will be in a lay man's version.

Appreciate your help and advise.
Thanks & Regards
Naveen
0

Golang

640

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.