What happened to Dojo in 2008?

Disclaimer: I am a Dojo committer, but this is my personal view as a JavaScript insider. First of all: the graph is absolutely and completely incorrect. Look at the chart link closely, and read “events”. This is the list of events “related” to Dojo: “Declaring Dojo for Ajax” — ok, it may be relevant. “IT … Read more

Why does Internet Explorer (9) report “Mozilla” in UserAgent?

this should do it: http://en.wikipedia.org/wiki/Mozilla When users visit a website (via a user agent such as a web browser), a text string is generally sent to identify the user agent to the web server. It is known as the “user agent string”. The Netscape web browser identified itself as “Mozilla/” followed by some information about … Read more

SecurityError: The operation is insecure – window.history.pushState()

Make sure you are following the Same Origin Policy. This means same domain, same subdomain, same protocol (http vs https) and same port. How does pushState protect against potential content forgeries? EDIT: As @robertc aptly pointed out in his comment, some browsers actually implement slightly different security policies when the origin is file:///. Not to … Read more

Export subtree in Git with history

Quoting an example from git-filter-branch(1) To rewrite the repository to look as if foodir/ has been its project root, and discard all other history: git filter-branch –subdirectory-filter foodir — –all Thus you can, e.g., turn a library subdirectory into a repository of its own. Note the — that separates filter-branch options from revision options, and … Read more

MySql workbench query history ( last executed query / queries ) i.e. create / alter table, select, insert update queries

From the bottom panel, change “Action Output” to “History” and then choose the appropriate date. Alternatively, the SQL statement history is stored in text files under two locations: sql_history/yyyy-mm-dd e.g., sql_history/2015-04-01: Full Workbench SQL history for all MySQL connections log/sql_actions_.log*: SQL history execution results, but without the data, and separated per MySQL connection The location … Read more

Origin of the C# language name

The name “C sharp” was inspired from musical notation where a sharp indicates that the written note should be made a half-step higher in pitch.[6] This is similar to the language name of C++, where “++” indicates that a variable should be incremented by 1. The sharp symbol also resembles a ligature of four “+” … Read more

The History Behind the Definition of a ‘String’ [closed]

My assumption has always been that the programming term originated from the following definition of the word “string” (from Merriam-Webster): (1): a series of things arranged in or as if in a line <a string of cars> <a string of names> (2): a sequence of like items (as bits, characters, or words) Since a string … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)