Golang

446

Solutions

959

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

How to go to specific folder using batch script? And also count the no of files in that and display that with popup saying that "No of files added : ".
0
We have a new Cisco core switch and planning on retiring the Cisco old switch; however, there are still between 5 to 10 cables connected to the device, but we don't know where or whom they are connected to...
We do not have a Fluke device or toner to verify connections.  Is there another way we can figure out where things connections go to?
0
Outlook 2010,  a certain email arrives in my inbox, than after about 1 minute it gets moved to spam folder, if the Spam folder is not there it creates it.  Domain & email address exception are entered but still has no effect.  There are no rules set to make this email leave the inbox and go to spam folder.  Checked Add-in's, there is nothing in add-ins that would make this email move to spam folder.  Trend Micro Message Security 9.5 is running on PC and has been completely turned off to test for any issue within.  I attached the actual email to this question.

How can I stop this email from leaving the inbox and being moved to Spam folder.

Thank you in advance for any help you can give me.

Mark H.
MyQ-Alert-Witt-Garage-Door-Opener-We.msg
0
I have been looking after a client as their outsourced IT Admin. I am the only one who has the domain admin privilege.
The owner of the business would like the company's controller to have the right to manage folder access permissions on the server. He said "There can be a lot of manipulation involved as people come and go, and it might give us a lot of flexibility of the controller can handle it on the spot."

1. If i have to make this happen for the client, how can I make it? Should the controller have to be the domain admin in order to have the right to manage folder permissions?
2. I don't think this is a good idea because managing folder access permissions is the admin's job. What are your thoughts? Any risks of doing this, etc?

Thanks!
0
I am interested in finding out if a lawyer has manipulated the will of my mother, who has since passed. He sent me a copy of it by email and wondering if there is any way to forensically inspect the document? I saw a previous answer that said you could go into "inspect" the document to detect changes? Please any info appreciated!
0
I cant find the homegroup on either of my 2 laptops at all.
when I search I get offered go do a sync
How do I create homegroups or what do I need to do so
that the homegroup options Is available to work with?
what  or where do any settings or options need changed?
HELP
0
Hi
I'd like to install tkinter in my Pycharm

I go to preferences and hit the + install button and there are a chunk of tkinter installs to consider.

Does it matter which one I choose?

Thanks
0
Suddenly I have experienced a problem after logging into Yahoo.  Upon scrolling down to view their headline news, there is a little square at the bottom of the screen, and I can't go any further.  

I am using Windows 7 Professional and Google Chrome for a browser.  I've attached a file that shows the little square icon in the middle of the screen.  I couldn't find anything about this on YouTube, and hoping someone has a procedure I might try.
0
I have a script, included, which will update statistics on more than 'DBO' and 'SYS' schemas of a database.
I would like to use this script on all databases using the MSFOREACHDB syntax, but can't figure it out.
Could someone add the MSFOREACHDB to my existing script?


SET NOCOUNT ON
GO

DECLARE updatestats CURSOR FOR
SELECT table_schema, table_name  
FROM information_schema.tables
   where TABLE_TYPE = 'BASE TABLE'
OPEN updatestats

DECLARE @tableSchema NVARCHAR(128)
DECLARE @tableName NVARCHAR(128)
DECLARE @Statement NVARCHAR(300)

FETCH NEXT FROM updatestats INTO @tableSchema, @tableName

WHILE (@@FETCH_STATUS = 0)
BEGIN
   PRINT N'UPDATING STATISTICS ' + '[' + @tableSchema + ']' + '.' + '[' + @tableName + ']'
   SET @Statement = 'UPDATE STATISTICS '  + '[' + @tableSchema + ']' + '.' + '[' + @tableName + ']' + '  WITH FULLSCAN'
   --PRINT @Statement
   EXEC sp_executesql @Statement
   FETCH NEXT FROM updatestats INTO @tableSchema, @tableName
END

CLOSE updatestats
DEALLOCATE updatestats
GO
SET NOCOUNT OFF
GO

I have a snippet from another piece of code, but it doesn't seem to cycle through each database -
DECLARE @Database VARCHAR(255)  
DECLARE @Table VARCHAR(255)  
DECLARE @cmd NVARCHAR(500)  
DECLARE @fillfactor INT

SET @fillfactor = 90
Begin

