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

Hey everyone, I have been trying to learn the Windows architecture but I am still struggling to piece all of the parts together and I think it is especially hard because I don't have any programming knowledge.

One of my pain areas is the kernel and user mode. Could anyone help me with a good example to understand how processes that run in user mode access the kernel ? And where do handles and objects come into the picture?

From what I read the kernel and user mode are just two different processor modes on Windows. User mode is used for applications, system processes, services etc. while the kernel mode is for Windows Executive, device and file-system drivers, HAL, kernel code itself, GDI etc. The processor running on Windows switches between these two modes depending on the code it is executing.

In user mode, the executing code has no ability to directly access hardware and has only limited access to system data. It would have to use handles to access kernel mode resources which are objects.
In kernel mode, the executing code has complete and unrestricted access to the underlying hardware and system data.
This isolation allows for better system stability and security. Crashes in the user mode only affect the application as each process runs in its own private virtual memory space called heap, while crashes in the kernel mode causes bug checks because the kernel mode shares the virtual memory space known as pool.

To show my understanding so far let us take …
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.

How to prepare design document for a project enhancement without starting the coding work.

For the sequence and flow etc diagrams of the design document i need the class names, method names etc right even before starting the coding work.
any good links and references and tutorials, videos around this
please advise
0
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
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
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.

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.