Contribute to Open Source. Search issue labels to find the right project for you!

Page stops loading after pressing Run tests

freeCodeCamp/freeCodeCamp

Challenge Name

https://www.freecodecamp.com/challenges/seek-and-destroy

Issue Description

After I entered the codes as attached and pressed Run Tests, the page just stops loading. The mouse becomes a typing cursor. I’ve reset the codes and pasted that in again and it freezes again.

Browser Information

  • Browser Name, Version: Chrome Version 55.0.2883.95 (64-bit)
  • Operating System: macOS Sierra Version 10.12.4
  • Mobile, Desktop, or Tablet: MacBook Pro (Retina, Mid 2012)

Your Code

<!– If relevant, paste all of your challenge code in here –> ```js see below

```

Screenshot

<!– Add a screenshot of your issue –> <img width=“1254” alt=“screen shot 2017-04-30 at 9 54 16 am” src=“https://cloud.githubusercontent.com/assets/4922455/25560969/a533f7c4-2d8b-11e7-863a-23553709c5e9.png”>

Updated 30/04/2017 13:54 1 Comments

doc:spin off technical guide

nodejs/node

Blocked by #12744 or something equivalent

In an effort to “try to get first time contributors to read the important stuff” In parallel to #12744 and as suggestion to address https://github.com/nodejs/node/pull/12744#issuecomment-298187652 and https://github.com/nodejs/node/pull/12744#issuecomment-298189401

I suggest spinning off the technical part of CONTRIBUTING.md into a new file, and leave behind just the motivation and guidelines. <!– Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md –>

Checklist

<!– Remove items that do not apply. For completed items, change [ ] to [x]. –>

Affected core subsystem(s)

doc

/cc @aqrln @Trott @addaleax

Updated 29/04/2017 23:02 6 Comments

Hi i'm new here i'm having an issue with the text editor deleting random parts of my code when i'm on an android mobile device

freeCodeCamp/freeCodeCamp

<!– freeCodeCamp Issue Template –>

<!– Please provide as much detail as possible for us to fix your issue –> <!– Remove any heading sections you did not fill out –>

<!– NOTE: If your issue is CodePen Project / Test Suite related, please open it using the below URL instead –> <!– https://github.com/freeCodeCamp/testable-projects-fcc/issues/new –>

Challenge Name

<!– Insert link to challenge below –>

Issue Description

<!– Describe below when the issue happens and how to reproduce it –>

Browser Information

<!– Describe your workspace in which you are having issues–>

  • Browser Name, Version:
  • Operating System:
  • Mobile, Desktop, or Tablet:

Your Code

<!– If relevant, paste all of your challenge code in here –> ```js

```

Screenshot

<!– Add a screenshot of your issue –>

Updated 30/04/2017 14:14 1 Comments

Use async in TypeScript

martincostello/website

It would be nice to be able to use async for the /tools page in the TypeScript, however it suffers from two problems at present:

  1. Targeting es5 causes the size of the generated minified code to increase by ~4KB due to polyfills.
  2. Targeting es2015 causes the minification to fail.
events.js:141
      throw er; // Unhandled 'error' event
      ^
GulpUglifyError: unable to minify JavaScript
    at createError (website\src\Website\node_modules\gulp-uglify\lib\create-error.js:6:14)
    at wrapper (website\src\Website\node_modules\gulp-uglify\node_modules\lodash\_createHybrid.js:87:15)
    at trycatch (website\src\Website\node_modules\gulp-uglify\minifier.js:26:12)
    at DestroyableTransform.minify [as _transform] (website\src\Website\node_modules\gulp-uglify\minifier.js:79:19)
    at DestroyableTransform.Transform._read (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:147:83)
    at doWrite (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:313:64)
    at writeOrBuffer (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:302:5)
    at DestroyableTransform.Writable.write (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:241:11)
    at DestroyableTransform.ondata (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:531:20)
    at emitOne (events.js:77:13)
    at DestroyableTransform.emit (events.js:169:7)
    at readableAddChunk (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:198:18)
    at DestroyableTransform.Readable.push (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:157:10)
    at DestroyableTransform.Transform.push (website\src\Website\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:123:32)
    at DestroyableTransform.endStream [as _flush] (website\src\Website\node_modules\gulp-concat\index.js:96:10)
Process terminated with code 1.
Updated 29/04/2017 09:47

imix v2.0+ support, with tock-bootloader

helena-project/tock

For imix v2.0 and onwards, there are several small changes (pin mappings, LEDs). In addition, a hardware fix to the serial will allow tockloader and tock-bootloader to run on imix. This pull request contains the necessary changes to support the imix 2.0 release.

Updated 29/04/2017 20:57 1 Comments

log output not defined

freeCodeCamp/freeCodeCamp

Code getting error “logOutput not defined”.

