labofsahil/github-event-dataset-2012 huggingface dataset:
skip test-http-full-response if we get errors from ab

`ab` can be present, but broken; we shouldn't fail a node test because of an error in a third-party tool.
Prevent excessive memory allocation by TLS (sometimes led to node crash) 

The problem:

When data is streamed via TLS, we’ve noticed extremely big increase in node memory size. It was particularly severe when data was sent in small fragments (e.g. HTML content built by writing multiple chunks into response body). Sometimes the memory grew to such vast amounts, that it was surpassing the virtual address space size and node was crashing.

The analysis:

We have found out that while pumping, TLS allocates 64KB buffers for each, even tiny chunk and even if there is no data at all (while just checking if new data is available). For chunks of a few bytes several 64KB buffers were allocated.
During the data streaming garbage collector sometimes didn’t have opportunity to kick in before memory grew beyond maximum and process was crashing (on Windows).

The solution:

Instead allocating new 64KB buffer each time when checking if there is something to transform, continue to use the same buffer. Once the buffer is exhausted, allocate new buffer. This solves the problem of huge allocations when small fragments of data are processed, but also will continue to work well with big pieces of data.

Authors: Elad Ben-Israel @eladb Yosef Dinerstein @yosefd
Credits: Saar Yahalom @saary
warning: loading in progress, circular require considered harmful - 

we are already including rubygems/spec_fetcher in 'rubygems/remote_fetcher'


I think there are more. I will look into them.
Clear timeout if original promise rejected in Q.timeout

If original promise in Q.timeout rejected before setTimeout occured, timer should be cleared.
HRtime is a double, lets put it into luvit as a double
Fix classed whitespace
make it clear that you need to npm install socket.io
Fix default GEMs are deactived

「 == 'true'」 of 「ENABLE_GEMS = ENV['ENABLE_GEMS'] == 'true'」means nothing. default GEMs are deactived. It means「ENABLE_GEMS = ENV['ENABLE_GEMS'] || 'false'」
Fix compile warnings in mirb

Change last_char type to int
Warnings
mirb.c:174:7: warning: comparison is always false due to limited range of data type [-Wtype-limits]
warning: comparison is always false due to limited range of data type [-Wtype-limits]
compatible with MSVC

Modify  the location of  local variable's definition  to compatible with MSVC.
Bootstrap refactor

I refactored the bootstrap code to make it easier to reuse Bootstraps.

It's now for example possible to call for example ClientBootstreap.connect() multiple times and get a new Channel at each call.

This was motivated by #591

 @trustin @fredericBregier wdyt ?
ENH LSF plugin

Satra et. al,

Here's an initial commit of the LSF plugin I put together earlier this year. Sorry the PR took so long!

I just double-checked the squashed commit on my own submission system and it looks like everything is working well, but I'm not sure how to write tests for a plugin like this. Hopefully submitting PRs without tests attached is ok.

Also included were a small pair of fixes that made troubleshooting problems in my pipelines easier to spot, so I thought I'd include them - feel free to just cherry-pick the LSF plugin commit, or tell me if I'm doing something else wrong.

Cheers,
Erik
MAINT: silence Cython warnings about changes dtype/ufunc size.

These warnings are visible whenever you import scipy (or another package) that
was compiled against an older numpy than is installed.  For example compiled
against 1.5.1, like current scipy binaries are, and used with 1.7.0.

These warnings aren't useful; if numpy would really break its ABI it would be
noticed in no time without these warnings.
Backport459

Backport of #459.
Compiler warning fixes

This fixes some unused {variable, function} compiler warnings. I left a few warnings whose fixes I don't feel able to test sufficiently, as well as some that disappear when doing separate compilation. Most of the latter could be fixed by making low_level_strided_loops a library, and long term that may be what we want to do, but for now I don't think it worth the effort.
make failed tests fail the test target

I don't see any reason to ignore failed tests. This makes it unnecessarily difficult to use ci, also for module builds, since Makefile.global is copied by phpize.
Fixed several scripts that were not using %prog in their usage examples....

... This should remove the warnings that were seen when running the script usage example tests in qiime_test_data. This fixes issue 64 in the qiime_test_data repo.
Adding new test case select-join-test.js

Still working on the many modules in this test case. Hence will delete the corresponding test after finishing the entire set.
fix typo in AP CHANGELOG [ci skip]

sorry about that :disappointed:
Feature/future compat

These changes go towards making scala.concurrent source compatible with akka Futures.
patmat tweaks: compiler performance, better error on unsupported pattern

(rework of #1112)

- do not catch StackOverflowError: @gkossakowski diagnosed it to be killing compiler performance
- Roland reported hitting the unsupported pattern branch in translatePattern in akka code, so providing some diagnostics and a nicer error message to figure out what's going on

review by @gkossakowski (/cc @paulp)
Fix SI-3836 not-really-ambiguous import detection.

Normalize types before declaring that two imports are ambiguous,
because they might be the same thing.  Review by @moors.
SI-6075 cleans up api.StandardNames

I removed most of the stuff from api.StandardNames and reorganized all names.
In the new scheme of things (as documented in the comments to StandardNames):

1) base.StandardNames contains names necessary for building trees. For example,
tpnme.WILDCARD_STAR is necessary to build some invocations of varargs methods,
and nme.CONSTRUCTOR is necessary to build invocations of constructors.

