Golang

433

Solutions

941

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

Excel 365

I am trying to take the attached sample file and go through the 'Rating' column and count the number of instances of 'A', 'S', and 'NI'. I need it to count the number of times it sees each one and then return in cell B2 which one had the most instances.

For example in this column 'A' occurred most often so it would return 'A'
Sample.xlsx
0
Become a CompTIA Certified Healthcare IT Tech
LVL 13
Become a CompTIA Certified 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.

When trying to get Bitlocker key saved to the Azure AD, I sometimes get this:

Can't sign in to your Microsoft Account
You need to be signed in to Windows with a Microsoft
account to save your recovery key. Sign out and then
sign in with a Microsoft account or go to
Settings and choose Accounts to change your
existing account.

This doesn't make sense to me. The user is signed in to his "Work or School" account which appears to register him with not only the Microsoft 365 apps etc. but also registers him and the laptop on the Azure Active Directory for the organisation. Under "Devices" in the AD his device appears with correct name.

It's only when attempting to save the BL key to the AD that we have this issue.

Is there perhaps another way to get the user signed in to the domain account but without having to tell Windows that the laptop is an organisation's laptop?

Confused of Berkshire!
0
The strange thing here is that I have the two table as follows:

(1) Table Inventory (Primary ) with primary key called InventID
(2) Table Productiondetails (Child) with primary key PRID

The two table are supposed to be linked in sql server , but each time I try to use server management studio to directly link these tables , they look like below:

Primary table                                                             Secondary table
 Inventory                                                                    Productiondetails
 InventID                                                                      InventID


But after saving the above relationship , then I try to go and check whether the relationship remain the same as above to my surprise I find that the following is showing:

Primary table                                                             Secondary table
 Productiondetails                                                     Productiondetails
 PRID                                                                                PRID

As a result when the data is posted to this the parent primary key (InventID) will update PRID instead of InventID as foreign key

I'm still new in the SQL server I can't on this!

So what do I do fix this situation, any help will be appreciated.

Regards

Chris
0
Hi,

I have an Excel csv database, or will have when completed consisting of around 200 columns and almost one million rows and at least 1GB in size.
I need to then add around 35 columns of formulas copied down to 170k rows I intend to sort the data each time I want to do some calcs.
I fear that Excel will not be able to handle such a workload and wondered how best in terms of efficiency and speed  I could go about solving this puzzle.
Thanks if you can shed some light on it.

Ian
0
The primary key is not being inserted in the secondary table while other data is being inserted in SQL server 2016 , the strange thing is that when tabbing or using tab the data from the child form will go or disappear leaving the data from the main form . I'm using the same tables , same form , same queries as in ms access , I tried to recreate the form still nothing is working out , I have just re exported the tables again to sql server still nothing is being sorted out.

I have not recreated the relationship in sql server since the export went with all the links except the date which I had to normalise to datetime

What should I do now????????????


Regards

Chris
0
How is dedicated ethernet internet 40Mbps/40Mbps  different then regular business internet that has 150Mpbs/20Mbps
- My company has 17 people how would either of the options affect them?

Whats the best way to go on Primary Internet Service and Failover internet.
- Someone says do LTE Failover and we've tried but the bandwidth just is horrible when spread across 17 people.
1
powershell and Windows 7.

Hi,

I have a text file request.txt containing filenames such as:
18-111
18-222

Actual filenames:
18-111 member 91-A.pdf
18-111 MD 91-A.pdf
18-222 member 91-B.pdf
18-222 MD 91-B.pdf
18-333 member 91-C.pdf
18-333 MD 91-C.pdf

QUESTION: how do I use powershell to
1) loop through request.txt and do a partial match to identify certain .pdf files to move from folder A to a specific folder B that has the same name as the last 4 characters of the filename?  

RESULT:
18-111 member 91-A.pdf is moved to folder 91-A.
18-111 MD 91-A.pdf is moved to folder 91-A.
18-222 member 91-B.pdf is moved to folder 91-B.
18-222 MD 91-B.pdf is moved to folder 91-B.

