labofsahil/github-event-dataset-2012 huggingface dataset:
Show images in Racket's REPL

This patch adds support for displaying ([convertible?](http://docs.racket-lang.org/file/convertible.html?q=file/convertible)) values as images right in the Geiser REPL.

This is still pretty rough, so feedback welcome!

![Screenshot](http://i.imgur.com/lxeV8.png)

This works for many types:
- Bitmaps

```scheme
(require racket/draw)
(make-object bitmap% "filename.png")
```
- Picts

```scheme
(require slideshow/pict)
(disk 100)
```

- Plots

```scheme
#lang racket
(require plot)
(plot (function sin 0 pi))
```

- Any `convertible?` object

Implementation
------------------
From the racket side, a custom `current-print` handler determines whether evaluated values are `convertible?` and, if so, prints them like: `#<Image: /var/tmp/filename.png>`

From the Geiser side, a comint output hook:

- Scans for lines containing that regexp
- Parses the filename
- Loads the given image into memory
- Deletes the temporary image from disk
- Displays the image in the REPL

For non-TTY emacs users, geiser remembers the previously seen image. You can invoke the system image viewer on a temporary image with M-x `geiser-view-last-image`.

Settings and commands
--------
- `geiser-repl-inline-images`: If t, displays inline images
- `geiser-system-image-viewer`: Which program to invoke (default: "display", from the imagemagick package)
- `M-x geiser-view-last-image`: Writes the last seen image's contents to a temporary file, runs `geiser-system-image-viewer`, and registers a sentinel that deletes the temp file when the user exits the viewer.

Patch shortcomings:
-----------------------------
- My elisp isn't great; beware of bugs!
- There's no documentation
- `geiser-eval` and friends don't display temporary images; this only affects the REPL
- The following should work but doesn't because the "outermost" returned value is not convertible to a picture:

```scheme
#lang racket
(require slideshow/pict)
(list (disk 10) (disk 20) (disk 30))
```

- Right now, emacs keeps the last displayed image data in memory so it can create a new temporary file to invoke external viewers. This may cause problematic memory usage.
- Untested on anything but Linux

Feedback is more than welcome.

I hereby assign copyright of this patch and its contents to the Geiser developers.
Fix hardfloat detection in Linux

gcc has a builtin define to denote hard abi when in use, e.g. when
using -mfloat-abi=hard it will define __ARM_PCS_VFP to 1 and therefore
we should check that to determine which calling convention is in use
and not __VFP_FP__ which merely indicates presence of VFP unit

The fix has been provided by Khem Raj <raj.khem@gmail.com>
Modification to fs core module

Hi,

For some reason, fs.existsSync wasn't working for me, I didn't find the problem, maybe a misuse on my part, but when I looked at the code, I noticed that it was using a call to fs.stat, and returning true/false based on whether or not this threw an error because the path didn't exist.

Changing from stat to lstatSync made the function work again, but it seemed to me unecessarily expensive to base the function off of throwing an error so I added a simple exists method in c++ that returns true/false based on a call to open. The existing async call is left alone, as I only needed the sync version and was a bit unsure how to implement the async version, but I will look into that. I wrote a little test in the test directory to make sure it works, and have been using it locally so far.

If you'd like to pull it, or make some suggestions how I could better do it the Node way, i'd be happy to refactor it.

Cheers,
/Jason Knight
net: Prevent property access throws during close

Fix #3455.

The remoteAddress and remotePort properties are dynamically retrieved from _getpeername().

While _getpeername() checks if the _handle is null, it is also possible for the tcp_wrapped _handle.getpeername() to return null on error.

Such a condition happens when the remote closes and one of these properties is accessed before _handle is set to null.
tls: fix CryptoStream.setKeepAlive()

It may be left after copy  & paste of setDelay() in 78db18739a740851b9800071a7fae0c734a915ce
I could not come across how to test this fix and confirm TCP keep-alive working well within node.
I checked test/simple/test-https-socket-options.js and test/simple/test-net-keepalive.js but they seemed not to be good for testing TCP keep-alive.
Windows realpath

Now that fs.lstat works on windows properly with symbolic links and junctions, expose fs.realpath and make it work for Windows as well.
DocumentStartEvent expects "explicit" but we are passing implicit, so invert the flag

The [DocumentStartEvent](http://snakeyamlrepo.appspot.com/releases/1.10/site/apidocs/org/yaml/snakeyaml/events/DocumentStartEvent.html) expects the flag to indicate if the document is *explicit*, yet the flag we're passing indicates *implicit*.  We should not the flag before passing to the constructor.
annotation bugfix

see commit message
Support for SSH servers running on non-standard ports

Running an ssh server on a non-standard port makes the mosh script no good currently. This is a simple patch that adds the -P switch to specify the port your ssh server runs on.
configure.ac: Fix protoc check

`AC_MSG_ERROR` inside the variable assignment doesn't work properly.  We get output like

    checking for protoc... ./configure: line 4524: is: command not found
    no

and then the build continues (and fails) with `PROTOC=""`.
Improve zooming and panning

Fix problems when zooming and panning a time series which can also be stretched or compressed: Pinning the graph would not also pin the axes. Modifying the x-scale would lead to strange effects since the data structure was unintentionally shared.
Set a limited number of retry in standalone deploy mode.

It took Denny and me 2 hrs today to figure out I had the wrong scala home set and the test (which uses the standalone cluster) goes into infinite retry and everything just hangs.

This commit limits the number of retries allowed.
Rose.task utils.fcm make.cfg

@benfitzpatrick please review.
rosie.db: search keys change

This addresses metomi/rose#75 - changing the `rosie create` template and including new metadata for it.

`issue-list` is now included by default
`sub-project` is available
`project` is now allowed to be blank (@dpmatthews) 

Info and help dialogs launched within the `rosie go` create wizard are fixed (modality issue).

@matthewrmshin, please review.
TTBaseNavigator: Comment out this code, it crashes on 3.1.3

The notification is only used for navigation persistence stuff,
which we aren't using.
graph sidepanel width

see screenshot about it
http://i46.tinypic.com/2607mh2.png
Add Test Cases (Literals, Enumerable, Exceptions, misc)

This patch contains:
  - some first test cases for Literals
  - all missing Enumerable test cases
  - some more Exception test cases
  - some small cleanups for existing test cases
Added support for functions in gravy hash values

nice
PresenterComponent: Moved monitor out from the constructor

PresenterComponent: Moved monitor out from the constructor so it's not possible to accidentally override constructor and not call its ancestor.

This sometimes caused severe headaches to those (include myself) who overriden constructor and forgave to call its ancestor, because in that case no error is raised, instead component just does not work properly.
Enh/fs example
Update src/coreapps/switch/switch.cc

This will keep changes in MAC tables during application live.
BF - 2074 Fixed shuffle

Takes into account different types of items being in array.

This may be a bad idea though because it adds alot of operations to shuffle, meaby adding an extra parameter that tells shuffle the type of all of the times in the array is the same would be a good idea?
added functions to unregister and tear down all registered subviews
Fix minilib generation on Windows

With this change, the minilib generation no longer produces corrupt zip files on Windows.
Hello World App

Thank you very much for your assistance.
slove issues #146

https://github.com/pgina/pgina/issues/146

free memory before throw exception.
Add a timestamp to the mail log

This patch is loosely based on the one in bug #52126 but instead of using a UNIX timestamp it uses the date format also being used by error_log et al.
Improved data type Inet.c

Added "unsigned" & "short" to Inet.c function.
Remove built-in server's useless functions

I've noticed those two function no longer needed when sending error page. and it use output buffer. so manually buffer capturing is useless. so I made this pull request.

@laruence will you take a look at this too?

Thank you.
Make SIPTransfer (deflect) work for outbound calls
fix .travis.yml syntax

the `irc` key can't have both a hash and array syntax. using a nested `channels` key should fix this
Adds support to defining an alias to a task.

Example:
  task Task_With_Descriptive_Name -alias twdn {}

By doing that I can now call .\psake.ps1 twdn and have the
Task_With_Descriptive_Name executed
Windowtabs

This is a crude implementation on window tabs a-la Awesome.

All window names in the current screen.group are written with the usual status indicator, the currently selected window is highlighted with angle braces.  The window separator and selected window characters can be configured.

TODO:
adjust name lengths to fit all on the bar if necessary.
fixes duplicate migration in 241 and moves to using railties for migration installation
Reducing ActiveSupport::Cache::FILENAME_MAX_SIZE to 116 to support ecryptfs

I have just tried to run rake within rails/activesupport (on master)

That generated

    Errno::ENAMETOOLONG: File name too long - /home/jarl/projects/rails/activesupport/tmp_cache/5F0/AEA/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:205:in `each'
        /home/jarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache/file_store.rb:161:in `ensure_cache_path'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache/file_store.rb:90:in `write_entry'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:140:in `write_entry'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache.rb:368:in `block in write'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache.rb:525:in `instrument'
        /home/jarl/projects/rails/activesupport/lib/active_support/cache.rb:366:in `write'
        /home/jarl/projects/rails/activesupport/test/caching_test.rb:384:in `test_really_long_keys'

I googled a bit and discovered that ecryptfs has a much lower limitation on filename length (approximately 143 characters): http://unix.stackexchange.com/a/32834

That basically means that running a rails app on an ecryptfs will
fail in a situation where the key is rather long.

If rails is supported on ecryptfs the
`ActiveSupport::Cache::FILENAME_MAX_SIZE` must be reduced to 116
#becomes works with configured inheritance_column

This is a patch for #7503

I had to create a new table and a model since the current STI models all relied on `type` and it was important for this issue not to have a field named `type`
Documentation fix in options_for_select helper. 

Fixed display errors caused by mixing Ruby and HTML code inside the same pre tag.

This error can be seen in http://api.rubyonrails.com searching `options_for_select`. The example code snippets mix HTML and Ruby code, which causes the closing `option` tags not to display correctly. I've fixed this by converting the HTML code to Ruby comments.
Guide update for Async ActionMailer
Removing to_shorthand to fix #6497

When using shortcut routes inside an engine the "to_shorthand" variable
is set to true, causing the module scope of the route to not be applied.
Removed warnings.

1. Change in test name as already defined.
2. ambiguous first argument; put parentheses or 
even spaces
Some refactor for association.

I'm tackling #5663.
And I think some coding problems are existed on associations (redundant / class hierarchy of methods...).
This PR fix some problems.
Please review it :)
Respect absolute paths in compute_source_path.

When using compute_source_path to determine the full path of an
asset, if our source begins with '/', we don't want to include
the directory. Examples are illustrative:

```
compute_source_path("foo", "stylesheets", "css")
# => "/Users/steve/src/my_app/public/stylesheets/foo.css"
compute_source_path("/foo", "stylesheets", "css")
# => "/Users/steve/src/my_app/public/foo.css"
````

Before this patch, the second example would return the same as the
first.

Fixes #5680.

If this is accepted, I will also backport to 3.2.
Fix warning: method redine. Testcase name are duplicated.

When executing rails own testcases, I found new warnings.
I think that it introduced since 9fa3f102813eeeec440abd75870dfa7b23835665, because testcase name are duplicated.
Version bump for begining of the sprint
Update app/Resources/doc/manual-de-usuario/Contents/etl.md

actualizar texto sobre catalogos
it will be good
Simplifying API and adding lots of documentation

After talking with Jihoon and @benersuay this week, I realized there were some complexities with the ros.js API that would just cause confusion down the line. The main issue was retrieving the message type and service definitions from the server.

Before these revision, a call to `getMessageTypes` or `getServiceTypes` was required before being able to publish, subscribe, or call a service. While nice to get the definition of a message or a service from the server, the extra step and putting everything inside a callback caused confusion.

These revisions remove those calls so publishing and subscribing and calling services requires fewer extra steps and lines of code. Ros.js is also 33% fewer LOC.

This pull request also contains *LOTS* of documentation. The README.md, ros.js, and example.js all have comments.
Free text

First pass at the free text parser, required for launching wtftz.com.
Fix for SI-5717, crash in GenASM.

If there is a file in the way when generating classfiles,
remove it and proceed. If you had wanted to keep it, you
wouldn't have left it lying around in an output directory
with a name which stands between you and the filesystem.

This is too difficult to write a test for under partest.
tests for idempotency issues in the typechecker

For more details see https://issues.scala-lang.org/browse/SI-5464.

Check files are intentionally very precise, so that we can monitor
how the situation changes over time.
virtpatmat-related fixes to get the IDE to build
SI-6258 Reject partial funs with undefined param types

This regressed with virtpatmat.

With -Xoldpatmat, pattern matching anonymous functions with
an expected type of PartialFunction[A, B] are translated to
a Function tree, and typed by typedFunction, which issues an
error of the parameter types are not fully defined.

This commit adds the same check to MatchFunTyper.

It doesn't plug the hole in RefChecks#validateVariance (which is
reminiscent of SI-3577.) Seems to me that in general one should handle:
  a) both BoundedWildcardType and WildcardType
     when in a place that can be called during inference, or
  b) neither otherwise

I'm submitting to 2.10.x seeing as it's a regression and the fix is trivial.

Review by @paulp
Extract compiler

Review by @VladUreche.
SI-6809 Forbids deprecated case class definitions without parameter list

This has been deprecated since at least 2.7.7, so it should be good to go.
With -Yno-generic-signatures, exit GenASM.getGenericSignature early

This allows using -Yno-generic-signatures as a workaround for SI-4365.

also changed line endings in GenASM to Unix.

review by @magarciaEPFL
On --grep, partest must dir.list to descend into subdirs (fixes SI-6296)

In addition, always use UTF-8 when reading test files (and not default),
since some tests exercise UTF-8.

Also, quote "$JAVACMD" and convert it (and $JAVA_HOME) for cygwin, where
$JAVACMD is likely to include a space.

Review by @paulp or @axel22
Patches for Windows

Hi, 

I think this is reached to the following baseline for Shoes 3.1.

- include Ruby 1.9.3p125
- use old rubyinstaller and old dependencies
- no video support
- make all shoes/samples available (except simple-video.rb)
Allow payment method to control auto_capture?

Some gateways (ex. samurai, eway, stripe) only support purchase, not
auth/capture.

This allows those gateways to override auto_capture? and coexist with other payment methods not using auto_capture. Also eliminates the required configuration for those payment methods.
Add missing equal sign for admin_shipping_method_form_availability_field...

Shipping methods form in admin was missing an equal sign on a data-hook which prevents deface rule from applying.
Undefined local method or variable `last_response'

I get this error after pulling the latest code from master.
The problem is the ```defined?``` call in spec_watcher always returns false.
Stats probability uneval

Changed kwargs.get to kwargs.pop in probability method

Previously we sent the evaluate keyword downstream to Integral which caused an error. 

Now we pop it off of kwargs instead of getting it.
declare a base class for all actions

Takamiya-san

This pull-request adds a base action action class with some refactoring.

Kind regards

Nick
fix for issue19 (Javascript error in arrow_selenium)

...ser sessions found, also expanded the help to clarify use of --open
Small doc fix to clarify how to use parameterized named scopes
TranslationsCommand: typos in docblocks.
Incorrect object field reference in DBObject

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Tests pass: yes
Fixes tickets: #494
References: 
License of the code: LGPLv3+
Documentation PR:
Todo:
Initial syslog support in XRDP

log.c and log.h are now common for all processes. Logs are sent to debug screen and to syslog. The API for logging is changed.
Update features-json/sql-storage.json

IE10 doesn't have support for WebSQL either
ScoobiApp changes

Fixes issue #109
Update the Japanese translations
Just testing request's))

I just chaned text)
Just for fun)
Address issues with discontinuous rendering

This branch fixes the following issues with rendering:

issue #1: Discontinuous data sources that were rendered without other data were not emitting null data in unknown portions.
issue #15: Discontinuous portions were not being handled correctly by tooltips and guidedots.
Avoid losing already set arguments on identify.

When we exec identify, we don't want to lose the options set for the other commands that will come after identify.

This should fix autoOrient (calls orientation, which in turn execs identify) acting up as in #99
Save interactive console commands to persistent history

This pull request is to cover a new feature allowing commands history in the console to be persisted. There is a limit (configurable in the Interactive Console preferences) that defaults to 1000 entries, and the command history window (accessed with PageUp) now has a Clear History option.
@dblock: Attempt to fix build by top-namespacing class reference

Not sure if this will actually fix the issue, or why it's consistently failing on Travis. I can't reproduce locally in any environment, even on fresh gemsets.
Added Repeat component.

Just a simple repeater component. I've needed this to get subgraphs to work properly in some cases.
Compile subgraphs into parent graphs before executing

My other two outstanding pull requests (#40, #41) deal with subgraphs. They have always felt like unsafe patches to me, but I think I finally got a cleaner solution to it, but it does change the API so I really look forward to some input.

I figured that the problems that I've been encountering is due to the fact that subgraphs are initialized *after* the parent graph is set up and ready to send IPs. This solution involves pre-compiling the sub-graphs directly into the parent graph (and do so recursively) before executing the graph.

So, in this completely trivial example:
```
# abc.fbp
'group' -> GROUP Group(Group)
Merge(Merge) OUT -> IN Group() OUT -> IN Split(Split)
```
```
# def.fbp
'abc.fbp' -> GRAPH A(Graph)
Merge(Merge) OUT -> IN A.Merge()
```
```
# main.fbp
'def.fbp' -> GRAPH A(Graph)
'initial' -> IN Merge(Merge) OUT -> IN A.Merge()
A.A.Split() OUT -> IN Output(Output)
```
This would yield (invisible to the programmer):
```
'group' -> GROUP A.A.Group(Group)
A.A.Merge(Merge) OUT -> IN A.A.Group() OUT -> IN A.A.Split(Split)

A.Merge(Merge) OUT -> IN A.A.Merge()

'initial' -> IN Merge(Merge) OUT -> IN A.Merge()
A.A.Split() OUT -> IN Output(Output)
```

What this does is eliminate all the testing and waiting for a ready-state. The namespace should also avoid any name clash since FBP doesn't have dots in component names.

The downside of this approach is the change at the API level.

Would this be a long-term solution to the problem?
Add my dotfiles repo.
DirectMediaPlayer with format callback support (updated)

Update: I removed all the white space changes and formatted the code I added.  Also added some more missing javadoc.

I've added a new constructor to DirectMediaPlayer and made the old constructor call the new one since the new one is more general.

I introduced a BufferFormat class for configuring the format of the buffers in the newly introduced call back interface BufferFormatCallback. I also understand now how VLC handles multiple "buffers" -- they are planes actually for formats that have several buffers (like YV42 where the buffers are not all the same size for each color component).

I've implemented this support as well, so multiple buffers can be allocated if required.

I was unable to run your tests -- I donot know if I broke anything, but probably I guess. Let me know what you think.
Support sqlite engine.

Factored out the code that converts DB types back to Go types, as it is
DB dependent. Issue #6.
Fix the relations between models
Airport fields

Some of the airport fields added from GHC Open Source Day.
implemented kerberos myproxyca login
Ektorp with jackson2.0

Hello, I have found that the new jackson feature(http://jira.codehaus.org/browse/JACKSON-107) which available in the last release is very important and crucial (especially in my app, because I have one big document and some peaces of data sometimes repeted in it). So I just organize imports, and update some code to get all the new features of the jackson 2.0. I've ran all tests and also checked their results and they were fine.
Support for backing up non-running PG cluster

With our Postgres instances, we have a master->slave setup where the slave is currently responsible for taking backups (using EC2 snapshots). We wanted to move them forever to taking WAL-E-compatible backups, but the backup-push function requires a running psql to query it for a valid WAL file range using pg_start/stop_backup(). This patch adds a flag to backup-push, "--pg-is-stopped-replica", which uses pg_controldata to determine the current restartpoint's WAL location and is otherwise identical to backup-push. We've been using it for the last week to bootstrap new nodes.
Some fixes in Manual
Distinguish carriage return from newline

This is for issue #48 - found these when reading the man pages for `stty`, and verified that readline itself is forcing this setting off to accommodate this kind of scenario, in `rltty.c`'s `prepare_terminal_settings` function:

    /* Make sure we differentiate between CR and NL on input. */
    tiop->c_iflag &= ~(ICRNL | INLCR);

So I think it makes sense for jline to do the same thing.
gai errno mapping

This makes it easier to utilize the UV_ERRNO_MAP
Add SPELLTABLE for healing class
patch to accompany require.js issue #482

I'm not entirely sure how you build this, so feel free to destroy this pull request if it is not technically correct.
allow @augments to point at an undocumented dependency
Method resolutions fixes for the case where there are varargs
Implementação dos usuários/clientes
Log scan start activity

It would helpful to log the start of scans to the diagnostics system.
Window iconify

Implements `gtk_window_iconify` and `gtk_window_deiconify`
return the destination stream, fixes issue#23

If this gets merged then I can pipe filed to oppressor to do gzip/deflate compression like this:

``` js
var oppressor = require('oppressor');
var filed = require('filed');
var http = require('http');

var server = http.createServer(function (req, res) {
    filed(__dirname + '/data.txt').pipe(oppressor(req)).pipe(res);
});
server.listen(8000);
```

Issue: https://github.com/mikeal/filed/issues/23
Create bindings.js to separate off inclusion logic and handle multi-platform
Conn pool stats

DOCS-158

Please review, update, and merge.

Thanks.
Use both DESTDIR and prefix

The DESTDIR variable is not intended as a prefix substitute, but
as an additonal staging pre-path. Concatenate the two when available.

Signed-off-by: Luca Bruno <lucab@debian.org>
Fix ECAT7 writer endianness issue under OSX PPC

All tests should pass now.
Arabic localization (and minor updates for Russian)

Hello.

This request fully localizes the everpad UI and notifications for Arabic. In added localization for lens messages too, but it's not currently active as far as I can tell (I need to investigate it a bit more).

Some of the newly-localized messages (~10) now need to be translated to Russian (e.g. Note "%s" saved! and deleted messages weren't localized before, so they're currently missing Russian translations)

Some screenshots follow:

**Indicator menu**
![Indicator menu](http://ubuntuone.com/3hKN2WMXuejaeIOkpHgRpP)

**Main window**
![Main menu](http://ubuntuone.com/0LN1KoTFfmUsX9sjHeSMo6)

**Editor and notifications**
![Editor and notifications](http://ubuntuone.com/6fes8ip646hvSEEyjWZkKO)
CHEF-3276

Fixed rubygems provider to issue a warning if the options are passed as a hash instead of string while using the omnibus installer and when gem binary is specified.
Praj/oc 4660 registry

Request to include the registry provider in core chef with tests passing  for registry_resource, registry_dsl, registry_helper, whyrun and reporting.

Ref Link : http://wiki.corp.opscode.com/display/CORP/Registry+Chef+Core+Resource
testcase for #58
[ticket/10547] User is not logged in as admin after installation

After installing, when user clicks Login button (final installation step),
he is not logged in because there's a missing var ($data)

http://tracker.phpbb.com/browse/PHPBB3-10547
Avoid string concatenation in log statements
make sure that entry.name is truthy before checking values on it

Ran into an issue where some of my contacts from Gmail didn't have "name" set, making everything puke. Just a simple check, I have no idea why that's a thing that's capable of happening from Gmail's side ...
Update aardtools/mwaardhtmlwriter.py
Added line break handling for text transcriptions
Make rebar dep friendly

The setup application when used as a dependency of another application doesn't mix well with rebar's default behaviour to compile and to copy test module beams to the .eunit directory.

I couldn't think of any other way to work around this issue without renaming the test directory to xtest directory.   I thought about renaming the modules to testapp1 and testapp2 respectively but this might defeat the purpose of your test.  You might have another suggestion or idea.

thanks,



$ ./rebar -D QC -D QC_EQC eunit compile_only=true
 :
 :

==> setup (eunit)
NOTICE: Using experimental option 'compile_only'
ERROR: eunit failed while processing /home/norton/foobar/deps/setup: {'EXIT',{{badmatch,{error,{1,
                           "cp: will not overwrite just-created `.eunit/testapp_app.erl' with `test/testapp-1/src/testapp_app.erl'\ncp: will not overwrite just-created `.eunit/testapp_sup.erl' with `test/testapp-1/src/testapp_sup.erl'\n"}}},
         [{rebar_file_utils,cp_r,2,
                            [{file,"src/rebar_file_utils.erl"},{line,68}]},
          {rebar_erlc_compiler,test_compile,3,
                               [{file,"src/rebar_erlc_compiler.erl"},
                                {line,155}]},
          {rebar_eunit,eunit,2,[{file,"src/rebar_eunit.erl"},{line,86}]},
          {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,404}]},
          {rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,333}]},
          {rebar_core,process_dir0,6,[{file,"src/rebar_core.erl"},{line,195}]},
          {rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,266}]},
          {rebar_core,process_dir0,6,
                      [{file,"src/rebar_core.erl"},{line,171}]}]}}