2) api.StandardNames hosts names that are core to doing reflection. E.g.,
to get to a package object, you need to find a member named nme.PACKAGE,
to strip off the whitespace from the name of an underlying field of a val,
you need nme.LOCAL_SUFFIX_STRING.

Note that we don't need nme.MODULE_SUFFIX_STRING, because module name mangling
is encapsulated in java mirrors.
Fix SI-5853.

This solves two issues.

First, up to now the newly generated symbols for normalized
members were not being added to the declaration list of the
owner during `specialize`. Now they are.

Second, during `extmethods`, the extension methods generated
get an additional curried parameter list for `$this`.
Trouble was, after that, during `uncurry` and before `specialize`,
these curried parameter lists were merged into one list.
Specialization afterwards treats extension methods just
like normal methods and generates new symbols without the
curried parameter list.
The `extensionMethod` now takes this into account by checking
if the first parameter of a potential extension method has
the name `$this`.

Review by @dragos.
Review by @odersky.
Update check-file for SI-6344 test.

There were some changes to value classes since pull request
was tested so outdated check-file got merged.

Paul confirmed that those changes are going in the right
direction so all it requires is to update the check file.

Review by @paulp.
Deprecate all JVM 1.5 targets and make 1.6 default.

Add a check if deprecated target is being used. I put
that check into `checkDeprecatedSettings`. I tried to
invent some general mechanism for deprecating choices
in ChoiceSetting but I gave up eventually. It wasn't
worth it the complexity. Also, with current approach
I'm able to provide nice, customized deprecation
warning.

Make `jvm-1.6` a default backend.

Altered test for SI-5957 because it crashes the backend.
However, the problem is not with backend but with symbol
creation. We get two different symbols with the same
internal name and both are used in trees that reach
GenASM. See SI-6109 for details.

Also, I went through `build.xml` and I updated all `javac`
invocations so they target 1.6 byte-code as well.

Review by @magarciaEPFL, @paulp and @jsuereth.
fixes checkinit, now it's for real
Fix simplify issue 3476

Don't call cancel on noncommutative expr.

Fixes issue 3476: simplify and noncommutative symbol error
http://code.google.com/p/sympy/issues/detail?id=3476

>>> from sympy import Symbol, symbols, simplify
>>> A = Symbol("A", commutative=False)
>>> x, y = symbols("x y")
>>> simplify(A/(1 + y/x))
x*A/(x + y)
Fixed accuracy on suckage of Chris

SImple patch to make the suckage of chris more accurate.
add get_focus_widgets container method

This would make the container API slightly easier to use when you need to access the widgets in focus.
Fixed incorrect admin check

Session->check() only tests that key exists, not it's value
Opera Mobile 12.1 full support for WebSockets

Opera Mobile 12.1 has full WebSocket support enabled:

http://my.opera.com/ODIN/blog/opera-mobile-12-1-with-spdy-web-sockets-flexbox-and-more
Remove unused override overriding final method (new in bukkit @ 1.4.4)
delta1

delta2
Added "Run" buttons to Readme code examples
Localization, Attempted to fix docking issues.
Add a data migration mechanism

Using regular migrations to modify data is problematic, particularly
when supporting a live system. Schema migrations are run at deploy time,
so if they take a long time, then deployments take longer, potentially
allowing people to see the system in an inconsistent state or taking
longer than we would like our deployments to take.

This change introduces a separate means of defining data migrations,
along with making them safe so that data migrations can be scheduled to
to run regularly, but each individual migration will only run if it
hasn't already run in that environment.
    
The assumption of data migrations is that they'll generally only be run
on production databases and the choice of when to run them will be
controlled manually (although as mentioned, there is the possibility of
running them via cron during a maintenance window). There's no attempt
to check the version of the database schema present when running a data
migration; it's expected that that will be done manually.
    
A data migration follows a similar structure to a regular migration.

Create a file in db/data_migrations/ with a name <datestamp>_<label>.rb
    
A data migration is instance_evaled, so you don't need to inherit any
classes in the file, just write ruby code and feel free to refer to any
model objects you need.

(Shamelessly nicked from whitehall)
[Review] Request from 'b4mboo' @ 'b4mboo/trash/review_120321_cupcake_ipsum'

Please review the following changes:
Using Github API v3

Current theme uses an older Github API version, which if I'm not mistaken, doesn't work anymore. I've updated the current javascript to match the latest from the default Octopress theme.
Added Aristo jqueyui theme
Development of Canvas

Some initial schemas and models for the background field and some textures. 
This doesn't add or remove any particular functionality: I just need to figure out the correct locations to make my refs (the project is too abstract for me to grok where I'm supposed to put things + I'm not usually a JS programmer).
Fixes issue when a date is serialized as a Unix timestamp

Basically the code was trying to use a search function on a Number which is not correct.

The pull request includes a failing test case.

````bash
Building Ember Data...
Done
Running: package=all, package=all&jquery=1.7.2&nojshint=true, package=all&extendprototypes=true&nojshint=true, package=all&extendprototypes=true&jquery=1.7.2&nojshint=true, package=all&dist=build&nojshint=true
Running: {"package":"all"}
Module Failed: Default DS.Transforms
  Test Failed: the default date transform
    Assertion Failed: Died on test #3     at file:///home/iperdomo/workspace/www/m/ember-data/tests/qunit/qunit.js:343
    at :118
    at :120: 'undefined' is not a function (evaluating 'serialized.search(/^\d{4}-\d{2}-\d{2}$/)')
Time: 2047ms, Total: 1289, Passed: 1288, Failed: 1
Tests Failed
````

