labofsahil/github-event-dataset-2012 huggingface dataset:
Replace c-ares DNS with pure javascript implementation

This replaces the wrapping of c-ares provided from libuv with a [pure javascript implementation of a resolver stack](https://github.com/tjfontaine/node-dns).

### Features

 * Match existing `dns` module
 * Ability to cancel outstanding resolution requests
 * Modify the set of resolvers and settings the platform uses, and force a reload of platform settings
 * Make a single query against a specific server
 * Rudimentary DNS server
 * Allowing users to define/extend resource record types

### Missing (but planned)

 * Windows name servers are currently hardcoded to Google public DNS servers
 * mDNS single shot lookup
  * Basically invoked when the question name ends with `.local` which can be appended to the search path
 * Caching layer

### Caveats

 * Sockets used for resolution are closed after 300 milliseconds of inactivity
  * Thus sockets aren't recreated for every request, but not holding the loop active
  * After the new refcounting lands this won't be necessary and the sockets will be `unref`d instead
 * `nsswitch.conf` is currently not parsed, but `.lookup` and `.reverse` will check `files` before performing a DNS request
 * Inconsistent style
  * Much of it passes the linting, but there are other style concerns especially with regard to variable and method naming
 * Multiple files included from the source module [native-dns](https://github.com/tjfontaine/node-dns) each prefixed with `dns_`
  * This is related to js2c not handling sub folders
 * Uses an embedded version of ipaddr.js to handle ipv6 parsing
Implement a buncha Process::Status methods

This fixes JRUBY-5899. I pretty much just ripped off the MRI implementation here. I also changed how sinals are parsed from friendly name to integers as there was a little wonkyness in that.

This is my first contribution to JRuby so please let me know if I've done anything crazy.
Mosh port to AIX

This is a slew of small patches that makes mosh work on AIX. Tested on AIX 5.3 TL12.
Report quotes

* Reporting quotes functionality
Fix CCW polygon detection issue.

The south pole rotation introduced precision issues for small polygons that ended up at the south pole, so this has been temporarily removed.

The south pole rotation was required to detect polygons winding around the clip edge, but this is rare in practice, so it shouldn't be an issue while I find a permanent fix.

I also reduced the negative ε for negative areas to 1e-6, since the approximation should hold true even for tiny polygons, and this worked fine in the rotation test.

Lastly, I removed a redundant variable from d3.geo.area.
Pull request for #565

Work in progress for #565
check for TP_STATUS_VLAN_VALID to differentiate between tagged and untagged packet

Linux kernel 3.0 uses TP_STATUS_VLAN_VALID flag in packet
auxilliary data (aux->tp_status) to indicate a packet tagged
    with a valid vlan ID 0 with another packet that is not
    vlan tagged. Use this flag to check for the presence of
    a vlan tagged packet. Also be careful not to cause any
    breakage when libpcap is compiled against a newer kernel
    (>=3.0) and used on top of an older kernel that does not
    use this flag.

Signed-off-by: Ani Sinha <ani@aristanetworks.com>
Allow controlling number of splits in distinct().

Also documents `distinct()` in the Scala programming guide.
Missing retry in mustHeartBeat

Quick fix for missing syncHeartBeat call pointed out by @joshrosen. Will be obsoleted by pull request #327, which refactors this code.
One commit that makes nav dropdowns show on hover

One commit that makes nav dropdowns show on hover.
support Class.new()

```
class A
  def a
    "A"
  end
end

B=Class.new(A)
p B.a
```
Add tests for Modules

This patch adds tests for Modules:
  - append_features
  - include
  - included
  - included_modules
Adding a prerequisites section 

When trying to compile I found a "bison: command not found" Error and I had to install bison (via apt-get on my ubuntu box).

I just added it to the documentation so others can benefit.

Thanks for the good work :)
Implement timer utility function for performance debugging

dscho already acked this 4 months ago[1] but apparently I forgot to merge so here is an official pull request so people have another chance to comment.

I was reminded of my branch by this pull request: https://github.com/msysgit/git/pull/37

@kblees maybe you can base your code on the time measuring function implemented in this branch.

If nobody objects I would merge this.


[1] https://github.com/msysgit/msysgit/issues/19
Alias Substition!

Three commits, each best reviewed alone
Config - setup: adding event handlers

Reaction to http://forum.nette.org/cs/10869-pridavani-callbacku-do-zivotniho-cyklu-aplikace-pomoci-di . Sadly, only one syntax is supported:

```yaml
   - $onEvent[]([@service, "handler"])
```

Other syntaxes would require bigger changes in Neon parser, but I'm not brave enough to make them.
Commit has been tested, number of failures hadn't changed. Also, tests for property setters were added and one little typo corrected.
fix: closes #331 - allows any number of workflows containing iterables (...

...at most 26 in each workflow) to be added to a meta workflow
BUG: ufunc: The refactored reduction code didn't work with object arrays

This bug was found by running the Pandas master branch against numpy.
Fix for bug #18556

Patch to avoid locale-aware lowercasing for letter 'I' in zend_str_tolower() and friends.
"::class resolution as scalar" Feature

* Allows for Name::class, self::class, static::class, parent::class resolution to a scalar based on current use rules and current namespace.
* Reuses existing keyword "class"
* Alters zend_compile.c\zend_resolve_class_name() to facilitate compile time class name resolution (and runtime by way of FCALL)
Added subsection regarding troubleshooting custom RDP retraining files

Modified the requirements to match the less strict 1.6.0 version, added section about troubleshooting errors.
updated handling of nan to address test failure

this addresses issue #583
Minor cleanup of event names and classes to make the API less specific.
перерисовка линков.

