[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Programming Theory

Programming theory deals with the design, implementation, analysis, characterization, and classification of programming languages and their individual features, along with introductory programming concepts like program structure, variable declaration and conditional and looping constructs. Sub-disciplines include the formal semantics of programming languages, type theory, program analysis and transformation, comparative programming language analysis, metaprogramming, domain-specific languages, compiler construction and run-time systems.

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

Sign up to Post

I have this bit of C Code for a project I working on for a project.  
logit("Username: %s Password: %s", authctxt->user, password);

Open in new window

This is going to be used in a proof of concept project and I want to obscure the real password.  I was thinking of either replacing the whole password with a set of characters or maybe keeping the first and last two characters and replacing the rest with a set of characters.  Maybe Xs.   Looking for suggested modification.
0
C++ 11 Fundamentals
LVL 12
C++ 11 Fundamentals

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

Generic Form, Controller, Service and Search fields for Java Web Application

I want to built an application where there will be 500 screens which needs basic CRUD operation and individual field search or combined search field option is required.

Everything when we build entity in Java/JPA we want to have separate controller, service, repository and search api.

Is any framework or open source it has all in common, where we can use the generic controller, service, repository and search and export options by default instead of writing any new code snippet

However we can extend whenever is required.

Please advise.
0
Hi All,

I need your assistance starting a table/relationships similar to an Entity Relationship Diagram (ERD) for storing business objects. Please note this is not for SAP Business Objects.

The definition of a business object is “an entity that describes a person, place or thing that is essential to a business system, which the subject system needs to be keep track of”.

I am not really sure which tables / relationships are needed for business objects. I would appreciate your guidance or examples.

Thank you.
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
I have been reading about the Turing machine lately.  My question for you does the average laptop meet criteria for being a turing machine?  It works different, but I think it can do everything a turning machine can do.

Would you agree or disagree?

Thanks.
0
In API.AI, @system.given-name can recognize English names. I want to create a module for india. Do we have any method by which we can use such kind of concept for indian names?
0
What is counting semaphore?
0
I would like to know the approach one has to take to architect software product/solution. How to device a high level architecture for a product being built from scratch? Requirements: service oriented, scalable data integration (interoperability) solution.

Please share references that may help learn software architecture/design basics. I have very broad (not deep) technical background including software engineering with basic coding skills as well.

I am not trying to become an expert architect but want to know key factors, pitfalls etc  of 'modern' software architecture.
0
How to count input numbers in a little man computer program
e.g 25 45 63
that means 3 numbers...the output should be 3
i need the coding
thanks
0
Hello

I am trying to generate java files from WSDL using Apache CXF plugin in my maven, but when I do maven generate sources I neither get any error in the console nor there are any files generated
pom.xml
0

Programming Theory

Programming theory deals with the design, implementation, analysis, characterization, and classification of programming languages and their individual features, along with introductory programming concepts like program structure, variable declaration and conditional and looping constructs. Sub-disciplines include the formal semantics of programming languages, type theory, program analysis and transformation, comparative programming language analysis, metaprogramming, domain-specific languages, compiler construction and run-time systems.