New answers tagged linux
-1
I advice you first read this Wikipedia article about free software licenses. It should give you a good overview about how free licenses work. The Linux kernel is licenses under GPLv2.
Another good page about this, is the licenses page at opensource.org. There is an FAQ, which pretty much should sort your questions, as it is written in almost the same kind ...
10
The Linux kernel is licensed under the Free Software Foundation's GPL (General Public License) version 2. It is a copyleft license; basically, this means you are free to make copies of the original or modified kernel and sell them at any price, but the license requires you to give the same rights to the recipients: They may copy your modified version and ...
0
JAVA is an object oriented platform independant programming language.
The javac compiler compiles source code and produces Byte code language (universal language).
This language is not understandable by any operating system, it has to be processed first, and this is where a special executable program (JVM) enters the scene. An interpreter of the JVM reads ...
4
If I were the designer of this project, I would focus on the performance first, and then any design patterns.
Performance improvement starts with knowing where the bottlenecks are, not where you think they are. You could spend many hours (or days, weeks) optimizing a part of the program that does not influence the overall performance at all. There are tools ...
1
IMO since we have python learning bash from scrap makes little sense. Elementary use of grep, find, xargs and a few such tool certainly helps.
Remember that you can set up virtualbox with windows, map your content as virtual folder and keep using all your win tools at your original efficiency. As you learn up you may drop it eventually or decide it works ...
0
If i am having trouble with this does that mean that VI is not the editor suited to my personality?
Not necessarily, maybe it means that you have not given it enough time. As noted by other answers to this question, text editors like vi and emacs were inventions driven by the limitations of the keyboards in use at the time. It takes some time to become ...
2
vim is just like any other tool. The tool should "seek your approval," not vice-versa. Flamers should find better ways to spend their time.
That being said, I would recommend using the hjkl keys for no other reason than you can be guaranteed these will work 100% of the time on any vi.
You'll never worry about arrow keys throwing up ^[[B (or similar ...
0
Practice and Practice.
I suggest u use hjlk to move ur arrow. When you later on, you need to write a lot of code. using hjkl will be much more faster then using arrow. and you can increase productivity.
I can use both. While in notepad, i use arrow, whereas in VI, i use hjkl. It is just a skill and practise and i believe hjkl will be beneficial to your ...
0
There is nothing wrong in using arrow keys except that you won't be able to jump multiple lines. In command mode, you can use 4j to move 4 lines below. You cannot do that using arrow keys.
2
The difference is kind of "made up", on windows MUTEX is very rarely used, and even then no really for sync but to discover already runnin instance of the program. What has wide use is CRITICAL_SECTION, and it is close equivalent of recursive mutex on linux, solaris and others.
0
Linux world comes with very powerful instruments to measure the performance of the system.
If you install the package sysstat it give you out of the box few tools that can help you monitor the server during your test.
SAR logs most of the server activity. And if you want to read the sar files you have a nice tool called ksar to graph the results.
pidstat ...
4
It really depends on the programming platform, the project size, the used libraries/frameworks and the used tools.
For example programming in enterprise Java without an IDE is simply impossible (or with a huge loss of productivity). For basic bash scripts I also use vim, but put if you put me to program on a large project without an IDE and I quit ...
-1
I think no. In most cases, we can built a web application in standard web design software, or even a plain text editor without any trouble. And for most designers, an IDE will add more complexity without adding a lot of value. The fact is that most web pages, and even most web applications are built using programming languages that don’t need to be compiled. ...
2
I'm a big fan of IDE (Visual Studio) and I really like Resharper. Here's why:
Syntax completion - never need to type the full name of anything, it finds the right thing after the first few characters and then it's just to insert it.
Intellisense - it works really well and gives you all options that you could use
Compilation errors while typing - I don't ...
2
In my experience, it vastly depends on the programming language, technology and the size of the project.
I don't think I'd write C# code in anything but Visual Studio (with VsVim). Similarly, if I had to use Java, I'd use IntelliJ.
However I haven't found an IDE that can handle a really big C++ project well. Also, for dynamic languages (Python, ...
11
Dunno about "most people", i certainly get huge benefit from using IDE. And saw too many people playing the cool guy with un-integrated tools, they all spent insane amount of time on non-value activity opening files, navigating by hand, retyping or re-pasting info that is there naturally, typing command to summon way less info than is just displayed ny the ...
3
Python code
As soon as your application is a well-behaved egg, or a set of eggs, and you can easily deploy it into a virtualenv using pip or easy_install, you should be fine on any platform.
Things to pay attention to:
Native-code dependencies. You might depend on some eggs that include these (like psycopg); make sure that such an egg is equally ...
7
Don't know about python, but I've moved Java applications from Windows to Linux and vice-versa. Java makes the "write once, run anywhere" claim which may not be 100% true, but with very little work I was able to make it true enough (basically everything works great on Linux, a few issues on Windows).
I'll use W and L for Windows and Linux:
W: files and ...
Top 50 recent answers are included