make: *** [eqc-compile] Error 1
Rad/degree conversion helpers

As per discussion at: https://github.com/uxebu/bonsai/pull/142#issuecomment-9942288
ちょいちょい修正

- .gitignoreにMakefileを追加
- PocketIO 0.13以上じゃないと"Deep Recursion"がでるので、0.13以上を強制。

てな感じです！
Fixed Haxe 2.10rc compiler errors

Hello!

I've fixed some issues Haxe 2.10rc+ has. Mainly due to @:overload tags.

Skial
better support of older browsers
fixed client-side util.common unit tests
Functional test port

Note: This relies on the PR #391 (Travis and package.json changes) so that the ./tests/func directory gets access to node_modules.

This is a port of the Arrow functional tests from the qetest repo. I also fixed the run.js script such that it should run correctly now. Eventually this script could be moved to a `mojito arrow` command and then add unit tests to it.

I now run it using `./tests/func/run.js test -s`

Options are the following:

~~~
    .option('-b, --no-build', 'Don\'t build the apps')
    .option('-d, --no-deploy', 'Don\'t deploy the apps')
    .option('-s, --no-selenium', 'Don\'t start selenium')
    .option('-a, --no-arrow', 'Don\'t start arrow server')
~~~

I use `-s` because I have my selenium server running at startup.

