What is profiling in unix? [closed] - unix

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
Can anybody tell me about 'profiling' in unix by giving a small example.
Thank you!

You'll need to give us some more context if you want a useful answer. Broadly speaking, profiling a program is to instrument the executable with some extra statements that record details of execution which you can later analyse to identify parts that are slow, consume too much memory, consume too much CPU etc. Here's a quickie along with examples on how to use gprof which is the GNU profiler for C. http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC2

If you want to shine in your exam about profiling, talk about Dtrace.

Related

Writing R-thonic code in R [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 4 years ago.
Improve this question
What were the design decisions that led to R having often more than one way of doing things, that have subtle difference? See, for a good example,
https://www.r-bloggers.com/r-na-vs-null/
More more such issues are here, some which are justified, some which are not http://r4stats.com/articles/why-r-is-hard-to-learn/
From a software engineering perspective, having such choices in a language screams for having subtle and hard-to-find bugs in your code (e.g. in Python the whole point of writing "pythonic" code, that avoids ambiguity and is easy to read and consistent in style). So there must be some major advantages of having that. What are they?

Processing without entirely loading a table [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 have a file of approximately 40Gb and i need to perform some analytics activity on it but my ram is limited to 4gb any suggestions how to proceed?
Check out the LaF package. It allows you to do column selection and filtering on files that would not otherwise fit into memory.
Documentation and examples are a little thin on the ground which is a shame given that the syntax is a little idiosyncratic. This may help:
https://stackoverflow.com/a/24716798/1427069
Increase Your Virtual Memory:
increase the size of the paging file

Is it important to update your R as soon as it's released? [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 6 years ago.
Improve this question
I have looked around and have not found many opinions on if it is important to update your R software as soon as a new version is released.
Any opinions would be welcomed!
As with any software, you should carefully evaluate what is included in any new release. If the release consists only of bug-fixes, it is usually expedient to install it as soon as it is practicable for you to do so. If the scope of the release is more expansive -- new features, etc. -- you should review the release more carefully.
If you're in the middle of an important project with a killer deadline, it's quite reasonable to wait a little while before applying any update.
Also, you should as a matter of routine re-run a selection of jobs, that you know the answers to, in order to be sure that the answers are still the same. "No, mistakes of this nature don't happen often, but they do happen."

Is it possible to reprogram a robot? [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 8 years ago.
Improve this question
I bought a RC Helicopter and I'm just wondering that it's possible to be reprogrammed or not?
If can how to do that? I know this question sounds ridiculous. :)
Thanks for replying
What do you mean reprogrammed?
If you want to make the remote control a light instead of a motor, the answer is yes. If you mean add any intelligence to the toy, the answer is no.
If you are interested in programming, building robots etc, look into microcontrollers. The Arduino is a great one for young enthusiasts.
Some parts of the RC helicopter you can reprogrammed like the ESC, and the main circuit board always can't reprogrammed. Of course, there was exception, for some beta version, most of the board you can reprogrammed in limitted range

What is 'System Usage Specification'? [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
My software is a video-audio converter and video cutter. I have used Qt(compiled from source) and ffmpeg (compiled from source). I have to prepare System Usage Specification outline and Specify Usage patterns of the system and indicate it using Run charts / Histograms. I am told to use Winrunner for this purpose. I don't know exactly what to do. Please help.
I never heard about 'System Usage Specification', this must be a terminology specific to your company.
A wild guess would be that it's something close to the Use Case diagram of UML, to define what the users can do and which action they have to perform to lead them to the expected result.
Sounds like a uggly word for "handbook" or "usage guide" from the pov of a end-user (though I never heared of that specific term)

Resources