удаление близлежащих точек,  лупов, фикс возникших по ходу багов, более адекватное рисование прямых линий, добавлены надлежайшие галочки в настройки.
Asset host doesn't recognize protocol agnostic "//" links.

It is common practice to use protocol-less URIs when serving a site from both http and https.  This form ("//cdn.host/blah/foo.css") allows the same content to be served (and cached) for both normal and secure sites, leaving the user agent to resolve the protocol.

Currently, the asset host plumbing doesn't recognize this as a valid URI form (it is, says RFC 3986 section 4.2).  If I specify my asset host of "//a.example.com/assets", loading asset "foo.png" results in an invalid URI "http:////a.example.com/assets/foo.png" on HTTP and "https:////a.example.com/assets/foo.png" on HTTPS.

This patch correctly recognizes my protocol-less URI as valid and doesn't attempt to add the proto.
Correct singularization for words like 'reserves' and 'nerves'

Inflector no longer singularizes words like 'reserves' and 'nerves' to 'reserfs' and 'nerfs'.
Tests for assets were extracted to sprockets-rails and now they are unnecessary

Here it is https://github.com/rails/sprockets-rails/blob/master/test/assets_debugging_test.rb and https://github.com/rails/sprockets-rails/blob/master/test/assets_test.rb
/cc @guilleiguaran
Refactor to reset_table_name

That commit https://github.com/rails/rails/commit/6951014c05fa64f533072d21dc7e4c55f59162d4 fixed behavior for abstract classes, but it was fixed by correct order. Case `if abstract_class?` must go first and no need add extra `active_record_super.abstract_class?` on this line. https://github.com/rails/rails/commit/6951014c05fa64f533072d21dc7e4c55f59162d4#L0R132
Introduce config.action_mailer.default_from=

Allows to easily set :from, :replay_to, etc. options in
config/application.rb using simple syntax:

    config.action_mailer.default_options = {from:"no-replay@example.org"}

This was not possible using #default method because

    config.action_mailer.default(from: "no-replay@example.org")

is interpreated as reader method and just returns nil.
It would not call ActionMailer::Base.default method. The only
way of calling this method from config/application.rb was to use
the direct syntax which looks ugly in my opinion:

```
  config.assets.enabled = false
  config.assets.version = '1.0'
  config.encoding = "utf-8"
  config.action_mailer.default_url_options= {
    host:"example.org",
    protocol:"https"
  }
  ActionMailer::Base.default(from: "no-replay@example.org")
```
Backport of "Support cookie jar options for all cookie stores" for 3.2-stable

It fixes #3047, #2483.

@rafaelfranca I've backported two commits, first to support jar options on all stores and second to fix issue with re-streaming of cookie jar with the same value. Also I've found that one of the tests in the second commit was wrongly written, so I've corrected that as well.

All tests pass.
Use string datatype for the setting attribute

This commit addresses the following failure with Oracle enhanced adapter.

```ruby
$ ARCONN=oracle ruby -Itest test/cases/store_test.rb
Using oracle
Run options: --seed 1895

# Running tests:

........F.........

Finished tests in 0.683039s, 26.3528 tests/s, 42.4573 assertions/s.

  1) Failure:
test_0009_convert store attributes from Hash to HashWithIndifferentAccess saving the data and access attributes indifferently(StoreTest) [test/cases/store_test.rb:63]:
Expected: "symbol"
  Actual: nil

18 tests, 29 assertions, 1 failures, 0 errors, 0 skips
$
```

1024 character should be enough to store this purpose.  This fix also works with sqlite3, mysql, mysql2 and postgresql adapters.
Add html_escape note to CHANGELOG

Missed this in the changelogs.
require "rubygems" is obsolete in Ruby 1.9.3

Requiring RubyGems does nothing on Ruby 1.9.3, since it is already loaded:

```
ruby -e 'p require "rubygems"'
false
```

So, I think we can remove it safely from boot.rb and other files, since Rails 4 will require Ruby 1.9.3+.
Builds a message class (and children messages).

buildMessage will return a message class with fields and meta information. If a message has children messages, the children message classes will also be created recursively.

Here is an example usage:

```javascript
// Passes in the details object, this will be JSON returned
// from rosbridge:
var Pose = buildMessage({
  md5: 'e45d45a5a1ce597b249e23fb30fc871f'
, messageType: 'geometry_msgs/Pose'
, packageName: 'geometry_msgs'
, messageName: 'Pose'
, constants: []
, fields: [
    {
      name: 'position'
    , type: 'geometry_msgs/Point'
    , messageType: {
        md5: '4a842b65f413084dc2b10fb484ea7f17'
      , messageType: 'geometry_msgs/Point'
      , packageName: 'geometry_msgs'
      , messageName: 'Point'
      , constants: []
      , fields: [
          {
            name: 'x'
          , type: 'float64'
          , messageType: null
          }
        , {
            name: 'y'
          , type: 'float64'
          , messageType: null
          }
        , {
            name: 'z'
          , type: 'float64'
          , messageType: null
          }
        ]
      }
    }
  ]
});

// The class Point is available as a child of Pose
var Point = Pose.fields[0].messageType;
var point = new Point({ x: 1, y: 2, z: 3 });
console.log(point);

var pose = new Pose({ point: point });
console.log(pose);
```
SI-5779: Wrong warning message (comparing Number)

Probably this bug won't exist in some future version of Scala.  

It's hardly a bug; more like a gnat.

BoxesRuntime knows how to compare java.lang.Number, so we must not warn.
Fix for SI-6384

This fixes a regression in the 2.9.x branch (code combining CPS and try-catch crashing the compiler). The fix is simply undoing an optimization that was done in the 2.10.x CPS plugin (replacing a function with only a match by a match on an empty tree; this optimization seems to work only with virtpatmat).

