compile code online for coding competitions [closed] - compilation

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to conduct online coding competitions. For that I am developing a website. I have a webpage to take the code from user. Once the user has finished his coding, on submitting I want to send that code to some compiler to check the code. And I can check with the test cases if its compiled without errors. Is there any online compilers available for that. I mean, Is there any site to send my_code, test_cases, programming_languages to that and get back the results? Or should I use system commands to do this process?

Compiling requires a fair amount of computation. You will have to consider how well your system will scale to user demand. Most online services would eventually charge a fee to cover their infrastructure costs (+ profit).
See ideone.com/sphere-engine
Depending on the scale, you may want to use system commands. I would suggest doing so until your project reach a certain maturity. You could also have a setup like Jenkins, were compilation work is dispatched to build nodes which can be added for increased demand.
Existing software like PC2 ask the hosts of the competition to provide the compilation server. However, the setup is local.

Related

How to stress test my page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like to test my web app under high load.
What I'd need to do is.
Load the page => click the button => fill the form => click the button.
I'd need to do this to simulate 5-10k page requests, which is expected to happen after we launch one service (based on previous years data as there's going to be some big pre-sale discount for only a couple of items)
What service or approach would be the most suitable to do this?
You can use services such as SoapUI or Loader.IO. Both are supposed to be free if I am not mistaken.
Gatling.io is another good tool you can use for this.
There is a number of free and open source load testing tools you can consider listed at http://www.opensourcetesting.org/category/testing-tools-overview/performance/?menu-page=overview
Given your requirement of 5-10k concurrent requests my expectation is that you need the tool which can be run in "clustered" mode as you might hit the resource limit of a single load generator so you can use several machines running the load testing tool so it can be done in distributed manner.
One more factor would be possibility to record and replay the scenario so you could just run your steps in browser and the load testing tool would capture the relevant requests so you will be able to replay them with increased number of users.
Check out Open Source Load Testing Tools: Which One Should You Use? for example evaluation and research. Once you stick to this or that tool you can ask questions regarding your scenario implementation using a specific StackOverflow tag.

Analysis of hostile code. How to deal with packer and how to figure out the language it is written on? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I received a tailored email with an infected attachment from a public email. I would like to more about the payload. What is the right way to study this? I would like to use a debugger. Easier, but riskier option is to run it on Windows guest/Linux host on a sacrificial box without wifi card and comparing disk images before and after infection.
If I go the debugger way, how should I unpack the code?
How to tell in what language the malware was written?
Can any code be debugged by changing defensive conditional jumps (like "if debugger present" jump, or there are other pitfalls?
How likely is it for malware jailbreak vmware and infect Linux host?
This is a time consuming project. You should familiarize yourself with several tools:
You will need to identify packer. PEID is a good start.
Unpacking tools (GUNPacker).
Debuggers (OllyDbg or WinDbg).
Code analysis tool (LordPE).
Dissasembler.
Binary Analysis Tools (PE Explorer).
At least get confident using these tools on your own code. Otherwise, it might be better to contact professionals.

What exactly is "integration" and why do services like Travis-CI exist? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I always see .travis-yml files in github repositories so I decided to google what they were used for. I found Travis-CI and and I've been reading, trying to understand what integration really is, but without an example, it's still just a general vague term to me. When do developers utilize integration and what exactly happens during integration? How does integration differ from continuous integration?
Integration, in Software Engineering, is the action of merging code from different developers (or for instance, from different modules of the same whole project) while trying to avoid errors in the process. It tries to make sure all the pieces of code that are not being made in the same place, by the same person, or that don't belong to the same main portion of the software, can interact without problems.
Talking about Travis-CI, there's a concept called Continuous Integration (as referred by #Simeon Visser) in the comments, that focuses on integrating the code in fixed periods of time (maybe once a day, or once every 12 hours for example) to assure the integrity of the whole system as it is being developed.

determine status of project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
i am currently working on a very very simple project-management/bug-tracking system, and i want to display the status ("horrible as hell" to "nice like a butterfly" ) of a project on its summary page.
The problem i have - how to determine said status, i thought about the quotient of solved/resolved issues, but this quotient is going to 0 as more and more isses are resolved. I also thought about issues/files, but then i have to monitor the count of files (whats gonna be hard b/c theres binary files i have to monitor so a svn or git binding is not possible).
sorry if i posted on wrong site - don't sure if this belong to meta
This is highly subjective, but here's my two cents worth after managing hundreds of projects.
Each project is so unique that you won't find a suitable "automated" way of measuring the health of a project in the way you are asking. The best you can do is to display such metrics as-is.
For an overall project health status, the project manager should be responsible for analyzing the metrics you are providing and manually determining the health of the project.
Again, I know it's subjective, but project management is as much art as it is science, and no software is ever going to be able to be able to nicely summarize the project status as well as a competent project manager. Even an incompetent project manager should be able to give a better status report than the computer. All the computer do is spit out stats. It takes someone who knows how to interpret the stats to put the stats in a nice "executive-level" summary.

Buy or build tool for Data Reporting? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
We have been asked to provide a data reporting solution. The followng are the requirements:
i. The client has a lot of data which is generated everyday as an outcome of the tests they run. These tests are run at several sites and they get automatically backed up into a central server.
ii. They already have perl scripts which post process them and generates excel based reports.
iii. They need a web based interface for comparing those reports and they need to mark and track issues which might be present in those data.
I am confused if we should build our own tool for this or we should go for already exiting tool(any suggestions?). Can you please provide supportive arguments for the decision that you would suggest?
You need to narrow down your requirements (what kind of data needs to be compared, and in which format?). Then check if there is already a software available (commercial or free) that fulfills your needs. Based on that, decide if its better (i.e. cheaper) to implement the functionality yourself, or use the other software.
Don't reinvent the wheel.
There are quite a few tools out there that specialise in this sort of thing, my gut feeling is that you can find something ready made that does what you need.
As a side note, that tool may also be a better solution for creating those excel reports than the perl scripts.

Resources