Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.

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

Sign up to Post

can anyone suggest some real-time tasks or assignments on java projects, how to achieve those? just need some tips based on your project.

example, my project is xxx and so far I worked on a couple of tasks.   can you mention briefly those tasks(at least a few assignments just for reference)?

Thanks in advance guys.
0
Cloud Class® Course: CompTIA Healthcare IT Tech
LVL 12
Cloud Class® Course: CompTIA 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.

I am configuring the Search feature in SharePoint 2016 standard. I have created a search service and search center for results. I also configured the source content and the crawl schedule. However, when I start the indexing process to crawl SharePoint it never progresses past "Starting". It is in a perpetual state of starting and I have been unsuccessful at locating information on resolving this issue and completing a crawl. I have a cmd that will stop the crawl but then it switches over to a perpetual state of stopping and never goes back to idle. Has anyone else ever encountered this issue and know how to resolve it? Thanks for any help!
0
from 5:30pm - 7:30am everyday i want to forward and bcc any google email that comes in from test@test.com to test2@test2.com.
from 7:30am - 5:30pm I what to turn off the forwarding.

Can i achieve this by using a Google Apps Script ?

Ultimately i need this to be automated so it doesn't require manual intervention

Cheers

Troy
0
How to create a cross platform application in java like ambar cloud ??