Review by @adriaanm
Fixed SI-6505. Respond to ask calls by immediate failure after compiler shutdown.

When the compiler is asked to shutdown, it may still have items on the working queue, and more can be added by clients in other thread that don't *know* the compiler is down yet. These requests were never serviced, leading to deadlocks or timeouts.

review by @odersky, @hubertp

backport to 2.9.x
Test that closes SI-5839. Bug itself most probably fixed by #602

Probably not necessary, but @adriaanm would you please give thumbs up for this one?
Fixed SI-6353: applyDynamic with sugared applications

- Accept sugared applications such as x(1) if x implements Dynamic,
  so x(1) gets re-written to x.apply(1).
- When picking a dynamic rewrite for x.apply(1), favor applyDynamic
  instead of the default selectDynamic.

Review by @paulp or @gkossakowski.
Fix for SI-6264, crash in checkCheckable.

The classic fail of assuming you will only receive a
specific subclass of Type.
Lower confusion levels in typedApply.

It's the usual thing, making logic more logical and removing
comments which are incorrect and/or no longer useful.
SI-5543 Constructor default argument expr wrongly scoped


This is a fix of limited scope (pun unintended, but I'll take it).

https://issues.scala-lang.org/browse/SI-5543

One line for the context bug, and a couple of lines to encapsulate detecting a default-getter for a ctor.

This change includes renaming init$default$ to init$$default$ to avoid collisions with default-getters for an ordinary method on the module named init.
Fix inconsistent required classes and style red.

I've noticed some asterisk spans use the class 'req' and others use the class 'required'.  I've made them all 'required' for consistency, and I added a red style to the asterisk to stand out better.
Fix coupon code field logic

The coupon code field should not show in the checkout flow unless a promotion is active. Currently, inactive promotions will surface the input field.
Improved formatting: the line was way too long and now we don't need quotes or commas

hope you likey
Added RHESSI observing summary to the RHESSI module

The RHESSI module now includes the ability to download and plot the RHESSI observing summary data.
CBehavior children phpDoc fix
CHttpCookie now implements __toString() (#844)

Implemented __toString in CHttpCookie as proposed by @qiangxue in https://github.com/yiisoft/yii/issues/844#issuecomment-6453995

See #844
Enh #1238: CJuiDatePicker handling events (christiansalazar)

Issue: #1238

primary:
 widget CJuiDatePicker now is using an altField to update the hiddenField. Previously, the hiddenField was updated using the onSelect event but under this circunstances if you need this event (onSelect) then you must be carefull to update the hiddenField too in order to make it works, this commit will solve this making the hiddenField update via datepicker.altField.

secondary:
widget now addmit a function for every event using any of:
'onSelect'=>null,
'onSelect'=>"js:function(a,b){ ... }", (deprecated, but yet needed for datepicker)
'onSelect'=>"function(a,b){ ... }",
'onSelect'=>"myFunctionName",
'onSelect'=>new CJavaScriptExpression("function(a,b){ ... }"),

prior to this commit CJuiDatePicker only addmits:
'onSelect'=>"js:function(a,b){ ... }", (using "js:", deprecated, or it wont be recognized by datepicker as a function)


internally the widget will process the value passed for every event converting it to an instance of CJavaScriptExpression.
Add callback support to walk.

```javascript
var shifter = require('shifter');

shifter.init({ cwd: '/some/valid/path' }, function() {
  console.log('== shifter finished ==');
});
```
__== shifter finished ==__ logged after shifter completes.

```javascript
var shifter = require('shifter');

shifter.init({ cwd: '/some/valid/path', walk: true }, function() {
  console.log('== shifter finished ==');
});
```
Callback never executed.
please add my page
Bring ERT branch up-to-date with recent changes in master

This change merges all recent commits to master into ERT branch.  Build-tested (in absence of ERT libraries) only.
Fixing Clang/LLVM warnings/static analyzer issues.

There still are two static analyzer issues left. I know too little about the design of the code to fix them. If you can’t run the Clang static analyzer for some reason, I will try to send screenshots.
resolves ovid/aliased/pull/3

This commit resolves https://github.com/Ovid/aliased/pull/3 ; with it, creating aliases in other packages works again.

This was inadvertently broken in 1a7fc99f3487bb16193833803fa392fc9c24bfa2
when $callpack was universally prepended to $alias. Apparently github user http://github.com/afresh1 relied on the old behavior.
Quick fix patch to edit a group information

As you know, the edit groups screen is not correct. I found a TODO as below. I think it's better to be able to update a group information until implementing the proper group screen.

> commit 87cb66cbb9c8061dba65f3b37af71374dbfb53c5
> Author: Daniel Nouri <daniel.nouri@gmail.com>> 
> Date:   Mon Mar 7 15:27:10 2011 +0100
> 
>     Add user management screen.
>     TODO: Edit screens for individual users/groups.

How to reproduce:
1. add a group information in user management screen
2. select the group you made
3. edit the item of groups
4. click "save" button, then the change is updated
fixed #2 support stream and return the req object.
Loan details

Takes care of a couple of bugs:

- https://www.pivotaltracker.com/story/show/36559459
- https://www.pivotaltracker.com/story/show/36931077
changed "conclude form" to "conclude from" and "positive" to "non-negative"
Lots of new stuff,Pulled from my main development repo
element level documentation

Usage Example:

class Order(ComplexModel):

    __namespace__ = ""

    OrderId = Integer.customize(min_occurs=1, max_occurs=1, nillable=False, doc="Individual order id")
    TimeStamp = DateTime.customize(min_occurs=1, max_occurs=1, nillable=False, doc="Order time and date")

Produces in wsdl:
<xs:complexType name="Passage">
	<xs:sequence>
		<xs:element name="OrderId" type="xs:integer"  >
			<xs:annotation>
			      <xs:documentation>Individual order id</xs:documentation>
			</xs:annotation>
		</xs:element>
		<xs:element name="TimeStamp" type="xs:dateTime"  >
			<xs:annotation>
			      <xs:documentation>Order time and date</xs:documentation>
			</xs:annotation>
		</xs:element>
	</xs:sequence>
</xs:complexType>
Ta 13
Added publishing via ftp and sftp (and ftp over tls)

This adds a new parameter `Frank.publish.mode` to select between the publishing solutions. So far you can select between `scp`, `sftp`, `ftp` or `ftptls`. The latter is only supported for ruby < 1.9. 

The default way of publishing is still scp over ssh. The origininal staticness of Frank::Publish is still somewhat achy, but hey - it works and is reasonably well tested. SFTP and FTPTLS were quickly added by cut and paste. this should probably be refactored at some point. 

I have added a simple rake task, so don't need to autotest if just want to test & build the gem -  which I ran into first after cloning the repo.

Hope you like it.
Prevent E_NOTICE when session already started

Using strict equality.  Patching release branch.
Encapsulate 'Stream' handling

Hi!

I was missing the possibility to stream plain PHP streams... And as I saw, the possible streaming sources where a closed lot.

I suggest defining the stream interface and letting people add their own streaming sources.

HP
Fix documentation, version and default behavior of router refactor
Fixing zero port issue
Fixed round-robin.
Make it work on jruby

rbtree uses the Ruby C API, meaning that it doesn't play nicely with rubinius and jruby.
Example for DoctrineServiceProvider in session cookbook

Adds an example for using the DoctrineServiceProvider with PdoSessionHandler.
Test script fixes, cleanup and more

* Fixed inv/send/create (org.py). T wrapper wasn't defined. 
* Fixed test system account permissions
* Hack fix date. TO DO: Make date widget
* Fixed automated tests:
	- CreateVolunteer
	- CreateStaff
	- CreateStaffTraining
	- AddStaffToOrganisation
	- AddStaffToWarehouse
* Automated
	- CreateVolunteerTraining
Fixes

Fix issue #62, property prefixes, bug in callback support in packages.
fixing getDatesWithSleepDataInRange call

fixed typo
Seq actions

syntaxerror:<irb>:5: syntax error, unexpected tCONSTANT, expecting send clone loop nur=820430 loop^mikail bin azman 910258 from c:/program files/ruby-1.9.2/bin/irb:12:in '<main>'
cleanup printhelpers

Avoid dupes, do not use files but streams, avoid flushing needlessly.
Typo for routing.md

Just correcting a typo
Pull request

I fixed two English grammar mistakes.

Simon.
Fixed bug in CoreWorkload

Fixed bug in CoreWorkload. Read-Modify-Write Average Latency should be reported in microseconds, not milliseconds.

This affects reporting when ycsb is run using the -s parameter.

E.g.:

... [UPDATE AverageLatency(us)=441.68] [READ-MODIFY-WRITE AverageLatency(us)=801.57] [READ AverageLatency(us)=316.32] ... 

Thanks!
Feature/html valid diff view

r?

filing bugs is too annoying
Added links to the April Derby tab copy.
Allow depth param and max depth for get_children
Added support for options that take no arguments and may be repeated.

Closes #3568.
package.el rust-mode (update)

It is now tested with Marmalade and I will also submit the recipes to melpa once its pushed here since I need to reference a repo/path from it.

I also took the liberty to update the readme with some instructions since the cm-mode dependency requires some trickery with `advices` so that rust-mode.el knows where to find cm-mode when compiling.

I pushed both packages on Marmalade, you can see them here http://marmalade-repo.org/packages/rust-mode http://marmalade-repo.org/packages/cm-mode, I will need tor transfer ownership or at least add another more official owner at some point I guess.

I also added Mozilla in the Authors meta data, let me know if that needs to be changed.

Note: This push request includes the commits you rebased already.
Add auto map zoom when loading datasets or updating rows
[CHEF-3413] Protect secret files created by bootstrap templates

Set /etc/chef/validation.pem and /etc/chef/encrypted_data_bag_secret only readable by root.

This is a competing fix for #384.
Running knife with unicode input gives rise to error: "data not multiple of block length (OpenSSL::Cipher::CipherError)"

Attempting to run a unicode command via chef will give the following stacktrace.

This is traced to an underlying bug in Net::SSH. A workaround is given on the following pull request.
Added confirmation before creating new node when editing a node's name

Added check and confirmation for node_editor when changing the node's name
Signing up

For future opening and/or updates
blur input then hiding fuzzyMode

fixes that vimium doesn't work anymore when you open the selection in a
new tab because your typing will end up in fuzzy's input element.
Test:
Press "O", search something, submit, close new tab and try to use j/k in the one you used O in.
[ticket/10993] Use composer.phar from our repository in README.md

PHPBB3-10993

http://tracker.phpbb.com/browse/PHPBB3-10993
[ticket/11092]phpbb_gen_download_links strict standards errors

Two strict standards errors in phpbb_gen_download_links

PHPBB3-11092
Add used_perecent and free_precent metric to filesystem check.

Our alarm DSL doesn't support basic math operations which means there is no way to calculate percent of used and free space for a particular system.

This branch adds two new derived metrics to a filesystem check:

- `used_perecent`
- `free_perecent`
send notification to all players about workshop reviewing

#152
#50 Add Edit By F5Coder ont title

ruby起步了
Enhancement/page flow and layout for login feature

-  登录成功 -> 显示网站建设中
-  调整 flash 的位置
-  登录后显示不同的导航栏
-  首页根据用户是否登录，route 到不同 actions
Implement shadow maps

For now I've decided to stick to shadow maps as they are the most simple way to create shadows.
OldNumeric fix for win7

This runs under Win7 with python -i starsgui.py.
Update everything to use new GL/glcorearb.h header.

Khronos changed GL3/gl3.h to GL/glcorearb.h with the release of GL 4.3. This updates everything as such. There's no more GL3 folder, as per the recommendation in the header to use GL/.
Update docs: Status posts are 256 chars long now

On the Protocol Introduction page, change Status post length from 140 to 256 characters.

It's already 256 on the Post Types page.
Arrow core infrastructure.
Add Wake and Sleep API. Fixes BUKKIT-3155

After a few request on #bukkitdev IRC channel have been made I've added a wake and sleep API.
Allow the plugin developer to wake up a player and put them into bed(with or without overriding the distance check).

Ticket: https://bukkit.atlassian.net/browse/BUKKIT-3155
Bukkit PR: -
Test plugin: https://github.com/JadenKorr/SleepWakeTestPlugin
Added a level for git branch

just requires that you call `git branch test_code`
Intel compiler fix

Currently, OpenCV does not compile using the Windows version of Intel Compiler 12.1 and 13. The provided patch fixes this issue.
added CV_OUT to StereoVar output paramiter

the fix repares the Python wrappers for the function. It does not affect C/C++ interface in any way and it should probably not affect Java interface. If yes, please, approve it to 2.4 branch
fix #2643: use SVD to solve least squares in cvStereoRectifyUncalibrated

Hello!
Here is the fix for #2643
Rebased on 2.4
Thanks to Julien Rebetez for https://github.com/julienr/cvscripts that helped me to find the problem
MOSYNC-2547 - idl + windows phone implementation
Tradotto. (quasi tutto)

mancano delle frasi che non sapevo completare. D'altro ho tradotto tutto ;-) spero che questa volta ho tradotto bene
Catching up with gradle-template, specifically for sources and javadoc
Trig serialized based on Turtle

Hi,
I implemented a basic Trig serializer support, it is based on TurtleSerializer instead of ntriples as the one available in the trig named branch; it also is very handy if you need to keep track of default graph without resorting to nquads, which is really verbose and does not handle IRI but just URI.

The result is a valid trig output that could be ingested in e.g. virtuoso.
converts line-breaks to UNIX in AW-TEXTS-EKEREN

- first commit relapses to previous, original, unedited state (.txt-files only), BUT with line-breaks converted to UNIX (= <LF>)
- second commit resets to edited version of same files, WITH UNIX line-breaks

- this operation was done for Git to be able to recognize each line as a single line, so that it can track changes (edits) line-by-line
Scrolling large
合并butterfly
Consistent & correct handling of integers and gradients

This pull request introduces:
-Documentation of a consistent way of handling gradients and integers
-Type checks that ensure the gradient is always floating point and not an integer
-Type checks that ensure the gradient of an integer is always undefined or 0
-A new unit test checking that the gradient of an autoencoder hidden layer with respect to its input doesn't change if you make the input integer-typed
-An upgraded version of connection_pattern that provides theano with enough information to answer questions like "is variable x a function of variable y?" accurately
-Corrections to all tested ops making sure that their gradients handle integers correctly and consistently
-Type checks preventing the grad method from returning None, which in the past could have meant zero, disconnected, or undefined

Some tests are changed:
-Some tests used to enforce incorrect behavior, such as that the gradient with respect to an integer must be 0. These tests have been corrected.
-One KnownFailureTest said that the correct behavior for the test was under debate. The test now enforces the behavior I document in this pull request.
-This pull request exposes a bug in Rop where Rop does not detect an undifferentiable input. One of the Rop tests is now marked as KnownFailure
-One test using the deprecated compile.module functionality is marked as KnownFailure, because getting the test to pass would be labor intensive and I'd prefer to have someone familiar with compile.module port the test to not use deprecated functionality anymore. If it can be translated to use theano.function / theano.shared it should be easy to make it pass.

When reviewing this pull request, I recommend reading the global diff, rather than individual commits. After submitting the pull request I will go through the global diff and add line notes explaining what each section does.

Please hold all comments about PEP8 stuff until all debate about functionality is done with. I'll clean up the PEP8 as a final post-processing step.

Finally, please remember that the purpose of code review is to improve the correctness, readability, efficiency, etc. of the pull request, not to try to veto any pull request that doesn't implement one of your grandiose dreams. Please keep your code review comments focused on whether the pull request leaves the library in a better state than before the pull request.
fix the table count valgrind problem
fix cost tab and history tab paginator
Ralph DHCP agent
Merge master into harmony

See http://code.google.com/p/esprima/issues/detail?id=393
add spanish trans
(Final) performance improvements for FailedReporter

With a fresh eye on a monday morning, I found the real performance problem: for each failed test method, FailedReporter calls MethodHelper.getMethodsDependedUpon() with the same array (all the test methods), which creates a new Graph solely based on the array. Since the graph is not modified by the findPredecessors() call, it can be reused.

Adding a cache to keep this detail internal, I get the wanted improvement:
- before:
Tests run: 7900, Failures: 415, Errors: 0, Skipped: 7271, Time elapsed: 232.967 sec <<< FAILURE!
- after:
Tests run: 7900, Failures: 415, Errors: 0, Skipped: 7271, Time elapsed: 20.884 sec <<< FAILURE!

However, maybe you want to expose the topologicalSort() method instead, so it can be called by FailedReporter once. And of course, the cache only works because the array of methods is never copied.
Features files xml

Modify syntax, in code and documentation: from select_xpath_region to select_xpath
agent timeout

The motivation for this feature is that some systems have been seen to have hundreds of cf-agent/cf-twin processes spawned by cf-execd - to the point where they have to be rebooted.
The root causes may vary, and it is not necessarily CFEngine's "fault" (e.g. disk partition full, command never terminates, system call hangs, etc.), but the effect should be mitigated.

This feature introduces a timeout on each run of cf-agent. If cf-execd sees that the timeout is reached, it will kill the agent. The agent (or a command executed by it) can reset the timer by outputting something to STDOUT.

### Current issues
* Windows port - ProcessSignalTerminate() is not defined, could use GracefulTerminate() on Windows.
* Children of cf-agent (e.g. processes in commands: promises) may not be killed correctly (needs confirmation). We may need to kill the entire process tree.

### Testing

Save the following to inputs/promises.cf, and run cf-execd -v.

<pre>

body common control
{
bundlesequence => { "test" };
}


bundle agent test
{
commands:
  "/bin/sleep 2000";
}

body executor control
{
schedule => { "any" };
exec_command => "/var/cfengine/bin/cf-agent";
agent_expireafter => "1";
}

</pre>

After running it for a while, you can check:

<pre>
$ ps -ef|grep cf-agent
user   12539  6147  0 13:55 pts/0    00:00:00 sh -c /var/cfengine/bin/cf-agent -Dfrom_cfexecd
user   12540 12539  0 13:55 ?        00:00:00 /var/cfengine/bin/cf-agent -Dfrom_cfexecd
</pre>

<pre>
$ ps -ef|grep sleep
user    6155     1  0 13:30 ?        00:00:00 /bin/sleep 2000
user    6177     1  0 13:32 ?        00:00:00 /bin/sleep 2000
user    6183     1  0 13:33 ?        00:00:00 /bin/sleep 2000
user    6207     1  0 13:35 ?        00:00:00 /bin/sleep 2000
user    6311     1  0 13:36 ?        00:00:00 /bin/sleep 2000
user    6374     1  0 13:37 ?        00:00:00 /bin/sleep 2000
user    6391     1  0 13:38 ?        00:00:00 /bin/sleep 2000
user    6428     1  0 13:39 ?        00:00:00 /bin/sleep 2000
user    6434     1  0 13:40 ?        00:00:00 /bin/sleep 2000
user    8856     1  0 13:42 ?        00:00:00 /bin/sleep 2000
user   12391     1  0 13:44 ?        00:00:00 /bin/sleep 2000
user   12429     1  0 13:45 ?        00:00:00 /bin/sleep 2000
user   12436     1  0 13:46 ?        00:00:00 /bin/sleep 2000
user   12447     1  0 13:48 ?        00:00:00 /bin/sleep 2000
user   12454     1  0 13:49 ?        00:00:00 /bin/sleep 2000
user   12471     1  0 13:50 ?        00:00:00 /bin/sleep 2000
user   12499     1  0 13:52 ?        00:00:00 /bin/sleep 2000
user   12523     1  0 13:53 ?        00:00:00 /bin/sleep 2000
user   12530     1  0 13:54 ?        00:00:00 /bin/sleep 2000
user   12542 12540  0 13:56 ?        00:00:00 /bin/sleep 2000
</pre>

So just one cf-agent is running, but a lot of sleep processes are still running. Note that init has taken ownership over them, but they still seem to be running.
New releaser class : RsyncReleaser, also refactored YumRepoReleaser to inherit code from RsyncReleaser

...ser.

Refactored YumRepoReleaser to inherit most code from RsyncReleaser.

RsyncReleaser takes an optional argument "filetypes" from releasers.conf
which specifies what type of packages should be rsynced

[rsync_test-example]
releaser = tito.release.RsyncReleaser
builder = tito.builder.MockBuilder
builder.mock = fedora-16-x86_64
filetypes = tgz rpm srpm
rsync = /tmp/rsync_repo/

in case of YumRepoReleaser default filetypes is of course only rpm.
Fixed comment to match the code
18887
Added current datetime as output in Django devserver as per ticket 18611
fixes #1209 - patched bad unicode conversion
first commit #662
Issue 110 root plugin path

The new **com.dotmarketing.plugin.util.PluginRoot** have two main methods, *deploy* and *undeploy*, the deploy method will be call it by the **com.dotmarketing.plugin.ant.DeployTask** class (which is used by the deploy-plugins ant task) and the undeploy method will be call it by the **com.dotmarketing.plugin.ant.UndeployTask** class (which is used by the undeploy-plugins ant task).
fixes #901 - dojo.coords fix
Fixing logic in addPostFiles() to handle when a file name/path string is given in place of the  array.

This is a follow up fix for the change to allow client side file uploads with an arbitrary file name that was recently merged from this PR:
https://github.com/fabpot/Goutte/pull/77

The logic in addPostFiles() is not working as expected. When a specific file name is used, it is supplied as a string in $info. This string value in $info passes the check for isset($info['tmp_name']) so I added an additional check using is_array($info).
BCR Export features

This pull request implements the export to nrml 0.4 functionality of the classical bcr calculator.

A couple of pull request in the nrml repo should land first.
Update gocart/themes/default/assets/css/styles.css

Center the image on the slider so it looks fine
Properly write error/failure log to stderr

New PR based on #511 (well and #512), but now back on top of master branch.
All issues resolved, several options implemented, various tests completed while few bug fixed
makefiles and install targets
Retry get_transfer while polling

Should help with transient errors, but needs a bigger fix at some point.
Fixed:change return value.

issue #41 was fixed.
Test: Remove unused file "include_js.php"
Ensuring that offsetParent always returns a valid value. Fixing #8482
2.0: Reduced parseXML

```bash
Sizes - compared to master @ 5c8984efc4a8c0472bcdc514e744b063e8f98a61
    265560      (-150)  dist/jquery.js                                         
     92531      (-105)  dist/jquery.min.js                                     
     32766       (-41)  dist/jquery.min.js.gz  
```

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
B60 update gmaps to 3.0.0 02

as title
6.0

Add HTML5 type for test isInput elements
get the latest code from master.
NERFHAMMER

oh hai
fix win32 compile, fix BuildLogTest.WriteRead on 2nd run

compile fixes, and BuildLogTest.WriteRead wasn't closing log2, so the unlink in TearDown silently failed, which made the test fail next time.
Wrappers around socket operation
iOS Orientation fixes

After an orientation change we need to update TouchPanel DisplayHeight/Width or _touchScale will be incorrect.
This fixes Portrait games on iOS5.

@Nezz Since you touched this last could you please take a check, thanks :-)

You can install old simulators in xcode: XCode, Preferences, Downloads, Components, iOS 5.1 Simulator.
Edit mode

The conformation button now better simulates iOS behavior:
   - Swipe+confirm ends edit mode.
   - Edit+delete+confirm leaves the table in edit mode.

Added scenarios to demonstrate these.

I added a few table steps to refine the "I should see" and "I should not see" verifications.
   - For the edit+delete scenario, I couldn't simply write "I should not see 'Delete'", because both the confirmation button and the little round delete controls match 'Delete'.
   - I couldn't simply write "I should not see 'Edit'", because the nav bar title contains "Edit".

Also: I attached FEX_confirmDeletion function to the confirmation button class as both "tap" and "touch".
DVB cosmetic improvement

HI,
To be honest I thought that I can make pull request for individual commit not for all of them, but now I don't want to play with branch so I will describe them all in one pull request. Anyway 3 commits are very small :)

commit c219465:
It seems that everything work fine now, madshi made many internal improvements to madVR recently and issue with switching channels is gone now :) Switchings channels works as expected and without any problems now. 

