Golang

531

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.

Share tech news, updates, or what's on your mind.

Sign up to Post

I get a black screen when I am trying to install Manjaro 17 from USB onto my Asus tower, G20aj Processor Intel® Core™ i5-4460 CPU @ 3.20GHz, 3201 Mhz, 4 Core(s), 4 Logical Processor(s). . ( had the same issue in Ubuntu, but thought the different loader Manjaro and Arch might make a difference but it hasn’t.)  The problem seems to lie with the Asus video drivers as I can install just fine on my Alienware/Dell and my HP Spectre.
On the Ubuntu side I found posts talking about some commands to run to get around this issue like aspci and quiet splash, etc. I am not sure where to enter commands or how.  

What I have been doing is boot the computer with install USB and go to the Manjaro OS install line press “e” and then go to the line beginning “Linux/boot/vmlinux-$2” at the end of that line place my commands like  acpi_enforce_resources=lax acpi_osi=Linux acpi_osi=’!Windows 2012’ acpi=force pcie_aspm=force
and then hit F10?

Nothing seems to work.  I have been working on the Manjaro forum but have come to a bit of deadend.
0
PGP for free?

Absurd question maybe but if I Google for "PGP Windows x86 32 bit" I am not presented with a list of freeware products but presented with several paid for products. I am a cheapscate  and expect everything for free including a PGP encrypter program for my crappy 32 bit Windows version 10 notepad.

So where do I go to (my lovely) to get free encryption for my Windows 10.0 32 bit craptop tablet?
0
I am going through my program inserting error trapping where necessary.  I have one that is a hard one to crack.  I have a form frmTitles with subforms subfrmSongs in the footer of subfrmSongs are two other tables frmMMSongComposer and frmMMSongGroup.

The error occurs if the record selector in subformSongs is left on a "new" record and you click on either frmMMSongComposer or frmMMSongGroup.  The error is 3314 saying that an error must be entered.  I would like to put in an error routine that would catch this and put the record selector to the first current record in subfrmSongs .  Any ideas I am thinking the Got Focus event in frmMMSongComposer and frmMMSongGroup is where the code should go.

At this point when the error occurs there is no way out except end task in task manager and start over as the error just keeps looping on itself over and over.
0
Basically it is not a technical problem ,, i just want to know further about experts exchange ,, as i am on 7 days free trial ... my question is what is annual subscription for it ,,, and if i go for annual subscription ,, what benefits i will have from experts exchange ,. i mean i can enroll any class from such subscription or after subscription i have to pay separately for whatever course I am enrolling for .

Looking forward to your favorable reply
0
Hi All,

I've got an iMac, which is doing a restart loop, just a white screen and a chime going in a loop.... the screen doesn't go blank when it restarts, stays white and you keep hearing the chime every 2 to 3 seconds, I've tried all the normal fixes, like holding the shift key, pressing command-option-r-p... nothing seems to work, would anyone know a fix?

I know last resort is taking it to Apple but the machine isn't covered by Apple Care...


Thanks
0
Hi Experts,
I wish to generate a report against a specific mailbox and for the output to be statistical information such as:
Number of incoming emails within a given start/end date/timeframe


Obviously, I am not after exchange jargon, this is to be used by a department team leader on an ongoing basis so needs to simply output information, I need to automate that the department head receives this on a daily basis

Any suggestions on how I can go about this, any handy scripts that someone may have to do this?
0
I am working with app packaging in SCCM 2012R2 and have an application installer (.exe) that while running launches a second .exe (Sentinel Runtime) to install. At the end of the second one installing, there is a prompt to hit OK. The application install won't go past this point if you don't hit OK. So in SCCM, it will run until it times out then the installation will fail. I haven't been able to get it to move beyond this point no matter what switches I use. It would be great to get some help with this. I am running the installation again to get some fresh logs as I am sure someone will want to know. Below is the string I am using in the installation line.

".\tnxTower8040_Setup.exe" /S /v"/qn " /norestart

I've tried many variations of the same command, but have had no luck. I've also reached out to their support and they were unhelpful as well. So now I am reaching out to the experts!