DECLARE DatabaseCursor CURSOR FOR  
SELECT      Name
FROM      master..sysdatabases
WHERE Name NOT IN ('Master', 'MSDB', 'Tempdb', 'Model)      
AND DATABASEPROPERTYEX(name,'status')='ONLINE'…
0
I would like to learn Exchange 2013 autodiscovery Funktion. Can you please help me to configure my Exchange Server that can use autodiscovery.

for that i installed Exchange Server 2013 .It works very good. i can send and receive mail and also i can Access OWA from external.(https://mail.mydomain.com/owa )



and also i created a subdomain:  autodiscovery.mydomain.com

i do not know how can i go head. where and how test it?

Thanks
0
Naming convention for Server 2016 Essentials SSL certificate.

Setting up a Server 2016 for remote user access.

I've set up sbs 2011 and usually I name the certificates using remote.myserver.com along with autodiscover.myserver.com when getting them from Godaddy.

So,my question is this still the way to go or is it different?
0
I am working in Access 2010.  I have a main form with subform1 and subform2 (this is a continuous form) on subform1.  The problem is with the tab order of subform2.  There are only two fields  on the form.  They are phone, with an input mask, and phone type.  The tab order is correct and it should go to phone but the tab moves it from subform1 to the phone type field and completely bypasses the phone field.  The next tab takes you to the phone field.  This only happens on the first record.  Once the phone and type are filed in it advances to the second record's phone field first.

I set up forms like this a lot and have never seen it act this way.  Any ideas why this is happening?
0
When I run the script: Get-MailboxPermission 'Joe Bloggs' | Select User,AccessRights | ft -autosize
I get an output that included a lot of default users such as: Domain Admins, Enterprise Admins, Exchange Domain Servers, Exchange Services etc

How could the list produced be reduced to just normal users. Something like  Where-Object {$_.name  -NotLike "*Admin"} may work. How would the script look that removed the line containing *Admin* or remove -Like '*Exchange*'. There are also quite a few SIDs being displayed as will so any entry with 'S-1-5' needs to be removed.

The attached text file are the ones I need to go away in the output.
0
SBS 2011 SSL renewal from Go Daddy.
I download the new cert,use the wizard to install and it gives me an invalid cert.

I had M$ dial in the last time on a different server and it involved serial number and thumbprint fixes to install the new cert.
Anybody got a real step by step guide on how to do this?
0
our network is comprised of 3 vlans and 1 lan. the main default lan is 191.168.0.1 - 191.168.1.255
our vlans are 192.168.10.1, 192.168.20.1 and 192.168.30.1. we have been having dns issues. i can do a search on our network for server name i get not found. if i search using ip address it is found. i can go into our dns server and some address show up and some do not. a weird thing is that if we use the dhcp server to hand out ips, some of our cell phones will not be able to connect to the signal. it can see the signal but can get an ip address. when we put our dhcp on our watchguard firewall the cell phones dont have an issue. we have been told we shouldnt be using the 191.168.0... as internal ip address, could confuse with the outside world. any ideas?

thank you
0
OK so I want to build a cell phone using a Raspberry Pi.
I'm not sure what module to get. Does anyone know. Some are advertised as GSM/GPRS and some as 4G/LTE.
I know GSM is the way to go but still confused when the description doesn't say they handle 4G/LTE.
And any suggestions on the best module to buy. Don't need blue tooth since the Pi already has that and has Wifi.
P.S. I usually buy my componets from Aliexpress.com. Slow delivery but cheaper price, good quality and selection.
0
Go Daddy UCC SAN CERT "You entered an invalid subject alt name. You must use a fully-qualified subject alt name."
There are no .local names:

X autodiscover.DOMAIN.com
X autodiscover.DOMAIN.corp
X DOMAIN.com
X mail.DOMAIN.corp
X mail2.DOMAIN.com
X mail2.DOMAIN.corp
X exhcangeservername.DOMAIN.corp

Wants me to "Add Subject Alternative Name (SAN)"   ?
0
Quick History, I took over a client who was using gmail, they originally had exchange 2010 that crashed, they restored some mailboxes and migrated to GMAIL. 2 years I am moving this group back to exchange 2010. I have exchange installed and removed the old server. New users work fine but once I installed exchange it brought over current users. When I go to those mailboxes I get two errors..  They are attached.  I would like to remove and re add those existing users in exchange, if by deleting them will it delete them in the active directory?
0
Hi Experts,
I read the answer about CCIE vs CISA,Cissp Posted on 2009-03-04. If focused on CCIE vs CISSP.
I am really interested to go for CCIE and CISA in the objective to be an excellent IT Security Consultant.
I am already CCNA(R&S and Security), CCDA and Security+ certified. Any advice ?
Best
0
I need to find a group texting solution for Android where responses go directly to me, and not back to the group unless desired.

Assistance is greatly appreciated.
0
Hi guys, i want to be able to query more then one remote databases hosted on different host providers using  the same php application.  i want to develop application for more then one schools and link them such that i am able to access student data from other schools. is this possible? can you please show me how to go about doing it.
0
We have qty 3 - MS-SQL Server 2016 database servers configured in a enterprise HA.

SQL01, SQL02, SQL03

All 3 are setup for async replication

Idealy, we want to configure the 3 servers in the following way.

R/W Mode: SQL01 Primary, SQL02 Secondary, SQL03 Last resort
R/O Mode: SQL03 Primary, SQL02 Secondary, SQL01 last resort

Basically, we want our standard Read / Write access from our application to go to 01 and fail over to 02, we want to use 03 for reporting, and if it fails, then move to SQL02 (if this is possible) .  It is VERY important for performance reasons to have both R/W and R/O servers!

SQL01 is set to "Allow R/W Connections"
SQL02 is set to "Allow R/W Connections"
SQL03 is set to "Allow R/O Connections"

We have things mostly configured properly, In the connection strings of our app, we designate R/W or R/O and we get 01 for all R/W connections and 03 for R/O connections

Several Problems:
 1. When SQL03 does down, we have no failover.
 2. When SQL01 goes down, and swaps to SQL02, for the time it takes the failover to happen we lose SQL03.

Our hosting provider says we need to set SQL02 to "Allow All Connections"

So our question is:  How can we configure HA on these 3 servers to allow failover to happen as we would like?
0
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
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

Golang

446

Solutions

959

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.