2) Add today's timestamp to the end of the filename in the format YYYMMDD_HHMM in 24hour format.
RESULT: If today is 3/26/2019 1:21pm.
18-111 member 91-A 20190326_1321.pdf
18-111 MD 91-A 20190326_1321.pdf
18-222 member 91-B 20190326_1321.pdf
18-222 MD 91-B 20190326_1321.pdf
1
Can Salesforce allow me to create a list of accounts that will quickly allow me to open and append a field value? In other words. I would like to create a list of 500 accounts and input the actual total revenues of that particular company into the field called Total Revenue. We need to do that so we can identify if the representative who handles that account big or small really is QUALIFIED/SKILLED enough to handle them by themselves? Is there an efficient way to go into Salesforce and quickly do that? If not Salesforce needs a way to allow Managers a quick edit tool for salesmen, sales teams and representatives so that corrections can be made quickly and efficiently in the even a new salesman or representative missed some entries or new policy calls for the updating of all or some accounts with new variables for analysis purposes. Opening individually could take forever to do. It would be great to have a list with a column like excel and just go down the list entering the correct value....?
Does Salesforce do anything like that?
0
I want to change to a new user in Windows 10. How do I go about this and I would like to access all programs and data by the new user - it  would be ideally if I  can just swap users or is that too na├»ve!
0
I am installing on OnPremise Exchange 2016 with one Domain, What type of SSL would be best suited so when you want to connect Mobile Devices/OWA by putting in the email address and password, it will go out and search for it and connect it to the device without setting it up manually?
0
Fundamentals of JavaScript
LVL 13
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Hello Team,

I have an external trust between my domain and another companies domain.
I want to create a security group in AD and members from that external domain to it.
but when I try, all I am seeing is my domain when I go to locations

How can I add users from other domains to my local security group?
0
We currently have users Outlook using IMAP/POP3 and I wanted to know if it's okay to go ahead and Install Exchange 2016 on the Server without switching the Domain until were ready, meaning it should not cause any issues with Users who are currently opening Outlook with IMAP/POP3?
0
Where do I go wrong on the insert  code below?
Private Sub CmdPos_Click()
Dim db As DAO.Database
Dim strSql As String
strSql = "INSERT INTO tblPostClearance (" & "tblPostClearance.Debit, " & " tblPostClearance.Credit " & ")VALUES(" & Me.txtCashReceivable & ", " & Me.txtCashReceivable & ")"
db.Execute strSql
End Sub
0
I have this code

I want to go to the block.field but its not working

 forms_ddl('begin DBMS_TRANSACTION.COMMIT; end;');

                                go_block('vendor_invoice_items'); 
		     	           clear_block(no_validate);
		     	         go_block('vendor_invoices');
		                  clear_block(no_validate);
		                  clear_form(no_validate);
		                 go_block('vendor_invoices');
		                 go_item('vendor_invoices.dsp_order_number');
		                   :SYSTEM.MESSAGE_LEVEL := 25; 

Open in new window

0
We are Exchange 2013 on premises ONLY, we may go 365 but not at this time. Our marketing team sends a weekly email globally to internal users only. They're requesting metrics around at least a true read status for the email. Did they read it, delete it immediately etc...

Blue sky option would be to be able to tell difference between an email opened in full outlook client and webmail or smartphone. We have tried various scripts found online with no success.

What are you using for this purpose? If you went with a third party app to deliver, please let us know which. Would listserv option be a better solution?

Thanks in advance!!!
0
a variable in linux shell.  i'm not really understanding the difference between an environment variable and a shell variable.
how long does either last?  how do you know which one is which?

if I set a variable:

VARIABLE="David" in a shell script
execute the script and go and type echo $VARIABLE... shouldn't it kick out David?

i know there are some variables you can export out of the shell, correct? but, i'm not really interested as i'm concentrating solely on bash at this point? or is that not how shells within linux work?

thanks

i guess now that i think of it ive heard of a single running of a script doing so within a 'shell'.. is this shell unique in it's processor and/or memory utilization?
why would i use anything other than bash? specialized customizations?

-dave.j
0
Hey

So i use Amazon S3 upload file to store uploaded Files,

Now what im trying to do is  a custom attach document to a email which i am using phpmailer to attach, my issue is im not sure how to get the file from Amazon S3 and attach it to the PHPMailer.

I have only front end and jq setup, where you click on a attachment which sends a ajax request to the backend which uses a file path to go to the S3 but im not sure how to bring back the file to pass into phpMailer.

any tips or advice ?
0
This is a Windows DNS Server question.

On the windows server that has the DNS role, this server connects to a SAN as well. So basically the server has 8 nic ports. 4 are teamed for the windows environment, and the other 4 ports are used for multipath to the SAN.