Thanks in advance!!
0
I have a complex problem.  I have a main form (frmTitles) that holds the title (CD Title) information.  On frmTitles there is a subform subfrmSongs (continuous form) and in the footer of subfrmSongs are two forms frmMMSongComposer and frmMMSongGroup which are both Many to Many Relationship to tblSongs (frmSongs).

I would like to enter the Title information, then the song information.  This is where is gets dicey.  The tab order for subfrmSongs is Side/Disc, Position, Song Title, Song Type and SongLength.  Once I exit SongLength I would like to go to frmMMSongComposer, then frmMMSongGroup and then back to subfrmSongs to enter the next song.

As the form is now I have to enter each song, then for each song enter the information for frmMMSongComposer and frmMMSongGroup then select the next song.

Is there an easier way to structure this?   Note in the attached
2018-10-06-MusicManagerRelationships.pdf
0
I have a variable defined as

var model = new List<someviewmodel>();

if i drill down model

model[0].items[0].inspectionitems[0].Value = 62
or
model[0].items[0].inspectionitems[0].Value = 63

And then i have another variable with just a number in it

var number = 62

Another property I have inside the model is "isSelected".

what I basically want to do is whatever value i have in var number, I want to go in Model and find that particular item and set the "isSelected" property to true.

C#
0
We have 3 ip external addresses that our exchange 2013 server can use but only 2 of them were listed with our external spam filter. Our exchange server rebooted today and now the external ip address is one of the 3 that is was not listed with the external spam filter. They said it could take up to 4 hours for the change to propagate.
So my question is how can I change the external ip address of our exchange server to go to one of the 2 ip addresses that we already listed with our external spam filter company?
0
Wordpress / Yoast.  i have a lot of Draft Pages in my wordpress CMS.  Yoast will not put them in the sitemap if I mark them to be excluded, but there are too many to go through.  They are all in one category.  I want Yoast to not place a specific category (or taxonomy, which ever is easier) in my XML sitemap.  The reason is, Google will index Draft and private pages and I don't want that because they will come up 404.

How do I exclude a category from the XML sitemap in Wordpress

I found this but I dont think it is what I want

/* Noindex all posts in a category */
add_filter("wpseo_robots", function($robots) {
  if (is_single() && in_category(array(100))) {
    return "noindex,follow";
  }
  return $robots;
});

Open in new window

0
I have an early 2008 Mac Pro tower w/4 internal drives configured with El Capitan plus a Bootcamp "Win7 installation" on a separate internal drive.

I want to install a new Win7 partition while maintaining my existing Win7 installation on its separate drive.

Thus, I will end up with 2 BootCamp Win7 partitions, one new and the other old and a bit corrupted.

My purpose is to create a Fresh Win7 installation to which I can easily copy and install some Docs & Applications from my existing over-taxed Win7.

Where do I begin? I assume I need to create a new Bootcamp partition on my Mac OS drive (currently a single partition) or on a separate drive.

Just not sure of the best way to go about that without screwing up either my Mac OS or existing Win7 installation.

Thanks for the help
0
For the first time we got a message about 1+ causes of effects on battery life. Windows 8 Lenovo laptop.
Where do we go from here:
0
Good morning

Could you check this out and please do criticize it as much as possible. I want this to go smoothly :D

-----start-----

We will first start with the DL360s, known going forward as the “Management Cluster”. The justification for using these first is purely because they hold the IT Infrastructure and will allow for small issues due to the fact they won’t impact production or end user use.

