We help IT Professionals succeed at work.

Golang

644

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.

Search results appear to have no file associations . it shows a blank page and you cannot click on it to open the files.  These are word documents.  you then can go into the directory and open the file ok.  Only the search results is missing the file associations.   The os is 2016 server with remote desktop.
0
if (stripos($anwer['infomation'], trim($propThree['value'])) !== false && $anwer['infomation'] != ""){
                                $html .= "<div style = 'margin-top:5px; padding-left: 0.10rem !important ;'  class='form-check form-check-inline'><input style='width: auto !important;' class='form-check-inline' type='checkbox' name='property" . $cusData['propertyId'] ."[]' id='property" . $cusData['propertyId'] . $c . "' value='{$propThree['value']}' checked='checked'/>";
                            } else {

Open in new window




database
why is this not working ? suspose to go in split this string and if it checked than output the checked option else non checked option but they not checking.
1
Hi,

i have receive an SonicWall SonicPoint N2,

i have plugged it on my poe switch, i dont have the poe injector who come with the package. i just have the access point device only

i have access to the firmware and i dont see any way to enable the 2.4 and 5 ghz radio, if im go to the status page i see the 2 radio is disabled right now.

is there a way to edit that and enable the radio and change wifi settingsscreenshot of firmware page
0
I have installed Outlook 365 and is Version 1089 (Build 10827.20181) when I open outlook, outlook keeps asking for my password even though is correct. Any ideas how I can fix this since I have over 100 employees that I need to do the update but im afraid of it since I have this issue that will not go away.

Thank you
0
We're noticing that more and more of our users are having problems with appointments actively syncing between each other when using Outlook. We need a scheduled appointment to show up immediately, so duplicates are not created. We've taken it to disabling Outlook email caching on each computer so they are all actively syncing updates with the server. Since we've started this there hasn't been any issues until now, but now more and more users are starting to complain about things not showing up fast enough or right away.

We need to find a way to solve or implement a change to fix this problem. It’s odd that it is all of a sudden happening to numerous people. Is the only solution really for me to go to all computers and turn off cache mode? Or is there a bigger issue that could solve this?
0
Hi Technical Gurus ,

I need your worthy advice and guidance . Actually we are building our data center and for server virtualization , I need expert suggestion . Either we should go for KVM or VMWARE . As of course , KVM is an open source , the management would prefer to go with KVM to reduce the cost but  I need solid reasons if I refuse to go with KVM and instead opt for VMWARE . In any case I need you guys expert opinion to choose either one for our data center servers virtualization .  The brief summary of our network requirement is that we need 150 cores and 350 GB RAM ,,, we plan to purchase 6 servers with 28 cores each and plus six more for high availability. I need your worthy guidance regarding the selection for virtualization.

Best Regards

Masud
0
SSRS- Created a blank report and used a DB dataset to just drag and drop a text field onto it.  It only shows one row.  This was a limitation of SSRS and that field.  
Solution was to create a Tablix and go through the following to display a separate row per page:
https://www.mssqltips.com/sqlservertip/3493/display-a-fixed-number-of-rows-per-page-for-an-ssrs-report/
The problem is that when I place the Tablix field in my report it is in the position I want.  But due to the page breaks I lose my position and the field ends up on the top of my report with my report being broken up.  Is there a way or how do I get the position of the Tablix field to not move when traversing through my data?
0
We recently purchased a Ricoh MP C4503 multi-functional printer and trying to assign and program the physical Function Keys on the control panel and we can't locate the settings that allow us to do so.
0
I have a SharePoint list with two columns that I want to multiply (QTY - numeric and Unit price - currency).  I want the result to go in a third column (_Line total - currency).  The SharePoint list Flow is "When an item is created or modified."  This used to be pretty easy with SharePoint Designer but because I'm new to Flow, it seems overly complicated.  A calculated column is out because I want to use the third column to group and sum in list views.

Here is the expression I'm using but it errors out when run:
mul(triggerBody()?['QTY'],triggerBody()?['Unit price'])

Open in new window


Update list item flow
0
I'm upgrading my on-prem SBS 2008 server to 2016 Standard. I was performing a one-way sync to Azure. What is the best way to go about pulling down the data in Azure to my new 2016 server?
0
Dear helpful experts,

Could you please assist regarding below-?
Part of role, we update computer/asset bar-code details in Active Directory to keep track of financial record/cost centre. So as a process we need to open AD, go to default search for Hardware, then able to see hardware but cannot see Attribute Editor for complete detail.
I’d like to add an AD custom tab or Attribute Editor. (Please see attached image).



1.      How to add Attribute Editor Tab as an standard in scenario-1. (Showing in the attached image)
So we can avoid steps A, B and C to search Attributes as shown in scenario 2.
 
2.      If we can add Attribute Editor Tab in scenario 1 then how to include only selected fields instead 50+ of field. i.e. department, department number, description, etc…… shown as 2,3,4,5

Many thankks
0
Business phone systems - looking to upgrade. What are the options people are currently using? For example if we go to an all cloud based system - what happens when we lose internet, does the system have a fall back adsl number that people can still contact us on? Also anyone used Skype for Business and if so - does it use much bandwidth? Can we have multiple numbers?

Thanks
0
I have a client who has a lot of old wmp files (windows media photo), which I need to convert to any modern file type.  I cannot find anything which will open them, let alone convert them.  Does anyone have any suggestions?

I've tried all the Adobe Apps and even gone back to an XP machine with Windows Photo Viewer and Windows media Player, but no go :(

Thanks
0
i am systems engineer and currently working on WIndows, vmware and NetApp
What will be my career progress ? what can i learn to become successful and grow  ?

any suggestions on new technologies which can go along with my current job in IT
0
Hi

I have an IIS 7 server, however suddenly it's not automatically redirecting to the relevant /index.php file in sub directories.

For example, if it is www.example.com/ it should automatically go to www.example.com/index.php

I haven't changed anything and I'm struggling to figure out what the issue is!

Any ideas?
0
We have setup a domain with company.com for our local active directory. After setting it up I entered a dns entry for www.company.com to go to the external web server IP address. the problem is that the Drupal Web server is doing something where it gets a response of 302 and redirects to company.com causing the client PC inside our domain to fail loading the page because it is trying to load a page from our domain controller.

I am not very familiar with Drupal but was wondering if the web developer could do something to allow it to stay as www.company.com instead of making it change to company.com and still allow the content to load? We did a test with test.company.com being entered in my AD DNS server as well as he mentioned he was able to allow test.company.com to not be redirected. When the page loads it is loading just text and basic HTML but non of the Images or Java script (I believe). I notice there is a bunch of http404 errors on the MS Edge console that seems to be referencing *****.js***** destinations using company.com. Would it be possible to update something on Drupal to make it reference something like www.company.com?

If I were to setup a new AD domain would it be best to make it company.local  or make a local.company.com. I would like to keep it as company.co, but have a feeling both the developer and myself are preferring. We will also be using office 365 AD Sync.
0
After I installed several updates on my SBS 2008 R2 server the companyweb started to stop working once a day for like 20 minutes not everyday but most of the days and then it just started to work again, this what I have tried:

-checked and cancel tasks that I saw ran by that time: antivirus scan, backup

-Recreated the sbs Monitoring database as it was getting full and I thought this may some how create this issue: https://blogs.technet.microsoft.com/sbs/2011/08/22/how-to-recreate-the-sbsmonitoring-database/

-Recreated the access to the companyweb deleting from the IIS and adding it again: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-essentials-sbs/dd548330(v=ws.10)

-I checked the event viewer and I cannot see any error directly related with this: apart from:

*MSSQL$SBSMONITORING 17137

*MSSQL$MICROSOFT##SSEE 17137

*MSSQL$MICROSOFT##SSEE 2803 I can see few of this error

and a WAS 5186 error

also on top of this when I go to the Web Sites on the Windows SBS console the internal website shows status as "Unknown", description  as "The Web site dues not exist" and it doesn't give any option to run or stop it; and funny enough now when I go to the IIS Manager console and check if the website is running now it only works when it shows as stopped in here.

Any ideas of what could be causing the issue or what else I could try?
0
We have identified one PC having more than 20 ms to application server  .  All the other machine look ok with the same time to mention serevrs . Only one ping replay going more than 40 ms . How can we monitor the  network card fault in a large network  . Is there any way of monitor via network monitoring tool ?
And the other two thing i need to confirm are
that fault network card PC can Couse the Network FDe ?
Local Are network  ping  ms value shuld below 10 ? or can be go up due to the nature of the serevr like Application / exchange ?
0
I want to update the values of a sheet from every new sheet that gets created by a macro I made. I made a Macro run when inserted Client Name on the inputbox that runs after you click a button. (Image 2)

When the Client Name is correct, the Macro will automatically create a sheet and name it after the Client Name and also will create a new Table for that Client (The Table Format does not change on any Client).

In that table afterwards values will be entered, like the amount of income, the date of that income, and which of the Workers took the income. Specifically in cell "I8" will be entered the amount, in "J8" the date will be entered and most importantly in "K8" the name of the Worker who took the income will be inserted, this will go on to the other income of the client "I9","J9","K9" then "I10","J10","K10" and so on (Image 3).

The Table that I created for those 4 existing sheets of Workers is as shown at Image 1, so on "A10","A12","A14" and so on the name of the clients that the worker got the income from will be pasted (hopefully). if the client name is on "A10" then the amount of income that the worker will receive will be entered automatically (hopefully again) at "C10", "D10", "E10", "F10" and "G10", Also the date when he got the income "C11", "D11", "E11", "F11" and "G11", same goes if the Worker gets income from other clients (Ex: "A12" -> "C12"=Amount, "C13"=Date, "D12" "C13", and so on) , see the Image 1.

(Keep in mind there are 5 different times a …
0
How would one go about upgrading MacOS devices to the latest OS (High Sierra at the time of this post) through terminal commands only?  For example, a device running El Capitan needs to be upgraded to High Sierra.  I am looking to run this command across multiple MacOS devices, and for a command or script that could run on any MacOS device.
0
I want to import a SSL certificate into my exchange server, I have two with the names "ungorokaIMMssl.p7b and unigorokassl.p7b". I was confused which one to use and tried the this one "unigorokassl.p7b" but it did not work.

I have to do it in exchange server and AD DS to access from OWA, POP3, SMTP etc...


Please assist me on how to go about achieving this.


Thanks alot
0
Hi,

Each day I have several horses that I bet on. To keep up to date with the results I go here: https://www.sportinglife.com/racing/fast-results

I have a script that will pull the data from the races but its ensuring the script is only run 5 minutes after each race when the results are up is the issue.

Can anyone recommend how I could use a python script to scrape the page only when the results are updated rather then constantly every 5 minutes 24/7 on my home server via a job?
0
I've been tasked to resolve this vulnerability but i cant figure out where to even update this at. Where does one go on their servers to change this? Its flagged for our email domain.

Mail.domaiin.com

Vulnerability Class Improper Input Handling
Additional Information host_header
Status Open
URL - Mail.domain.com
Rating Medium (customized)
Opened 2018-07-17 06:38:56 -0700

Custom Solution In Apache (http://httpd.apache.org/docs/trunk/vhosts/examples.html#defaultallports) and Nginx
(https://www.nginx.com/resources/wiki/start/topics/examples/server_blocks/) you can make SERVER_NAME trustworthy
which can be done by creating a dummy vhost that catches all requests with invalid Host headers. Another method under
Nginx is to specify a non-wildcard SERVER_NAME (http://nginx.org/en/docs/http/server_names.html) and under Apache
you can use a non-wildcard serverName (http://httpd.apache.org/docs/2.2/mod/core.html#servername) and turning the
UseCanonicalName directive on.

In IIS one method is to have proper bindings setup with a specified host header
(https://www.iis.net/configreference/system.applicationhost/sites/site/bindings/binding) so that if someone changes the host
header it will not reach the web site on IIS.

Alternatively, at the application level, you can attempt to validate any values coming from the Host or X-Forwarded-Host
request headers using a whitelist of acceptable values. You can also choose not to use host header values that come from
The …
1
Hi - I was wondering if someone can advise please. Our organisation uses a ERP systems which has 4000 Relations tables. There is a discussions on creating a master database - where any changes to these tables are populated into Master database. I am worried about this approach - for example, there is no business logic and any changes gets sent to this MD, which is used for integration with other systems? I would have thought you use master database to bring in data from various systems rather than just duplicating one system into another.

The argument for creating a master database is so there is no need for peer to peer integration - I agree peer to peer is not good but thats what what BizTalk is there for. They want to use BizTalk to pull data from the ERP into Master Database and then use SSIS to push data out to other systems. I can't see why they can't they just use BizTalk to transform the data and push the data out. Their other argument if the ERP system ever goes cloud it is not possible to do a full extract (i.e, not delta extract) using SSIS - but the issue nobody even know if we will ever even go hosted solution for the ERP we have. Additionally, even in such a case if there is a good business case I am sure the cloud prvoide will let SSIS access directly to database on the hosted cloud. Do you agree? Can you give your inputs on the flaws with this approach or is it just me worrying?

Thank you.
0
I asked about my Confirmation Email not getting thru using gmail, aol, yahoo and outlook. These are 2 answers I received, but I am not a programmer..... Can someone help me?

Response 1 :
Sounds like spam filtering.
Have you got an SPF record setup for your email domain that shows the GoDaddy servers as acceptable senders? If not, this could be causing emails to go into junk folders or be blocked altogether on systems like Gmail, AOL, etc.
GoDaddy emails are likely fine as it sees the emails coming from their own servers

Response 2 :
"A" has already mentioned spam filtering as the likely cause and I tend to agree. One thing to bear in mind is how you're actually generating email. If you're just using the basic mail() functionality within PHP, then that often gets tagged as spam, because it's very easy to miss out valid headers. The email you send does then tend to look like it's been auto-generated by a script (aka SPAM).
When sending email from PHP, I would suggest you look at something like the PHPMailer library. It gives you a lot more config options and it may help to make your emails appear as 'more genuine' to the mail servers.
0

Golang

644

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.