Programming

53K

Solutions

41K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

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

Sign up to Post

Github app works on my personal repositories, but will not work on organization.

Found a Github app called prevent-public-repos  https://github.com/apps/prevent-public-repos and thought it was the answer to my quandry.  When installed and configured on my personal repository it works great in just a few steps.  However when completing the same steps for our organization it does nothing.  Are there extra deployment steps required?
0
C++ 11 Fundamentals
LVL 13
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

I have a chart control in asp.net that I am trying to display annotation in the chart area - topcenter of 'ChartArea1'.  It does not display on the chart.

Why?

Below is my asp.net code

<Annotations>
                                        
                                            <asp:TextAnnotation Alignment="TopCenter" Font="Arial, 10pt" ForeColor="#00FFCC"
                                                Name="Chart1Annotation" Text="Nominal" TextStyle="Default" ClipToChartArea="ChartArea1">
                                            </asp:TextAnnotation>
                                        </Annotations>

Open in new window

0
Hello,
when a batch-file is executed in cmd. I want to make sure that exactly one parameter has been passed.
How can I do this?
0
This question is a two parter. First of all, using C#, is there a way to check the specific encoding information on a .WAV file? I know I am able to check things like the sampling rate, number of channels, etc. But I want to be able to detect if the .WAV file uses either µ-law (u-law), PCM, or any other formats I'm not aware of.

If the .WAV file turns out to be something other than µ-law, how do I convert the .WAV file into µ-law using C#?
0
Dear Experts, is there any tool or code which we can use to block some ports of applications. For example: someone inside LAN network can block the communication between Exchange servers and normal PCs?

Also, is there any tool/code which can be used to track the Internet access of VPN user?

And which tool should we use to mitigate it?

Many thanks!
0
Hi,
I have performed mvn release:prepare release:perform.
And a tag got created. I am using git and phabricator
Now i had to make some minor changes to the code. But dont want to create another tag unnecessarily.
So can i make the earlier tag point to the new code ?
The tag is important because that is how the build system in our office works...
But each time i make some change for deployment i dont want to create a new tag. and somehow make the older tag point to new code

Please suggest how to do it. and any alternatives ?

Thanks
0
Hi,
I came across an interview question. But it doesnt seem to be making sense to me.
If someone understood it please explain the solutions and the problem as well.

Given millions of files process them sequentially in multiple stages and make sure it has good scalabilty, error handling, elegantly handles changes to the system. etc.

Thanks
0
OCUPO ENVIAR MENSAJES DE TEXTO A CELULAR DESDE UNA APLICACION  VCL DELPHI ?
0
Hi,
I have noticed sometimes whenever i do a git pull.
The editor will open up for merging with the default message :
Merge branch 'branch-name' of 10.1.5.12:app-portal into 'branch_name'
And i unnecessarily end up creating a new commit.

I dont know why this is happening ?
Ideally when i do a git pull it should just pull out the changes and not merge something...
Moreover why this message is appearing in the commit ?

Thanks
0
Hello Experts,

I am fairly new to C# programming for MS Word document.
I am trying to create an interactive Word document for users.
I have separate csv file that has values for "Country Name, Country code".
Now from my word document, I want users to have ability to search by country name and pick the value of country code to the text box in Word.
Not sure if have to use any local database like SQLLite or how I can make this search interactive for users from the Word document.
Can you help by throwing pointers that I can use to get started.

Thank you.
0
Python 3 Fundamentals
LVL 13
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.

Hello,
when I scroll on the grid, then the current value  should be highlighted in the grid.
The highlighter must change everytime I scroll to a other row.

1.PNG

It should look similar to this: number is 3 and value is 4. Value should be highlighted in the chart.

2.png
How can I do this?
0
Hello,
I want to visualize Data with Steema Teechart. But the Teechart Components were not in the Toolbox.
I am using Delphi 10.3 Community.
How do I get the Teechart Components in the Toolbox?
0
I have 100 buttons and 100 edits. They are named button1, button2, ..., button100 and edit1, edit2, ..., edit100.
When I click on Button1 then edit1 should be deleted. When I click on Button100 then edit100 should be deleted etc.
How can I do this, without implementing 100 time the same code. I want to implement it only once.
What is an intelligent solution?

1.PNG
0
Hi,
This is more of a non technical question probably. I am a Senior Software engineer working mainly on Java.
I want to grow and become a Lead but i am unable to rise to it.
I am confused what do i have to do to land there.
I want some people here to share there experience how they rose from a senior software engineer to a Lead.
Some people say you should own things.
The company i am in currently they just assign some tasks and i think if i just keep on solving them i will stay at a Senior Software Engineer level.
Its nothing interesting. I need to somehow pick up things myself and work on them so as to prove myself and get some interesting work.
But i dont understand how am i going to do that. Its easy to say and think that i am only responsible for my growth but for that i need to prove myself and do something interesting.
Moreover i also get confused between somethings
1) Like there is one regular type of work where your manager assigns you tasks and thats very boring
2) Other thing is you figure out something in the codebase refactor it or do something with it. But how am i gonna do that and whether these type of tasks will be valuable to the company or not ?

Something challenging and which grows me rather than doing routine work i need to figure out how to do it in office and work on it so that it keeps my interest and i grow as well.
Please provide some tips and insights into it.
Any books or videos also on this topic will help. I really want to do …
1
Hi guys, we are using this feed here to be then imported by our mobile apps, https://nova.ie/feed however it is displaying two images within the body, is there anyway that it doesnt show the image within the body.

To get this working yesterday i put this code into functions.php on Wordpress

?php