I went through the ambar cloud - open source search engine (https://ambar.cloud/ and https://github.com/RD17/ambar) and astonished at his amazing features.

I would like to build the similar one in java and not sure which tech stack i need to choose and what would be the design and what are the third party libraries might required to built it

Can some java experts help me with suggestions, comments and design and help ?
0
how utf-8, unicode are different for latin kind of characters with carrot or cap etc on them


in java are those both same?
are they different in other languages?

how html decimal code is different?
what other formats out there?
which one to use when?
which one to use to support sms on emails, sms text and different browsers, gif. pdf kind of reports etc without having to see some junk ?? kind of display issues
0
what does below command do
maven update

i am using above from eclipse

what are other commonly used maven commands and their uses, advantages, differences
i can do maven update on multiple projects once i select them in one stroke.

After this maven update one project java file keep on complaining
Error: Could not find or load main class com.ups.rms.testdriver.RMSTestDriver


some junits keep on complaining junit not found

then i have to do maven clean
then maven install on each individual 10 projwect i have( not sure why i cannot do maven clean and maven install on multiple projects in one stroke)
how maven clean different from regular eclipse project clean at the top of th eclipse after  File, Edit, Navigate, Search etc options?

please advise
0
Greetings,

I am using evaluation version of microstrategy, can you please let me know  how can I get table and columns of that table using REST API.
OR in generic term relation between objects.
0
Hi,
Is there any programming examples, showing the way to detect which area it is, per given IP (Worldwide IP)?
0
I've been trying to fix this for days now. Using Xamarin and Visual Studio, I deleted the asset catalogs/media folder then I used app icon set creator to create the icons. I then went into info.plist under visual assets and hit add catalog, then dragged the icons into the slots.

No matter how many times I try this I get the same error.

Since this is xamarin, I was told I have to create an IPA file and upload using ApplicationUploader.  The file uploads but then I get an email from Apple with a build file error shown above.

Does anyone know how to fix this?

thanks!!!!

Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle

Open in new window

0
Hi,
I need to create .exe file in Autoit which will acheive this:

search c:\xml\ folder for xml filename (specific portion in a file name) that i supply/input in textbox and show it in the listbox , then have another textbox which i can give another name and change the name i choose from listbox .

let say there is xmls files in this folder:
c:\xml\

1. 658 961324913 20180422213033.xml
2. 688 9415460918 20180422221407.xml
3. 761 963837127 20180422215149.xml
4. textfilename.txt

i insert/search in the search textbox for : "9415460918"  (it will search only the number in between 2 spaces) from the  files in the folder
the search botton will list only  file number 2 (xml file)
I insert in another textbox new name like : "2154632810"
it will change the filename to : 688 2154632810 20180422221407.xml


i have play with some example that maybe help around:
#include <GuiConstantsEx.au3>
#include <File.au3>
#include <Array.au3>

;GUI
GUICreate("Rename XML files", 300, 500)
$sourceFolder = GUICtrlCreateInput("Source Folder", 10, 10, 280, 20)
$add = GUICtrlCreateButton("Search", 10, 35, 75, 20)
$mylist = GUICtrlCreateList("", 10, 60, 280, 300)


GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Switch $msg
        Case $add
            $sFolder = ControlGetText("Rename XML files", "", "Edit1")
            Local $FileList = _FileListToArray($sFolder, "*.xml")

            If @error = 1 Then
                MsgBox(0, "", "No 

Open in new window

0
Cloud Class® Course: Certified Penetration Testing
LVL 12
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

I have developed a website for a client, in the code i had utilized quite a few CSS tags (To keep the formatting and alignment), to add new content its all done through source code (need to add paragraph tag and heading tags to add new content) , users can add links, upload pictures, URL and amend existing content without touching source code.
After the website has been tested and delivered to client (Desktop, Mobile, tablet), now the client is saying that non technical people will be editing it, so if they accidentally delete a tag from the source code they wont know.

Just wanted to get opinion on what functions are delivered with Drupal website? What are industry norms?  if client had not mentioned anything in initial project scope?

I have found a solution (Drag Drop Builder) to suit client requirements,  but i have to add that function on every page, lots of working hours to me.

How can I justify it to client that its not industry norm to have Drag Drop builder function as industry standard in Drupal website? and what they are expecting from a website  is not industry standard and client never mentioned it in initial job task.
Thanks.
0
I'm using EncryptedXML to decrypt a SOAP message.  I'm loading the certificate manually and trying to decrypt the message.  But I'm getting the following error:

Unable to retrieve the decryption key.

Open in new window


Here is my code:
stream.Position = 0;
var doc = new XmlDocument();
doc.PreserveWhitespace = true;
doc.Load(stream);

var clientCertEnc = new X509Certificate2(@"C:\certificates\xxxxxt.pfx", "xxxxxx");
var privateKeyRSAA = (RSACryptoServiceProvider)clientCertEnc.PrivateKey;

var exml = new EncryptedXml(doc);
exml.AddKeyNameMapping("KeyIdentifier", privateKeyRSAA);
exml.DecryptDocument();

Open in new window


Here is my xml:
<s:Envelope 
        xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
        xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <VsDebuggerCausalityData 
                xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPo4tYpt6X40FEk+VSAe5mc8MAAAAAP497cBuXfk+uFIOY80O0iuLtIW56q7hLktgVYPhbnHMACQAA
            </VsDebuggerCausalityData>
            <o:Security s:mustUnderstand="1" 
                xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <o:BinarySecurityToken u:Id="uuid-10490fb0-8ee0-4a4c-a8db-77242c9a3b7f-2" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" 

Open in new window

0
Hi,

I'm in the process of developing an eBay application in Microsoft Access 2016. So far my project has been fine and the API calls I have made have been successful but I have now come to a stumbling block that I need some help with.

The API calls I have used so far are all for single listings so this is easy and I just pass the XML through an HTTP request. I want to make this much more efficient and use eBay's File Transfer API where I can send more than 1 call at a time but I'm really struggling on trying to understand how to build the call.

The data has to be sent as Binary Base64 which I have a converter to do this. I can build the XML that needs to be sent but I just don't understand how to send the XML from a string as apposed to a physical file.

I've read loads on the internet about having to create it as a multipart request with boundaries but really not sure how to start building that. I can provide code if need be so you can see where I am at.

I hope this makes sense.
0
I'm trying to figure out why I can't seem to decrypt an encrypted key from .NET with a X509 Certificate.  

.NET Code
encryptedKey = "jW3VDsUZWIdzfZ1bPN3iKI2Pf9u22kUax0DFnF3A9H+nvcBQuVC2efw1FYGm5/AvnN27kXqA4PyCqcQLp/tguVqHtzdR7mJtkTCyY8TUoAej2Mqzv2uiEKULB/8rlPDl2DOkSMGJqieenAG/7gZjWhlU0eYrlcMi5dtAnPFTfy+LvtJ6bbGEDgy4FhoT49T6sO0kjBJHp5YI0p/CeEuc+WMT/BMGG1YuDPswltj0VzeaE3KbHSLvJPjGCQ3U0YkUWm8h9zM22S/mRvfMhEu1aRdQpojGUiSLKUJyotNu8fRulKeB1TVuE7AlDGrbAUsRtU+y6PdLMcEHW+BRq5Uouw==";

var encryptedKeyByte = Convert.FromBase64String(encryptedKey);

var clientCert = new X509Certificate2(@"C:\certificates\xxxxx.pfx", "xxxx");
var rsa = (RSACryptoServiceProvider)clientCert.PrivateKey;
byte[] key = rsa.Decrypt(encryptedKeyByte, false);

Open in new window


The error I get when I try to run the last line of the code rsa.Decrypt(encryptedKeyByte, false)
The parameter is incorrect.


In SOAP UI the decryption works where I use the same certificate.  I just had to convert the file pfx to a jks file to get it working in SOAP UI.  But other than that the settings look the same to me.
Here is a screen shot of the SOAP UI settings.  I'm guessing the Signature Keystore in the SOAP UI seetings is not used for the decryption process.  The Decrypt Keystore settings in SOAP UI is the one I'm using in .NET.  Only in .NET its a pfx file.  
SOAP UI Settings
I also imported the certificate to my local box to see some of the details.  Here is what I see:
Certificate seen in MMCcertificate_properties_in_mmc_2.pngCertificate seen in MMC
Please let me know if you need me to provide any other information or need me to test something out.  Thanks in advance for your help.
0
checked exception



public class ThrowEx {

      public static void main(String[] args) {
            
            try{
            throw new Exception("file not there");
            }
            catch(Exception e){
                  
            }

      }

}



why i ned to have try catch for above example.

If i skip i am getting compilation error


https://www.google.com/search?q=java+exception+checked&safe=active&rlz=1C1GGRV_enUS765US765&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi_7qLdjLjaAhWDylMKHfzxDigQ_AUICigB&biw=1280&bih=615#imgdii=dKyeLgDJI-TIrM:&imgrc=Xm7qPed58fGj2M:

Exception could be Run time(unchecked which does not need explicit try catch like indexoutofbound, arthematic) , unchecked(which needs explicit try catch like IOException)
as well right?

please advise
0
Hi
For my Python RTS / MOBA server,

I am at a decision where I should either make a class for reading UDP activity updates from the clients over TCP activity ( a failsafe)
Should I have a UDPlistener class and a TCPlistener class?
or should I have a packetListener class with a UDPlisten method and  also, a TCPlisten method? - that are each made into Threads?
I think an all-in-one approach would make linking into the game smoother?

both would work, but which would look best? Is Python better suited to one?

Thanks
0
Hi,
I have a simple grammar of a subset of C I'm trying to program using Yacc. In one part of my grammar I have the following rules:
 
DeclarationsAndStatements: Statement DeclaratonsAndStatements
                                                             | Declaration DeclaratonsAndStatements
                                                             | Statement
                                                             | Declaration
                                                              ;

           Statement: error SEMI
                              ;

           Declaration: error SEMI
                              ;

Open in new window


Because I have Statement and Declaration both producing error SEMI I keep getting a shift/reduce conflict, I tried multiple solutions but I keep getting the same conflict. How can I solve this conflict?
0
Hi

I am trying to integrate .net application with goldmine. I can create contact1 but not contact2 and contsupp. Can you please help me.
I am having problem with the first function (updateContSupp)
goldminestruggle.txt
0
How to use c4.5 classifier in android studio to process the  accelerometer and and gyroscope  sensor data from phone.
0
Cloud Class® Course: Ruby Fundamentals
LVL 12
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Hi there,
I need a sample application to build off to accomplish the following:
Scan a ticket that has a QR code.
As the ticket gets scanned add it to a datagrid or listbox (doesn't matter)
Once all the codes are in this data repository and on button click stores it on a database.
I don't expect to someone in here write something from scratch this escenario. But if you have seen something that can get me ahead on things I will greatly appreciate it.
If you have an idea of an aspx app or windows
0
I ran across some python code that allows continuous, live plotting of twitter stream data and sentiment rating. When the author of the code demonstrated it on Youtube, he was able to plot the twitter in a graph, and the graph updated  with each tweet. However, when I run the same code, I get one graph for each tweet and the plot points do not form a continuous line--instead the output consists of one graph, one plot point for each tweet. I would like to  get the graph to show the plotted point for all tweets in one chart in a continuous line.

BTW I am not the  only person who ran into this same problem with the code.  FYI I am currently running python 2.7,  in a Spyder 3.2.8 development environment on Mac.  I have attached the code (without access key information) and it has not been altered from the author's version. Any assistance would be greatly appreciated.

Thanks!
wasmithpfs
test31818.py
Screen-Shot-2018-03-18-at-9.28.21-PM.png
0
About half our class turned in this assignment on its due date; many of us are lost. Even though it's past-due, it's been nagging me, and I'm curious to find out how it works. I come here, hoping someone will be able to guide me, as to what I need to know about this diagram in order to answer its accompanying questions.

Here is what I know:

  • "Sequential instruction execution" is where each instruction is fetched and executed to completion before the next one begins.
  • The `popl` instruction moves the data element from the top of the stack/register into the specified operand.
  • `%esp` is the stack pointer

y86_sequential-1.png
0
facade project has manager class calling a below adapter.createRequest method on Adapter class

Class MAnager{
adapter.createRequest(arg1, arg2)

}




Class Adaptert

createRequest(arg1, arg2){

msg.append(arg1);
msg.apend(arg2);
}



when i did "call hierarchy by doing control+alt+H on createRequest of Class Adapter i get error
The resource is not on the build path of a java project


facade project is included in one other high level project called XYZ under that there is facade, data, client, webservice etc sub projects there.

IF I do "call hierarchy by doing control+alt+H" itr does show below method in Call Hierarchy view Class MAnager{
adapter.createRequest

I wonder why i got that error in above case not in below case?

Please advise
0
I am using following code  ( but not clear how to pass a parameter when a user click on firebase notification? )

public override void OnMessageReceived(RemoteMessage message)
        {
            base.OnMessageReceived(message);
            string click_action = message.GetNotification().ClickAction;
            SendNotificatios(message.GetNotification().Body, message.GetNotification().Title, click_action);
        }
        public void SendNotificatios(string body, string Header, string click_action)
        {
            Notification.Builder builder = new Notification.Builder(this);
            builder.SetSmallIcon(Resource.Drawable.AppLauncher);
            //Intent intent = new Intent(this, typeof(MainActivity));
            Intent intent = new Intent(click_action);
            intent.PutExtra("click", click_action);
            intent.AddFlags(ActivityFlags.ClearTop);
            PendingIntent pendingIntent = PendingIntent.GetActivity(this, 0, intent, PendingIntentFlags.OneShot);
            builder.SetContentIntent(pendingIntent);
            builder.SetLargeIcon(BitmapFactory.DecodeResource(Resources, Resource.Drawable.AppLauncher));
            builder.SetContentTitle(Header);
            builder.SetContentText(body);
            builder.SetDefaults(NotificationDefaults.Sound);
            builder.SetAutoCancel(true);
            NotificationManager notificationManager = (NotificationManager)GetSystemService(NotificationService);
            

Open in new window

0
I'm attempting to create a dataset where an email list is enriched with the person's metadata such as department, manager, state, etc.  Data set A has a field of email addresses.  Data set B also has  field of email addresses along with multiple rows of metadata for the person.  As illustrated in the attached image, there may be missing values in some records, but not missing in other records.  Supposing that the attached data set is for a John Smith, how can I produce a final report where John Smith has values for each metadata field.  I need to do this in Python and the metadata should come from the latest data record first and then iterate over the other other records if values are missing.  Another point to make is that the metadata field names may change, so it's better that we refer to them by their index value.
Capture.PNG
0

Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.