commit b325623:
I described this in that ticket https://sourceforge.net/apps/trac/mpc-hc/ticket/2393 unknow string doesn't  mean anything and doesn't help to determine what track we have and it looks better without it. 

commit  	043aa83:
Also see ticket #2393. For example in my country some channels have three auto streams pol, mul and aux. "pol" is converted to "(Polish)" but we don't know which track is mul or aux. After this change we will know. I can do screenshot before/after if you don't understand what I mean. 

commit  	cf6a964:
Add informations about current event to info bar. Well nothing more to say, everything is in the ticket https://sourceforge.net/apps/trac/mpc-hc/ticket/888 One thing that is missing is tooltip for long description https://sourceforge.net/apps/trac/mpc-hc/ticket/728.


Don't know what more to say, just ask me anything :)

Regards,
Kacper
Advancedblock#18
Use generic views

Use generic views cause seriously, that's way easier.
FIX : DEPによってCベースの関数呼び出しが失敗する

雑記でも言及されていたので、もう実装済みであればrejectしちゃってください^_^;;

xyzzyが元々持っているページベースのアロケータがVirtualAlloc()するときに、適宜メモリ保護モードを設定するように修正します。
具体的には lc_callable を保持するアロケータ ldata<lc_callable, Tc_callable> のみ、保護モードをPAGE_EXECUTE_READWRITE にしています。
PhantomJS 1.8.0