It looks like there are some failing tests, but I think Lichun can help out with those. I'd like to get functional tests running from Arrow as soon as we can.
[docs GH 570] Added a placeholder for the API key and modified query.
Fix broken links in the readme
use errno name everywhere in core.error

minor changes to variable names, so that docs/docstrings better present the errno attribute.
Prep for 2.2.0-1 release

This will be the first release after merging gevent_zeromq and pyzmq-static.

* workaround setuptools bug
* update constants from current state of libzmq-3.2.x
* minor upstream pull from tornado.ioloop
* minor pxd fix

Still some docs to do
change version to 1.0.2.2
[testcase]添加build_run.xml，在新服务器上使用
[Change]修改所有源码文件tab为四个空格
DS-1211 upgrade to Servlet API 2.4 and other compatible dependencies

The following is an upgrade to Servlet API 2.4 as well as commons-lang 2.6 and commons-logging 1.1.1.
DS-1208 "Fix" to add in a "-Denv" flag to allow users to specify a different *.properties file

DS-1208 (Addition of "build.properties") initially claimed that it was a providing an option for developers to have their own local environment settings which were *NOT* in source control (or at least not by default).

Although "build.properties" allows for local developer settings, the file itself is stored in source control. So, if you change it locally, Git will keep bugging you to commit your local changes.

