labofsahil/github-event-dataset-2012 huggingface dataset:
Spell wakness/charge(first try)

Astept feedback despre implementare :)
More refactoring work; rewritten FastProjectionSearch and BallKMeans

Hi Ted,

This is the latest version of the master/ branch as I recently diverged the main code from the mapreduce code (now in the mapreduce/ branch of my repo).

The new features it adds are:

- moved data generation and distance estimation methods into one file (DataUtils.java)

- made StreamingKMeans a value parameterized test (to test with all the searchers and test points one by one as well as all at once)

- rewrote FastProjectionSearch (fixing the open issue from today [1]) and making it cleaner IMHO

- rewrote BallKMeans (mostly a cleanup) and removed the requirement of having the WeightedVectors be hashable by using their indices in the MultinomialSampler. This however means we now have to get a List of datapoints rather than an Iterable. Not an issue for the MapReduce though.

Also, a couple of bugs are fixed (the most notable of which is StreamingKMeans now works when adding points one at a time).

[1] https://github.com/tdunning/knn/issues/6
Using sendfileWithHeader.

This patch makes ResponseFile drastically faster on Linux and FreeBSD by using sendfileWithHeader newly provided in the simple-sendfile package v0.2.4.

OLD means "without this patch"
NEW means "with this patch"

         OLD+pronk  NEW+pronk  OLD+httperf  NEW+httperf
Mac      3678.74    3415.76    6642.5       6891.8
FreeBSD  10.0010    1309.43    10.0	    3174.8       # this machine is slow
Linux    24.9875    2558.36    25.0         8284.2
Add FurnaceItemEvent. Addresses BUKKIT-2114

Had to make this have its own event due to where its calculated.

Tracker Page: https://bukkit.atlassian.net/browse/BUKKIT-2114

CraftBukkit PR: Bukkit/CraftBukkit#888
change #include directives

Changing `#include` directives to use regular file-include instead of library-include enables CGUI to be used in other subfolders than just `'/lib'`. Using CGUI in the lib folder and including with `#include <CGUI>` still works.
[DS-1144] Maven Project Consolidation (merge dspace-services)

Merge dspace-services repo into DSpace.  This pull request includes the entire history of the dspace-services codebase (hence the large number of commits)
RELOAD-137: Added web server component to Reload
RAXAJSS-120 navigation view updated 

Added details to the list such as "last name" and and urgency. And some other modification like positions  of the display of the info are changed according to the astha's latest design.
Merging drug group from yjin
cutils_ext import fix -- allow theano to run on picloud servers (not CVM)

This address issue #728.

When theano is transmitted to picloud, the cutils_ext import fails if the \_\_init\_\_ file isn't available at a certain point. 