Challenge write-reusable-javascript-with-functions has an issue. User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36</code>. Please describe how to reproduce this issue, and include links to screenshots if possible.



// Example
function ourReusableFunction() {
  console.log("Heyya, World");
}

ourReusableFunction();

// Only change code below this line
function reusableFunction() {
  console.log("Hi World");
}

reusableFunction();
Updated 30/04/2017 14:21 1 Comments

ExamRuns: remove unused db fields

mitodl/micromasters

Based on and blocked by #3112 and #3122, review those first!

What are the relevant tickets?

Completes #3085

What’s this PR do?

This removes several deprecated and unused fields.

How should this be manually tested?

Migrations and tests should pass

What GIF best describes this PR or how it makes you feel?

Updated 28/04/2017 21:19

ExamRuns: populate run for pilot period

mitodl/micromasters

Based on and blocked by #3112, review that first please.

What are the relevant tickets?

Part of #3085

What’s this PR do?

This PR populates data for the pilot period into ExamRun and updates our exam authorization data writers to use this new structure.

How should this be manually tested?

  • Create an `ExamAuthorization for your user
  • Run the migrations
  • Create an exam run (``) and a new authorization assigned for that run: python from exams.factories import * from exams.models import * exam_run = ExamRunFactory.create(user=user) ExamAuthorization.create(exam_run=exam_run, user=user, status=ExamAuthorization.STATUS_SUCCESS)
  • Run this command: python from exams import tasks exams.export_exam_authorizations()
  • Check the output and ensure it output a row for your record and the there is no Modules column.

What GIF best describes this PR or how it makes you feel?

Updated 28/04/2017 21:20 1 Comments

Tests not functioning

freeCodeCamp/freeCodeCamp

Challenge Size your Images has an issue. User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36</code>. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code: ```html

<link href=“https://fonts.googleapis.com/css?family=Lobster” rel=“stylesheet” type=“text/css”> <style> .smaller-image { width: 100px; } .red-text { color: red; }

h2 { font-family: Lobster, Monospace; }

p { font-size: 16px; font-family: Monospace; } </style>

<h2 class=“red-text”>CatPhotoApp</h2>

<img class=“smaller-image” src=“https://bit.ly/fcc-relaxing-cat” alt=“A cute orange cat lying on its back. ”>

<p class=“red-text”>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p> <p class=“red-text”>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

```

Updated 30/04/2017 14:25 5 Comments

WIP: Rename debian-8 to debian-stable, factorize Debian/Ubuntu bootstrap and setup scripts

cockpit-project/cockpit

This makes our Debian/Ubuntu image setup more robust and future proof. It gets rid of ~ 220 lines of duplicated setup code, at least one test special case (there might be more to come, I’ll wait for the CI runs), and will make adding more images (such as “ubuntu-devel”) very simple. Please see the individual commits for details.

  • [ ] Tell verify machine about new debian-stable image (PR #6411)
Updated 29/04/2017 11:56 14 Comments

7.3.5: add a few commits

cockpit-project/cockpit

We want to squash these into one when merging (with a list of commits like in https://github.com/cockpit-project/cockpit/commit/e6b48a46eeafe7e13f435cc85fbc3b4196a94452) I left them apart for now for easier commenting and review.

Updated 28/04/2017 13:48 1 Comments

Cannot build nor run with python-urllib3 1.21

pimutils/vdirsyncer

Before you submit bug reports: https://vdirsyncer.pimutils.org/en/stable/contributing.html

Things to include in your bugreport:

  • Your vdirsyncer version: 0.15.0
  • If applicable, which server software (and which version) you’re using: Nextcloud 11.0.3
  • Your Python version: 3.6.1
  • Your operating system: Arch Linux
  • Your config file: [general] status_path = "~/.vdirsyncer/status/" [pair nextcloud_contacts] a = "nextcloud_contacts_local" b = "nextcloud_contacts_remote" collections = ["from a", "from b"] conflict_resolution = ["command", "vimdiff"] [storage nextcloud_contacts_local] type = "filesystem" path = "~/.contacts/" fileext = ".vcf" [storage nextcloud_contacts_remote] type = "carddav" url = "https://foo.dynu.com/nextcloud/remote.php/carddav/" useragent = "Mozilla" verify_fingerprint = "<REMOVED>" verify = false username = "protist" password.fetch = ["command", "keyring", "get", "owncloud", "protist"]
  • Use vdirsyncer -vdebug for debug output. The output is sensitive, but please attach at least the last few lines before the error (if applicable), censored as necessary. This is almost always the most useful information.

There appears to be another issue with python-urllib3 (as per #518). If I install python-urllib3 1.20, vdirsyncer builds fine. If I install python-urllib3 1.21, it fails the tests when I try to build. ``` … tests/system/utils/test_main.py ..FF. … ==================================================================================================== FAILURES ==================================================================================================== test_request_ssl_fingerprints[94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA]

