Golang

157

Solutions

441

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

I'm looking for an internet messaging utility for use on a LAN in a clinic, for uses such as telling someone on the phone that an appointment has arrived without having to go to their desk.  I thought that the Windows msg command would work, but it seems to not, because  a msg can't be sent to a machine name and all the users user the same logon name (yeah, I know, I'd never seen that before either.)  Environment is Windows Server 2012 domain with 18 Win7 and Win10 PCs.

Does any one know of such?
0
Enroll in August's Course of the Month
LVL 9
Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

I am at long last trying to learn VBA, and have a Kindle version of Excel VBA Programming for Dummies by John Walkenbach. I have followed exactly the instructions he gives for creating the simplest of macros to create my name and the date, in bold text and 16pt. I followed the instructions EXACTLY, and do not get the expected result. I attach my spreadsheet with this Question, and also a screenshot of the Visual Basic Editor shown in the Dummies book.
What have I done wrong? I want to be able to go through this book and learn VBA, but with this bad start I am already foxed.
Any ideas?Macro-Lesson-No.-1.xlsmThe 'Dummies' VB Editor page screenshot
0
My table X has 1 billion records it is partitioned  by range using a surrogate key.table has 250 partitions.
I need to extract  209 million records (scattered in all partition) from X and insert into table Y
I need to process multiple partitions (say 5 at a time) of table X at one go and store it in table y.
Could you please provide sample query for the same and let me know multiple partitions permissible limit.
For example
Insert into table Y from partition 1 to 5 of table x
0
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
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
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) shows 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
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
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.

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
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
#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
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 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
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 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
Hi,
When i go to another VLAN with my laptop, It will not get the connection from network or we can say it will take some time to get IP from new VLAN from old VLAN. If i connect the laptop from Wireless it shows connected.
I want the suggestions that i would be able to connect on diffrent VLANs with my laptop and with my netwrok.
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
Hi All,
I have a doc library with many folders.  
I created a view where Checked out to = [Me]
If I go to the folder and choose the checked out view it works
If I am in the library and not in the folder I don't see my checked out file in a folder

How do I set up the view at the top level of the library and it spans all folders?
Also how do I see ALL checked out files regardless of who checked them out and where within the library?

TIA,
Joe
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

Golang

157

Solutions

441

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