After the fix
````bash
Building Ember Data...
Done
Running: package=all, package=all&jquery=1.7.2&nojshint=true, package=all&extendprototypes=true&nojshint=true, package=all&extendprototypes=true&jquery=1.7.2&nojshint=true, package=all&dist=build&nojshint=true
Running: {"package":"all"}
Time: 2029ms, Total: 1290, Passed: 1290, Failed: 0
Running: {"package":"all","jquery":"1.7.2","nojshint":"true"}
Time: 1496ms, Total: 1231, Passed: 1231, Failed: 0
Running: {"package":"all","extendprototypes":"true","nojshint":"true"}
Time: 1489ms, Total: 1231, Passed: 1231, Failed: 0
Running: {"package":"all","extendprototypes":"true","jquery":"1.7.2","nojshint":"true"}
Time: 1507ms, Total: 1231, Passed: 1231, Failed: 0
Running: {"package":"all","dist":"build","nojshint":"true"}
Time: 1494ms, Total: 1231, Passed: 1231, Failed: 0
Tests Passed
````
Added a form.resolved_type_factory service.

Latest Form Component commit created this change. I think it's as simple as creating this object and passing it to FormRegistry and FormFactory constructors but I'm not 100% sure.
toolbar icons and codemirror update

- New nicer icons in toolbar
- Link to meta plug in folders
- CodeMirror update, fixing highlighting (notably for comments, previously broken by tiddlywiki styles)

Sorry for the `404` new files, I hope they won't scare you @espadrine! I think having this icon lib is really nice, and having them in the lib allows new plugs to use them. They are really popular (used by twitter bootstrap) and they are pretty :)
Helpful backtraces

Provides more helpful backtraces from `eval` blocks. For example, an exception might point to `connection.rb:135:in 'get'` instead of `(eval):2:in 'get'`
XSS Vulnerability

When outputting the URL on the stats page, no escaping is used. This
presents a vulnerability for XSS (cross site scripting) attacks.
htmlspecialchars($url) will (hopefully) prevent any nefarious activity.
(see http://lop.li/lzKgP- for an example of this vulnerability in
practice)
Added test case for view result which includes a deleted document.

In the StdCouchDbConnectorTest.queries_with_ignore_not_found() test 'doc_id6' is never returned because of the deleted 'doc_id5'. I have not yet been able to fix this issue as I'm not that familiar with the parsing code.
Fix obsolete require() module reference.

github-flavored-markdown has been deprecated in favor of 'marked', which is reflected in the package.json but not the require() call.
removed file duplication

After checkout, please "make" the tmux.conf file to create a version specific tmux.conf for your environment.
Update default values.

Very short.
on_change support to the append_if_no_such_line api.
COSMETIC Use Team::getProjectsType
PERF Add a method to get multiple issues in one request

PERF Add a exists method on cache
PERF Refactor the getTimeTracks to avoid the cache
DOCS-468 CRUD drafts
DOCS-540 add dropTarget option to renameCollection

* add dropTarget option
* add exceptions thrown
* rewrite to indicate that shell helper command operates within a collection but the admin command can copy a collection to a new database
fixed typo. "collects" should be "collections" i think
Remove unnecessary complexity from dom.createElement

The HTML namespace is used in both HTML and XML documents.
Update P2PU copy to remove superfluous link.
[fix bug 785827] Fix 404 page.

Fix wrong pointer to 404.js
Remove deprecated django_arecibo code.
Work on removing comm

This removes some uses of comm. Removes task::spawn_listener, spawn_conversation, which don't have pipe counterparts, and renames comm to oldcomm.
core: Export f32::ge(), f64::ge(), and float::ge()

Without this fix, the following program fails to compile because the ge() function is not exported from the f32, f64, or float modules:

fn main() {
    f32::lt(0f32, 0f32);
    f32::le(0f32, 0f32);
    f32::eq(0f32, 0f32);
    f32::ne(0f32, 0f32);
    f32::ge(0f32, 0f32);
    f32::gt(0f32, 0f32);

    f64::lt(0f64, 0f64);
    f64::le(0f64, 0f64);
    f64::eq(0f64, 0f64);
    f64::ne(0f64, 0f64);
    f64::ge(0f64, 0f64);
    f64::gt(0f64, 0f64);

    float::lt(0f64, 0f64);
    float::le(0f64, 0f64);
    float::eq(0f64, 0f64);
    float::ne(0f64, 0f64);
    float::ge(0f64, 0f64);
    float::gt(0f64, 0f64);
}

test.rs:6:4: 6:11 error: unresolved name: f32::ge
test.rs:6     f32::ge(0f32, 0f32);
              ^~~~~~~
test.rs:6:4: 6:11 error: unresolved name: f32::ge
test.rs:6     f32::ge(0f32, 0f32);
              ^~~~~~~
test.rs:13:4: 13:11 error: unresolved name: f64::ge
test.rs:13     f64::ge(0f64, 0f64);
               ^~~~~~~
test.rs:13:4: 13:11 error: unresolved name: f64::ge
test.rs:13     f64::ge(0f64, 0f64);
               ^~~~~~~
test.rs:20:4: 20:13 error: unresolved name: float::ge
test.rs:20     float::ge(0f64, 0f64);
               ^~~~~~~~~
test.rs:20:4: 20:13 error: unresolved name: float::ge
test.rs:20     float::ge(0f64, 0f64);
               ^~~~~~~~~