Update to PhantomJS 1.8.0
sphinx: Updating failing clang build to 421

The cause information about the minspec appears to be outdated.  I removed that and the two issues that were also about minspec.
Add startup plist and instructions to Varnish formula
bind: 9.9.1-p2

- botan and python3 needed as dependencies.
new formula: xstow 1.0.0

A new formula for xstow 1.0.0.
New upstream release git-ftp 0.7.5
added patch to SMLNJ to use the correct SDK on OSX > 10.5 - compiles now

I haven't figured out how to sent this patch to upstream jet...  will look for a developers mailing list or something
std_cmake_args: std_cmake_parameters, but an array

Tired of dealing with having to split or interpolate `std_cmake_parameters`, and the quoting issues that come along with that; so here's `std_cmake_args`, which returns them in an array.

`std_cmake_parameters` is retained for compatibility with `brew versions` and external formulae.
Update Library/Formula/chktex.rb

Update to latest version url and homepage. 

The previous formula was several versions out of date and
didn't reflect the change of maintainer / hosting for this project.
Wine: Update devel version to 1.5.4

Compiled just fine in a MacBook Pro late 2008 (64-bit)

The patch is still retained as the changes are not applied upstream yet.

Signed-off-by: Birger J. Nordølum <birgerjn@gmail.com>
Add clean slony