This pull request makes a small tweak to our 'dspace-parent' POM & .gitignore which allows developers to create their own custom "*.properties" file which is not under source control (they can also still choose to use "build.properties" if they want).

Essentially an "env" (environment) flag is added that takes any value, and loads up the *.properties file of that name.  Here's some examples:

* mvn package       (still builds using "build.properties", the default)
* mvn package -Denv=test      (builds using a "test.properties" file instead of "build.properties")
* mvn package -Denv=tim       (builds using a "tim.properties" file)
* mvn package -Denv=awesome  (builds using an "awesome.properties" file)

You get the idea :)

Finally, it should be noted that the .gitignore settings are tweaked such that all *.properties files are ignored EXCEPT for "build.properties" (which is our default build settings).

I'll readily admit this change is in a bit of a gray area between "bug fix" and "small improvement".  I'll leave it up to someone else whether we add this small tweak to 3.0 or wait until a future release.  (However, I have tested this, and it seems to work perfectly fine.)
[DS-1280] Downgrade spring version to circumvent a spring issue that causes the DSpace unit tests to fail
[DS-1395] Hit highlighting not operational
Feature to show current path added
Update to Fabrik Issue #294: Dropdown elements with inline edit

Update to commit: https://github.com/Fabrik/fabrik/commit/a0859761214a9687d9caa813894cacdb10613cea