error: aborting due to 6 previous errors
Just correcting the documentation(redis params)
add kerberos authentication

This enable kerberos authentication if the urllib2_kerberos module is installed. Please review.
Next UMKBW update round

More logos for foreign channels, matching symlinks, some fixups, transparent logo for hightv3d.

Logos again unfiltered :)
Development updates for 1.0.7

- Use [Packfire Concrete](https://github.com/packfire/concrete) for PHAR compilation
- Symfony/Process update from 2.1.4 to 2.1.6
- PSR-0 namespace fix in Composer
Ready for review: Add --setup support

* Upgraded luvit-options
* Added --setup TOKEN agentId
Segmentation fault on aliasing

```ruby
alias_action :show, :to => :show
```

will cause Segmentation fault.

So we need to validate target names
Feature/settings

方便部署修改设置
Propagate node request errors to the client via promise rejection.
Fixed sign in up out
Is webkit pattern bug
no longer use resource store adapter

* use duck typing to define the API for {client,server} stores
* moved the useful bits of the adapter into store.client (where it matters most)
* related cleanups
Fixed broken formatting that had annotations showing up in a code snippet

The indentation was incorrect for some text appearing after a code snippet in a bulleted item.
add geta6

test
Adding an import for datetime.
Dynamic home_slider

:heart: :kiss:
Added init threads so threads will work.

Hi, you could test this, might work...
UP-3298: Tomcat7 Support.
hungarian tr updated
Fix warning: shadowed declaration
using wpa_cli  show wirelesslan condition
MOSYNC-2632: Removed unnecessary PNGs that fooled the icon injector
Altre righe tradotte
Update master

Traduzione parziale della lista amici
Fix DijitRegistry issues

After using the DijitRegistry extension I noticed that it was not actually removing the widget from the registry. Also I was getting "Tried to register widget with id==..." errors if I loaded the same page twice and this was due to ContentPanes checking for and calling destroyRecursive on its child widgets. Destroy never actually was called.

Use widget id as argument for registry.remove as it takes an id and not a widget instance.
Add destroyRecursive method because containers check for and call destroyRecursive in their destroyDecendants cleanup.
C version of view op
back-merge from master
Update of readme file

Readme have to be carefully edited.
Issue #70 

Hello

I add a data argument to createTag method to solve issue #70.

Hope it will be ok.

Nicolas
Code shuffle - osx/ios syncup

As the title says
Changes in add/edit forms and views
Specify queue for creating tickets

http://ralph-ci.office/buildbot/builders/unittest-ralph-vi4m/builds/89
Puppet refactoring, openstack bugfixes, ui bugfixes
Added user interface for adding new devices manually
fix bug in calculating total coverage

fix bug in calculating total coverage.
Corrected host token order during referer validation.

The host token order of 'OriginTuple' within 'is_valid_referer(RD)' was backwards. It was checking '1.0.0.127' against '127.0.0.1', or 'com.basho.www' against 'www.basho.com', and thus always failing.
Added a 24grid css and 24 example
Signing Celery Contributor Agreement
Avoid storing warning messages as filenames.

Changes:
1. Filename (for storing filechanges) changed from file_change.log -> file_changes.log (in /var/cfengine/state)
2 New format for storing file changes introduced:
  [timestamp,filename,<N/C/S/R>,Message]

  N = New file found
  C = Contend Changed
  S = Stats changed
  R = File removed

Redmine #809
pull qq tools

pull qq tools for share
Additions to pull into master

Hi Dave

I've exposed a couple more features in my fork of your code: setAnnotations()/clearAnnotations and setHighlightSelectedWord(). Also added a new class called AceAnnotation, which is just a JavaScriptObject containing the values required to set annotations on the editor. A number AceAnnotations can be added to a JsArray, which is then set via setAnnotations().

You are welcome to pull this back into the master if you like.

Cheers
Code Review: build script

All implemented.  
Had to add boilerplate files with empty methods for each library and binary.
Change phone2numeric to use generator expressions instead of lambdas

Made a slight change to the phone2numeric method.  I believe this makes the code more readable and might have a minor performance benefit for not making a temporary function on each invocation.
Removed 'return false' in favor of preventDefault.

Using 'return false' makes it very difficult to add additional event handlers to the add button because it prevent the events from bubbling up; preventDefault appears to be the desired behavior.

Also, other various js fixes like === instead of ==, missing parseInt radix, and missing semi colons

[https://code.djangoproject.com/ticket/18241](https://code.djangoproject.com/ticket/18241)
Key attributes

Still WIP but as always I'm opening early so we can discuss.
Issue 760 sitesearch default cli
fixes #485
Issue 1616 copied individual fileassets not indexing
Replaced non-breaking spaces with normal spaces as they were causing some problems.

they were causing problems for some servers (like when serving an uncompressed version from Dropbox)
CMS-395 Group edit does not show members

When editing a group or role, the Members tab is empty even though the group has members and they are sent in the json-rpc response.

Make sure that edit works properly, i.e. saving and re-opening shows all the updated fields.
back to ruby 1.8 hash style
Make media type parsing more relaxed

Certain user agents send slightly invalid media types, like the
following: "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"

The user agent with which this behavior was observed presented itself
with the User-Agent string: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X
10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/0.0.5;
+http://flipboard.com/browserproxy)"
Stunnel proxy support

This adds support for proxy protocol used by e.g. stunnel and haproxy to relay original client ip information to application behind them (http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt)

* Environment variable EXPECT_PROXY_PROTOCOL to indicate that the proxy header is expected. If set, connections should only be allowed through stunnel/haproxy with proxy protocol enabled.

* Log new connections and client ip/port on connect and disconnect
#777: Revert #693, back to text/html
on test1 a1
Data do 4o. Evento e endereço do Call4Paperz
Add PyYaml, Optimize tags query for question tagcloud
Finished writing unit tests for escape characters and escape characters within or near tags with classes and subclasses

...within tags and escaoe characters tags with classes and subclasses
Update Perl Examples to Use New Library ZMQ::LibZMQ2

Ditto. ZeroMQ is no longer maintained.
Fixing some minor maven and product issues

Hi Ian,

I've fixed some issues with Maven (the build didn't work on my machine) and another issue with the product file. Since I've never created a pull-request (and don't know yet how to do this with GitHub) it would be cool if we could do this.

