Golang

312

Solutions

739

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

im go to take adhoc sql full backup, before application upgrade
eg:

BACKUP DATABASE testdb
TO DISK = 'C:\testdb.BAK'
WITH STATS, DESCRIPTION = 'Full backup for AdventureWorks'
GO

how do you I know, my backup is not corrupted, and will work after restore, incase if required

Sorry I dont have environment to test.. it..

Do i need to do consistency check or readability check before take backup, if yes, how can i do that in Tsql?
0
Cloud Class® Course: Microsoft Office 2010
LVL 12
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

I am attempting to setup RDS on a Server 2016 Standard server.  No virtualization on the server level, so it is the AD, DS, DHCP, and all the RDS.  I ran the rds setup in the Quickstart deployment, session-based and all looks ok.  The applications and physical computers appear when go to the rdweb.  I wanted to also have 1-2 virtual machines available on the rdweb.  I installed the hyper-v role on server and have setup 1 virtual machine - Windows 10 Pro evaluation.  I can get into that fine on the server through hyper-v manager.  When I try to add a virtual desktop collection in rds - edit deployment, I get to the step of selecting a desktop template and nothing will show up in that window.  I have joined the vm1 to the domain, made sure I did the sysprep tool.  I am wondering if it is possible to have this vm show up when log into rdweb along with the physical desktops?  Also, can I accomplish this when I have one server doing all of this?  There are 5-7 users in 2 different physical offices.

Thanks in advance for any advice.  I am new to virtualization.
0
Hello,

We have login audits enabled through Group Policy, however, when we go to Event Viewer>Windows Logs>Security  we do not see any logon/logoff events. Is there anything we are missing? We used to see them, we do not know what was changed. We have Windows Server 2012
Thank you in advance.
0
I need some help with a MySQL lock wait timeout error.  I'm appending a simple three field table, that insert statement then triggers about 111 functions that populate another table with totals for certain categories of information, that are then displayed to the user in the user interface.  This process used to work without error, but now certain systems are intermittently throwing this error when the display table gets cleared, my insert statement triggers by 111 functions, and the table is repopulated.

If I close the application and restart it the problem will go away for a while.    How can I debug this error?

The actual error message is:

ODBC--insert on a linked table 'triggerdashboard1' failed.