So in the dns config section i go to the properties tab of the dns server. On the interface tab it shows 5 ips. The 1 that entails my windows team, and then the 4 that go to the san. I unchecked all of the SAN ips since my clients were associating this san ip to the server when looking for a logon server etc.. However when i uncheck all my san ips that goofy self test it does on the monitoring tab always says it fails.

However when i put in this server to my laptops static dns list it seems to work fine for web, browsing pc names on the network. I even flushed all the caches locally and on the server to make sure.

Does it matter if the monitor tab fails? If i put all my san ips back in under interfaces it passes, but then the server advertises these address on my network as a way to get to it which is wrong obviously. I am content with not worrying about the monitoring tab if this is normal for people who have had a server running dns server which also connected to a san.

Any comments or suggestions welcome. Thanks!
0
I want to hide two controls in a sub form based on the condition selected from the parent form , I have tried all what I can , nothing is working out my code is on sub form before update event:

If (Me.Parent!txtProductCH <> [Purchase Order]) Then
Me.CboProduct.Visible = False
ElseIf (Me.Parent!txtProductCH = [Purchase Order]) Then
Me.CboProduct.Visible = True
ElseIf (Me.Parent!txtProductCH <> [Purchase Order]) Then
Me.CboPrices.Visible = False
ElseIf (Me.Parent!txtProductCH = [Purchase Order]) Then
Me.CboPrices.Visible = True
End If

Open in new window



Where do go wrong here?

Regards

Chris
0
Exploring SharePoint 2016
LVL 13
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Hello,

Is there a way to physically locate a connection configured as etherlink aggregation on iSeries (AS400) 7.3? We have some ethernet connections configured as ethernet ports and I can go to the properties and find the physical location (serialnumber-p1-c1-t1) but I cannot find where the etherlink aggregation ports are configured.

Thank you in advance!
0
We use an IdP (Onelogin) for SSO with Azure. Ever since we started with Azure there has been unauthorized login attempts cause user lockouts on Onelogin side.  I need to whitelist the IPs on Azure side that are able to send SSO login attempts.
We want to request to go to SSO but only if it meets the IP whitelisting first.
Azure/Onelogin uses WS-Trust for Authentication.
I checked with Onelogin, they don't offer anything that would prevent an authentication attempt based on IP for a WS-Trust auth from Azure.
0
I need an 8 port switch capable of being compatible with a Linksys EA9500. There are several options listed for switches such as managed or not managed. I have no idea what that refers to or if I need it. My needs are not complex. The ports on the switch will go to a Dish Network Hopper tv receiver, hulu, Sony TV, blueray DVD player, two laptops and a desktop. Since I pay for  one gig service and frequently get 950 up and down I naturally want to take advantage of that speed on all my devices. One expert has already suggested two different model and brands. My budget is set at $150.00 maximum unless there is a definite need for something higher priced. I welcome suggestions. Some have a lifetime warranty that is quite nice.
0
Hi All,
I want to make a script to run to swap screens 1 to 2 or 2 to 1 from left to right.
I have staff swapping desks or setting up meetings and have to go into display settings and drag 1 identified screen to 2 identified as the mouse gets caught and can't move to the other side logically.
I have wanted to do this for a while. Hope everyone has a solution and point me in the right direction.

Appreciate your help.

D :)
1
Client has brand new Win 10 Pro with Windows Defender...
He cannot access a certain website...
www.commonsku.com is providing an online training video...

Clicking on the video takes you to www.useloom.com...and Defender goes crazy...red page..."infected website"...email to tech at commonsku.com says we need to whitelist
useloom.com...

Got the IP addys...edited hosts file...no joy...
Tried to go into Defender but cannot figure out how to allow a website thru Defender...

Go to New Rule...nothing there that would apply to a website...Programs...Ports...etc...no HTTP://...

Need a little help...can't be hard....I'm just not seeing it...

thanks
0
We have a 3 server Exchange 2013 DAG with 4 DB's, Recently one of our departments decided to change their domain name. I have been moving their linked accounts from the old domain to the new domain. We have been experiencing a weird issue with public folders and shared mailboxes.

Basically a few times a day all of the public calendars for the users seem to go offline they are unable to reconnect them and it clears them out of their favorites. I have attempted re-creating the calendars and re assigning permissions. Deleting user mailboxes and recreating them and the issue persists. After 5 to 10 minutes they can close and re-open outlook and their calendars are back but their favorites are cleared so they have to re-add the calendars.
0

Golang

433

Solutions

941

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.