Regards,
Markus
Fix #10762: support event delegation with relative selectors

Yeah, the ticket is old and closed. But we can get it pretty cheaply and I think it's useful.

Depends upon [Sizzle pull 128](https://github.com/jquery/sizzle/pull/128). Net effect, including Sizzle changes:

Sizes - compared to master @ c29660c5936b76787c4a864d8188b325bc81a81f
```
    257302       (+76)  dist/jquery.js
     92311       (+22)  dist/jquery.min.js
     33036       (+17)  dist/jquery.min.js.gz
```
Follow up for 9cb1

@jaubourg thanks for the commit, didn't see it's coming

<pre>
jQuery Size - compared to last make
  252879    (-33) jquery.js
   93651     (-5) jquery.min.js
   33369     (-8) jquery.min.js.gz
</pre>
Ensure all tests have an expect() in ajax.js (https://github.com/jquery/2012-dev-summit/issues/53)
F61-zk-447

http://tracker.zkoss.org/browse/ZK-447
The file upload allows users to drag and drop local files (HTML5)

Known issue : detection="self", drag over the label of widget, the label will be blinked
getting latest code

get latest.
get info from lab1

update
try to fix by add wait time
Update engines guide ApplicationController

Add information from group email list on how to have an engines ApplicationController inherit from the main application's ApplicationController.  Documentation follows the advice provided by Ryan Bigg as used in Spree and Forem.
Decision Tree: Replaced use of temp table in install-check test


JIRA MADLIB-684

Replaced 'temp table' with persistent 'table' for viewing the
result of golf data test in decision trees as a workaround
for the PG 9.2 issue with temporary tables.
k-Means Rewrite

*This is a big pull request. It may be advisable to look at the individual commits that I grouped into logical units. Please do not merge without checking back with me.*

k-Means:
- Complete redesign and rewrite. Main new features: 1) The new implementation is nothing more but an iteratively called aggregate function. No conversion between temporary tables and iteration states takes place. 2) The distance metric is fully pluggable. 3) Clear separation between the seeding algorithm and Lloyd's local search heuristic 4) The new code should be much easier to read and maintain
- Uses C++ AL
- First incarnation of general Python abstraction layer (currently still in kmeans.py, though). Main feature: No data movement between backend and PL/Python.

Utilities:
- Implemented a C function exec_sql_using() that can be used to emulate the EXECUTE ... USING command that is not available before PostgreSQL 8.4. This seems to be the only "guaranteed lossless" way to write function arguments into a table.

Linear-Algebra Operations:
- Function closest_column() for determining the column of a matrix that is closest to a vector, according to the given metric
- Function squared_dist_2norm() for determining the square of the Euclidean distance between two vectors

Both functions will be needed for k-means

C++ AL:
- Increased support for Eigen types: (Non-mapped) vectors and matrices can now directly be converted to AnyType (and thus returned or passed to FunctionHandles)
- Added types [Mutable]Mapped{ColumnVector|Matrix} that can now be used as template parameters for AnyType::getAs
- ArrayHandles now understand multi-dimensional PostgreSQL arrays. We store matrices as an array of columns, i.e., in PostgreSQL one would write matrix[col][row] whereas in C++ code the row index comes first (as one would expect)

Linear/logistic regression:
- Minor changes to make use of the [Mutable]MappedColumnVector types.

Sampling module:
- Added a data-parallel UDA for weighted sampling of a single row
- This uses boost's Mersenne Twister, and the random_device class for initialization. Instead of linking to boost's random library, I for now added boost's random_device.cpp to the repository. As we move forward, we probably want to extend our build system to build boost libraries on demand. Because of problems with the boost v1.46.1 headers in the context of using random_device, I bumped the required boost version to v1.47 and the automatically downloaded version to 1.49.0.
Ignore backup and pyc files

Hi, I thought I'd add a file to ignore ``.bak``, ``.pyc``, ``.pyo`` and ``.dat`` files. I have also got rid of them in the repository. Feel free to accept this PR to apply the same to your repository.
serve facebookexternalhit user agent with spiderable

This change will make Spiderable serve facebookexternalhit user agent.

