Programming Language that does not permit XSS, SQL Injection [closed] - programming-languages

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there yet a programming language that will prevent XSS and SQL Injection.
My thoughts are something that is context aware and will correctly encode when necessary. For example, if a string is used in a call to an SQL function, it is quoted unless you tell it to not be quoted. And if you place the variable into a string that is printed, then context-aware encoding is used, knowing whether the code is found in HTML Attribute, HTML fully-formatted (with non breaking spaces and returns), or CSS, Script.
Does such a language exist? One that
Encodes by default, unless you say otherwise,
Includes considerations for different contexts (HTML, Script at least)
Does all the context-aware stuff at compile time,
It does not need to compile to bytecode. A popular high-level language will do.

You could surely take a look at OPA and Ur/Web, both of them enforce safety/security (to a varying degree).

Related

which language most suitable for writing distributed opencl? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm new to OpenCL in order to need help on choosing a language for writing a OpenCL program, There are many language(like c/c++ , python , java) available for that. I want to develop a application on distributed OpenCL using VirtualCL.
I will suggest you to use C++ for OpenCL program.
But literly speaking, the reason to use C++ rather than other languages is performance.
It is very fast at runtime than other languages.This allows writing very efficient code that still has high abstraction level.
The best way to phrase it is :
Less code, no run-time overhead, more safety.

UML diagram Display framework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking to make a prototype of a UML differencing tool. What open source visualization tool kit exist that allow me to display UML diagrams?
Yet, I still need to be able to make personal edits the display. (Ie. refocusing, and drop down lists, additional displays.)
I have looked at Zest and Perfuse. But neither of these applications have a way to display a UML. If they do work, where are examples of them displaying UMLs?
you may want to have a look at GEF. As far as I know, ArgoUML is based on this framework.
There are several open source UML tools for Eclipse listed here along with their license.
For the diff part, you should check EMFCompare and this list of model versioning tools since they could be reused in your project

Colloborative programming with compiler [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anyone know of any software like Google Docs, or collabedit that allows you to edit realtime collaboratively and even compile a .cpp or other program over the web?
I haven't used this website, but seems like http://codebunk.com/ does the job.
It doesn't work for Java though.
I know of this website that will compile the code for you:
http://ideone.com/
Unfortunately, I cannot help in the real time editing front.
I wrote a little webapp that does exactly that, i.e. it lets you compile Google Docs documents: http://compiler.m01.eu
You can write C++ code into a Google Document (and do that collaboratively if you like), and then click on a bookmark (provided on the site) to compile your code, which will either start the download of your binary or show a compiler error message.

Can anyone recommend a good book or other resource on NTFS semantics? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'd like to improve my understanding of NTFS semantics; ideally, I'd like some kind of specification document(s).
I could (in theory) figure out the basics by experimentation, but there's always the possibility that I'd be ignoring some important variable.
For example, I'm having difficulty finding definitive information on the following:
(1) When do file times (created/modified/accessed) get set/updated? For example, does copying and/or moving a file affect any or all of these times? What about if the file is being copied/moved between volumes? What about alternate streams?
(2) How do sharing modes and read/write access interact?
(3) What happens to security information (SACL, DACL, ownership etc.) when a file is copied and/or moved?
As I said, I could probably "answer" these questions by writing some code, but that would only tell me how the specific operations I tested behaved across any machines that I ran the code on. I'd like to find a resource that can tell me how this stuff is supposed to behave, identifying all the variables that could affect the behaviour.
TIA!
Apparently there are no public non-NDA specifications. Projects such as NTFS-3G would greatly benefit from them, but they don't mention anything.
A predecessor of NTFS-3G, called linux-ntfs, has made some documentation on its own here. Maybe that's good enough for you, maybe not.

Language to create flowcharts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
This seems like something which must have been answered before, but I can't find anything appropriate in the question archives. Basically, I'm looking for a little Domain Specific Language to create flowcharts. I'm terrible at graphic design and making things look nice, and I'd really like a langauge where I could write something in code and it would produce a pretty flowchart. I've come across GraphViz, but it seems more suited to creating things like Finite State Machine diagrams, rather than process flowcharts. It also doesn't have the simple DSL-style front-end that would allow me to easily work it.
Any ideas?
Have a look at PlantUml - in particular their Activity State diagrams.
As an example (from their site) produces the image below:
#startuml
start
if (graphviz installed?) then (yes)
:process all\ndiagrams;
else (no)
:process only
__sequence__ and __activity__ diagrams;
endif
stop
#enduml
MindFusion offers components for diagramming that you can access programmatically.
They offer components for WPF and WinForms:
WPFDiagram - WPF
FlowChart.NET - WinForms
In the past I've used their WPF component on a DSL editor project. Based on Toolbox drag-and-drops in the DSL editor, WPFDiagram was called to create shapes on the Drawing Surface.

Resources