This is a pull request fix  #15201. Hope this time is good.
Added nikto

Added nikto

> Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 6400 potentially dangerous files/CGIs, checks for outdated versions of over 1200 servers, and version specific problems on over 270 servers.

Enjoy.
Update augeas to 0.10.0.

Version bump.
Remove dependency on globally installed coffee-script

Saw jwalk on http://24pullrequests.com/ this is my December 1 PR.
First official version of Mozilla Sync app
Add CAS support (user_cas).  Fix session problem with user_saml. 

* Add CAS support

* Fix session problem with user_saml

ownCloud 4.5.5 carry a session conflict with simpleSAMLphp. Add documentation to  solve it
Related with https://github.com/owncloud/apps/issues/383
load all enabled apps to make sure that all hooks are triggered (issue #151)

All enabled apps need to be loaded before performing the delete action to make sure that all necessary hooks are triggered. (fixes issue #151)
Enhanced multiSelect jquery plugin.

Some enhancements to the multiSelect jquery widget as used in settings/users. Refs https://github.com/owncloud/apps/issues/244#issuecomment-10814408

Changes:

* Previously only used the underlying options values, not the text.
* Can now be used as singleSelect like Eric Hynds [jquery.multiselect](http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/#single)
* If there's not enough room in the viewport the widget will pop up instead of drop down.
* Uses both items in the `checked` array argument and sets those as selected, and adds items to the `checked` array that are selected.

/cc @jancborchardt @icewind1991
Fall back to default log file if logfile config file not found

Fixes issue #826
Minor add

Two semi-large new functionality.
Update tr/02-git-basics/01-chapter2.markdown

spelling correction
[zh_CN] fixed a translation error and a typo

Fixed a translation error and a typo.
ENH: added OLS.predict method

does alignment then passes through call to statsmodels ols predict method

GH #1008
Ts pivot hourly 

Now I figured out.

Here is the PR for #2153
repo reorg

removed Sakai stuff, moved lib and features up to the 'root' of the project

now to see if such a major change can be pulled in this way
Fix for missing parrot phony.exe under cygwin per RT #113992
Added isOwnProperty check to xhrGet and xhrPost

Also ensured that vars are only created at the top
Add title attribute to flair span.

This allows the full text to be discovered when the item is too long for the entire span to be shown. This hiding most often occurs in the flair selector.
Using exit code of "git config" to check if a variable is defined

Testing for an empty string in get_config is problematic. For example:

[git-ftp]
user = myusername
url = example.com
password = mypassword
syncroot = path/to/dir

[git-ftp "test"]
url = test.com/www
syncroot = 

get_config returns "path/to/dir/ for scope "test" but syncroot is defined as empty
librms stack added from WPI
Fix generated manual page

The date must contain the day or else you get warnings like 

./hub.1:4:15: WARNING: cannot parse date, using it verbatim
Terrain18

Hasn't been tested enough, but should be fine (famous last words). This may be slightly slower but I had to remove the terrain stuff out of cellstore as that wasn't what cellstore was for (according to Zini). The downside of this is there are now a lot more map lookups (in the getLtexIndexAt function) which probably makes loading quite a bit slower. 

I will try and get around to taking a look at it in a profiler to see if it is an issue.
Experimental

Added twss library file.
Update Russian translation

I've noticed that Russian translation lacks a few strings, contains several nasty typos, bad wording, and general grammar misuse.  This commit should fix most of them (questionable strings that I could not check/verify in action were not touched).
Added init.d script for easier on reboot startup of NSCAweb
Fix synopsis in Dancer::Error
fix: apikey to access_key
Updated URLs to fix bitrot; bumped libpng version; fixed typo in postgis...

....sh
Unit of work strategy implementation

The current twitter implementation of bower resolves dependencies in parallel and isolated.
This leads to several problems:

Dep A and B both depend on Dep C.

Since dependencies of A and B are resolved individually, both repositories will be cloned twice, copied twice, etc, unnecessarily. Also sporadic errors occur when the copy process is being done at the same time, resulting in stream and pipe errors (see issue #81). Also the version requirements matching will be isolated, meaning that the last one to resolve the dep will be the one used project wise (see issue #57).

This PR fixes this by adding a new class called UnitWork (unit of work) that is a simple storage with lock and unlock ability.
When both Dep A and Dep B attempt to resolve Dep C, two independent packages to solve DepC will be instanted. Though one of them will be locked waiting for the other. If the package created by Dep A gains the lock first, he would resolve it, store information about the resolved data and release the lock. Then the package created by Dep B gets notified that the lock was released and will notice that it has been resolved before by someone else (in this case by the package created by A). If the version is incompatible with the one resolved, an error is thrown (e.g.: Dep A requires version 1.0.0 of C and Dep B requires version >= 2.0.0 of C) and bower resolves using the lower version.

More tests should be added, specifically testing the conflicts.

This PR also fixes another failing test, at least on my windows machine.
All test are passing in my computer.

Tell me what you guys think about it.

Fixes: #81 and #57
HINTSをポップアップウィンドウで出すようにした

HINTSは別ページへ遷移するよりポップアップの方がいいかと思ったので実装

PCの「yanchaについて」のリンクを踏んでいきなりGithubページへ飛ばされるのも不親切だと思ったのでついでにabout.htmlを作成
issue #18781: Add missing class defs.
take a look at the assignment table
Remove a trailing comma in the options of the HTML task and add missing semicolons in the server task

:shipit:
2.2

Clarifying issue #49
Fixed issue #351
Adding testcases for tablets written in Scala

- fix timing issue
- more converted testcases
Update chrome/locale/en-US/zotero/zotero.dtd

Change label for "Create New Item" button - as per mutual agreement here: http://forums.zotero.org/discussion/17909/create-new-item-from-current-page-should-use-translator/#Item_17
Aula introdutória sobre SL

Adicionei slides para a aula introdutória sobre SL. Espero que tenha seguido todos os padrões :-)
Rocket bubbles
Grammar format optimizations

I have a program which does highlighting in real time, so speed is really important. I compared different highlighters, and Prism were among the fastest (and smallest), so great work! However, I was able to do some more optimization by changing the grammar format a bit to use arrays instead of objects. You can see comparison benchmarks at [jsperf](http://jsperf.com/prismjs/5).

The speed improvements are quite significant in some browsers, even for the small chunks of code I have tested, but I understand if you reject this patch because you prefer the current format and need backward compatibility with existing grammars. 

I also think that the current format relying on the order of objects is a bit risky. Previously all browsers did respect the insertion order, but Chrome, Opera and recent versions of IE now put properties with integer keys first. There's no guarantee that future implementations will respect the order of objects.
ASGARD-902 - Remove version number from asgard.war