[MySQL][ODBC 5.2(a) Driver][mysqld-5.7.22-log] lock wait timeout exceeded; try restarting transaction (#1205)
0
Hello I have a project I am working on. I am seeking to understand all possible setups for a project before I make a suggestion. Please keep in mind simplicity and convenience is important.  I am not sure if a Customer Solution is right or using Out of Box Solutions as part of a larger system is right. I really appreciate your help. Thank you in Advance.

Project is for a Regional Provider of LuxuriousSpa Treatments Users involved in the process include the Therapists, the TheSpa Provider and it's Locations, and the Clients.

Current Problems/Proposed Solutions:

-Paper Applications, and Processes by Paper used for Provider and Client Applications. Additionally, enabling customers to fill out an electronic paper intake form in lieu of Paper via Ipad.
-Would like to manage the entire work process from the initial point of contact through to service rendered. (Below is a summary).
-Enable Reception to book with an digital booking system and keep track of customer profiles
-Enable multiple locations to access purchase history and Identify and verify the details of each purchase. Locations need a booking management system to schedule & book appointments, manage customers profiles, as well as manage therapist profiles.

- Website Feature offering Gift Certificates & Packages that may be Pre-Purchased with no limits AS WELL AS Gifted. Gifted means: Allow to gift by email, name, phone # greater than 1 gift certificate or package.
-Merge all existing purchase data…
0
I have an image that represents what step you are on in a process:



I need to add links to each step ( hotspots) over the image to bring them to that particular page. And we dont want them moving ahead, meaning if they are on the first step, the links to the next steps would be disabled.They can only go backwards in the process.

Can anyone help me add the hotspots? I am at a loss how to do this.
0
Hi,

I'm trying to get image sizes to be all the same without resizing them in photoshop.   Can you help me?  

Go to http://marilynmesa.com.  You can see the images are different sizes.  I used 100w 100 height on css.

Here is html and css
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, width=device-width">
    <title>Marilyn Mesa Portfolio</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/style.css">
</head>

<body>
  <!--Page Content-->
    <header>
        <h1>Marilyn Mesa</h1>
        <p>I design and code front-end webpages.</p>
        <a href="hireme.html" class="btn">Hire Me</a>
    </header>
    <blockquote cite="https://en.wikipedia.org/wiki/Saul_Bass">
        <p>"Design is thinking made visible."</p>

     </blockquote>





    <div id="main" role="main" class="group">
    <section>
        <a href="zebra.html"> <img src="img/Zebra-life-website.png" alt="zebra"></a>
        <a href="zebra.html" class="btn">Demo</a>
        
          <h2></h2>

          <p></p>
          
          

    </section>
    <section>
      <a href="#"> <img src="img/voices4casa.png" alt="non-profit"></a>

          <h2> Non-Profit</h2>

          <p>WP Theme Customization & Consulting</p>

    </section>
     <section>

         <a href="#"><img src="img/Petsy-111.png" alt="placeholder"></a>

          <h2>Petsy Web Design</h2>

          <p>Mockup of

Open in new window

0
I have a customer of mine that the graphics card needs replacing in his desktop computer and he is wanting a good quality one to replace it with.  His computer is an home-built computer with a biostar TA970 and an AMD FX-6200 Processor, 3.8 6 Socket AM3.  He is using a single monitor but may want to use a dual monitor later.  He does not do any gaming - just mainly for business.  He (or is son) might do 3D cad work later on.  He is wanting something that is good quality and not go more than $200.00.
When it comes to graphics cards I just have not done too much research on them and don't really have time anyway.  If someone can help me out with this I would appreciate it.
0
I need assistance in my current VBA (please see attached document).
I have 5 excel files saved in a folder on C drive. the macro is pulling all the data from all files saved in a .xlsx format and pasting it to the last empty row on the master workbook. I would want to switch this up and have each file from the folder to go to a specific tab in the master workbook. All the files in the folder have the same name and i would want them to go to the same specific tab. The files in the folder and the tabs have headers so i would want to extract the data from row A2. Another key request will be to have the data overwrite. i don't want it to look for the last row; always start from A2.

Ex. the 5 files in the folder are cars.xlsx, color.xlsx, model.xlsx, year.xlsx and type.xlsx

cars.xlsx should go to sheet1
color.xlsx should go to sheet2
model.xlsx should go to sheet3
year.xlsx should go to sheet4
type.xlsx should go to sheet5

Sub MergeTest2()

   Dim SummarySheet As Worksheet
    Dim NRow As Long
    Dim WorkBk As Workbook
    Dim SourceRange As Range
    Dim DestRange As Range
    Dim LastRow As Long
   
    'Disable Events
    With Application
        .DisplayAlerts = False
        .ScreenUpdating = False
        .DisplayStatusBar = True
        .StatusBar = "!!! Please Be Patient...Updating Records !!!"
        .EnableEvents = False
        .Calculation = xlManual
    End With

    ' this line of code forces to put all collected data into this …
0
On my MS Access  Data Entry form I have two optional group controls.
First is opt_Category with next values:
1 – All
2 – Active
3 - Not Active
4 – In Process
5 – Completed

Second optional group control is opt_City
1- Paris
2- London
3 -Toronto
4- Amsterdam

On Main form I have sub forms (tabs) for each of those City where I enter some values and some dates
Aplication submited Date:
Aplication Process start Date:
Aplication Decision Date:
Notified Date:
In lower part of form I have detail sub form where I display results of proper selection combination.
Let say I want to show all applicants regardless of  Category or City or dates  entered in.
 I will show  applicants from Category and all of Cities regardless if date entry exist or not exist (as business rule allows to enter – register an applicant without any of dates present in).
If I want to show applicants from Paris and London that have submitted application (Submitted Date Is Not Null) or (Submitted Date is Null but Process Start Date Is Not Null) Business rule allow this kind of entry.
And so on…
What I want to say if I am creating separate query for each of those combination it will take a lot time and every new City added will multiply number of queries .
For now I have four Cities and number of Combination is 32 If I add next city it will go to 64.
How to create this selection criteria on fly? I assume It has to be “where” clause?
And I assume I need to loop through those two option …
0
Cloud Class® Course: CompTIA Healthcare IT Tech
LVL 12
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I need some help. I am having trouble wrapping my head around a firewall nat issue, in terms of how to accomplish a setup between my Production site and a DR Site. Both have the same internal subnet of 192.168.101.0/24.  Here is my issue:

I have a server with an address of 192.168.101.222 at my DR Site. Nothing will ever use that address in either Production site or DR Site other than that server, this is the only difference between networks. I need the ability to do a VPN to that one server. For instance if a user in my production site needs to go to that 192.168.101.222 ip I need it to go across the VPN to my DR site and access that server.
I know I need to NAT that IP to another IP and I get the concept but when I start mapping it out I'm confusing myself or whatever. I need help on this logic. There is a Cisco ASA at both locations
0
We are running exchange 2013 and we have users sometimes that want to send out emails to 100 external accounts but they don't go out.
What is the limit for sending external emails in bulk with exchange 2013 and what can I do to check what ours is set to and how can I increase this if possible
0
Hi
None of my iDrive backups have completed without an error, and I cant see a simple reason. - MacBook

I am doing the 'backup when press the button' not scheduled, because I don't want the OS clogged while I'm coding my globe changing projects :)

