Is there a acronym cheat sheet for linux kernel makefile? [duplicate] - makefile

This question already has answers here:
In makefiles what do CC and LD stand for?
(3 answers)
Closed 6 days ago.
I recently tried modifying the Linux kernel, but I've struggled to read the makefiles. The most confounding part to me is the abbreviations such as CC, LD, AR, NM..etc.
Despite the fact that The Linux Kernel (https://docs.kernel.org/kbuild/makefiles.html#overview) site has a thorough tutorial, I wonder if there’s any dictionary-like terminology mapping that exists.
Thanks :)

Variables Used by Implicit Rules is probably as close as you get.

Related

Connect prolog code with C# program [duplicate]

This question already has answers here:
Integrating Prolog with C# [closed]
(7 answers)
Closed 8 years ago.
I have a prolog code for searching a book. It is a simple game. I want to make interfaces with C#. But i don't know how to connect prolog into c#. Please help me. How to conncet prolog with C#.
Besides the answers mentioned on the comment link there is also a SWI Prolog has a C# Interface. You can see it here.
Here is an example provided by the aforementioned link:
PlQuery q = new PlQuery("member(A, [a,b,c])");
foreach (PlTermV s in q.Solutions)
Console.WriteLine(s[0].ToString());
There is a full documentation.

Conversion to Python 3 using 2to3 (and UTF-8) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm given a task of converting a bunch of code written in Python 2 to Python 3,
and this task was given with emphasis on having UTF-8 (didn't quite comprehend the concept but anyway..)
I've automated the conversion using 2to3, but not sure if using 2to3 achieves the goal of having UTF-8, or if there's some other parts that I should manually work on.
What is it exactly, and is it done automatically by using 2to3?
Thank you in advance.
"I was just told the importance of converting it into Python 3 due to importance of UTF-8 so that the program can work with any other language"
Whoever told you that was misinformed.
2to3 does not do anything towards "having UTF-8" whatever that means. 2to3 is to move your code from Python 2 to Python 3. Python 3 does mean you have have Unicode variable names, but I would strongly recommend against that anyway. Bad Idea. Otherwise Python 2 supports Unicode and UTF-8 perfectly well.
It seems your actual goal is not UTF-8, but translating the program to other language, also known as internationalization, or "18n". That's a completely different issue, and has nothing to do with 2to3. Instead you need to manually change all your text strings to gettext tokens that will be translated when rendered. See http://docs.python.org/library/gettext.html
See also http://regebro.wordpress.com/2011/03/23/unconfusing-unicode-what-is-unicode/ for more information on Unicode.

Get back the output of os.execute in Lua [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Get back the output of os.execute in Lua
I want to assign the result of a shell command to a lua variable.
Any better way in lua 5.1 than what is answered here?
Get back the output of os.execute in Lua
You can use io.popen for this (included in Lua 5.1). That gives you a file handle which you can use to either write or read from (to) the program. More info in the Lua Manual.

Writing a code beautifier [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 7 years ago.
Improve this question
I'd like to write a code beautifier and i thought of using Ruby to do it. Could someone show me a place to get started? I've seen a lot of code beautifiers online but I've never come across any tutorials on how to write one. Is this a very challenging task for someone who's never undertaken any projects such as writing a compiler, parser, etc. before?
(Is there another langauge which would be more well suited for this kind of task, excluding C/C++?)
Python has an interesting feature - it exposes its own parser to scripts. There are examples that use the AST - abstract syntax tree - and do the pretty printing.
I'm not aware that Ruby exposes its own parser to its scripts in such a way, but there are parsers for Ruby written in Ruby here.
Well... I think the initial steps are what you'd do for any project.
Write a list of requirements.
Describe a user interface to your program, that you like and won't prevent you meeting those requirements.
Now you can write down more of a "code" design, and pick the language that would be easiest for you to meet that design.
Here's some requirements off the top of my head:
Supports code beautifying of these languages: Ruby, Python, Perl
Output code behaves identically to input
Output has consistent use of tabs/spaces
Output has consistent function naming convention
Output has consistent variable naming convention
Output has matching braces and indentation
Make as many as you want, it's your program. ;p I was kidding about the Perl, but I think every language you support is going to add a more work.

Should I use «this.» keyword in OOP programing where it's possible to skip it? Any benifits of using it? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
When do you use the “this” keyword?
In OOP sometimes we can write this.PropertyName = VALUE and sometimes we can skip this. and just write PropertyName = VALUE.
My questions:
Should we try always to use this.?
Does using / writing this have any effect on application performance or does it just make the code a little bit clearer?
There shouldn't be any difference in performance. Its purely a style decision.

Resources