httpsserver = <SecureContentServer(<class ‘pytest_localserver.https.SecureContentServer’>, started 139956190172928)>, fingerprint = ‘94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA’

@pytest.mark.skipif(_fingerprints_broken(),
                    reason='https://github.com/shazow/urllib3/issues/529')
@pytest.mark.parametrize('fingerprint', [
    '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA',
    '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D'
])
def test_request_ssl_fingerprints(httpsserver, fingerprint):
    httpsserver.serve_content('')  # we need to serve something

    http.request('GET', httpsserver.url, verify=False,
               verify_fingerprint=fingerprint)

tests/system/utils/test_main.py:54:


vdirsyncer/http.py:162: in request r = func(method, url, kwargs) /usr/lib/python3.6/site-packages/requests/sessions.py:488: in request resp = self.send(prep, send_kwargs) /usr/lib/python3.6/site-packages/requests/sessions.py:609: in send r = adapter.send(request, **kwargs) /usr/lib/python3.6/site-packages/requests/adapters.py:390: in send conn = self.get_connection(request.url, proxies) /usr/lib/python3.6/site-packages/requests/adapters.py:296: in get_connection conn = self.poolmanager.connection_from_url(url) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:271: in connection_from_url pool_kwargs=pool_kwargs) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:219: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:230: in connection_from_context pool_key = pool_key_constructor(request_context)


key_class = <class ‘requests.packages.urllib3.poolmanager.PoolKey’> request_context = {‘assert_fingerprint’: ‘94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA’, ‘block’: False, ‘host’: ‘127.0.0.1’, ‘maxsize’: 10, …}

def _default_key_normalizer(key_class, request_context):
    """
    Create a pool key out of a request context dictionary.

    According to RFC 3986, both the scheme and host are case-insensitive.
    Therefore, this function normalizes both before constructing the pool
    key for an HTTPS request. If you wish to change this behaviour, provide
    alternate callables to ``key_fn_by_scheme``.

    :param key_class:
        The class to use when constructing the key. This should be a namedtuple
        with the ``scheme`` and ``host`` keys at a minimum.
    :type  key_class: namedtuple
    :param request_context:
        A dictionary-like object that contain the context for a request.
    :type  request_context: dict

    :return: A namedtuple that can be used as a connection pool key.
    :rtype:  PoolKey
    """
    # Since we mutate the dictionary, make a copy first
    context = request_context.copy()
    context['scheme'] = context['scheme'].lower()
    context['host'] = context['host'].lower()

    # These are both dictionaries and need to be transformed into frozensets
    for key in ('headers', '_proxy_headers', '_socks_options'):
        if key in context and context[key] is not None:
            context[key] = frozenset(context[key].items())

    # Map the kwargs to the names in the namedtuple - this is necessary since
    # namedtuples can't have fields starting with '_'.
    for key in list(context.keys()):
        context['key_' + key] = context.pop(key)

    # Default to ``None`` for keys missing from the context
    for field in key_class._fields:
        if field not in context:
            context[field] = None
  return key_class(**context)

E TypeError: new() got an unexpected keyword argument ‘key_assert_fingerprint’

/usr/lib/python3.6/site-packages/urllib3/poolmanager.py:95: TypeError test_request_ssl_fingerprints[19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D]

httpsserver = <SecureContentServer(<class ‘pytest_localserver.https.SecureContentServer’>, started 139956190172928)>, fingerprint = ‘19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D’

@pytest.mark.skipif(_fingerprints_broken(),
                    reason='https://github.com/shazow/urllib3/issues/529')
@pytest.mark.parametrize('fingerprint', [
    '94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA',
    '19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D'
])
def test_request_ssl_fingerprints(httpsserver, fingerprint):
    httpsserver.serve_content('')  # we need to serve something

    http.request('GET', httpsserver.url, verify=False,
               verify_fingerprint=fingerprint)

tests/system/utils/test_main.py:54:


vdirsyncer/http.py:162: in request r = func(method, url, kwargs) /usr/lib/python3.6/site-packages/requests/sessions.py:488: in request resp = self.send(prep, send_kwargs) /usr/lib/python3.6/site-packages/requests/sessions.py:609: in send r = adapter.send(request, **kwargs) /usr/lib/python3.6/site-packages/requests/adapters.py:390: in send conn = self.get_connection(request.url, proxies) /usr/lib/python3.6/site-packages/requests/adapters.py:296: in get_connection conn = self.poolmanager.connection_from_url(url) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:271: in connection_from_url pool_kwargs=pool_kwargs) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:219: in connection_from_host return self.connection_from_context(request_context) /usr/lib/python3.6/site-packages/urllib3/poolmanager.py:230: in connection_from_context pool_key = pool_key_constructor(request_context)