Does anything in this log printout help identify my problems? What about the skipped, missing files?

The summary says this:

Start time: 04/07/2018 06:27:03 AM
End time: 04/07/2018 06:29:32 AM

Files considered for backup: 574517
Files already present in your account: 572558
Files backed up now: 429  Size: 19.15 MB
Files failed to backup: 1530

Backup operation failed.

Open in new window



Some of the files/folders selected for backup may have been excluded from the operation. To view excluded files / folders, go to the "Exclude Files / Folders from backup" section of Settings tab in IDrive application.

In settings, there is an 'exclude files' panel.
I don't want to exclude anything! I want my entire McBook saved!
What am I missing?

Thanks
0
i am using skype for business and having issue with conversation history getting saved.
i use ms office 2016 and skype 2016, when ever i do a chat i can see it saying that the conversation is getting saved but when i go to Conversation folder in outlook nothing is saved.

The same thing when i do it on a different computer it works.

So it is clear that something in this computer have issues, i tried reinstalling the sfb but no luck, i dont want to reinstall msoffice 2016 as i very well know the same worked before and it stopped may be a month before.

Let me know the thing i need to check
0
Hi, can someone please tell me how I can uninstall the program on Pic 1 attached.  I looked in the usual place under programs and Features and it's not there.  I also looked in Revo uninstaller and it doesn't show up there.  I went to their website and it says to go to control panel, programs and features but since it doesn't show up, I don't know where else to look.
This is what comes up everytime I try to open a file
0
I rarely ask questions here, but this seemed like the place to go for suggestions on a new proposal I am writing.  I already asked on LinkedIn groups (sorry if you see duplication).  We are hopefully looking at implementing a comprehensive access management policy.  This will include removing all local administrative permissions.  It seems that in the best of all worlds we should have something in place so that end users can request temporary or permanent local administrative access, assuming the rationale is sound.  

Has anyone use a PAM solution they would recommend that does this?
0
Hello Experts...I really need your help Im having problem with my code
( How can I echo the $row["id"];)
to other php?...

I have a query on the second page

$query = "SELECT * FROM tbl_route WHERE fk_travel_id = '".$_GET["id"]."'";

Now what I want to happen is go get the row ID value of my table and add it into my query