Using Spiderable after this change would enable one to manipulate the head tag in "client code", which would then actually be served to the Facebook bot when it comes looking for "open graph meta tags" (i.e https://developers.facebook.com/docs/opengraphprotocol/)

The main code-change is adding "facebookexternalhit" to the condition under-which the phantomjs process is initiated. Other than that there are two other complementing code-changes:

1. A rewrite of the code that re-assembles the request url without the "_escaped_fragment_" query param. This is needed because in the current version of Spiderable the code assumes there is always a query string (which might not be the case in the proposed version)

2. A small bug-fix to the regex test for html validity of the phantomjs response page (html openning tag might contain attributes, especially after client manipulation, which is the case here)

To test this:

1. Create a new meteor app

2. On client startup, add a meta tag to head. Something like: 
``` javascript
$("head").append('<meta property="og:title" content="spidy" />');
```
3. Optionally try having the content arrtibute be something you fetch from the DB in order to simulate how a user might use this. Preferably don't use autopublish, and put the code in the callback of the "subscribe" call to the data you're using. This is to make sure "_allSubscriptionsReady() === false" until you've done your manipulation. 

4. Test this with Facebook Debugger: https://developers.facebook.com/tools/debug (notice there's an option at the bottom to actually see what your server served Facebook)
sane Binary#to_s and ObjectId#inspect
Issue #644 - Obtaining a rectangular area from a Texture2D Spritesheet
MDL-33757 - Sorting by email address doesn't work

http://tracker.moodle.org/browse/MDL-33757

Sorting by email address (click "Email address") doesn't work on any gradebook.

(1) Open any course
(2) Click "Grades"
(3) Click "Email address" to sort
9858 - 1.0.2a proto & typedump update

9858 - 1.0.2a proto & typedump update
Scanner encoding support

This should make files with any encoding in the file name work with the scanner and Mopidy.

If the file name is UTF-8 encoded, it is handled mostly as before.

If the file name isn't UTF-8 encoded, we urlencode it. This ensures that the original file name encoding is preserved and that we can correctly locate the file when we want to play it.
Selector quotes, dictionaries and alert views

Hey Pete,

I got 3 things in this pull request:
- a (not so great) attempt to fix an issue with simple quote escaping in the core steps. 
The problem was if you would do something like Then I wait to see "I'm testing quotes", the simple quote in the marked would close the selector, and you'd end up with a broken selector. I'm not a huge fan of the fix, but it's the best I could come up with. The fix does something like "if the mark contains a simple quote, then use double quotes, otherwise use simple quotes"
- an extra step to find alert views based on the message rather than the title
- a fix for the ViewJSONSerializer, it didn't support NSDictionaries.

You can ignore the armv6 commit, it's been reverted since, and that arch is dead in the water anyway.

As usual, any input on the pull request is greatly appreciated, and I can update the patches as you see fit.
Sorry for the pull request with 3 unrelated fixes, but besides breaking our repo into 3 branches, I couldn't figure out how to do it.
[Bug 788231] Use jingo-minify

Switch to using jingo-minify instead of django-compressor, to allow for offline bundling.

This also includes a patched version of jingo-minify to allow us to use static files instead of media files.
Update htdocs/inc/news.html

Corrected the two links
keepin' up :)
typespeed: Fix hardcoded gcc

Typespeed-0.6.5 stopped development in 2008 but hard-codes `gcc`
into two of their Makefiles.  Use `ENV.cc` instead.  Tested on
Lion with clang and llvm-gcc.  Typespeed also does a `chgrp games`
Even though that group will likely not exist, the software still
works without error because the owner is correct, and the `chgrp`
does not stop the build if it is unsuccessful.
lcms2: update to 2.4

This updates lcms2 to version 2.4.
global: added rebuild of PHP parser

GNU GLOBAL is distributed with a PHP parser generated with an older
version of flex(1). That parser has some limitation (see
http://comments.gmane.org/gmane.comp.gnu.global.bugs/1439).

Added a rebuild of the PHP parser to the install target.
Upgrade Binwalk to 0.5.0

simple version bump
Updated rust to v0.5

Release announcement here: https://mail.mozilla.org/pipermail/rust-dev/2012-December/002787.html
gfortran: fix dependency on "expect"

expect is already installed on Mac OS, and there is no such formulae.
FontForge: Compile against the 10.7 SDK on Xcode 4.4.

Fixes the following problems:
    - Unable to find /Applications/Xcode.app/Contents/Developer/Headers/
    - "AnchorPoint" redefined in 10.8 ATS API (really CoreText)

Replacement for pull request #13637, with suggested modifications and added fixes for FontForge version 20120731.
libdnet: fix deps conditional

Libdnet uses `autoreconf` and has deps on automake and libtool
when using XCode-4.3 or greater; however, the previous commit I
authored has the wrong conditional where it also checks if the
formula is building HEAD.  That's not right.  There is no HEAD,
and `autoreconf` is used for stable.

* Remove `if ARGV.build_head?`

This was tested on Lion by removing automake, autoconf, and libtool
then using `brew install libdnet` which now builds all the deps.
It was also tested on SL using the system autotools without any
ENV vars set, such as LIBTOOLIZE.  Tested with XCode-4.3.2, 4.0.2.

Fixes #12280
Updated the PyPy formula to 1.9.
coreutils 8.20 + patch

Fixes #15699.

Closes 16007.
Code review and documentatio

Add test (increase test coverage to 77%) and add documentation.
-requires package and arm build fix

testing this in openSUSE:Factory:ARM
US2819 - Command refactorings and minor visual cleanup
Access Class Support for Calendar

Owncloud Calendar did not respect property CLASS in any way. Implementation is for web-fronted and caldav-server and try to fix Issue #196.
Fix lostpassword url generation

Fixes issue #262
Routing fixes

Sorry for readding my previous request, i got confused with all the core repositories and open pull requests ;)

The first two commits let you register a callback to be sure that the routes are loaded before you make any ajax requests.

The newest commit shows the active apps in the left navigation when your app is loaded and uses routing. Previously there wouldnt have any apps at all.
Fix notice dans paybox

Il semble que ce paramètre ne soit pas toujours spécifié, donc il faut le tester.

Corrige les erreurs :
    [Fri Oct 26 20:19:45 2012] [error] [client xxx] PHP Notice: Undefined index: auto in /server/class/Paybox.class.php on line 119
Add .delete() to vumi.persist.model.Model instances.

Currently there isn't a way to delete a Model instance from Riak. Doh. :)
Alerts, Facebook bug a hezci login

Pridal jsem podporu alerts do layoutu, nasel jsem bug v registraci a jeste jsem si trochu pohral s designem login stranky. Asi jeste pridam upravenou registracni stranku.
BUG: del df[k] with non-unique key

This touches some delicate functions to be messing with, so I've split off the 
underlying logic into a function in common and added an exhaustive test. 
Would welcome review none the less.

Also, I tried to test for nagative perf. There must something
wrong with the test since comparing the commit after just adding a test to the baseline, 
shows 50% degredation in a bunch of things. As I said, I don't trust this, ideas?

```
timeseries_asof_nan                       23.4131    15.7471 1.4868
datetimeindex_normalize                 1153.1918   774.8010 1.4884
timeseries_asof                           22.3342    14.9964 1.4893
reshape_unstack_simple                     4.8106     3.2289 1.4899
read_table_multiple_date_baseline        980.0920   657.3641 1.4909
timeseries_1min_5min_mean                  0.8087     0.5422 1.4915
timeseries_timestamp_tzinfo_cons           0.0210     0.0141 1.4922
match_strings                              0.5718     0.3817 1.4982
timeseries_large_lookup_value              0.0301     0.0201 1.4998
reindex_fillna_pad                         0.1828     0.1217 1.5018
timeseries_to_datetime_iso8601             5.6048     3.7270 1.5038
read_table_multiple_date                2169.5440  1441.5460 1.5050
reindex_daterange_pad                      0.2608     0.1731 1.5066
timeseries_1min_5min_ohlc                  0.8046     0.5331 1.5092
reindex_daterange_backfill                 0.2466     0.1634 1.5094
period_setitem                          1166.9910   772.4509 1.5108
reindex_fillna_backfill                    0.1790     0.1183 1.5130
timeseries_asof_single                     0.0656     0.0434 1.5136
append_frame_single_mixed                  2.0747     1.3697 1.5147
timeseries_slice_minutely                  0.0762     0.0501 1.5208

Columns: test_name | target_duration [ms] | baseline_duration [ms] | ratio

(01bc3e0 against 81169f9)

- a Ratio of 1.30 means the target commit is 30% slower then the baseline.
```

closes #2347
Test error

subject
IIS rewrite Capabilities for assets

Maybe this isn't the best way to do this. But thought it would help the others.
Fixed signing bug

`rake publish` fails, attempting to sign a file that doesn't exist. By modifying the rake file template, future projects won't have this problem.
scalaz.syntax.std.tuple, like scalaz.std.tuple.tupleSyntax

For silly symmetry.
Removing Eq and Show constraints

These are the changes I suggest that makes Vec be more lean to use in DSLs.
The NearZero class doesnt have any default definitions any more, in order to remove the Eq constraint from it. The Rational instance was the only one relying on this default instance so I moved it there instead.
fix eb6e4d6bc

Fix "Can't call method header on an undefined value..." error introduced by eb6e4d6bc.

For details, please see the comment I made in the offending commit:

https://github.com/sukria/Dancer/commit/eb6e4d6bc66a2e56da021f793e82039a7da77b04
Replace "use base" with "use parent"

From the [`base.pm` documentation](http://perldoc.perl.org/base.html#DESCRIPTION): 
> Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent .

From the [`parent.pm` documentation](http://perldoc.perl.org/parent.html#HISTORY):
> This module was forked from `base` to remove the cruft that had accumulated in it.

`parent.pm` is a direct replacement (for 99% of use cases, and 100% in the case of Dancer) and is in the perl core since perl 5.10.1.

This patch replace all instances of `use base` with `use parent` and fixes doubles loading of `HTTP::Server::Simple::PSGI`.
Add hero-unit to default front page template

This is a small hack that makes default bootstrap look much better.
Reduce by key
Added names of contributors from PR 174

Well, mklabs was already there in the list :)
Selenium Integration

Selenium RC integration now works. Some new commandline flags added:

`venus run --test spec.js --selenium --selenium-server 127.1.2.3 --selenium-browser chrome`

This will instruct venus to run the spec.js test on a selenium RC server (or grid) located at 127.1.2.3. It will also request Chrome as the browser to use.

Also, added feature for browser name and version to be printed with test results in the CLI output.
Revert zmq_poll NULL poll items check to 2.2 behavior - let the poll items count filter out empty poll sets and not return a sometimes unexpected EFAULT error status

Hi Guys,

I noticed the following commit injected a NULL poll items check for the zmq_poll API before the item count "assertions " :

https://github.com/zeromq/libzmq/commit/dc09da456936e84e68e220a8c950e1abc2ebbd0b

Then reverted by Mikko in :

https://github.com/zeromq/libzmq/commit/da1920d94457ca614b50b060a64fe849ec3f0ec8

However, it's still inconsistent with 2.2 behavior in https://github.com/zeromq/zeromq2-x/blob/master/src/zmq.cpp#L401-423

This breaks zloop (errno == EFAULT) in czmq for the use case where there's only timers and no sockets attached to the reactor - https://github.com/zeromq/czmq/blob/master/src/zloop.c#L363 .

With this changeset, the check on number of poll items would abort the poll request with return value 0 before we can fail with EFAULT. I noticed this when upgrading a Ruby binding against czmq to the yet unreleased 3.2. This also means there's coverage missing for czmq and I'll be happy to spawn a PULL request there if I'm not seriously overlooking something here.

- Lourens
Use Composer to manage development dependencies

Use Composer instead of Pundle to install simpletest during development.

Ping @lox
fixes find issue.
change on Group22
Speed

Performance fixes:

- get rid of global queue
- forego some accuracy with many producer threads in exchange for performance
- faster bucketing
- little performance tweaks.
mini patch for api2 list returns

The list return would sometimes be parsed wrong, because

if (obj.attribute) == false 

if obj.attribute is null, so do

if (obj.hasOwnProperty("attribute"))

instead.
Craftconomy3 support

Update for my new verison.
Batman.SetComplement a la Intersect/Union

Adds set complement, useful for splitting out matching and non-matching
model instances in a UI, amongst other things.
Made the chunk initialize basic lighting

Signed-off-by: berger killer <bergerkiller@gmail.com>

Taken over from Vanilla, this brings lighting towards the Spout branch. All left to do is replace the black/light system with an actual routine. (btw: clean up the lighting repo @Zidane !)
Document create_remote_file in README

Support for remote_file was added with 23f4b34, but the feature never made it to the README.
Add static checks for bad 'this' and 'new require()'

This adds warnings if you do `new require()` or if you use `this` in an event handler like so:

````
ide.addEventListener("onChange", function(e) {
   this.onChange(e);
});
````

For this last check, it uses the same way of detecting event handlers as the outline view; it's a heuristic. It also reports the warning in ES' `forEach` and `map`. It would be nice to warn about `this` in other contexts too, but then we'd need more metadata.
Add package target for qemu-ics

Included is a separate script for running the emulator from within the package.
Frontend Updates from Electric Pulp
Add test for xValueParser

xValueParser is never tested, nor used, well, you get the idea.

One problem with relying on xValueParser is that, as demonstrated by this case, it thinks the type is date because the values don't match number format, when in fact, they're just letters. So, this test renders the 0, 1, 2, 3 as millis since the epoch. Shall I submit another bug?
Pass missing keyword arguments to post_process_group

This change restores the post processor arguments dropped by 6a6afba, and prevents errors due to missing parameters from occurring during post processing. This issue was especially devious if celery was disabled:
the resulting errors would cause logs of their own to be generated, generating more errors as post processing failed, and so on.
Change Description & Testing Done

**Motivation:**

At VMware, the Infrastructure Engineering team uses Sentry to log alerts from numerous services.  We have a mail filtering system based on procmail which routes alert emails from these services to their respective functional owner.

Custom email headers (ex: "X-SENTRY-*") will allow this sort of system to reliably filter based on project, severity, etc.  End-users will also be able to take advantage of these headers in their client-side email filters (ex: move messages into folders).


**Testing Done:**

Used a simple python-raven script to log an event which caused an email to be sent to me:

```
Content-Type: multipart/alternative;
 boundary="===============7845153231653466139=="
MIME-Version: 1.0
Subject: [Sentry] [dan's project] ERROR: ZeroDivisionError: integer division or
 modulo by zero
From: REDACTED@gmail.com
To: REDACTED@gmail.com
Date: Fri, 25 May 2012 04:23:51 -0000
Message-ID: <20120525042351.13214.40845@tehranian-mint-vm>
X-SENTRY-LOGGER-LEVEL: error
X-SENTRY-LOGGER: root
X-SENTRY-SERVER: tehranian-mint-vm
X-SENTRY-PROJECT: dan's project

--===============7845153231653466139==
```


Thank you for the amazing product, dcramer & team!
Dan
Fix #passthrough for items without extensions
make your "switch" shorter!

-    switch (hs_delete(store, key)) {
-    case true:
-        out_string(c, "DELETED");
-        break;
-    case false:
-        out_string(c, "NOT_FOUND");
-        break;
+    out_string(c, hs_delete(store, key)?"DELETED":"NOT_FOUND");
Username as configuration

Username as configuration
Fix/2.2.x/ks 4406

KS-4406 [Wiki] Wrong icon in context menu search
KS-4694 [Forum | Answer] Can not download attachment repeatable.
Changed cournal servers file format from Pickle to JSON

Changed cournal servers file format for better error handling.
It will convert the old files automatically.
Unknown properties will be ignored instead of messing up the whole document.
Added GTE and LTE
solves ticket 2169

Hash() function now accepts object as input so it can be a byte array
or the object's toString() method is called to get a string representation.

numIterations added and is used to call MessageDigest.update() in a loop.

@Micha -- I believe that this is the intended solution with adding number-of-iterations but am not 100% sure.
Correcting whitespace character regex as per ES5 section 7.2

See [section ES5 7.2](http://es5.github.com/#x7.2) and [the whitespace regex in UglifyJS's parser](https://github.com/mishoo/UglifyJS/blob/ef4d776aedee6cbc8959a8e76403b82523615d3a/lib/parse-js.js#L192) fore references.
Video screen display

Screen won't sleep on video page.