Hi,
What possible way that I can optimize the boot-time of a Linux OS? Should I modify some scripts or init scripts? If yes, what are the scripts? Can I modify the kernel source?
Many thanks
I am trying to find out how lucene search works so fast. Cant find any useful docs on the web. If you have anything (short of lucene source code) to read, let me know.
A text search query using mysql5 text search with index takes about 18 minutes in my case. A lucene search for the same query takes less than a second
I am still not sure in that matter. While turned on we're quite safe but some other problems appear (with passing template variables or counting characters). On the other hand we have magic turned off, everything is clear, but we have to manually escape every variable (that come from untrusted source) in templates. By the way, non-magic solution is used in Ruby-on-Rails.
So the question is: when starting a new project in symfony do you disable escaping_strategy and why?
I'm looking for a Java class with the characteristics of C++ std::map's usual implementation (as I understand it, a self-balancing binary search tree):
O(log n) performance for insertion/removal/search
Each element is composed of a unique key and a mapped value
Keys follow a strict weak ordering
I'm looking for implementations with open source or design documents; I'll probably end up rolling my own support for primitive keys/values.
This question's style is similar to: Java equivalent of std::deque, whose answer was "ArrayDeque from Primitive Collections for Java".
Hi,
Can I use .net 3.5 binaries for a library with a .net 4.0 application / what are the negatives if any? In other words is there any reason I should take more time out to download source for the library and build it under .net 4.0 (assuming it builds without any problems I guess) as opposed to downloading the .net 3.5 binaries.
I'm using C# in VS2010.
thanks
How to retrieve rows from a file from #SOF to #EOF
in source.sh
#SOF
"Lorem ipsum dolor sit amet"
"Vivamus pretium enim"
"Est accumsan enim magnis"
#EOF
#SOF
"Eleifend tincidunt id justo"
"Tellus ut tincidunt vel ac a orci"
"Sapien Nullam Sed nunc"
"Vestibulum est accumsan enim"
#EOF
#SOF
"Consequat mauris mollis montes"
#EOF
I need to get 3 files
in target_1.sh
"Lorem ipsum dolor sit amet"
"Vivamus pretium enim"
"Est accumsan enim magnis"
in target_2.sh
"Eleifend tincidunt id justo"
"Tellus ut tincidunt vel ac a orci"
"Sapien Nullam Sed nunc"
"Vestibulum est accumsan enim"
in target_3.sh
"Consequat mauris mollis montes"
Tell someone how to do it? thank you for your help
I'm interested in getting involved/up to speed on VistA, the Veterans' Administrations open source medical records system. To that effect, I understand I should learn the MUMPS (M) language upon which the software is based. Does anyone have any getting started tips or book recommendations on this language and environment? Any tips on getting up to speed on VistA is appreciated as well. Audience: experienced developer/consultant.
Thanx in adv.
I have a WCF service (instantiated within a Console application on NetTCP), this service has static data (large volume) which gets instantiated on the load.
I have multiple instances of this Console application running at once, and all of them are doing the same static data initialization , is there a way that I can have a single data source and share the data among processes so that each process does not have to consume large amount of memory?
I have installed 64 bits RHEL. I have following questions regarding ant.jar for the system.
I was not able to find ant.jar build with 64 bit JVM from the apache website. Do I have to build it form the source code, if I intend to run the jar on 64 bit JVM?
Would it speed up the build process if I use ant.jar build with 64 bit JVM and run it on 64 bit JVM?
Hi,
I am interested in writing unit tests for the SharePoint development work I am doing. Can anyone suggest practical approachs to implementing unit tests in MOSS?
Note that any third party tools have to be free (but not necessarily open-source); the company I work for will not pay for additional tooling. In particular, any alternatives to the Typemock Isolator for SharePoint would be appreciated.
Thanks, MagicAndi.
Is there a way to trace through function calls at the lowest levels of the Android system? Right now when I debug in Eclipse, it goes through the source files that are located inside the frameworks folder, but is it possible to go even lower? For example show what functions are being called from the libcore folder. I am also interested to find how it communicates with the linux kernel at the bottom of the layers. Is there a way to do this?
Thanks
I've been given to understand that Python is an interpreted language... however, when I look at my Python source code I see .pyc files, which Windows identifies as "Compiled Python Files". Where do these come in?
My application is raising an unauthorized access error. While running my application, I try to access a directory in the following location: Application.UserAppDataPath.
The Problem: It says I do not have permission to access the Application.UserAppDataPath directory
Is there a way to set permissions within my application source code?
Something like:
Application.UserAppDataPath.SetPermissions()
If I run the openssl command line in hmac mode (as below), is the key used for the hmac used directly or is it hashed before using it as the key?
echo "foo" | openssl dgst -sha256 -binary -hmac "test" | openssl base64
Similarly, when encrypting a file with openssl (as below)is the pass phrase hashed with the salt? (If so how is it done? A pointer to the right source file would be even better.)
openssl enc -salt
I'm looking for an application, which could be able to load bunch of points in space, render them and be able to simple 3D operations (select such point, rotate & move viewport).
The source has to be available, as I want to use it as basis for my own application.
Hi,
I have created a really basic project (Make) like this:
(ede-proj-project "zrm"
:name "zrm"
:file "Project.ede"
:targets (list
(ede-proj-target-makefile-program "zm"
:name "zrm"
:path ""
:source '("zrm.c")
)
)
)
When doing M-x ede-proj-regenerate RET and M-x compile RET RET (accepting make -k as my compile command), make keeps bailing with a **missing separator error.
When editing my Makefile outside of Emacs (with the darn evil vi) and replacing spaces by tabs, it works.
Is there anything special I should pay attention in order to have this work ?
Regards
I am currently investigating options for working with the canvas in a new HTML 5 application, and was wondering what is the current state of the art in HTML canvas JavaScript libraries and frameworks?
In particular, are there frameworks that support the kind of things needed for game development - complex animation, managing scene graphs, handling events and user interactions?
Also willing to consider both commercial and open source products.
Hi,
I have followed the documentation in https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial
And I have download FF source using this:
hg clone http://hg.mozilla.org/mozilla-central/ src
But how can i switch to the FF3.6 'branch' or 'tag'?
The documentation said 'hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src' but I don't want to clone both FF main and Ff3.6 twice?
Thank you.
Is there a free or open source library to read Excel files (.xls) directly from a C# program?
It does not need to be too fancy, just to select a worksheet and read the data as strings. So far, I've been using Export to Unicode text function of Excel, and parsing the resulting (tab-delimited) file, but I'd like to eliminate the manual step.
In our organization, we are still on .net 1.1 environment, using javascript, a few open source applications/widgets. Development is done using Visual Studio 2003, grid view, and iframes. Our application works in Internet Explorer 7 and IE 8 (in compatibilily mode). Can anyone give any basic steps we can take to get our application to work cross browsers? What are the starting locations we can get at to start making existing code work in different browsers?
Hello,
I am a developer in PHP. Nowadays i come across the word cURL in many PHP source codes. Saw wikipedia, but i didn't get the information i want
I tried cURL in my localserver XAMPP but it is not working.
Is it a function or what and whats the use
please mention some usage ideas. When it is necessary to use cURL ?