<?php  
                               while($row = mysqli_fetch_array($result))  
                               {  
                               ?>
<tbody>
                               <tr class='clickable-row' data-href='route.php?route=<?php echo $row["id"];?>' id="<?php echo $row["id"];?>">
                                    <td><input type="checkbox" name="travel_id[]" class="delete_id" value="<?php echo $row["id"]; ?>" /></td>
                              <td><?php echo $row["destination"]; ?></td>  
                              <td><?php echo $row["description"]; ?></td>  
                              <td><?php echo $row["dater"]; ?></td>  
                                  
                              <td><input type="button" name="edit" value="Edit" id="<?php echo $row["id"]; ?>" class="btn btn-info btn-xs edit_data" /></td>  
                                    <td><input type="button" name="view" value="view" id="<?php echo $row["id"]; ?>" class="btn btn-info btn-xs view_data" /></td>  
                               </tr>
</tbody>




How to solve this guys?...or any other to execute in same way...


0
I would like a script to go through a directory of images and make folders and move images into that folder based on lines in a csv file.

For example:

The csv file would have column names like FolderName, Image1, Image 2, Image3, Image4

FolderName = 18-001
Image1 = 18-001.jpg
Image2 - 18-002.jpg
Image 3 = 18-003.jpg
Image 4 = personsname.jpg

So based on that wtihin the folder where the .csv file would be located and all of these images would be located I want to make a folder named "18-001" and then move Image1-4 into that folder.

With one catch.  I might sometimes have more than 4 images.  Each csv file might have different images.  So a "while" statement would be needed to read the .csv Image columns - they do all start with "Image"
0
How to configure Infopath on SP 2016. I used a guide for SP 2013 but it guides me to do the following:

To activate the SharePoint Server Enterprise Site Collection feature, go to Site Setting --> under Site Collection Administration, select Site Collection Feature --> Active SharePoint Server Enterprise Site Collection features  (DONE)
Then,
Make sure States Service is started.  Go to Central Administration --> click Application Management --> under Service Application section --> click Manage Service Application  and If you don’t see State Service in the list, go to Central Admin --> click Configuration Wizard --> click Launch the Farm Configuration Wizard--> click Start the Wizard --> Select State Service and click OK
But this SP has not such a thing as Central Administration.
0
Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Dear sir,
i am facing a problem regarding conversion of tab separated text file into csv file. in my text file i have millions of entries and each entry consists of many fields such as first name , last name , address, contact number etc. and some fields are also missing in some of entries.Now i have to convert this text file into csv file . Can you please guide me in right direction. I will be obliged.
0
Is it possible to filter cells by VBA code?
In one sheet all the tables with filters will be there and in next sheet we have to create one user form window.

In user form window we have to give all the details and if we submit that sheet it should go to first page displays only that data. It has also display the pie chart for the same.

Please help someone....
0
I finally got some free time and decided to try and set up Anywhere Access inside Windows Server Essentials 2016. Didn't go good. Every time I go into the Dashboard and try and configure it I get a error message that "There is an issue with your Remote Desktop Services settings that cannot be automatically repaired. Please contact Product Support".

   I decided to take a look at Roles and noticed that only one role under Remote Desktop Services was installed (Remote Desktop Gateway) so I installed the Remote Desktop Web Access role. Still no luck. Do I need to install and other Remote Desktop roles?

  The only other error I am getting is that ports 80 and 443 are blocked which they aren't because the Windows Firewall is turned Off.

Any ideas?
0
Hi! I have a Crosstab showing the totals of my companies at my report footer. The problem is: I don't want the crosstab to be cut in half at the end of the paper, and to throw the rest of the information to next page. Is there anyway for me to set the cross tab to go to the other page automatically?

Thanks in advance
0
I have a piece of code that someone gave me for a Teradata report I am working on but have been unable to reach them for a question. I have never used an if, then and else in my queries so I am not sure how to apply this code. Would it go in the Select statement or the Where Clause and is the format correct or does it need ( )

IF AP_CLAIM_2.FROM_OCR_YN = ‘N’
AND
AP_CLAIM.EDI_INFO IS NOT NULL
THEN EDI, ELSE PAPER
0
Option Compare Database

Dim RS As ADODB.Recordset

Private Sub Form_Load()
Dim RS As ADODB.Recordset

Set RS = New ADODB.Recordset
RS.Open Me.RecordSource, CurrentProject.Connection, adOpenStatic, adLockOptimistic
If RS.RecordCount = 0 Then
    MsgBox "There are no existing records to edit! Please go to the add form to create some!"
DoCmd.Close
End If
RS.Close

End Sub

I get error messgae user defined type not defined?
0

Golang

312

Solutions

739

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.