All this PR does is make sure the cutils_ext \_\_init\_\_ file exists by touching it. Moving the compiledir to the front of the path (previous solution) was insufficient because without the \_\_init\_\_ file, the "wrong" module gets imported anyway (see comments in #728). Otherwise, the existing line 1623 of theano/gof/cmodule (in compile_str), which does exactly the same thing, would have been sufficient.

**NOTE** this doesn't work with the CVM linker. I have tested it with the c|py linker. Importing lazylinker_c causes picloud to start some strange import behavior. This trips an except clause that results in the CVM class never being created. For some reason, I can't trace the error -- if I force the import of lazylinker_c (by removing the try/except), picloud acts as if the error took place during the initial "import theano".
Detecting installed software packages through puppet plugin

Puppet plugin save installed software packages into `SoftwareModel` and adds version number package. 
This information is taken from key `packages_data`, key `package_manager` contains package manager name.
Key value contains the names of packages with their version numbers separated `,`
Example:
`'packages_data' : 'apache2 1.2.22-1ubuntu1,mysql-client 5.5.28-0ubuntu0.12.04.2,' `
`'package_manager': 'rpm',`


Installed packages on device has been added in  tab **Software** in DeviceView

Build ok:
http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-quamilek/builds/51
Document testing

Sorry! I forgot to pull request this change to the readme here at the core repository. I submitted this change in the cycamore repository a while back, but forgot to do it here too.

This change was meant to inform the pull-request workflow and discuss the testing regimen.

Issue #252 was incorrectly closed before. This now truly fixes #252.
Fixed #5 of scotch/aego

This is the change specified in [issue 5 of scotch/aego](https://github.com/scotch/aego/issues/5). Would you please review this and fix the packages that it broke? ([gaego/user](https://github.com/gaego/user) comes to mind)
fix shared database regression in pg resolver
Strftime be gone

Jeremy-

Introduced an AST, that has knowledge of the various strftime formats.

It will still work with rails, since the date formatters support strftime strings or procs. Not sure about other libraries like simple form - that may depend upon strftime codes.

If you wanted to stick with using strftime to emit stuff, we could embed the strftime codes into the AST/emitter objects. But I thought going away from that buys you ordinals, lowercase am/pm and stuff in a clean way. (notice how it no longer takes the output date object while parsing the example text)

Wasn't sure how far to take the legacy bit, since the goal seems to tear that out.
I just didn't want to go too far on this track before checking in with you first.


Next steps would be to tokenize the strings and maybe go 2 passes. one to populate the easy ones, (2012, 24, 12 ) and the other to use locality to auto populate them look around for ":" delimiters.

Or I guess a treetop type parsers could work as well, but the structure is so simple/flat that a simple regex seemed to work just fine.

--K
Box2D changes to SetTransform() to avoid multiple internal calls to FindNewContact()

As explained in this Box2D forum thread http://box2d.org/forum/viewtopic.php?f=3&t=8757 this pull request was made to try to minimize the cost of Body->SetTransform() by adding a new SetTransform() method with an optional parameter to avoid triggering internal FindNewContacts(). 

Hope you can take a look. Btw, I believe generated cpp/h could be removed from git by adding a new ant task to run the GdxBuild with the proper parameters, and to avoid uploading generated code multiple times.
Issue141

Added a WebView to DataSourceList to view the Available Plugins.
Feature/offline ds read

Did a fix, mixare can read offline file:// files. They usualy dont support lat en lng parameters, so I leaved that out.
Formula for aos-tools

Hi brewers!

  This formula uses a tarball copy of the aos-tools latest SVN snapshot.
aos-tools is a serious of utilities for managing the firmware files
for the Archos media players. For cool uses of these tools, check out
http://openaos.org.

Thanks for your interest!
/Robin
Added autopano-sift-c 2.5.1

This is my first formula, constructive feedback is more than welcome.
Added start script for Windows

This adds a batch file for starting casperjs on Windows (requires installed Python in the PATH). It also changes the use of os.exec to subprocess (only on Windows) so that the correct exit code is returned instead of starting casperjs in the background.

One only has to add the casperjs\bin folder to the PATH and running on Windows becomes as simple as

    set PHANTOMJS_EXECUTABLE=Path\To\phantomjs-1.7.0-wind
ows\phantomjs.exe
    casperjs <script>
SAML plugin version 0.2

Here is SAML plugin version 0.2 with those changes:

* BugFix a 500 error that appeared when saml config values were not set
* Some bugfixes (typos, default settings handler) [from alenkovich]
Updated ginger-client URL and pulled

ginger-client a changé d'adresse et a changé aussi.
Add mcrypt_create_iv as fallback if openSSL ain't install in phpsecRand.

Add mcrypt_create_iv as fallback if openSSL ain't install in phpsecRand.
Add interactive.rootwait

I like the concept of rootpy, and have lots of snippets which may or may not be of interest to you guys. I will send small features whenever I find a moment, and you are free to reject them, or to ask me to move them around or whatever.

This particular feature keeps root from quitting until ctrl-c is pressed or all canvases are closed. I find this very useful when developing batch scripts to make plots and I still want to try tweaking them interactively. It is stable for me on root 5.32, though historically it has caused crashes (on exit).
Bangla Language Support (Translation)

= Few words has been fixed for better understanding
Issue 3 router

Created 3 kind of routers
 * Router
 * SpewiaRouter
 * SpewiaRouterI18n (depends on SpewiaRouter)
[WIP] Create the ErrorController for the 404 and 5xx errors.
Don't connect to external hosts in unit tests.
yaml atomic write

Makes session writes atomic to prevent file corruption.
Please review: [add factory]
File template support

Basic (variable expansion) template support for the __file type

`````
# content of __manifest/templates/nginx/basic.conf
server {
  listen                          80;
  server_name                     $SERVERNAME;
  root                            $ROOT;

  access_log /var/log/nginx/$SERVERNAME_access.log
  error_log /var/log/nginx/$SERVERNAME_error.log
}
`````

In the manifest:

`````
__file /etc/nginx/sites-available/test-template.conf \
       --source "$__manifest/templates/nginx/basic.conf" \
       --var SERVERNAME=test --var ROOT=/var/www/test
````
Exception when updating without packages

If you start a new project with the following params, for example:

`{ "name": "myapp", "version": "1.0.0" }`

You get a `TypeError`:

`/usr/local/lib/node_modules/bower/lib/core/manager.js:106
    async.forEach(Object.keys(this.json.dependencies), function (name, next) {
                         ^
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at Manager.resolveFromJson (/usr/local/lib/node_modules/bower/lib/core/manager.js:106:26)
    at g (events.js:185:14)
    at EventEmitter.emit (events.js:85:17)
    at Manager.loadJSON (/usr/local/lib/node_modules/bower/lib/core/manager.js:93:12)
    at fs.readFile (fs.js:176:14)
    at fs.close (/usr/local/lib/node_modules/bower/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:92:5)
    at fs.close (/usr/local/lib/node_modules/bower/node_modules/read-package-json/node_modules/graceful-fs/graceful-fs.js:92:5)
    at fs.close (/usr/local/lib/node_modules/bower/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:92:5)
    at fs.close (/usr/local/lib/node_modules/bower/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js:92:5)`

Now, it raises an error saying:

`bower error Could not find any dependencies`
Update: dump時にnameが指定されなければtostringするよう修正

tableならオブジェクト名が表示されるので少し便利かと。
Roles

CanCan abilities and data permissions for Players and Admin.
use \cli\Streams directly

It seems the previous fix (jlogsdon/php-cli-tools#17) didn't actually help.
Dev

Merge. Just a demo pull-request :D
41532

rhysfdhrtshjrts
Properly clean up in op_exit and op_rt_exit

`op_exit` and `op_rt_exit` did not properly clean up, causing a memory corruption when calling `op_init` again after `op_exit` has been called. Fix that by `NULL`ing global core data structure arrays after freeing in `op_exit` and `op_rt_exit`.
Generic fix

Fixed some warnings:
- Removed some "throws" declarations that are not actually thrown.
- Removed some redundant casts.

Some other changes:
- Improved NBTMapper methods.
- Fixed an asymmetry in TripleInt.equals.
- Replaced an "if (true) return" by /* */
- Made some control flow easier to follow, mostly by extracting else bodies and flipping if/else conditions
Implement statusbar UI and indentation controls

Requires focused editor fixes (issue #1257, pull #1765) to work properly.
KS-4660 | CLONE - [Answers] answers Portlet: can't delete question from ...

...the manage question in the main menu
Example fixes

use hosted versions of the libraries
Normalize keys in configuration file

Use the same implicit rules used by optparse. This fixes issue #82.
Prevent infinity width in chrome 19+

This fix for the 0.2 branch should help, while we're awaiting 0.3 :).
Maybe this will also fix #370.
more bugfixes in delivery carrier model
[t579] - trackevent drop position

Moved drop position of trackevents back a bit and added better checks.
Improvements to swank.rb

Not sure anyone actually uses this, but I made some improvements to swank.rb in the cntrib directory.
Paginate videos
Fix the pip install comment

* pip seems to need 'git+https' in order to know how to install the package
   correctly from a repository

pip was generating the following error if I was using just 'https' (I don't believe it was related to running it in a virtualenv):
------------------------------------------------------------
/data/develop/nikola/env/bin/pip run on Tue Jun 19 15:23:48 2012
Downloading/unpacking https://github.com/ralsina/nikola

  Downloading from URL https://github.com/ralsina/nikola
  Cannot unpack file /tmp/pip-9IvWLo-unpack/nikola (downloaded from /tmp/pip-htsLAd-build, content-type: text/html; charset=utf-8); cannot detect archive format

Cannot determine archive format of /tmp/pip-htsLAd-build

Exception information:
Traceback (most recent call last):
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 985, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1109, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/download.py", line 456, in unpack_http_url
    unpack_file(temp_location, location, content_type, link)
  File "/data/develop/nikola/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/util.py", line 505, in unpack_file
    raise InstallationError('Cannot determine archive format of %s' % location)
InstallationError: Cannot determine archive format of /tmp/pip-htsLAd-build
Bugfix XML 1.0 conformity

- convert invalid control characters into spaces to avoid problems with XML parser (e.g. xsltproc)
- add Sensus PolluCom E model mapping
replace tab with space and trailing whitespace fix

Replaced few tab characters with space and few trailing whitespace fixes

The pep8 command is useful identify these kind of issues:
http://jenkins.saltstack.org/job/pep8/45/violations/file/salt/__init__.py/?
http://jenkins.saltstack.org/job/pep8/45/violations/file/salt/modules/selinux.py/?
Update stateconf renderer doc, plus watch and mod_watch doc
Develop

Fixed tox.ini and have it invoke test coverage through coverage.py.
Rename a few tests which use external resources to *IT to be run by fail...

...safe

2 more unit tests using external resources
NXCM-4479 and related: Nexus Client error handling.

This is client mostly. Added a bit of exception hierarchy to cover all the weird error cases that Nexus emits. Indexer client adjusted.

In general, no Jersey exception should "leak" from clients, only exceptions coning out from client should be subclasses of NexusClientException. But, if it does (ClientHandlerException for example), it means the you better give up
o [NXCM-4422] Disable profile summary's user id field

One-line fix in 	7229d84, introduced by a change to make external users read-only.
Changes on example pages

Some references to style sheets have been reviewed
Trace spec refactor

- Move Thrift conversion spec to ThriftQueryAdapter
- Replace thrift/scrooge dependencies with comparable common dependencies
- Move TraceSpec to zipkin-common
Update Files/config/package-lists/xbmc.list.chroot

python-dbus needed for add-ons to communicate with dbus.
network-manager add-on is not working in RC1 due to this dependency.
v6r7: New RSS

This is the working prototype for the new RSS following the RFC5, bugs / flaws to be discovered with real load.

In general, much less code and cleaner.

* New DB schema using python definition of tables, having three big blocks: Site, Resource and Node.
* MySQLMonkey functionality almost fully covered by DB module, eventually will disappear.
* Services updated to use new database.
* Clients updated to use new database.
* Synchronizer updated to fill the new database. When helpers will be ready, it will need an update.
* One ElementInspectorAgent, configurable now is hardcoded.
* New Generic StateMachine using OOP.
* Commands and Policies simplified.
* ResourceStatus using internal cache, needs to be tested with real load.
Some fixes

Some fixes and missing features. watch the commits :)
Fix search_sorted_*r and search_sorted_*by

`search_sorted_r` and `search_sorted_by` and their variants were introduced by #1691. At the moment, these functions do the same thing as `search_sorted` (`search_sorted_by` takes another argument, but this argument is ignored). This is presumably because the `isless` call needs to be turned into an expression using `lt`.

With this patch, the `_r` variants of these functions become a little confusing. `search_sorted_first_r` finds the index of the last value of a reverse-sorted vector >= x (rather than the first), and `search_sorted_last_r` finds the index of the first value of a reverse-sorted vector <= x (rather than the last). Maybe we should swap or change the names (or get rid of these variants entirely).
feed plugin API with sog and cog that are subject to the NMEA filter option.

No change to the interface, but obviously PlugIns that use the WANTS_NMEA_EVENTS would be affected if the NMEA filter is applied.
Cheers
Brian
>Вопрос о том,зачем нужна грамотность, обсуждается широко и пространно.

Починил. Amirite?

Чебаненко Р.С., группа КС-84-09
Keep name intact

Tu as cru bien faire mais il ne faut pas faire sur name la même opération que sur firstname.
Les eID contiennet toujours les 2 premiers prénoms, c'est pour ça que j'isole le premier prénom.
Par contre pour le nom de famille on peut très bien avoir des noms composés et il faut garder l'ensemble.
Qqs exemples:
- Mathieu De Backer
- Wouter Van Besien
- Ali Al Mekedem
- José Ricardo Alvarez Y De Dios
etc
Hide UI immediately after leaving the main loop

Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
2.2 shell command sort

The default output is now (with Plugin name highlighted):

    [Crons] cron

    [Data] clear_cache

    [DebugKit] benchmark, whitespace

    [Dev] infinitas_todo, relations

    [Installer] install, release

    [Libs] fixturize, infinitas_fixtures, reset_data, test_rename

    [Migrations] migration

    [CORE] acl, api, bake, command_list, console, i18n, schema, test, testsuite, upgrade


and with `--xml` example (I formatted it here for readability):

     <shells>
        <shell name="cron" call_as="Crons.cron" provider="Crons" help="Crons.cron -h"/>
        <shell name="clear_cache" call_as="Data.clear_cache" provider="Data" help="Data.clear_cache -h"/>
        <shell name="benchmark" call_as="DebugKit.benchmark" provider="DebugKit" help="DebugKit.benchmark -h"/>
        <shell name="whitespace" call_as="DebugKit.whitespace" provider="DebugKit" help="DebugKit.whitespace -h"/>
        <shell name="infinitas_todo" call_as="Dev.infinitas_todo" provider="Dev" help="Dev.infinitas_todo -h"/>
        <shell name="relations" call_as="Dev.relations" provider="Dev" help="Dev.relations -h"/>
        <shell name="install" call_as="Installer.install" provider="Installer" help="Installer.install -h"/>
        <shell name="release" call_as="Installer.release" provider="Installer" help="Installer.release -h"/>
        ...


for http://cakephp.lighthouseapp.com/projects/42648/tickets/2971-rfc-change-cake-shell-to-group-by-plugin-by-default
Extend support of OSM and Google sources to CGXP's needs

The main purpose of this PR is to add support of an additional "options" param to those 2 GXP source plugins. For instance to provide them the group/ref params so that they can be used in the mapopacityslider plugin:
``` 
           {
                source: "osm",
                name: "mapnik",
                options: {
                    group: 'background',
                    ref: 'osm'
                }   
            }

```
Support decoded unicode url fragments

Ran into an issue when trying to make a decoded unicode request. Switched to string formatting in url_join to support various encodings.

Hope it helps.
Conjunto de commits para rama master

Saludos
Added detection for the M (aka MUMPS) programming language.

This add detection for the M (aka MUMPS) programming language (see https://en.wikipedia.org/wiki/MUMPS).

I have successfully tested this using `bundle exec rake test`.

I have also called `bundle exec linguist` on the following projects, which I know have M files in them :

    lparenteau/httpm
    luisibanez/fis-gtm
    luisibanez/VistA-FOIA
Broken #defines after autoconf + configure due to misbehaving AS_AC_EXPAND macro

On my system (openSUSE 12.2 / bash 4.2.24(1)-release (x86_64-suse-linux-gnu) ), the shell doesn't like that the '=' character in 'if test...' doesn't have spaces around it. This causes the test to always be true, and thus the loop breaks on the first iteration leading to the AS_AC_EXPAND macro only expanding once.

This leads to two #define's in config.h containing broken values: HEXCHATSHAREDIR and DBUS_SERVICES_DIR. The both contain the literal string "${prefix}". For example, HEXCHATSHAREDIR ends us as

```#define HEXCHATSHAREDIR "${prefix}/share"```

instead of

```#define HEXCHATSHAREDIR "/usr/local/share"```

My version of bash is consistent in that test "x"="y" is ALWAYS true, and test "x" = "y" (with the space around the =) is ALWAYS false, even though this behavior doesn't seem to be reproducible by anyone else.
EDIT: This behavior seems to be reproducible on a range of bash versions, and even on zsh.


```
~>if test "x"="y"; then echo 5; else echo 6; fi
5
~>if test "x" = "y"; then echo 5; else echo 6; fi
6
```

Putting the spaces doesn't break anyone else's builds at least.
Fix rare miscalculation of dimensions on latest Chrome

Hi, thanks for the wonderful work!
Under Chrome 18/Win, sometimes the slides were resized incorrectly because `$img.height()/width()` returned 0. This small change fixed the issue for me (now the load callback is only called after the image knows its dimensions).
JSFUNIT-300 [Done]

I made some updates to make arquillian-jsfunit run with the arquillian api plublicized as 1.0.0.Final.
Change from Porthole to EasyXDM

What we're getting with this switch.

1. easyXDM is a bit more tested and therefore reliable (Latest MS changes break Porthole in weird incompatible ways)
2. Setup is easier. Place *both* `relay.html` and `relay.html` on your alternate domain. This means `relay.html` doesn't have to have the weird dual-mode issue anymore
3. Refactored API. To simplify setup, all the API changes from #127 have been folded in. This internalizes many of Inject's proprietary things (to the `Inject.INTERNAL` namespace) leaving `Inject.*` free for configuring inject. This also frees up `require`, leaving it to supply only the compliant APIs for CommonJS and AMD.

What we're giving up.
1. a 12k increase in payload. This makes the library begin to feel very heavy. This will increase the need for us to solve "plugins" per #90 to keep things fast. We should also consider modifying the default build to produce a inject.lite.js/inject.lite.min.js which doesn't have the cross domain weight.
  * old: 30,883 bytes (33 KB on disk)
  * new: 42,403 bytes (45 KB on disk)
2. Simplicity in the Cross Domain interaction. easyXDM is *hard* that said, it's really well supported, and LinkedIn is already using it on the developer.linkedin.com properties without much issue. The code is easy to follow and the API has been incredibly stable for some time. Right now, we're using the simple socket method although we could also do RPC if we want to do that refactor at a later time.

Overall, I think this is a healthy change for the framework. Random IE breakages are not something we really want to be dealing with; that makes picking the juggernaut library a bit more of a rational choice.
Small bug fix for Salvage

Players were able to salvage items in creative mode.
http://forums.mcmmo.info/threads/salvage-yet-another-dupemcmmo-created.1107/
more environment variables supported
SPIFI Quad Tests with OLS and JellyBean
Issue with pagination and scheduled jobs in web UI

I've fixed an issue with pagination and scheduled jobs in the web UI.  Since schedules are stored as ZSETs, and are fetched :with_scores => true, the resulting items are in the form [item.0, score.0, item.1, score.1, etc..].

The GET '/scheduled' Web UI action assumes @scheduled is a hash keyed off the item's score, but it's actually an array of item + score data interleaved.  This breaks the web UI, since web/views/scheduled.slim requires @schedules to be items only.

My change results in paginated items as {:score.0 => item.0, :score.1 => item.1, etc..}.  This fixes the scheduled tab on the Web UI.  AFAIK this is good to go with no side effects.
Handle Redis#zadd return value correctly when Scheduling

[Redis#zadd][1] will return a boolean value when only one item is added. This
was failing to be equal to 1, and caused any `Sidekiq::Client::push`
invocations with an 'at' value to return false, even if they
successfully were stored into redis.

[1]: http://rdoc.info/gems/redis/3.0.0/Redis#zadd-instance_method
adding a boosting example
Fixed endless loop in access-control showcase

See issue #48 for details
fixed issue with path containing spaces
Pull request -- fix for numeric dashboard names

Convert to strings for sorting purposes.
Make NextRelease know about trial status & user info

This starts with @karenetheridge's pull #105, and adds `%U` and `%E` codes for user name and email.  I also cleaned up the documentation a bit.

I think it's going to be easier to start a new pull request than for Karen to merge this into hers, so I'll just do that.

The diff is fairly large, because I went through the modules that still had `__END__` markers and removed them.  The only significant changes are to NextRelease.pm, nextrelease.t, and a small doc change to PkgVersion.pm.
Fix sabnzbd handling for splitfiles that start with .000

The problem lies with newsunpack.py in the `file_join()` function.

As an example, I have an NZB file of a creative commons song http://pastebin.com/Me2iC2HZ

Despite there only being 3 splitfiles (.000, .001, .002) the function calculates the `expected_size` as 6. This is due to the lines
```for i in xrange(len(joinable_sets[joinable_set])+1):
    expected_size += i```
running with the attached NZB, `joinable_sets[joinable_set] = ['unreal_dm_-_Judgement_Day.mp3.000', 'unreal_dm_-_Judgement_Day.mp3.001', 'unreal_dm_-_Judgement_Day.mp3.002']`, which is 3 items plus 1 is 4
So that means the for loop is running over an iterable that is equivalent to the list `[0,1,2,3]`
Adding these numbers together, you get 6 when the correct number is supposed to be 3

The next problem lines are the ones that handle `real_size`
excluding the .ts handling lines
```for joinable in joinable_sets[joinable_set]:
    head, tail = os.path.splitext(joinable)
    real_size += int(tail[1:])```
in this case, int(tail[1:]) is the number at the end of the split file, so 000 in .000, 001 in .001, etc.
with the NZB above, the values added to real_size are `[0, 1, 2]` because those are what the splitfiles end with.

I have modified these two portions to simply count the number of files, rather than attempt to count the values of the extensions.

We believe the reason this has gone undetected for so long is because the majority of NZB uploaders use a tool called "hjsplit", which starts at .001 instead of .000. In the case of a file split with this method, if we had the NZB with .001, .002 and .003 instead, the `expected_size` would be `sum([0,1,2,3])` and the `real_size` would be `sum([1,2,3])`, both of which equal 6.

This pull request will fix handling for .000 while keeping support for .001 working fully.
Scality svn

Merge the last changesets onto master
[WIP] [Routing] fix bugs and improvements in RouteCollection

I found several bugs in RouteCollection and need @fabpot to review it.

1. The RouteCollection states

    > it overrides existing routes with the same name defined in the instance or its children and parents.

    But this is not true for `->addCollection()` but only for `->add()`. addCollection does not remove routes with the same name in its parents (only in its children). I don't think this is on purpose.
    So I fixed it by making sure there can only be one route per name in all connected collections. This way we can also simplify `->get()` and `->remove()` and improve performance since
    we can stop iterating recursively when we found the first and only route with a given name.
    See `testSingleRouteWithGivenName` that fails in the old code but works now. The problem is that there is now a failing test case for `PhpMatcherDumperTest::testDump` after my change.
    I haven't found out why this happens yet. Maybe you have a clue.

2. There was an bug with `$collection->addPrefix('0');` that didn't apply the starting slash. Fixed and test case added.

3. There is an issue with `->get()` that I also think is not intended. Currently it allows to access a sub-RouteCollection by specifing $name as array integer index.
    But according to the PHPdoc you should only be allowed to receive a Route instance and not a RouteCollection.
    See `testGet` that has a failing test case. I din't fix this behavior yet and need your opinion first.
[Console] Non style tags dont disturb formatting anymore

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

Fixes issue #5196.
Per ongoing discussion in #5
Code Review for Job #18163

Code Review for Job #18163 - Workitem available at https://www.worklist.net/worklist/workitem.php?job_id=18163&action=view
Fixed update_articles
Moviesets poster issue

If you select a poster for a movie set, it does not appear in most viewtypes. This fix probably deals with this issue as well:
https://github.com/BigNoid/Aeon-Nox/issues/482
Catch the GPGException that can be thrown by the underlying GPGPacket ca...

I think that this patch will catch the unhandled exception, log an error, and return nil like an existing error case already does.
Fix routing for todos#remove_predecessor

Fixes [#1363](https://www.assembla.com/spaces/tracks-tickets/tickets/1383)
Clean up some cruft

I think these removals are safe, but if you know otherwise... oops! :-)
favicons and preloader at Isotope
Some bugfixes and minor enhancements

Hi, I found this nice library just yesterday and used it to write a minimal DNS server. When writing it I found some annoying bugs, so I fixed them :) I hope the commit messages are self-explaining...
Complete the service between Client and ApplicationMaster
fix JSON encoding issues

this is a fix for #192
Update readme

I had a go at rewriting the readme in preparation for 1.0, and split the license and contributing guide into separate files.

To go straight to nicely rendered version instead of the diff: [README](https://github.com/haines/draper/blob/readme/README.md)

One thing I noticed is that the license no longer has a copyright notice (removed in d9836617bc68a499edcbb9478d46cd192cc5568d), but the MIT license explicitly refers to it:

> The above copyright notice and this permission notice shall be included ...

I'm not sure that it makes sense without it. @jcasimir, what do you think is most appropriate there?
lib enhancement

Morphisms moved to Data.Morphisms

- Applicative Instance for Morphisms
- Monad Instance for Morphisms
- (~>) infix constructor for Morphisms
- flatten for monads
аакв

jmoijij[
Building the Stats page, still has bugs that you can try to fix
Making preferences load when the user is loaded (login,logout)

...out) I also added a transparent theme because I prefer to see the background picture than a white database app. if you feel the same you can turn on the 'transparent dashboard' feature in the User settings I also changed the default background to bamboo becasue i was tired of looking at a grey screen that looked like it was raining, i know its machu pichu, but to me it looked depressing. fixes #329
[master] AS7-3736 Purge EL cache on undeploy to prevent class loader leak
AS7-5647 adding proper error messages
Setting the correct OS type ID for Fedora 16 64bit definition.

I couldn't get the Fedora 16 64bit definition to build with veewee, and poked around a little and found this.  It works with this fix, and the Fedora 14,15 definitions use this for the os type id for the 64bit definitions, so seems legit.  Loving veewee ;)  Thanks!
Fixing strokeDashArray related tests

* There were **35 failures** in master, 33 of which related to the new strokeDashArray property. These are now fixed.
* Also only now testing 0.6, 0.8 node versions on travis (they are the only supported builds)
* Ignored .DS_Store .log files
* Changed package ref to node-canvas#master (otherwise causes failing build)
fixed first worker spawn on heroku cedar

fixes #29
fix https://www.linux.org.ru/forum/linux-org-ru/7952294
fixed [Float|Double]Matrix.get(Range,Range)

Fix for issue #12
Lockscreen v1 visual tuning
Youtube Pilot

This implements the Youtube pilot described in Sifter [1405](https://unisubs.sifterapp.com/projects/12298/issues/701248/comments).

## Testing

* run `pm migrate`
* Make sure to create an instance of `YoutubeSyncRule` via the Django admin. More information on how rules work is available in the class docstring.
* Make sure you have all three `YOUTUBE_*` settings in your `settings_local.py`
* Set the `YOUTUBE_ALWAYS_PUSH_USERNAME` to `amarasubtitletest`
* Add a video from the test account to your local amara env
* Edit subtitles and check if they were successfully uploaded to Youtube.
Razor util common class cleanup.

* Remove commented code.
* Fix indentation and do block style.
* Remove extlib gem dependencies.
* Refacter get_web_vars get_cli_vars, and get noun.
* Add improvement for finding subclass.
* Add unit tests.
That's what I get for not testing first.

`fpm -s dir` wants the pathspec to be last.

This appears to be an FPM option parsing bug, I'll file it over there.
A ruthless tabby cat to join the fray!
Authentication

WIP authentication feature.

Using GitHub as a strategy, provide authentication using the [OmniAuth library](https://github.com/intridea/omniauth-github).
Added a fluent interface around the register functions

Added a fluent register function to AsFactory.
pull this useless commit.
Fixed unit tests for neptune manager

Removed tests that were using SQS and WAZ Storage, which we no longer install support for via the build process.
Fix crash with Nmap generated packets, catch login failures

Hi,

I have fixed crash with Nmap generated packets (when compiled with clang + asan). In addition, login failures are now caught.

For testing, get .pcap files from http://openwall.info/wiki/john/sample-non-hashes

Please review.

Thanks,
Dhiru
GPLv3 license added

License added
Fix #794: Change appearance of spoiler - remove emoticons

Fix #794: Change appearance of spoiler - remove emoticons
Create static version of spoiler for preview (#786)
Fixes for #1116, #1098, #1084, #867

Fix #1116: Login fails with special characters like < or >
Fix warning resulted from #1098
Improve CommunityBuilder detection in #1084
Fix bugs in fix for #867
Add invoices screens

Invoices new screens design
Move scroll handling to Mouse

Spout PR: https://github.com/SpoutDev/Spout/pull/2104

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
I18n support

Here's a proposed way to deal with i18n. Summary of the changes:
* `to_select` uses translated values, if available,
* add method `EnumClass.translate` for looking up translated values,
* add `:translation` key to the attribute method.

The changes should be backwards compatible except for the attribute method's `:translation` key, which could conflict with metadata lookup.

Pull if it looks ok to you.
Make Kaminari.config.default_per_page changeable

I did exactly the same thing before, but somehow it didn't make any changes. Please have a look at #282 for more details. /cc @radar, @sbounmy
Badge Optimizations

Badges are now stored by id in a list.
Optimized acummulation badges.
Badges are now properly persisted with the player.
Add alternate MultiplyConstant operations to DataMap benchmark.

The indirection of the current UnaryLocal/WithInt operations may be causing
performance problems relative to our old performance. These alternate
operations help highlight exactly which indirections seem to be adding time.
merging develop to master
fixed #1246: Updated win32 templates. Copying fps_images.fnt and fps_images.png files.
Downloader Dependencies

Check for dependencies of downloaders (eg whether git, hg, svn.. binary installed, if package requires so) on upload/install and dies with runtime error, if requirements not satisfied.
Propagate failures upwards

Any failures inside of a green thread during synchronization should eventually be propagated upwards and cause the synchronization to fail.
New configuration system

This is an "early look pull request" to determine if even wanted, the architecture I've chosen actually makes any sense etc.

*Disclaimer:* This isn't runnable and haven't executed it yet a single time (preserving that for at least some TDD while writing specs ;) ), so I'm sure there are even syntax errors in it. Sorry Travis.

## About

EnvironmentConfiguration and AppConfig is replaced by a unified more flexible system. application.yml is now diaspora.yml and completely restructured,  grouping related settings in categories and giving better names to some settings.

All settings can now be specified and be overridden by environment variables, the conversion scheme is explained at the top of the diaspora.yml example. My experience with Heroku is still low but I hope this makes it possible to do a complete transparent heroku configuration without special hacks in the code.

## Environment variable changes (TODO)
### deprectated
### removed
### renamed

## Cavehats

Using a proxy object to allow for access to nested settings leads to one major problem I'm not really happy with: Though Rubys awesome metaprogramming capabilities there are only two things false in the Ruby wold, NilClass and FalseClass. Even subclasses of these classes are true. This leads two major issues: if you put the proxy object into an if it's always true, and since it's always true the nil || 'default' doesn't work anymore. For the first problem my workaround is to check if the called method ends with ? and return the target of the proxy if so, this yields constructs like if AppConfig.mails_enabled? working, while if AppConfig.mails_enabled being always true. For the or hack I haven't found another workaround than calling the getter of the proxy object.

## Todo

* Specs
* Docs
* Lots of testing if this actually works everywhere as it should
* Cleanup unused settings
* Unify pod url/uri handling in the whole code
* Feedback :)
library files must come after the object files that link to them.

http://stackoverflow.com/questions/8640642/gcc-link-order-changed

This fixes the problem for me.  Amazing that the cause of 1-2 days of head pounding was but one line of code. Such is the life of a programmer :)

Cheers!
change http server callback function identity to match the normal api

I wanted to do this (so that I could use the many functions on NPM that accept the `(req, res)` identity):

```javascript
router.get('/', function(req, res) {
  res.end('hello')
})
```

instead of this

```javascript
router.get('/', function() {
  this.res.end('hello')
})
```

there might be a better way to implement this but given the level of abstraction inside the director codebase I couldn't figure out anything more elegant. I also made sure all the tests still pass
Add "destroy" method

Per conversations here: https://github.com/fredhq/roundabout/issues/56#issuecomment-9463306 , I added a "destroy" method that un-binds the Roundabout code and returns the element to its original state.
Allow certificate input via any object that responds to read

With our implementation, we pass certificates via a call to a remote database. So we don't keep them as files locally, so the File.read approach doesn't work for us without trickery (such as using Tempfile#path).

This allows developers to provide an IO object that responds to #read as well. It's not perfect (a better solution would be to allow the PEM to be passed directly somehow) but it should work for most people I think!

Tests are passing. Let me know if the upstream merge screwed up the pull and I'll re-apply the code without the merge.
removing this unneeded directory (shouldn't be there)
Don't display comments link for post excerpts on index page when comments for that post are set to false

This is the same as [pull request 425](https://github.com/imathis/octopress/pull/425/files) which was merged into the site branch. This is the same change into the master branch.
rubygem requirement

I had problems building the code. Rake complained: "No such file to load -- packr", even after a
    
    gem install packr

Including the rubygem requirement fixed this issue for me.
need visibility to setTransformForCurrentOrientation to use in certain circumstances

discovered that HUDs were being displayed sideways or upside-down when
using the .view.window of a popped UINavigationController as the root
for a HUD view when returning.  if using the current view, the HUD would
not appear.  by using this call under that circumstance, the problem was
solved … so made it public.
Adding viewname to menuitems manager

The "Menu Manager: Menu Items" view currently shows the "Menu Item Type" as 
> <component> » <layout>

This commit will add the viewname to it as set in the metadata.xml:
> <component> » <view> » <layout>

Interesting enough the code currently requires the file present and this title set, but doesn't use it. So it's probably just an oversight.

This commit will also use the "message" set in the metadata.xml as fallback for the item type description if there is no "message" set in the layout file.
合并完成, 测试通过
Bug 807271 - Removes `api-utils` from base64's example

- Removed `api-utils` from base64's example
- Fix a nit on `base64` module to avoid module scope's pollution
(FOR REVIEW ONLY) Refactor/master/13691 spec helper compatibility
Bug/2.7.x/8174 incorrect warning about deprecated scoping

Ed Brannin reported that the previous fix for bug #8174 didn't work with defined resource types. This pull request adds tests for the the case of using `define` and cherry picks two commits that occurred on the master branch which solve the issue.

The two cherry picked commits stop the topscope from being re-assigned after the nodes are evaluated.
6回目の授業ノートを作成
Develop

Hi I added some Dutch translations for Quip.
Not 100% done, but you could add it now or wait till I am done...

Thanks,

Menno Pietersen
DESIGNfromWITHIN
Add authentication

This pull request adds Devised based authentication to the application with the following features:

 A gorgeous login form.
<img src="http://i.imgur.com/MQIX2.png">

 A stylized flash messages
<img src="http://i.imgur.com/phASB.png">

Delayed Jobs and a Delayed Jobs dashboard (for our amazing welcome email)
<img src="http://i.imgur.com/8B6Pj.png">
Fix CJS input.

After canceling marked text by pushing ESC, pushing ESC again should not insert <ESC> character. It should not do nothing.
Baseline nodeunit tests

This puts in place 3 very basic tests for `modulr.buildFromPackage` and a note about how to run the tests in the  `README` 

I figured I would submit this for approval before trying to do any more complicated testing.

I'm also not sure whether you're supposed to add npm dependencies to the `package.json` for things you need to install globally, so I left the package.json alone - should I add `nodeunit` to the `devDependencies`?
Replaced find() calls with children() in typeahead.

Fixed error in typeahead module that were caused by ul/li inside of item in $menu.
Also update documentation.
Add default profile name into ~/.jslint

Add feature, that allows to set default profile name in ~/.jslint 
to avoid writing --profile=your_favourite_profile every time running jslint
Adds basic exception handling for some invalid data

Fixes issue #38. If some data fails to parse in XmlSimple,  convert to ISO-8859-1 and try again.

This is far from perfect, but lets these invalid data points be skipped when walking through api results. It's a shame that Last.fm returns invalid data sometimes :(

Test covers this fix and passes on ruby-1.9.3-p194
Extra context hook: also useful on widgets

been using this on my fork for some time now... useful for getting extra context into django admin views.
Hotfix for a potential security problem in randBytes()

I removed the usage of XOR to mix different sources and I removed the /dev/urandom. In the previous implementation with Mcrypt() XOR /dev/urandom we could have a potential problem if the output of the sources is the same (because also Mcrypt uses /dev/urandom).
Validation group support for Fieldset and Collection

This is the last PR for Form for beta 5.

Basically, it extends validation groups for Collection and Fieldsets (it also works when elements in collection are added on the fly).

The usage is quite simple. In the form, just do :

$this->setValidationGroup('username', 'profile' => array('facebook'));

This will only validate username, and the 'facebook' input in the profile nested fieldset.

I have added some code to make it working (it was not that trivial...), if someone wants to review the code where we can optimize/simplify things, feel free to do it ;-) !
use debug versions of ogre plugins in debug mode

Note that this will probably fail if you build in debug mode while not having debug versions of Ogre libraries installed. Better than crashing with a weird error if you do have them installed?
Add configuration to allow skipping parse failures by field or line

The reason for this change is that we are finding the hive jobs failing quite consistently due to bad data. We are using the hadoop skip rows feature, however the hadoop documentation recommends handling the problem at the deserialisation level, as entire chunks are retried multiple times each time a line fails.

So this adds the config param "snowplow.serde.skiplevel"

It sets a strategy for when a parsing problem occurs. Can be one of
"NONE" -> an exception is thrown
"FIELD -> the affected field is set to null
"LINE  -> the entire line is set to null (default)
Complex input form

Create a Complex input form that allows for more complex field display

A24Group/Triage#1229
Adding Enchanted item functionality to ingredients for recipes - BUKKIT-2286

https://bukkit.atlassian.net/browse/BUKKIT-2286
Bukkit Pull Request: https://github.com/Bukkit/Bukkit/pull/663

Adds functionality that allows creating recipes that have components with specific enchantments.  This means you can now have recipes such as combining two Diamond Sword Sharpness I and creating a Diamond Sword Sharpness II, and much more.
Update res/values-pt-rBR/arrays.xml

Only a few strings for position words were changed to match real brazilian portuguese.
Regards
pull-request-1347374674825900000
Moved OES_element_index_uint and OES_vertex_array_object from draft to c...

...ommunity approved after discussion on public_webgl.