Why was it decided to ship javascript programs in plain text? Was it to achieve performance enhancement or the authors never imagined that javascript will be used in much more complex applications and developers may want to protect the source code?
...
How can I select query the order/purchase history in northwind database? There are 2 tables(orders and purchase order table) then connected to Inventory Transaction table.
...
Here's a phrase that I heard a lot throughout high school and university computer science classes:
"That's not an issue for modern JVMs."
Usually this would come up in discussions about overall performance or optimization strategies. It was always treated as a kind of magical final answer, though, as if it makes issues no longer w...
The book "Designing Embedded Hardware" in the chapter "9.3. Old Faithful: RS-232C" mentions that emails are still sent in 7bit char set because of RS-232C:
It's also not unheard of to see
RS-232C systems still using 7-bit data
frames (another leftover from the
'60s), rather than the more common
8-bit. In fact, this is one of ...
I am a C and C++ programmer and am now trying to learn C#. I have bought the book Professional C# by Wrox publications.
While migrating from C to C++ I had a doubt why ++ was added to C. Later on I realized that since ++ is an increment operator and it was added to C just to provide an 'Object Oriented Extension'.
In C#, what is the s...
Not sure if this goes here or in Server Fault, but here it is:
I accidentally deleted a bunch of links to some TFS WorkItems. I need to get them back.
The history does not help (Just says that the thing that changed was the revision number).
Is there a way to see what WorkItems were linked prior to me deleting them?
I am using TFS 2...
I have two versions of one project in one local git repository. I have to commit this repository into 2 remote repositories, one for each version;
LOCAL GIT(V1/V2) -> REMOTE GIT(V1), REMOTE GIT(V2)
I have some files in the LOCAL GIT repository which should only go to REMOTE GIT(V1) and other should only go to REMOTE GIT(V2). Now I comm...
I know that in the architectures I'm personally familiar with (x86, 6502, etc), the stack typically grows downwards (i.e. every item pushed onto the stack results in a decremented SP, not an incremented one).
I'm wondering about the historical rationale for this. I know that in a unified address space, it's convenient to start the stac...
Have you ever programmed raw machine code (not for class)? Examined a hex dump with just a hex editor (or, heck, without)? Written your own software floating-point library? Division library? Written a non-school-assignment in Lisp or Forth?
What sort of "lost arts" have been forgotten? And what reason (if any) would there be to resurrec...
We're using a control that uses Callbacks in our ASP.NET page.
The control works fine in FireFox, Google Chrome, etc.
The control works fine if we do not use ASP.NET AJAX History. As soon as we call this code, the callbacks stop working in IE (6, 7 and 8):
ScriptManager.GetCurrent(Page).AddHistoryPoint("h", id);
I did some server s...
I'm doing a bit of research for a blog post involving the evolution of a specific part of the Java API. To that end, I've been able to find JavaDocs going all the way back to JDK 1.1, but not to the original 1.0.
Sun has removed any trace of JDK 1.0 JavaDocs from sun.com. I've Googled high and low, near and far, but cannot find anyt...
I am coming up dry with my searches all morning for a starting place with this. I will throw out a very rough example of what I am looking to do.
I want a div populated with cumulative id elements from previously visited pages within the site. Think recently viewed products @amazon for instance.
So I want to grab 2 elements for each pr...
Is there any way to store a Silverlight page's state in the browser's history as with IProvideCustomContentState (a WPF class)?
...
Hi,
I've written a greasemonkey script that modifies craigslist search results to appear in two frames, a frame on the left with the results listed and a frame on the right to display each posting if clicked on from the left frame (I modify the URL of each result to say target="rightframe").
The problem I have is that the 'visited' stat...
I'm not even sure SQL Server stores this kind of information, but, is it possible to get the username of the person who last modified a particular stored procedure, function, table or view?
Nothing critical, just wondering. Thanks!
...
Does anyone know the original rationale, or story, of the different platforms each choosing a different, yet similar to some degree, new line representation? There must be some design decisions made originally. (I don't believe this is all random choice ...)
Unix/Mac OS X: LF (\n)
Mac OS 9 and before: CR (\r)
DOS/Windows: CRLF (\r\n)
...
I've been doing some research for a blog post regarding java.io.BufferedInputStream and buffers. Apparently, over the years, the default has grown from a measly 512 bytes to 8192 bytes as of (presumptuously) Sun's Java 7 implementation, and was even explicitly specified in the JavaDocs in JDK 1.1.8. My question has also brought up que...
Im using sharpSvn for .net 2.0, i need to get change history for a particular svn user, i used the following code but it gives error. "issuer is not trusted"
here is the code im using
using(SvnClient client = new SvnClient())
{
client.Authenticator.Clear();
client.Authenticator.UserNameHandlers +=
delegate(object se...
Hi,
I originally created my svn repository without the suggested trunk, branches, tags structure.
It looks something like this.
/src
/src/file.txt
/src/file2.txt
I used TortoiseSVN to rename the /src directory to /projectName/trunk/src; however, now I can't easily view the history of a file within the directory structure using Show ...
I'm writing a tool that is executed as a shell in Perl. I want it to have a history, so that if you press the up arrow, you go back to the previous command, just like bash or other shells. How should I go about this?
-- EDIT --
Thanks to daxim for pointing me towards Term::ReadLine::Gnu. I was able to get it to work on my Linux box and...