Golang

333

Solutions

777

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

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
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.

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
Cloud Class® Course: Python 3 Fundamentals
LVL 12
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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
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
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
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Hi   Joining 2 Domains  organizations joining.

Can someone point me to the best way to go about this? will trusting domains break anything 2012 r2 AD>

Are there any other tools that make the job easier?

thankss
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
Golang features
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

Golang

333

Solutions

777

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.