1.      Log onto VMware (https://Server/vsphere-client/?csp)

2.      Migrate all the VM’s off of Server01.Doimain.com onto Server02.Domain.com manually.

3.      Drop serverl01.Domain.com into maintenance mode. This previously has caused purple screens, hence the initial move.

4.      Obtain a formatted USB Key media.
 
5.      From that drive and directory, execute the downloaded SoftPaq file: Simply double click on the SP99298.exe file and follow the installation wizard to complete the SoftPaq installation process. At the end of a successful installation of the SoftPaq a web page will automatically appear to provide you with the different methods for restoring and/or upgrading the firmware on the system.
 
6.      After the USB Key is created, you may delete the downloaded file if you wish.
 
7.      Insert this USB Key into the USB Key port of the system to be updated and power the system on to boot to the USB Key.

8.      Shutdown the host and boot from the USB key

9.      Install the latest BIOS version

10.      Shutdown the server

11.      Plug in the USB stick with the HPE Custom Image for …
0
I have this huge and annoying problem. It happens most of the time when I try to go to a web site or just right now when I clicked on ask a question on this site the page opens up in a huge fonts and everything looks too big till I click F5 then things are normal. Can someone help me please?
0
User requesting for a report stating no of emails received for specific mailbox on a daily, weekly and monthly basis. In exchange 2010, how can I go about generating this information, is there a script of sort?
0
I have a single Exchange 2010 SP3 with RU23 installed. All the roles are running on the 1 server. I have enabled TLS 1.2 and used IIS Crypto  2.0 and set best practices. Qualys SSL Labs scan give an A rating. However checktls.com fails on the cert test. The  exchange server has 2 certs the default  self signed and a public UUC SAN from GoDaddy. The checktls.com test is only seeing the default cert and is failing because it does not match the public name.  Here is the piece of the checktls output:

 Certificate 1 of 1 in chain: Cert VALIDATION ERROR(S): unable to get local issuer certificate; unable to verify the first certificate
  This may help: What Is An Intermediate Certificate
  So email is encrypted but the recipient domain is not verified
  Cert Hostname DOES NOT VERIFY (webmail.domain.org != Exchsrvr | DNS:Exchsrvr | DNS:Exchsrvr.domain.local)
  So email is encrypted but the host is not verified

The default exchange cert has SMTP service assigned and the Public Cert has IMAP,POP,IIS,SMTP services assigned.

The company that is requiring Forced TLS says email cannot go forward until this checktls cert error is resolved.

How do I resolve this issue?
0
In my Delphi application, I have a TMemo on a form
I put some text in it, but quiet long (wordwrap = true)
That's not a problem, user can go down in the text but sometimes the beginning of the text is not shown at the top right of the TMemo
How can I have text visible from the beginning of it
0
I have a table that I need to update the values in a column based on the values in 2 other columns of the table.  I've been able to accomplish this with a table trigger but it degredates the SQL performance to the point where other users/applications can't write to the table/db.  I'd appreciate any information that would help me remedy the issue.  I'd also be open to "applying" the update when the record is inserted.  The issue is that this is aged, proprietary software that I can't get support for.  He is the code for my trigger.

SET QUOTED_IDENTIFIER ON
GO
ALTER TRIGGER [dbo].[UpdateEntryTime] ON [LablitePC].[dbo].[InprogressResults]
AFTER INSERT, UPDATE
AS
BEGIN
UPDATE  InProgressResults
SET     IPR_EntryTime = CASE
WHEN SH_Key = 1123 then IPR_EntryDate
WHEN SH_Key = 1124 then IPR_EntryDate + '03:00'
WHEN SH_Key = 1125 then IPR_EntryDate + '06:00'
WHEN SH_Key = 1126 then IPR_EntryDate + '09:00'
WHEN SH_Key = 1127 then IPR_EntryDate + '12:00'
WHEN SH_Key = 1128 then IPR_EntryDate + '15:00'
WHEN SH_Key = 1129 then IPR_EntryDate + '18:00'
WHEN SH_Key = 1130 then IPR_EntryDate + '21:00'
WHEN SH_Key = 1142 then IPR_EntryDate + '01:00'
WHEN SH_Key = 1143 then IPR_EntryDate + '02:00'
WHEN SH_Key = 1144 then IPR_EntryDate + '04:00'
WHEN SH_Key = 1145 then IPR_EntryDate + '05:00'
WHEN SH_Key = 1146 then IPR_EntryDate + '07:00'
WHEN SH_Key = 1147 then IPR_EntryDate + '08:00'
WHEN SH_Key = 1148 then IPR_EntryDate + '10:00'
WHEN SH_Key = 1149 then …
0
Dear Experts,

I have a network that is connected to the internet 192.168.3.0/24.

I have another network 192.168.125.0/27 which I want to connect to the internet

I have a HP Jl380A switch.

Port 8 is already connected to the network using a static IP so that I can manage the switch. This IP is 192.168.3.251 of vlan1.

I created a vlan20 for 192.168.125.0/27 included and untagged at Port1 @ IP 192.168.135.131/27.

Do i need to configure another port using a seperate vlan so that vlan20 can go internet?

Or use port8 which is already connected to the internet?
0
Hi,

I'm trying to get the syntax right for using the FOR command in a batch file that will run in a Windows 2012 server environment.  What I have so far is:

compall.bat file:
rem This batch file compares text files in 2 directories using the Ultracompare batch progam (uc).
rem It uses old DOS commands to step through the folder structure.  Two arguments are needed:
rem The first is the first folder to look in, and the 2nd argument is the second folder to look in.
rem Example:
rem  compall 07092018 08072018
rem  Results go to a file called comp.txt in the current directory this batch file was executed in.

for %%f in ("dir %2 /b") do uc -t -i -b -B -ne -title1 "%%f old" -title2 "%%f new" -op comp.txt %1\%f %2\%f
----------------------------------

compall 07092018 08072018
Results in:

c:\temp1>for %f in ("dir 08072018 /b") do uc -t -i -b -B -ne -title1 "%f old" -title2 "%f new" -op comp.txt 07092018\2\f
c:\temp1>uc -t -i -b -B -ne -title1 ""dir 08072018 /b" old" -title2 ""dir 08072018 /b" new" -op comp.txt 07092018\2\f

What I was hoping for:

>uc -t -i -b -B -ne -title1 "08072018 old" -title2 "08072018  new" -op comp.txt 07092018\file1.txt 08072018\file1.txt

Just can't get the syntax quite right on the FOR line.  ?

Thanks much!

--Ben
1
Can you please help?

I have a workbook that contains dynamic number of sheets.
Each sheet contains three pivot tables, these pivot tables have three source sheets.
All three source sheets have one column in common the customer ID, and therefore, the three pivot tables are filtered on Page Filed “GL_ID”, i.e. customer ID.  
Every day, we run another macro that compiles a dynamic list of customer IDs, and out of this list, we create a changeable number sheets, this macro also pastes three pivots on those sheets, it also prints the customer ID on cell B2 of each sheet (each sheet contains, (1) balance, (2) possible trading activity and (3) possible product change reports of a customer).
-      Pivot table one contains;  all customer IDs
-      Pivot table two and three, however, may or may not contain every customer ID printed on cell B2.
What I would like to do and kindly ask your help, is a macro that filters each pivot table in each sheet, by setting the page fields equal to the value of cell B2?
But also importantly before that, it tests, if the pivot item in cell B2 is to be found in the drop down list of the pivot tables (page field), epically on pivot table two and three .
-      If the pivot Item is found = filter each pivot table based on cell B2.
-      Else ignore and go to the next pivot table.
Thank you in advance,
Regards,
Jay
0
In Excel 2016, my "Nuance PowerPDF" tab has moved to in front of the "Home" tab.  Unfortunately, when I go into "Customize Ribbon", it shows me ALL of my ribbons except for the Nuance Power PDF ribbon (fyi:  Power PDF add-in is enabled in Excel 2016).  So I can move any of the other ribbons (e.g., Acrobat, Review, etc.) in front of "Home".  I cannot figure out how the user got the Power PDF ribbon to be in front of the "Home" tab if the ribbon does not show.

This does NOT happen in any of the other Microsoft Office 2016 products.
0
Outlook 2010 - New sent mail goes to outbox but does not go to sent items and after restarting outlook the mail is missing - Any suggestions or solutions.
0
I have a project for our shipping department - I need to created in SQL query that will provide the following results;
1. group by style & color (example: style:123R12, color: BLK) and create an alpha sequence (A) which 123R12BLK = A

2. if style is the same but color is different (example: style:123R12, color: BLUE) it should be sequence (B) which 123R12BLUE = B and so on.

3. Sequence could go as far A thru ZZZ
0

Golang

531

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.