If an invalid JSON string value is passed to FbDropdown.update() an unhandled exception is raised calling JSON.decode ie a simple string. The current partial fix works for a simple numerical string like "10", but would return the wrong value if the string was of mathematical semantics like "10+1". JSON.decode would ultimately execute eval(10+1) and return 11.
fixed 3 test failures

fixed 3 test failures (test_DrawChessboardCorners, Core_Array.expressions and Calib3d_ChessboardDetector.regression)
Italian translation

Added translation for Miuihome and bug report. Updated trasnslation for browser, bluetooth, and framework
ErrorPipeline discards original stacktrace

HandleError pipeline could cause the exception stacktrace to be lost. The exception was re-thrown using `throw;` rather than `throw exception;`
Allow Nancy users to use the latest version of Spark

Currently, we're stuck in v1.5.1 and I have to manually reference Spark v1.6.1 from visual studio because Nuget will only allow Nancy to run with Spark v1.5.1
Piccola correzione ortografica
Improve README layout

I replaced tab to whitespace.

* Original
![Original](https://gist.github.com/raw/dcd4235c67a83c509db8/3c9ab4b34433d7c14ce7778533e1d5ce1ef2b31d/original.png)

* Improved
![improved](https://gist.github.com/raw/dcd4235c67a83c509db8/6598143a022e1d21cd5ce57cd938a4a9ba17a6a3/improved.png)
test pull

test test
Grib hindcast workaround

Works around the grib api problem with hindcast periods.
https://software.ecmwf.int/issues/browse/SUP-243

Works on our patched 1.9.9 api and vanilla 1.9.16.
Assumed to work on unpatched 1.9.9 too.
added some notes for implementing an api

Submit the following to request an api token:
* api_key
* username or email_address
* password
Bold the MIT

Bold the MIT
Add pathogen and rewrite install.sh

New Feature
1. use pathogen to manage plugins
2. add a color theme (not default)

Change
1. rewrite install.sh be atom procedure
Instructions for manual Win 64 installation
fixed bug in min_informative_str
ENG-3087 - fix crash on GROUP BY varbinary (tested) and on varbinary com...

...pare (needs tests)
Eng 3288 - Don't take down the cluster for mismatched results for any k-safe read-only transaction.
Test: corrections

1 commit supplémentaire à https://github.com/afup/aperophp/pull/14 pour corriger les tests
Radomir's typos fixed
Very small fixes in discovery
UPDATED: The Term of Use Agreement now reflects the move to GitHub.
ES6: Support YieldExpression

See http://code.google.com/p/esprima/issues/detail?id=285 :-)
Rev rundeck basics

rundeck basics の翻訳レビュー（from @timwata to @spesnova ）
add a logistic regression example

This is an answer to a random post that I found on the internet.  It uses AlgoPy to construct the gradient and hessian of a log likelihood function.
http://scicomp.stackexchange.com/questions/4826/logistic-regression-with-python
Fix and Length selection

It seemed that `gdispass` wasn't working with some of the latest changes to `algos`, the fix was easy enough, it seems.

The other two commits are not 100% useful until I finish the label selection that I'm working on now, but I thought I'd send it already.
Use 'tree' style stat names, and riak_core_stat_q

Use riak core stat query for riak_kv_stat get_stats
Add new read repair dimensioned stat aggregations to stat blob

Depends on riak_core pr - https://github.com/basho/riak_core/pull/252
Fix error with changed protobuffs API.

Previously, the generated `*_pb` modules exported a function called `iolist`, but now you simply call `encode` with the PB record.
Add an parameter AssertionError for onAssertFailure method.

Hi Cbeust,

I have add an parameter AssertionError for onAssertFailure method.
I think it is a useful parameter.

Br,
Cen
Added horizontally interlaced render mode to the StereoscopicRendering...

...sample, as discussed in https://forum.libcinder.org/#Topic/23286000001364169 .
Grayscale Color constructors

Simple grayscale constructors. Fills up rgb with the single value passed in. Makes it more obvious when you intend for a color to be gray, easier to type, less likely to mess up when tweaking parameters.
If you're working in b+w, you can:

Color darkGray( 0.25f ); // same as Color darkGray( 0.25f, 0.25f, 0.25f )
ColorA transparentBlack( 0.0f, 0.5f );
Replace waiting list in state with queue for improved performance

BugzID:13475
#18451 Improved class based view documentation

For https://code.djangoproject.com/ticket/18451

Ref Improvements:

* Documentation moved to /ref/class-based-views/ directory.
* Method Resolution Order (MRO) on most views.
* Method flowchart added to many views.
* Mixins moved to their own pages.
* Mixins demonstrate which other Mixins they extend.
* Autodoc added to all views and mixins.
  * Because the Django code does always not contain docstrings, or it is not complete, there remains in many cases the old manual documentation.
  * 'Note' statements placed whenever autodoc is in addition to manual documentation.

Topic Improvements:

* Documentation moved to /topics/class-based-views/ directory.
* Cleaner explanation including additional examples.
* More examples.
* Mixins moved to their own pages.
* Very clean mixin documentation with advocacy for best practices.

Authors:

* Daniel Greenfeld
* James Aylett
* Marc Tamlyn
* Simon Williams
docs and comments in settings.py to explain template overriding

I spent a lot of time trying to work out why my own base_site.html template wasn't overriding Django's. 

Eventually I realised that it was because django.contrib.admin was listed in INSTALLED_APPLICATIONS before my own application, and so its base_site.html won the race to be chosen.

I'm a slow learner, so I went through the same thing all over again today, a year or more later...

To help people like me, I have added a comment in the settings.py of the project template, and a note in the docs. 

I considered adding it in part 2 of the tutorial, https://docs.djangoproject.com/en/1.4/intro/tutorial02/, but I felt it was probably a bit much to put in front of a new user.

If I have not submitted this in the correct format let me know and I will have another try.
Update django/conf/locale/lt/LC_MESSAGES/django.po

Changed Lithuanian translation of alternative month names to the genitive case.
Add new security-policy documentation.

This formally describes our policies on reporting, notification and
disclosure of security issues, and provides a detailed explanation of
our full security-response process, for reference purposes.
Added OCR novelty point calculations.
this is added

Ahh, you can pull request from a branch!
fixes #1621
fixes #99 - avoid copy of the uploaded file if doesn't exists
Removed segment.h and added include stdlib to personsim.cpp
Some improvements to  Issue #33:  indentation styles for drupal and wordpress

php-enable-*-coding-style set as interactive.

With this users could M-x php-enable-(pear/drupal/wordpress)-coding-style and change coding style on the fly for current buffer.

Added customization settings that allow to select default coding style and save to init.el

Added custom hooks for coding styles, which allow users to extend their drupal/pear/wordpress settings.

Please review my code. It should be ok. But I'm just a beginner with lisp, so I'm not 100% sure.
Inverted keys use sets

* Inverted keys use Sets
* InvertedInt keys use IntSets
* InvertedHash keys use HashSets
* Slight rearrangement of the Withal class to accommodate this
* Docs for the Table type now mentions key types other than the original three
* Hash-based keys are now exported
CMS-616 Content types 2.0: Adjustments in content edit

The New button in Content Manager should display the list of content types, not open the content edit tab as it does now. It's necessary to select a content type for creating the new content.
Avoid opening a new tab when selecting Edit on a content that is already open in a tab. It should work as in Accounts, clicking Edit in a content that is already open in a tab, should change the focus to that tab.
Changing the display name in an edited content and saving should not create a new content.
Show path of the content being edited, where it currently is "/some/content/path".
Pulling Bill's changes
Fluxbb 1.4

#652 - Negative option values leading to various strange situations

* Negative *redirect_delay* setting breaks redirect altogether.
* Negative *indent_num_spaces* setting throws a PHP notice from the str_repeat method.
* Negative *quote_depth* setting disallows a user to post just a quote (could be debatable to have a minimum of 0 to ignore quotes altogether).
* Negative *avatars_width*, *avatars_height* and *avatars_size* settings don't make sense, just disable avatars altogether then.
data files haskellized

This isn't really a pull request but a possible suggestion. I was looking at the Stackoverflow question, and didnt really see why you needed a data dir.  I constructed this Kanji subdir quickly in ghci, and probably named it wrongly.  I doubt it adds much weight to the program.  Something like this presupposes that you don't imagine the user managing his kanji-level database of course.   If it is possible this way, you can get the IO out of KanjiQ.hs and also purify some of the functions in  nanq.hs, moving them to KanjiCalculations.hs or whatever. I mean the definitions toward the end where you are doing statistics etc inside IO  like so

       do  
         qs <- allQs
         ... statistics...
         putStrLn ....

By the way, you can get cabalization going very quickly if you follow the prompts that come from `cabal init` in the main directory.  This would make a bit more sense if the directory were arranged hierarchically.  You still have to add stuff under the dependencies field, but 'cabal configure' will tell you what they are soon enough.

Functions for the taking of  averages and that sort of thing should be done in a 'pure' module, which will probably give you  new ideas of things to do.
Add an autogen.sh file to have a more expectable build system

Small improvement to reduce the need of looking at the README file :)
FIX testando-aplicacoes-django NOSE_ARGS de str para tupla

```NOSE_ARGS``` deve ser uma lista ou tupla.

Referencia:
https://github.com/jbalogh/django-nose/blob/master/django_nose/runner.py#L139

# Erro:
https://gist.github.com/cc4e5ff80fae3a691f81
Addding a few base files to the project.

- Inspired mostly from gholt's swift-staticweb repository.
add ACL set support

These 4 commits allow 10 more acl test cases to pass, and turns more from ERROR to FAIL

New:
Passed	164
Error	37
Fail	        55

Original:
Passed		154
Error		61
Fail		41

examples include:
functional.test_s3.test_bucket_acl_xml_fullcontrol
functional.test_s3.test_bucket_acl_canned
Removed all traces of AGGREGATE_LOSS_CURVE

Addresses: https://bugs.launchpad.net/openquake/+bug/980838
Transformando o jarvis em multi plataforma

arrumado funcao de auto loader para carregar arquivos no windows
trocado shell_exec + tail por fopen + fseek + fread
Removing the need to use proffered to show the current hash



Note: I think this would do much better as an OpenStruct. That way I could do `proffer.title` instead of `proffered[:title]` in controllers.
Fixes Ticket #12518

removes an offsetWidth on focus/blur events for an <IE9 bug that caused a performance hit and replaces it with a try/catch block. 

There was already a unit test in place to cover this. 

This bug is tricky to trigger because you actually need an IE8 native browser in windows XP, not an IE9 in IE8 mode
Remove webkitConvertPointFromNodeToPage

Yeah, i know, i know, you guys voted on <a href="http://bugs.jquery.com/ticket/10996">it</a>. But hear me out for a minute, from ticket description –

"For older versions of Safari (or older mobile safari) it seems simpler to calculate offset using window.webkitConvertPointFromNodeToPage()."

In what browsers, exactly, we have webkitConvertPointFromNodeToPage and do not have getBoundingClientRect? For desktop browsers it's simple – for Safari, support for webkitConvertPointFromNodeToPage begins from Safari 4, just like for getBoundingClientRect, Chrome always had it.

Mobile browsers? There is no way to reliable know if all mobile webkit-based browsers lists <a href="http://jquerymobile.com/gbs/">here</a> is have webkitConvertPointFromNodeToPage and do not have getBoundingClientRect. Only way to know that, is to check lowest versions of them all –
<ul>
<li>Apple iOS 3.2</li>
<li>Android 2.1</li>
<li>Blackberry 6</li>
<li>Blackberry Playbook 1</li>
<li>Palm WebOS 1.4</li>
<li>Meego 1.2</li>
<li>Dolphin 3</li>
<li>Kindle Fire</li>
</ul>

And i did – they all have getBoundingClientRect, which means webkitConvertPointFromNodeToPage code path will never be chosen, which means webkitConvertPointFromNodeToPage is dead code and should be removed. 

cc @mikesherov
Remove BOM in jQuery.trim.

In response to pull request #896, see discussion.
Fixes #11755

<pre>
jQuery Size - compared to last make
  253011    (+99) jquery.js
   93726    (+70) jquery.min.js
   33385     (+8) jquery.min.js.gz
</pre>
Fix bug ZK-1425

http://tracker.zkoss.org/browse/ZK-1425
Added warning to README about having a pydas.pxd file on your $PYTHONPATH

This took a while to figure out. May save somebody some time...
Fix for a bug when calling isPreview() inside the Engine constructor

It seems that isPreview() cant be called inside the Engine constructor since some stuff wasn't initialized yet. The pull request suggest another way by implementing an optional interface PreviewListener (not the best name I know) so if the listener implements it, then it is called by the Service after Engine was created.
Method in BufferUtils to get a Buffer memory address through JNI

Needed for an incoming pull request ;)
Design doc: added Newton's to convex

1. A section for Newton's method is added
2. And minor fixes for notation consistency
Pull request da tradução

Tradução das classes que estão no diretório src/main/java. Cheque os comentários do javadoc para ver se continuam dizendo a mesma coisa.
Minor doc change in Meteor.ui.render