function featuredtoRSS($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = '<div>' . get_the_post_thumbnail( $post->ID, 'medium', array( 'style' => 'margin-bottom: 15px;' ) ) . '</div>' . $content;
}
return $content;
}
 
add_filter('the_excerpt_rss', 'featuredtoRSS');
add_filter('the_content_feed', 'featuredtoRSS');

Open in new window

0
Team,

I need a help on creating bat file script for outlook profile creation. I will be using GPO to deploy the script along all the workstations/ laptops connected to the domain, so that user don't need to manually configure the outlook. Also can some one also suggest me if its possible to include outlook rules in the script?

Also please note that this is for a Mac.

Can anyone please let me know the procedure, how to accomplish this?

Thanks
Krish
0
I need code that will take user choices (from checkboxes on a userform that correspond to the Reference Type dropdown in the Word cross reference interface function) and apply them so a macro (‘Apply_Cross_Ref_Style’) that is intended to format cross references formats only those checkbox controls whose names include the reference type (control.name.text). The purpose is to segregate the cross references,  so that I can apply formatting to specific cross references while leaving others of the same type alone.

Example: if I want to format only cross refs that point to captions with the labels of “Figure” and “Table” but leave all other cross references alone (such as headings and numbered items), this is the only way I can think of doing so, since they all have the same REF (or wdfieldref) field type,

I have a sub (‘lblApply_Click”) in the attached file that reads the controls and populates a variable (‘Reftype’) with the truncated names of the Reference Type list items (Numbered list, heading, bookmark, etc.). The idea is then for the ‘Apply_Cross_Ref_Style’ sub to format only those cross references of those types. I have the line ‘If Left(oFld.Result.Text, 6) = "Figure" Then…’ there now to test the concept, and it works, but I need to loop through the ‘Reftype’ variable, which carries the cross reference type names that are selected in the user-checked controls to tell the sub which cross references to format. I believe this requires an array but I don’t know how to …
0
I was given public keys by vender , Im trying to connect to server through  WS _FTP utility .  I genertaed a set of keys using putty.  Im trying to import the private key that I created through Putty and receiving an error invalid format when trying to import  as my private keys through WS_FTP.

Thanks
Aron
0
I have a CLLE service program that I can call from CLLE programs but it doesn't work when I call it from ILE. What am I missing. I've attached a file with the pertinent information. The library list is correct. The binding directory entry exists, I've defined the prototype in RPG. What am I missing? I usually write my service programs in RPG but thought this was a good one to try in CLLE as it's running a command called SQL2XLSXC. Any help/advice would be greatly appreciated.  Thank you. Call-to-CLLE-service-program-works-.docx
0
Ensure Business Longevity with As-A-Service
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

where within the Ubuntu OS is this box triggered.....i'd like to find the precise line of code that calls this box up.....  it occurs when you attempt to copy a file from directory 1 to directory 2 and directory 2 already has a file of the same name....  this is not related to any app as such but rather simply appears when a copy/paste operation finds a conflict.....
Screenshot-File-Conflict.png
0
I am working on the following homework solution:

Many program written with inheritance could be written with composition instead and vice versa. Rewrite class BasePlusCommissionEmployee (fig9.11 ) of the commissionEmployeeBasePlusCommissionEmployee hierarchy to use composition rather than inheritance.

Please see this link from the exact same question previously posted on ExpertExchange: https://www.experts-exchange.com/questions/26429370/java-program.html

I'm being told there are three .java files needed for this assignment instead of two (BasePlusCommissionEmployee.java and BasePlusCommissionEmployeeTest.java). What is the third file needed? Is it the CommissionEmployee.java file? I tried running the CommissionEmployee.java with the BasePlusCommissionEmployeeTest.java file and I received the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: BasePlusCommissionEmployee
        at BasePlusCommissionEmployeeTest.main(BasePlusCommissionEmployeeTest.java:10)
Caused by: java.lang.ClassNotFoundException: BasePlusCommissionEmployee
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
        ... 1 more
Press any key to continue . . .

Open in new window


Can someone explain to me what I'm doing wrong?
0
I don't know much about iOS programming, and I'd like to know if it's possible to build an app with a certain set of features. I'd like to know if it's possible to build an iOS app that allows one person to call another person, but to also be billed for the phone call. Very similar to 1-900 numbers. Is this possible to build on iOS?

Thanks in advance,
Zumpoof
0
in our company (1000 - 10000 employee) we are going to establish a new department for software development so what are the best tools to:

1- manage software versions.
2- manage team tasks.
3- manage the development processes.
 
another question:

what are the usual processes for stakeholder requests and changes?

Be informed that we are using Microsoft technologies for software development.

Best regards.
0
Hello,
I have code that will build, compile and link on IBM AIX  without any issues. I am tasked with importing the code to Linux where gcc and g++ compilers are being used.
I have gSoap version 2.8.36 on Linux but getting linking error :-

unresolved external symbol _soap_faultcode

libgsoapssl.so: undefined reference to `soap_putheader'
libgsoapssl.so: undefined reference to `soap_serializeheader'
libgsoapssl.so: undefined reference to `soap_faultstring'
libgsoapssl.so: undefined reference to `soap_check_faultsubcode'
libgsoapssl.so: undefined reference to `soap_check_faultdetail'
libgsoapssl.so: undefined reference to `soap_faultsubcode'

Open in new window


I had an E-mail from Genivia saying :
Mixing C and C++ source code files may cause linkage issues, so rename .c files to .cpp files to avoid that.

This is not possible because I have 10K files and the company won't let me do that.

I'm using gcc and g++ which is causing the conflicting issues.

Any ideas please ?
0
Anyone know how to process SMS replies when using Clickatell?

I have a two-way number and wish to use HTTP GET.
0

Programming

53K

Solutions

41K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.