key_class = <class ‘requests.packages.urllib3.poolmanager.PoolKey’> request_context = {‘assert_fingerprint’: ‘19:90:F7:23:94:F2:EF:AB:2B:64:2D:57:3D:25:95:2D’, ‘block’: False, ‘host’: ‘127.0.0.1’, ‘maxsize’: 10, …}

def _default_key_normalizer(key_class, request_context):
    """
    Create a pool key out of a request context dictionary.

    According to RFC 3986, both the scheme and host are case-insensitive.
    Therefore, this function normalizes both before constructing the pool
    key for an HTTPS request. If you wish to change this behaviour, provide
    alternate callables to ``key_fn_by_scheme``.

    :param key_class:
        The class to use when constructing the key. This should be a namedtuple
        with the ``scheme`` and ``host`` keys at a minimum.
    :type  key_class: namedtuple
    :param request_context:
        A dictionary-like object that contain the context for a request.
    :type  request_context: dict

    :return: A namedtuple that can be used as a connection pool key.
    :rtype:  PoolKey
    """
    # Since we mutate the dictionary, make a copy first
    context = request_context.copy()
    context['scheme'] = context['scheme'].lower()
    context['host'] = context['host'].lower()

    # These are both dictionaries and need to be transformed into frozensets
    for key in ('headers', '_proxy_headers', '_socks_options'):
        if key in context and context[key] is not None:
            context[key] = frozenset(context[key].items())

    # Map the kwargs to the names in the namedtuple - this is necessary since
    # namedtuples can't have fields starting with '_'.
    for key in list(context.keys()):
        context['key_' + key] = context.pop(key)

    # Default to ``None`` for keys missing from the context
    for field in key_class._fields:
        if field not in context:
            context[field] = None
  return key_class(**context)

E TypeError: new() got an unexpected keyword argument ‘key_assert_fingerprint’

/usr/lib/python3.6/site-packages/urllib3/poolmanager.py:95: TypeError ============================================================================================= pytest-warning summary ============================================================================================= WC1 None pytest_funcarghttpserver: declaring fixtures using “pytest_funcarg” prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. WC1 None pytest_funcarghttpsserver: declaring fixtures using “pytest_funcarg” prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. WC1 None pytest_funcargsmtpserver: declaring fixtures using “pytest_funcarg” prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. ===================================================================== 2 failed, 333 passed, 178 skipped, 3 pytest-warnings in 17.25 seconds ====================================================================== make: *** [Makefile:43: test] Error 1 ```

After building and installing vdirsyncer with python-urllib3 1.20, I upgrade back to python-urllib3 1.21, but now vdirsyncer -vdebug sync fails with the following. debug: Using 1 maximal workers. debug: Fetching value for password.fetch with command strategy. Syncing nextcloud_contacts/Contacts debug: Loaded status for nextcloud_contacts/Contacts debug: PROPFIND https://foo.dynu.com/nextcloud/remote.php/carddav/addressbooks/Protist/Contacts/ debug: {'User-Agent': 'Mozilla', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'} debug: <?xml version="1.0" encoding="utf-8" ?> debug: <D:propfind xmlns:D="DAV:"> debug: <D:prop> debug: <D:resourcetype/> debug: <D:getcontenttype/> debug: <D:getetag/> debug: </D:prop> debug: </D:propfind> debug: debug: Sending request... error: Unknown error occured for nextcloud_contacts/Contacts: __new__() got an unexpected keyword argument 'key_assert_fingerprint' error: Use `-vdebug` to see the full traceback. debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/cli/tasks.py", line 73, in sync_collection debug: partial_sync=pair.partial_sync debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/sync.py", line 255, in sync debug: b_info.prepare_new_status() debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/sync.py", line 150, in prepare_new_status debug: for href, etag in self.storage.list(): debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/storage/dav.py", line 617, in list debug: headers=headers) debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/storage/dav.py", line 366, in request debug: return http.request(method, url, session=self._session, **more) debug: File "/usr/lib/python3.6/site-packages/vdirsyncer/http.py", line 162, in request debug: r = func(method, url, **kwargs) debug: File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 488, in request debug: resp = self.send(prep, **send_kwargs) debug: File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 609, in send debug: r = adapter.send(request, **kwargs) debug: File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 390, in send debug: conn = self.get_connection(request.url, proxies) debug: File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 296, in get_connection debug: conn = self.poolmanager.connection_from_url(url) debug: File "/usr/lib/python3.6/site-packages/urllib3/poolmanager.py", line 271, in connection_from_url debug: pool_kwargs=pool_kwargs) debug: File "/usr/lib/python3.6/site-packages/urllib3/poolmanager.py", line 219, in connection_from_host debug: return self.connection_from_context(request_context) debug: File "/usr/lib/python3.6/site-packages/urllib3/poolmanager.py", line 230, in connection_from_context debug: pool_key = pool_key_constructor(request_context) debug: File "/usr/lib/python3.6/site-packages/urllib3/poolmanager.py", line 95, in _default_key_normalizer debug: return key_class(**context) error: 1 out of 2 tasks failed.

Updated 30/04/2017 15:54 8 Comments

Challenge not loading in the viewer on load; same issues with several other challenges.

freeCodeCamp/freeCodeCamp

Challenge create-visual-balance-using-the-textalign-property has an issue. User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36</code>. Please describe how to reproduce this issue, and include links to screenshots if possible.



<style>
  h4 {
    text-align: center;
  }
  p {

  }
  .links {
    margin-right: 20px;

  }
  .fullCard {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  }
  .cardContent {
    padding: 10px;
  }
</style>
<div class="fullCard">
  <div class="cardContent">
    <div class="cardText">
      <h4>Google</h4>
      <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
    </div>
    <div class="cardLinks">
      <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a>
      <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
    </div>
  </div>
</div>
Updated 28/04/2017 18:00 1 Comments

Sort data by school

osuosl/streamwebs

StreamWebs users should be able to sort/search through data by school name. In other words, alongside viewing all data, students should have the option to view only the data that has been submitted by their school.

Dependent on the completion of #260.

Updated 27/04/2017 20:50

Prevent dynamic collection/index creation

kuzzleio/kuzzle

Description

This PR prevents users to create a collection or index with other routes, like “document/create”, “document/createOrReplace”, …

Related issue

  • 794

Status

Blocked by https://github.com/kuzzleio/kuzzle-common-objects/pull/51

TODO

  • [x] Add test in elasticsearch:create
  • [x] Add test in elasticsearch:createOrReplace
  • [x] Add test in elasticsearch:replace
  • [x] Add test in elasticsearch:createCollection (test only index exists)
  • [x] Add test in elasticsearch:import (check every lines)
  • [ ] Update package.json with the right version of kuzzle-common-object (https://github.com/kuzzleio/kuzzle-common-objects/pull/51)
Updated 27/04/2017 14:00

SqlServer: Switch to managed code for SqlClient

aspnet/EntityFramework

SqlClient 4.3.0 on netcoreapp2.0 does not work on windows 7/SqlServer2008 (See https://github.com/dotnet/corefx/issues/18406)

As a work-around, upgrade to 4.4.0 package was suggested.

SqlClient 4.4.0 on netcoreapp2.0 with MARS enabled hangs. (See https://github.com/dotnet/corefx/issues/18997) To avoid having build break, work-around to use native code as suggested here https://github.com/dotnet/corefx/issues/17139#issuecomment-286881779

This issue is to remove this work-around to use native code as EF should work without any such work-around

Updated 28/04/2017 18:16 2 Comments

Feature/add project euler problems

freeCodeCamp/freeCodeCamp

@QuincyLarson @AdventureBear

Here’s the bulk load json for the Project Euler stuff. It may or may not need to be resubmitted. I won’t be resubmitting it but either of you are free to.

I ran a quick scrape of Project Euler to fill out the bulk of what will be needed for the add-project-euler-problems feature

The json contains all 600 existing questions, including a test against a confirmed correct answer for each question for which a confirmed answer is available. There is still more work to be done, but this should handle the initial bulk load.

  • Questions for which I did not have confirmed answers for have “TODO” marked in the tests.
  • Some descriptions contain latex - I scraped them off the official project euler site (where they use MathJax)
  • Some descriptions contain images - easily found in the json by looking for contiguous blank lines - these will have to be handled manually.
Updated 27/04/2017 13:22 3 Comments

Displays array element with accessor descriptor more accurately

devtools-html/reps

In https://bugzilla.mozilla.org/show_bug.cgi?id=1358919 we will do some work on the backend side to send the appropriate information when elements of array have a getter. On the Reps side, we should make sure to consume those data when they’ll be available.

Steps to reproduce: Evaluate x = [0]; Object.defineProperty(x, '0', { get: function() { return 0; } });

Expected results: The rep displays as Array [ Getter ]

Actual results: The rep displays as Array [ null ]

Updated 26/04/2017 15:50

Automatize realeasing by using a script

magicDGS/ReadTools

A script to generate a release PR will be nice to automatize the process. It will require:

  • [ ] Checkout to master, and assess that there is no change to be included
  • [ ] Create new release branch.
  • [ ] It will be optimal if we can parse the CHANGELOG to guess the version number, and modify it accordingly. If so, add a commit with the version number and this change.
  • [ ] Generate the javadoc with gradle and move to the correct folder (requires #202). Commit with “Release javadoc”
  • [ ] Generate end-user documentation with Barclay (blocked by #182 and #201) and move to the correct folder. Commit with “Release documentation”
  • [ ] Push to the repository

Of course, it will require some review of the pull request, but it will simplify it.

Updated 26/04/2017 09:38

Avoid using powershell assembly load context with netcoreapp2.0

PowerShell/PowerShell

AppDomain.GetAssemblies is brought back, so we should be able to not relying on the powershell assembly load context and instead directly use the default load context. This will make hosting S.M.A much easier.

Currently this is blocked by https://github.com/dotnet/corefx/issues/18877. AppDomain.GetAssemblies doesn’t return dynamic assemblies that are emitted on the fly.

Updated 27/04/2017 03:46 1 Comments

Dependência "Stubby" aparentemente não funciona

VamosJuntas/vamosjuntas

@viniciusgama @pedrro e eu não conseguimos fazer stub de requisições GET para um recurso de teste. Isso bloqueia a story de buscar locais de risco na tela.

Parece que isso já foi implementado na API, porém temos a responsabilidade de atualizar o stub no front-end. Isso está bloqueando a story de buscar locais de risco pois não conseguimos configurar o stub para o servidor de desenvolvimento.

Precisamos mesmo disso? Não podemos bater na API real logo e remover essa responsabilidade? Pelo menos por enquanto ja que estamos fazendo buscas e não escritas.

Updated 26/04/2017 15:56 2 Comments

Allow user to bind RH to MH

subutai-io/base

RH attempts to autodiscover MH every time. When there are several peers in the same LAN, this leads to collisions and wrong behavior. There is option to bind RH to MH. We need to expose this option in SS UI to allow user to decide if she wants RH to be bound to a particular MH. Also there must be an accompanying option to unbind a bound RH from MH.

Updated 27/04/2017 03:19 2 Comments

Upload NYUPress metadata/assets

mlibrary/heliotrope

Upload NYUPress’s metadata template and assets into dev environment.

Materials live here: https://drive.google.com/drive/folders/0B-CNui8jTxj4UXNubmVTcEtnRjg

  • [ ] BP/P column answers are now Yes/No, but left in the original column position (as required).
Updated 27/04/2017 15:06 1 Comments

implement simple exam grade display

mitodl/micromasters

What are the relevant tickets?

a temporary shim for part of #2792

What’s this PR do?

this just implements a super basic display of the highest exam grade (per-course) on the dashboard.

How should this be manually tested?

Add an exam grade to a course you’re enrolled in, and you should see it on the dashboard. Add two exams, and you should see the highest grade.

weewewewewe

Updated 25/04/2017 19:17 5 Comments

S.L.Expressions: Consolidate pointer & byref test in ValidateType

dotnet/corefx

The majority of calls to ValidateType happen along with tests that the type validated isn’t a pointer or byref (in the other direction,all pointer checks and the majority of byref checks happen this way).

Make these checks part of ValidateType with an overload for the minority case where they aren’t necessary (allowed or statically known not to be the case).

Updated 28/04/2017 06:33 1 Comments

Write addscore.php

OregonTrailGroup/Oregon-Trail-Scripting-Languages

This is the screen that is displayed after a player has gotten to oregon city. Show a breakdown of the player’s score based on their difficulty and items, then prompt them to enter their name to be entered into the scores table in the database.

Outputs

  • Call the addScore() function on an intermediate page that redirects to index.php (See function description in #2)
  • Clear the session variable
Updated 24/04/2017 22:03 1 Comments

Change exception returned when serializing HttpWebRequest to match NETFX

dotnet/corefx

Comments from PR #18801:

From @safern “Binary Serialization is now supported on .NET Core 2.0 but it wasn’t in 1.1 or 1.0; so probably that is why we were throwing PNSE, so I think the same thing, it sounds reasonable to throw SE.”

        [Fact]
        public void HttpWebRequest_Serialize_Fails()
        {
            using (MemoryStream fs = new MemoryStream())
            {
                BinaryFormatter formatter = new BinaryFormatter();
                var hwr = HttpWebRequest.CreateHttp("http://localhost");

                if (PlatformDetection.IsFullFramework)
                {
                    // .NET Framework throws a more detailed exception.
                    // System.Runtime.Serialization.SerializationException):
                    //  Type 'System.Net.WebRequest+WebProxyWrapper' in Assembly 'System, Version=4.0.0.
                    //        0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
                    Assert.Throws<System.Runtime.Serialization.SerializationException>(() => formatter.Serialize(fs, hwr));
                }
                else
                {
                    // TODO: Issue #18850. Change HttpWebRquest to throw SerializationException similar to .NET Framework.
                    Assert.Throws<PlatformNotSupportedException>(() => formatter.Serialize(fs, hwr));
                }
            }
        }
Updated 27/04/2017 19:27 11 Comments

Program Page: hide "View on edX" link when there is no enrollment URL set for any course runs in a course

mitodl/micromasters

edX has changed the behavior of it’s enrollment (marketing) URLs for courses. They used to be unique per course run, but they now support a generic URL per course. To make data maintenance easier, we should add an enrollment URL to the course model and prefer that when linking from Program Pages and the Dashboard (for unenrolled users).

To make the migration simpler, we can leave the old enrollment URLs in place on the courserun. They can be used as a failover, or just deprecated.

acceptance criteria

  • [ ] add enrollment URL to course model
  • [ ] modify Program Page course card template to favor the course’s enrollment URL over the course run’s enrollment URL
  • [ ] check the dashboard API to see if it uses enrollment URLs as well, and update it accordingly

out of scope

  • removing the enrollment URL from the course run
  • URLs should include a Campaign (UTM) tag, but this is probably better handled in data for now
Updated 26/04/2017 13:56 1 Comments

Infinite loop in db query [Realm Swift 2.6.2]

realm/realm-cocoa

In the latest Realm update, when running a filter query involves case-insensitive string compare, it went into an infinite loop causing the phone heats up.

Steps to Reproduce

This is 100% reproducible with this query: ("displayName = [c]%@", id)

It worked fine till the 2.6.1 update, and still happens in 2.6.2.

Code Sample

Here is the code snippet:

static func getContactByDisplayName(_ displayName:String?) -> EdoContact? {
    if let id = displayName {
        return filter("displayName = [c]%@", id).first //case insensitive
    } else {
        return nil
    }
}

Version of Realm and Tooling

  • Realm framework version: Realm Swift 2.6.1 & 2.6.2
  • Realm Object Server version: N/A
  • Xcode version: 8.3
  • iOS/OSX version: 10.3
  • Dependency manager + version: ?
Updated 28/04/2017 03:58 12 Comments

Document available filters

magicDGS/ReadTools

We should add to https://github.com/magicDGS/ReadTools/wiki/Trimming-pipelines the available filters to apply, including:

  • [ ] GATK filters: this should be added as a link to the GATK documentation
  • [ ] ReadTools filters: currently, no filter is implemented in ReadTools, but #66 will include some custom filters that should be added.

Because this requires the GATK4 documentation hosted somewhere, we should wait until they release a new version.

Updated 24/04/2017 13:44

Add handling of error scenarios for github connect action

code-corps/code-corps-api

Problem

The action defined in #788 calls the function defined in #789, but only deals with the successful response, which is an {:ok, user}.

Thanks to ja_resource, it will also successfully deal with an {:error, changeset} response, but we should still test for this scenario on the controller level.

Lastly, it does not know how to handle an {:error, HTTPoison.ErrorResponse} response, so we should handle that by rendering a 500, and write a test for that.

Subtasks

  • [ ] Write user controller test for the {:error, changeset} case
  • [ ] Write handling for the {:error, HTTPoison.ErrorResponse} case
  • [ ] Write test for the {:error, HTTPoison.ErrorResponse} case

References

Blocked by: #788, #789

Updated 24/04/2017 14:09

Enable github auth feature by adding button to profile route

code-corps/code-corps-ember

Problem

Once all other tasks in this milestone are done, we should enable the connect feature by adding the link button in #1263 to the user profile route.

Subtasks

  • [ ] Add github-connect-link-button from #1263 to profile page
  • [ ] Add profile page acceptance test checking that the button renders and has the proper href.

References

Blocked by #1266

Updated 24/04/2017 14:00

Implement cross site forgery protection

code-corps/code-corps-ember

Problem

Once #1263, #1264 and #1265 are done, we should implement cross site forgery protection.

Subtasks

  • [ ] The component in #1263 should set it’s state property from the #1265 github-state service generate() function.
  • [ ] The model hook in the route from #1264 should check the state using the validate(state) function, before posting the code. If the check fails, it should redirect to root, with an error flash saying something went wrong.
  • [ ] There should be an addition to the integration test for the github-connect-link component. The addition should test that the href contains the proper state when mocking the github-state service.
  • [ ] There should be an additional acceptance test for the route in #1264, which ensures proper redirection happens when state validation fails. Again, we can mock the github-state service for this.

References

Blocked by: #1263, #1264, #1265

Updated 24/04/2017 14:02

Add new project templates App Engine [Flex,Standard] Endpoints

GoogleCloudPlatform/google-cloud-eclipse

I’d like to suggest adding new project templates for App Engine (Standard, Flex) Endpoints which set up a barebones project for using endpoints. I wouldn’t include any ORM management, or if you do, provide with and without. I think JDO/JPA complicates a project template. I would suggest adding at least 1 api endpoint with maybe the possibility of accessing the datastore directly.

screen shot 2017-04-23 at 1 26 36 pm

https://cloud.google.com/endpoints/docs/frameworks/java/quickstart-frameworks-java

https://github.com/GoogleCloudPlatform/appengine-endpoints-helloendpoints-java-maven/blob/master/src/main/java/com/example/helloendpoints/Greetings.java

https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java-maven

Updated 24/04/2017 11:42 2 Comments

bit-rot: Use faster hash functions for bit-rot detection

minio/minio

This change introduces the SipHash hash function as default bit-rot detection mechanism.

Description

This change sets the default hash algorithm to SipHash. Therefore the siphash implementation is vendored (github.com/aead/siphash). Further the doc is updated and now says that Siphash is used instead of BLAKE2b.

Motivation and Context

SipHash is much faster than BLAKE2b or SHA-2. Fixes #3946

How Has This Been Tested?

run go test -v within /cmd

Types of changes

  • [x] New feature (non-breaking change which adds functionality)

Checklist:

  • [x] My code follows the code style of this project.
  • [x] My change requires a change to the documentation.
  • [x] I have updated the documentation accordingly.
  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.
Updated 24/04/2017 18:16 9 Comments

The `user` instance is not valid

freeCodeCamp/freeCodeCamp

Issue Description

The user instance is not valid. Details: username User already exists (value: “paulchu756”); username is not unique (value: “paulchu756”).

I have created a free code camp account and attempt to link my free code camp account to my github, and this is the error message I receive, please help.

Updated 24/04/2017 23:44 3 Comments

Not enough people start by a certain time in the day

department-of-veterans-affairs/caseflow

As a manager, I would like to ensure that all the cases available to ARC are completed on a given day. At a set time each day, I would like Caseflow to check to see if the number of employees I set as working today matches the number of people who have logged in. If the number of people who have logged in is less than the number of employees entered as working today, I would like Caseflow to automatically redistribute the remaining cases amongst the employees who are currently logged in.

AC

Verify that at 11 a.m. each day, Caseflow checks to see if the number of employees who have completed a task that day matches the number of employees entered by the manager as working today. If at 11 a.m. the number of employees who have logged in is less than the number of employees the manager entered as working today:

  1. Verify that the number in the numeric text box is updated to reflect the number of employees who have completed at least one task that day.

  2. Verify that each case workers' quota is updated accordingly.

If at 11 a.m. the number of employees who have logged in is more than the number of employees the manager entered as working today, see #1691

Additional Notes

  • Exact time subject to change by @lakohl & other designers & George

Mocks

Manager view <img width=“397” alt=“screen shot 2017-04-23 at 3 24 35 pm” src=“https://cloud.githubusercontent.com/assets/4975959/25316642/080597b6-2839-11e7-9550-719976f40a8e.png”>

Claims Assistant views <img width=“750” alt=“screen shot 2017-04-23 at 4 19 52 pm” src=“https://cloud.githubusercontent.com/assets/4975959/25317145/b6604a0c-2840-11e7-9db6-a0f0f447460c.png”> <img width=“795” alt=“screen shot 2017-04-23 at 4 19 14 pm” src=“https://cloud.githubusercontent.com/assets/4975959/25317146/b6611cf2-2840-11e7-84e6-2e37d345f27e.png”>

Updated 25/04/2017 20:16 5 Comments

Send GitHub updates when a Code Corps project is updated

code-corps/code-corps-api

Need to update GitHub repo when the corresponding CC project’s tasks are updated.

This is partially blocked until we get the first steps of the GitHub integration done from Milestone 11. It ca

We need to update Github module lib/code-corps/github.ex to include functions for each of the subtasks below.

Subtasks for each action needed

  • [ ] Create task
  • [ ] Update task
  • [ ] Delete task
  • [ ] Create task comment
  • [ ] Update task comment
  • [ ] Delete task comment
Updated 25/04/2017 20:23

Kettering: clicking event detail goes to error page

proudcity/wp-proudcity

Clicking on an event details yields a “this page isn’t working” error.

Step 1: click board of zoning event from event feed on the homepage: https://www.ketteringoh.org/#/city/answers

Step 2: result https://www.ketteringoh.org/event/board-zoning-appeals-2-2017-04-24/ screenshot 2017-04-20 15 44 06

This happened from /events as well.

San Rafael, Play Kettering and a couple others I checked appear to be ok so this seems to be isolated.

Updated 24/04/2017 06:08 1 Comments

Support graphical visualization for geospatial data in query results like SSMS

Microsoft/vscode-mssql
  • MSSQL Extension Version: 0.3.0
  • VSCode Version: 1.11.2
  • OS Version: macOS Sierra 10.12.4

Steps to Reproduce:

Type the following query in the SQL editor and execute against SQL Server (I tried with SQL 2016): DECLARE @g geometry; SET @g = geometry::STGeomFromText(‘CIRCULARSTRING(2 0, 1 1, 0 0)’, 0); select @g

Result: the results window shows a column with binary data Desired/Expected: graphical visualization for geometry/geography data in results window, similar to SSMS

Updated 21/04/2017 20:00 1 Comments

Fork me on GitHub