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

Change "up for grabs" label to up-for-grabs

dotnet/corefx

The up-for-grabs label is “more” standard – see e.g. http://up-for-grabs.net and we used to have it in CoreCLR repo, but changed it to CoreFX form in ~2016/10 * [ ] Rename label on corefx & coreclr repos * [ ] Update docs in both repos: * CoreFX: “up for grabs” and “up%20for%20grabs” * CoreCLR: “up for grabs” and “up%20for%20grabs” * [ ] Update http://up-for-grabs queries for both repos: * CoreFX * CoreCLR - already OK * Find out if we can have ‘simple’ query on the site as well

See https://github.com/dotnet/coreclr/pull/10488#issuecomment-289290327

cc @jkotas

Updated 27/03/2017 01:44 7 Comments

Google font

freeCodeCamp/freeCodeCamp

Challenge use-a-google-font has an issue. User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8</code>. Please describe how to reproduce this issue, and include links to screenshots if possible.



<link href="https://fonts.googleapis.com/css?family=Open+Sans"
      rel="stylesheet">

<style>
  body {
    font-family:"Open Sans",sans-serif;
  }
  h4 {
    text-align: center;
    background-color: rgba(45, 45, 45, 0.1);
    padding: 10px;
    font-size: 27px;
    text-transform: uppercase;
  }
  p {
    text-align: justify;
  }
  .links {
    text-align: left;
    color: black;
    opacity: 0.7;
  }
  #thumbnail {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }
  .fullCard {
    width: 245px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  }
  .cardContent {
    padding: 10px;
  }
  .cardText {
    margin-bottom: 30px;
  }
</style>

<div class="fullCard" id="thumbnail">
  <div class="cardContent">
    <div class="cardText">
      <h4>Alphabet</h4>
      <hr>
      <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em>
    </div>
    <div class="cardLinks">
      <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
      <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
    </div>
  </div>
</div>
Updated 27/03/2017 11:05 6 Comments

Add Contrast Limited Adaptive Histogram Equalization (CLAHE) to the opencv pipeline arsenal

openpnp/openpnp

Lighting plays an important role in openpnp when computer vision is being used. In general, uniform lighting is desired, but it is not easily achievable. In particular, openpnp Threshold pipeline operation suffers greatly from non uniform light distribution, as shown below:

orig

Trying to correct the obvious lighting problem by using histogram equalization results to this:

histo

For a particular threshold value (here 12) this is the result from a ‘Threshold’ pipeline operation:

thresh

As expected, a large area at the periphery of the image is under-illuminated and this results to loss of information.

loss_of_features

A better suited equalization algorithm would adapt equalization levels to the local content.

From wikipedia :

Adaptive histogram equalization (AHE) is a computer image processing technique used to improve contrast in images. It differs from ordinary histogram equalization in the respect that the adaptive method computes several histograms, each corresponding to a distinct section of the image, and uses them to redistribute the lightness values of the image. It is therefore suitable for improving the local contrast and enhancing the definitions of edges in each region of an image.

However, AHE has a tendency to overamplify noise in relatively homogeneous regions of an image. A variant of adaptive histogram equalization called contrast limited adaptive histogram equalization (CLAHE) prevents this by limiting the amplification.

Here is the result of a CLAHE equalization (clip limit 32) on the original image:

out

and the resulting threshold operation (here done in Gimp). Thresholds where adjusted to provide about the same detail in IC pins outlines:

clahe_threshold

OpenCV code to produce the results, adapted from an answer to a stackoverflow.com question (credit goes to user Bull). It takes as arguments an image and a optional integer for clip limit:

#include <stdio.h>
#include <stdlib.h>
#include <opencv2/core/core.hpp>
#include <vector>       // std::vector
#include "opencv2/core/utility.hpp"
#include "opencv2/highgui.hpp"
#include <opencv2/imgproc/imgproc.hpp>

int main(int argc, char** argv)
{
    int clim = 4;
    if (argc = 3)
      clim = atoi(argv[2]);

  // READ RGB color image and convert it to Lab
    cv::Mat bgr_image = cv::imread(argv[1]);
    cv::Mat lab_image;
    cv::cvtColor(bgr_image, lab_image, CV_BGR2Lab);

    // Extract the L channel
    std::vector<cv::Mat> lab_planes(3);
    cv::split(lab_image, lab_planes);  // now we have the L image in lab_planes[0]

    // apply the CLAHE algorithm to the L channel
    cv::Ptr<cv::CLAHE> clahe = cv::createCLAHE();
    clahe->setClipLimit(clim);
    cv::Mat dst;
    clahe->apply(lab_planes[0], dst);

    // Merge the the color planes back into an Lab image
    dst.copyTo(lab_planes[0]);
    cv::merge(lab_planes, lab_image);

   // convert back to RGB
   cv::Mat image_clahe;
   cv::cvtColor(lab_image, image_clahe, CV_Lab2BGR);

   // display the results  (you might also want to see lab_planes[0] before and after).
   cv::imshow("image original", bgr_image);
   cv::imshow("image CLAHE", image_clahe);
   cv::imwrite("out.png",image_clahe);
   cv::waitKey(); 
}

Could something like this be implemented as a new stage in an OpenPnP OpenCV pipeline?

Updated 25/03/2017 19:37 14 Comments

java 9 - reflection cannot make constructor private

arturbosch/detekt

A Java 9 issue related to reflection. I ran java -jar .../detekt-cli.jar -p . against a simple Kotlin project, using Java 9 (build 9-ea+159):

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private jdk.internal.reflect.ConstructorAccessor java.lang.reflect.Constructor.acquireConstructorAccessor() accessible: module java.base does not "opens java.lang.reflect" to unnamed module @34c4973
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
        at java.base/java.lang.reflect.Method.checkCanSetAccessible(Unknown Source)
        at java.base/java.lang.reflect.Method.setAccessible(Unknown Source)
        at com.intellij.util.ReflectionUtil.findMethod(ReflectionUtil.java:265)
        at com.intellij.util.ReflectionUtil.getDeclaredMethod(ReflectionUtil.java:279)
        at com.intellij.util.ReflectionUtil.<clinit>(ReflectionUtil.java:422)
        ... 14 more
Updated 24/03/2017 21:15 1 Comments

Ability to parameterize scenarios

LightBDD/LightBDD

In NUint there is TestCAse attribute, where you can setup parameters for test and it will be launch sereval times with different parameters. I’m Able to add it in LightBDD scenario, but these parameters don’t appear in console output.

e.g. ``` [TestCase(“v5”)] [TestCase(“v4”)] [Scenario] [Label(“Ticket-1”)] public void It_should_be_possible_to_get_movies_by_lat_and_lng_on_api_version(string version) { string lat = Config.getConfig().testCities.msk.lat; string lng = Config.getConfig().testCities.msk.lng;

        Runner.RunScenario(
            _ => Given_api_version(version),
            _ => Given_lat_and_lng(lat, lng),
            _ => When_trying_get_movies_by_lat_and_lng(),
            _ => Then_we_get_statusCode_OK(response),
            _ => Then_content_is_not_null(response));
    }

here is an output:

SCENARIO: [Ticket-1] It should be possible to get movies by lat and lng on api version STEP 1/5: GIVEN api version “v5”… STEP 1/5: GIVEN api version “v5” (Passed after 3ms) STEP 2/5: AND lat “55.7495307478992” and lng “37.6213073730469”… STEP 2/5: AND lat “55.7495307478992” and lng “37.6213073730469” (Passed after <1ms) STEP 3/5: WHEN trying get movies by lat and lng… STEP 3/5: WHEN trying get movies by lat and lng (Passed after 432ms) STEP 4/5: THEN we get statusCode OK [response: “RestSharp.RestResponse”]… STEP 4/5: THEN we get statusCode OK [response: “RestSharp.RestResponse”] (Passed after 7ms) STEP 5/5: AND content is not null [response: “RestSharp.RestResponse”]… STEP 5/5: AND content is not null [response: “RestSharp.RestResponse”] (Passed after 3ms) SCENARIO RESULT: Passed after 474ms

SCENARIO: [Ticket-1] It should be possible to get movies by lat and lng on api version STEP 1/5: GIVEN api version “v4”… STEP 1/5: GIVEN api version “v4” (Passed after <1ms) STEP 2/5: AND lat “55.7495307478992” and lng “37.6213073730469”… STEP 2/5: AND lat “55.7495307478992” and lng “37.6213073730469” (Passed after <1ms) STEP 3/5: WHEN trying get movies by lat and lng… STEP 3/5: WHEN trying get movies by lat and lng (Passed after 123ms) STEP 4/5: THEN we get statusCode OK [response: “RestSharp.RestResponse”]… STEP 4/5: THEN we get statusCode OK [response: “RestSharp.RestResponse”] (Passed after <1ms) STEP 5/5: AND content is not null [response: “RestSharp.RestResponse”]… STEP 5/5: AND content is not null [response: “RestSharp.RestResponse”] (Passed after <1ms) SCENARIO RESULT: Passed after 126ms

```

It would be great if scenario parameters will appear in output

Updated 24/03/2017 20:36 1 Comments

Update UI codebase to support geckodriver and latest Firefox versions

SatelliteQE/robottelo

Starting from Firefox 48, Selenium-Webdriver is not supported as native driver. All attempts to add such support seems as not reliable and it becomes must have approach to move to geckodriver in order running any UI scripts on Firefox browser: https://github.com/SeleniumHQ/selenium/issues/2559 https://github.com/SeleniumHQ/selenium/issues/2942

To run tests using geckodriver next steps needs to be performed: 1) Download and put latest geckodriver version into $PATH https://github.com/mozilla/geckodriver/releases 2) Install latest Firefox browser version https://www.mozilla.org/en-US/firefox/new

Blocking issues at that moment: 1) Actions are not implemented, so it is not possible to work with ActionsChain class: https://github.com/mozilla/geckodriver/issues/233 However there is issue that is closed and functionality has to work: https://github.com/SeleniumHQ/selenium/issues/2285 but after some testing procedures and trying different alternatives, still stuck with that. Code is actually present in selenium, but doesn’t seem to perform real mouse hover event

Updated 24/03/2017 09:53

When a new publisher is created, create an empty publisher stylesheet

mlibrary/heliotrope

When a new publisher is created, we will need to provision a publisher specific stylesheet for that publisher.

When a new publisher is saved via the dashboard:

  • [ ] write a sass include file named _subdomain.scss (subdomain should be replaced with whatever the user has input in the subdomain field)
  • [ ] write to _subdomain.scss a generic template as outlined in #826
  • [ ] write to the last line of /app/assets/stylesheets/themes.scss the name of the newly created sass include
Updated 23/03/2017 15:20

Update to use yoastCS 0.4.x

Yoast/wordpress-seo

Summary

This PR can be summarized in the following changelog entry: N/A

Relevant technical choices:

Raise the YoastCS requirement to 0.4.x

Prerequisites before this PR can be merged: - [x] Merge PR #6852 up to PR #6873 - [ ] Merge Yoast CS PRs https://github.com/Yoast/yoastcs/pull/30, https://github.com/Yoast/yoastcs/pull/31, https://github.com/Yoast/yoastcs/pull/32 - [ ] Tag new Yoast CS release as 0.4.3 - [ ] Fix the last five remaining issues or exclude those lines from code style inspection or even exclude the relevant files for those specific issues (see list below) Those are issues which I believe someone else should have a look at to decide what should be done. - [ ] Generate new composer.lock file and add it to this branch - [ ] Rebase this PR after all the merges & fixes are done & hopefully see the build pass ;-) - [ ] Merge baby, Merge !

Test instructions

This PR can be tested by following these steps: * Check if the build passes (requires PR #6874 or an alternative solution to the PHPUnit issue to be merged)


FILE: wordpress-seo\admin\class-admin-init.php
-----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------
 188 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
-----------------------------------------------------------------------------------

FILE: wordpress-seo\admin\config-ui\class-configuration-page.php
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
 109 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, found 4
     |       |     (Generic.WhiteSpace.ScopeIndent.Incorrect)
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------

FILE: wordpress-seo\admin\pages\licenses.php
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
 217 | ERROR | [x] Line indented incorrectly; expected at least 29 tabs, found 7
     |       |     (Generic.WhiteSpace.ScopeIndent.Incorrect)
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------

FILE: \wordpress-seo\frontend\class-breadcrumbs.php
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
 308 | ERROR | Empty IF statement detected (Generic.CodeAnalysis.EmptyStatement.DetectedIF)
--------------------------------------------------------------------------------------------


FILE: \wordpress-seo\frontend\class-opengraph.php
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
 805 | ERROR | Empty IF statement detected (Generic.CodeAnalysis.EmptyStatement.DetectedIF)
--------------------------------------------------------------------------------------------
Updated 23/03/2017 23:20

WIP: Docs: add 4.0.0 migration guide (fixes #8306)

eslint/eslint

What is the purpose of this pull request? (put an “X” next to item)

[x] Documentation update

<!– If the item you’ve checked above has a template, please paste the template questions below and answer them. (If this pull request is addressing an issue, you can just paste a link to the issue here instead.) –>

<!– Please ensure your pull request is ready:

- Read the pull request guide (http://eslint.org/docs/developer-guide/contributing/pull-requests)
- Include tests for this change
- Update documentation for this change (if appropriate)

–>

<!– The following is required for all pull requests: –>

What changes did you make? (Give an overview)

This adds a migration guide for 4.0.0.

The eslint:recommended section still needs to be filled in after we decide on the changes in https://github.com/eslint/eslint/issues/8236.

This assumes https://github.com/eslint/eslint/issues/7395 will be accepted.

Fixes https://github.com/eslint/eslint/issues/8306

Is there anything you’d like reviewers to focus on?

Let me know if there’s anything unclear, incorrect, or missing from the guide.

Updated 23/03/2017 16:25 2 Comments

start building helm nightly to cover gaps in helm release cycle

samsung-cnct/k2

helm does not cut official releases at the same time as kubernetes. we rely heavily on helm for providing ancillary services on kubernetes (monitoring, logging, CI that targets kubernetes, etc). as such we should be doing our best to be: - testing against alpha and beta versions of kubernetes - papering over the release lag between kubernetes and helm

this is a result of a discussion raised in #222

Updated 22/03/2017 23:14

Document NUnit in .NET Core Guide > Unit Testing

dotnet/docs

@VitalyLitvinuk asks on Unit testing with MSTest and .NET Core

What about NUnit? Is there any guide how to create/setup project to use this framework? Have any plans about NUnit test project creation via “dotnet new nunit”?

A doc covering NUnit might be temporarily blocked by https://github.com/nunit/nunit3-vs-adapter/issues/297, and commentary in https://github.com/nunit/nunit3-vs-adapter/issues/308 indicates on-going work.

cc/ @rprouse

Updated 24/03/2017 16:32 2 Comments

[10.0] [FIX] allow defering of parent computation after load call

odoo/odoo

Restore the ability to import a large amount of data in an efficient way by splitted in small files with multiple workers and avoid concurent error blocking on parent fields update

Description of the issue/feature this PR addresses:

It is now impossible to make efficient import of data of object having a hierarchy. You can’t use multiple workers to load your data. As deferring the parent computation after csv files have been imported is impossible. You will get stuck by concurrent errors due to Updates on parents fields. The concurrent errors are due to the forced computation on load when choosing defer_parent_store_computation

This PR offers on alternative to still be able to manually call the _parent_store_compute() afterward.

Current behavior before PR:

https://github.com/odoo/odoo/commit/d477dcc31606cd41cb1622a5d078407fad2e57a7

Desired behavior after PR is merged:

Alternative option to have what worked prior to https://github.com/odoo/odoo/commit/d477dcc31606cd41cb1622a5d078407fad2e57a7 in order to be able to import large amount of data By example using https://github.com/tfrancoi/odoo_csv_import

@tfr-odoo @odony

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Updated 27/03/2017 11:18

Basic routing engine

Kentico/cloud-boilerplate-net

The idea is to provide a single controller with a single action method that would facilitate the basic routing. The action method would fetch content items and channel them to views or, more specifically, to display templates based on their CLR type. The fetching of the content items would be based on their relative path specified by the only parameter of the action method. The relative path would be taken from the requested URL using a catch-all placeholder in the route.

This would allow: - changing structure of the website without an intervention of the developer - covering basic routing scenarios without having to configure routing

Note: Any more specific routing requirements can be fulfilled by defining routes that would take precedence during evaluation.

Note 2: currently, it’s impossible to implement this feature because of the inability to retrieve content items by relative path/url. This will be implemented in one of the upcoming milestones.

Updated 22/03/2017 17:00

Search: Current Grade Facet

mitodl/micromasters

DEDP and SCM have a specific use case where they want to send a group email to learners who are doing well in a currently-running course, but haven’t paid yet. Although we have all the data necessary for this, it’s not exposed in the learner search.

Adding a “Current Grade” facet, similar to the “Final Grade” facet would allow them to accomplish what they need. The staff user would:

  1. Click on a course in the course facet
  2. Click the “audit” sub facet for that course
  3. Click the current semester from the semester facet
  4. Use the sliders in the new “Current Grade” facet to choose a range that is likely to pass
  5. Click the “email these learners” button and proceed with a mailing.
Updated 24/03/2017 18:14 1 Comments

Shall we Include Cells in an Organ Model?

UPDDI/mps-database-server

It has been proposed (in the past and now again) to include cells in an organ model rather than a setup.

This is coherent in so far as the organ models we have thus encountered, but perhaps it poses a problem if we would like to specify the exact lot and passage cells came from (which will presumably change).

We can handle this issue by either: 1.) Ignoring the level of granularity for cell samples that specifies lot and passage 2.) Pre-generating a list of cell samples in a setup and just specifying the lot, passage, etc.

Another consideration is that the cells may diverge from those specified in the protocol. This raises the question as to whether a divergence in cells is sufficient reason for an entirely new protocol or if we will need to continue specifying cells in a manner similar to what is currently done.

Updated 22/03/2017 15:50

LBaaSv2 solutions test has broken graphics links

F5Networks/f5-openstack-lbaasv2-driver

Agent Version

NA

Operating System

NA

OpenStack Release

Latest

Bug Severity

2

Description

http://f5-openstack-lbaasv2-driver.readthedocs.io/en/latest/solution-test-plan.html

shows broken image links for the Network Architecture graphics. Specifically links to:

http://f5-openstack-lbaasv2-driver.readthedocs.io/en/media/f5-lbaas-test-architecture-grm.png http://f5-openstack-lbaasv2-driver.readthedocs.io/en/media/f5-lbaas-test-architecture-l2adj.png

Hopefully this is just a ‘getting there’ thing.

Thanks!

Updated 22/03/2017 17:38 1 Comments

Adding Span IndexOfAny APIs that take 2 and 3 bytes

dotnet/corefx

From: https://github.com/dotnet/corefxlab/pull/1348#issuecomment-287998752

Part of https://github.com/dotnet/corefxlab/issues/1314 / https://github.com/dotnet/corefxlab/issues/1293

Adding: C# public static int IndexOfAny(this Span<byte> span, byte value0, byte value1) public static int IndexOfAny(this Span<byte> span, byte value0, byte value1, byte value2) public static int IndexOfAny(this Span<byte> span, ReadOnlySpan<byte> values) public static int IndexOfAny(this ReadOnlySpan<byte> span, byte value0, byte value1) public static int IndexOfAny(this ReadOnlySpan<byte> span, byte value0, byte value1, byte value2) public static int IndexOfAny(this ReadOnlySpan<byte> span, ReadOnlySpan<byte> values) Edit: IndexOf => IndexOfAny

cc @KrzysztofCwalina, @davidfowl

Updated 25/03/2017 19:31 7 Comments

Rule: NIRSpec AUTOCAL expected behavior

STScI-JWST/jwst

According to J.Muzerolle:

Generally speaking, each wavecal should be associated with one science exposure taken with the same grating in the same visit. They need to be taken before the grating wheel has moved in order to avoid shifts in the wavelength direction. So, a typical sequence might look like this:

  • science G140H
  • wavecal G140H
  • science G235H
  • wavecal G235H
  • science G140H
  • wavecal G140H

In some cases, there may be more than one wavecal for the same grating in a visit (though this may not be common), the association should be made with the closest science exposure before the grating wheel has moved to a new position. If there is no appropriate wavecal for a science exposure (for example, if for some reason the first one in the above list was not specified), none should be applied.

Ensure the rules behave in this manor.

Updated 21/03/2017 22:03 1 Comments

only allow the facilitator to trigger action-item distribution email

stride-nyc/remote_retro

As a retrospective participant who doesn’t want to have to worry about the flow of the retro, I want the retrospective facilitator to manage the distribution of action items via email, So that I can focus my full attention on participating.

Prerequisites:

  • [ ] enable email distribution of action items (#54)

Acceptance Criteria:

  • [ ] only facilitators can see the “Send Action Items” button introduced in in #54
Updated 21/03/2017 21:56

Update VS for Mac tutorial unit testing guidance

dotnet/docs

Current unit testing guidance is to run the tests via the command line instead of from within the IDE and to run the project directly as opposed to using the Play button. The doc makes these compromises due to the inability of xUnit to discover tests properly. The doc should be updated to run the tests and run the project from the IDE.

This work is blocked by https://github.com/xunit/xamarinstudio.xunit/issues/60.

Updated 21/03/2017 21:32

Show open / closed / merged status?

octobox/octobox

There are a few projects where the issue being closed / opened will dictate whether I’m interested in the change (i.e. personal projects I care about issues being opened / closed by someone, but larger projects - closing is done by a team member and requires no interaction).

It would be amazing to see the state of the PR / issue at the top level of octobox UI.

Updated 22/03/2017 16:01 1 Comments

Create RESTFUL Endpoints

ardaogulcan/SWE573

Blocked By https://github.com/ardaogulcan/SWE573/issues/8

Restful endpoints should be created for the api.

General Requirements - API should support versioning. Versions should be named as v1/, v2/ - API should output as JSON and should be able to get requests with JSON objects. - API responses should follow HTTP Response Code standards. - Routes should be configured by RESTFUL approach. - GET resource/ -> List resources - GET resource/:id -> Output specific resource

Updated 21/03/2017 17:05

Publishing a node translation unpublishes other translations

acquia/lightning

On our project we are using Content Translation, Interface Translation, and Workbench 8.x-1.1. The symptom we see is that whenever a translation is published, it unpublishes any other translation drafts.

We were able to reproduce this bug using the following steps:

  • Create a node and translate it into multiple languages
  • Edit more than 1 of the translations (leave them as draft)
  • Both will still appear as “published” in the /node/*/translations screen
  • Now edit one of those translations (doesn’t matter which) and set the status back to published and save
  • Go back to /node/*/translations, note that the other language that was edited will now display as “draft” state and will no longer be anonymously accessible

This might share a root cause with this drupal.org issue.

Updated 21/03/2017 19:24 1 Comments

Automate browser regression testing

LikeMyBread/Saylua

Merged from #66, #68. Initial attempts to solve #68 lead down a long path of chained dependencies and unplanned requirements. It seems that solving the larger issue of browser regression testing is better outlined in it’s own ticket before the underlying frontend testing tickets are addressed again.

Purpose:

This ticket is meant to address build instability at a very basic level, simple “Does it run without errors” testing. This would prevent developers from introducing breaking changes without being explicitly aware that they are doing so.

Resolution:

Introduce global page sanity checks as one of our tests. Load page, check for Javascript errors, pass or fail.

Steps to resolve:

While technically doable within Mocha, this is almost definitely better solved using Pytest.

  • [ ] Install Selenium
  • [ ] Create a pytest fixture for application URLs (derived from module blueprints)
  • [ ] Write a test that loops through all URLs and checks for console errors.

Both of these require that the devserver is able to run on Travis. ( Making it partially blocked by #67 )

Updated 21/03/2017 12:00

Joint Ownership

azaroth42/museum-lod

At a recent Provenance Index meeting, we presented the top two options for modeling joint ownership – virtually partition the object and track each separately, or create a virtual group of people who would jointly own the object. The recommendation was that the virtual partitioning is preferable for research purposes, as it’s easier to track who owned how much of what at any given time, and those partitions are sold, resold and transferred in the same way as the modern day stock market.

However, LegalObject is a superclass of PhysicalThing, which is where P46 consists_of (aka part) is defined and what can have its ownership transferred by E8. So we cannot have a Painting have LegalObject parts. Also, Acquisition can only transfer E18 Physical Objects. So I don’t think we can, given the current CRM constraints, actually have virtual parts of objects be owned.

Given the current discussion about Rights, maybe we’ve caught sufficient interest from the SIG to result in some improvements to the model here.

Updated 20/03/2017 21:30 3 Comments

Google Mobile Ads Rewarded ad not loading : Internal error [Unity] [Game] [GoogleMobileAds plugin]

googleads/googleads-mobile-unity

Hello,

i have been searching for solution to fix Ad not loading and cant find any.

I am new to all this. I have developed game using Unity 5.5.0f3 Used Google Mobile Ads Unity Plugin v3.3.0 referred to Youtube video : Unity and AdMob Rewarded Video - Mobile Ads Garage #14 I have created two ad units Banner works fine Rewarded ad not loading on phone nor emulator (as seen in below image) capture2

My app is not linked to Play store. Rewarded ad is using Admob network

Unity C# Script (added to a preloader scene ) :

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GoogleMobileAds;
using GoogleMobileAds.Api;

public class AdmobAds : MonoBehaviour {

    public static AdmobAds Instance{ set; get;}

    public string bannerID,rewardedID;

    private BannerView bannerView;
    private RewardBasedVideoAd rewardView;

    public bool rewardedLoaded,adShowed;

    private void Start(){

        Instance = this;
        DontDestroyOnLoad (gameObject);

        rewardView = RewardBasedVideoAd.Instance;

        rewardView.OnAdClosed += HandlerOnAdClosed;
        rewardView.OnAdFailedToLoad += HandlerOnAdFailedToLoad;
        rewardView.OnAdLeavingApplication += HandlerOnAdLeavingApplication;
        rewardView.OnAdLoaded += HandlerOnAdLoaded;
        rewardView.OnAdOpening += HandlerOnAdOpening;
        rewardView.OnAdRewarded += HandlerOnAdRewarded;
        rewardView.OnAdStarted += HandlerOnAdStarted;

        Debug.Log ("Admanger in start");

        #if UNITY_EDITOR
        #elif UNITY_ANDROID
        bannerView = new BannerView (bannerID, AdSize.Banner, AdPosition.Bottom);
        AdRequest bannerRequest = new AdRequest.Builder ().Build ();
        bannerView.LoadAd (bannerRequest);
        #endif
        LoadReward ();
    }

    public void LoadReward(){
        if (rewardView.IsLoaded ()==false) {
            rewardView.LoadAd (new AdRequest.Builder ().Build (), rewardedID);
            Debug.Log ("Loading ad..");
        }
    }

    public void ShowRewardAd(){
        if (rewardView.IsLoaded ()) {
            Debug.Log ("playing ad");
            rewardView.Show ();
        }
        Debug.Log ("playing ad : "+ rewardView.IsLoaded ());
    }

    public void ShowBanner(){
        #if UNITY_EDITOR
        Debug.Log("NO ShowBanner AD IN UNITY EDITOR");
        #elif UNITY_ANDROID
        bannerView.Show ();
        #endif
    }

    public void HideBanner(){
        #if UNITY_EDITOR
        Debug.Log("NO HideBanner AD IN UNITY EDITOR");
        #elif UNITY_ANDROID
        bannerView.Hide ();
        #endif
    }

    public void HandlerOnAdLoaded(object sender,EventArgs args){
        rewardedLoaded = true;
        Debug.Log ("ad loaded");
    }

    public void HandlerOnAdFailedToLoad(object sender,AdFailedToLoadEventArgs args){
        Debug.Log ("Filed Loading Ad : " + args.Message );
        LoadReward ();
    }

    public void HandlerOnAdOpening(object sender,EventArgs args){
    }

    public void HandlerOnAdStarted(object sender,EventArgs args){
    }

    public void HandlerOnAdClosed(object sender,EventArgs args){
        adShowed = false;
    }

    public void HandlerOnAdRewarded(object sender,Reward args){
        Debug.Log (args.Amount + " " + args.Type );
        adShowed = true;
    }

    public void HandlerOnAdLeavingApplication(object sender,EventArgs args){
    }

    public void resetAdShowed(){
        adShowed = false;
    }
}

Unity Log while Exporting Apk :

Assets/Scripts/AdmobAds.cs imported, resolving play-services
UnityEngine.Debug:Log(Object)
GooglePlayServices.DefaultResolver:ShouldAutoResolve(String[], String[], String[], String[])
GooglePlayServices.PlayServicesResolver:OnPostprocessAllAssets(String[], String[], String[], String[])
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])


Project GPM data does not exist. Creating new object.
UnityEngine.Debug:Log(Object)
Google.PackageManager.LoggingController:Log(String)
Google.PackageManager.ProjectManagerController:InflateProjectRecord(String)
Google.PackageManager.ProjectManagerController:.cctor()
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

Logcat for Android Emulator :

DataInstallerReceiver
03-20 19:47:49.608  1487  2126 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xivestudio.longland/com.unity3d.player.UnityPlayerActivity} from uid 2000 on display 0
03-20 19:47:49.672  1487  1765 I ActivityManager: Start proc 2849:com.xivestudio.longland/u0a66 for activity com.xivestudio.longland/com.unity3d.player.UnityPlayerActivity
03-20 19:47:50.127  1487  1498 I ActivityManager: Killing 2238:com.android.dialer/u0a6 (adj 906): empty #17
03-20 19:47:50.610  1487  1510 I ActivityManager: Displayed com.xivestudio.longland/com.unity3d.player.UnityPlayerActivity: +952ms
03-20 19:47:50.677  2849  2865 E Unity   : Unable to find AudioPluginMsHRTF
03-20 19:47:50.677  2849  2865 E Unity   : Unable to find AudioPluginOculusSpatializer
03-20 19:47:50.868  2849  2865 D Unity   : GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 ANDROID_EMU_CHECKSUM_HELPER_v1
03-20 19:47:52.175  2849  2865 D Unity   : #version 100
03-20 19:47:52.182  2849  2865 D Unity   : #extension GL_EXT_frag_depth : enable
03-20 19:47:52.182  2849  2865 D Unity   : precision highp float;
03-20 19:47:52.182  2849  2865 D Unity   : uniform highp vec4 _ProjectionParams;
03-20 19:47:52.182  2849  2865 D Unity   : uniform highp vec4 _ZBufferParams;
03-20 19:47:52.182  2849  2865 D Unity   : uniform highp mat4 unity_CameraToWorld;
03-20 19:47:52.182  2849  2865 D Unity   : uniform highp mat4 _NonJitteredVP;
03-20 19:47:52.183  2849  2865 D Unity   : uniform highp mat4 _PreviousVP;
03-20 19:47:52.183  2849  2865 D Unity   : uniform highp sampler2D _CameraDepthTexture;
03-20 19:47:52.183  2849  2865 D Unity   : varying highp vec2 xlv_TEXCOORD0;
03-20 19:47:52.183  2849  2865 D Unity   : varying highp vec3 xlv_TEXCOORD1;
03-20 19:47:52.184  2849  2865 D Unity   : void main ()
03-20 19:47:52.184  2849  2865 D Unity   : {
03-20 19:47:52.184  2849  2865 D Unity   :   highp vec4 tmpvar_1;
03-20 19:47:52.184  2849  2865 D Unity   :   tmpvar_1 = texture2D (_CameraDepthTexture, xlv_TEXCOORD0);
03-20 19:47:52.184  2849  2865 D Unity   :   mediump vec2 tmpvar_2;
03-20 19:47:52.184  2849  2865 D Unity   :   highp vec4 tmpvar_3;
03-20 19:47:52.184  2849  2865 D Unity   :   tmpvar_3.w = 1.0;
03-20 19:47:52.184  2849  2865 D Unity   :   tmpvar_3.xyz = ((xlv_TEXCOORD1 * (_ProjectionParams.z / xlv_TEXCOORD1.z)) * (1.0/((
03-20 19:47:52.184  2849  2865 D Unity   :     (_ZBufferParams.x * tmpvar_1.x)
03-20 19:47:52.191  2849  2865 D Unity   :    + _ZBufferParams.y))));
03-20 19:47:52.192  2849  2865 D Unity   :   highp vec4 tmpvar_4;
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_4 = (unity_CameraToWorld * tmpvar_3);
03-20 19:47:52.192  2849  2865 D Unity   :   highp vec4 tmpvar_5;
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_5 = (_PreviousVP * tmpvar_4);
03-20 19:47:52.192  2849  2865 D Unity   :   highp vec4 tmpvar_6;
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_6 = (_NonJitteredVP * tmpvar_4);
03-20 19:47:52.192  2849  2865 D Unity   :   highp vec2 tmpvar_7;
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_7 = (((tmpvar_5.xy / tmpvar_5.w) + 1.0) / 2.0);
03-20 19:47:52.192  2849  2865 D Unity   :   highp vec2 tmpvar_8;
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_8 = (((tmpvar_6.xy / tmpvar_6.w) + 1.0) / 2.0);
03-20 19:47:52.192  2849  2865 D Unity   :   tmpvar_2 = (tmpvar_8 - tmpvar_7);
03-20 19:47:52.192  2849  2865 D Unity   :   mediump vec4 tmpvar_9;
03-20 19:47:52.193  2849  2865 D Unity   :   tmpvar_9.zw = vec2(0.0, 1.0);
03-20 19:47:52.193  2849  2865 D Unity   :   tmpvar_9.xy = tmpvar_2;
03-20 19:47:52.193  2849  2865 D Unity   :   gl_FragDepthEXT = tmpvar_1.x;
03-20 19:47:52.193  2849  2865 D Unity   :   gl_FragData[0] = tmpvar_9;
03-20 19:47:52.193  2849  2865 D Unity   : }
03-20 19:47:52.193  2849  2865 D Unity   : fragment evaluation shader
03-20 19:47:58.084  2849  2865 I Unity   : Admanger in start
03-20 19:47:58.084  2849  2865 I Unity   :
03-20 19:47:58.084  2849  2865 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-20 19:47:58.084  2849  2865 I Unity   :
03-20 19:47:58.134  2849  2865 I Unity   : Loading ad..
03-20 19:47:58.134  2849  2865 I Unity   :
03-20 19:47:58.134  2849  2865 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-20 19:47:58.134  2849  2865 I Unity   :
03-20 19:47:59.776  1487  2140 W ActivityManager: Unable to start service Intent { act=com.android.vending.billing.InAppBillingService.BIND pkg=com.android.vending } U=0: not found
03-20 19:48:00.758  1487  1581 W ActivityManager: Unable to start service Intent { act=com.android.vending.billing.InAppBillingService.BIND pkg=com.android.vending } U=0: not found
03-20 19:48:00.784  1487  1765 W ActivityManager: Unable to start service Intent { act=com.android.vending.contentfilters.IContentFiltersService.BIND pkg=com.android.vending } U=0: not found
03-20 19:48:00.784  1487  2154 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@b6ce0f7
03-20 19:48:00.786  1487  2153 W ActivityManager: Unable to start service Intent { act=com.android.vending.contentfilters.IContentFiltersService.BIND pkg=com.android.vending } U=0: not found
03-20 19:48:00.787  1487  1851 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@ff13b64
03-20 19:48:10.806  2849  2849 I Unity   : Filed Loading Ad : Internal error
03-20 19:48:10.806  2849  2849 I Unity   :
03-20 19:48:10.806  2849  2849 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-20 19:48:10.806  2849  2849 I Unity   :
03-20 19:48:10.828  2849  2849 I Unity   : Loading ad..
03-20 19:48:10.828  2849  2849 I Unity   :
03-20 19:48:10.828  2849  2849 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
03-20 19:48:10.828  2849  2849 I Unity   :
03-20 19:48:10.945  1487  1618 W ActivityManager: Unable to start service Intent { act=com.android.vending.contentfilters.IContentFiltersService.BIND pkg=com.android.vending } U=0: not found
03-20 19:48:10.946  1487  1765 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@63681e2
03-20 19:48:12.393  2849  2849 I Unity   : Filed Loading Ad : Internal error
03-20 19:48:12.393  2849  2849 I Unity   :
03-20 19:48:12.393  2849  2849 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Sorry for noob type of mistakes. Thanks :)

Updated 20/03/2017 21:23 1 Comments

Allow task assignment from new task page

code-corps/code-corps-ember

Problem

Users which are allowed to do so should be able to assign tasks from the new task page. We should use the component extracted in #1172 to achieve this, so this will be marked as blocked until we’re ready for that.

Since this is for a new task, it should be implemented similarly to skill assignments. Instead of immediately creating a userTask record as soon as the user makes a dropdown selection, we should assign the selected user to a controller/route property. Once the user then saves the task, we should create and save the userTask record automatically.

This means that the component defined in #1172 might have to be modified to allow external assignment of the user, and tests would have to be updated to support this.

Subtasks

  • [ ] Include component from #1172 in project/tasks/task/new.hbs
  • [ ] Modify component so it allows external assignment of the assigned user. This should be relatively simple and be just a matter of overwriting the component property.
  • [ ] Update component tests so they cover this case
  • [ ] Handle onChange action correctly in route/controller. It should work similarly to how skill assignment works.
  • [ ] Modify task save action on route/controller to also create a userTask once saving is done
  • [ ] Fix any styling issues that might occur from using the component in the sidebar instead of the task card.
Updated 20/03/2017 18:23

Allow task reassignment from task edit page

code-corps/code-corps-ember

Problem

Users which are allowed to do so should be able to (re)assign tasks from the task edit page. We should use the component extracted in #1172 to achieve this, so this will be marked as blocked until we’re ready for that.

Subtasks

  • [ ] Include component from #1172 in project/tasks/task/task.hbs
  • [ ] Handle onChange action correctly in route/controller
  • [ ] Fix any styling issues that might occur from using the component in the sidebar instead of the task card.
Updated 20/03/2017 18:23

[Snyk Update] New fixes for 3 vulnerable dependency paths

cnnlabs/cnn-google-newsstand

This project has vulnerabilities that could not be fixed, or were patched when no upgrade was available. Good news, new upgrades or patches have now been published! This pull request fixes vulnerable dependencies you couldn’t previously address.

The PR includes:

  • Changes to package.json to upgrade the vulnerable dependencies to a fixed version.

Vulnerabilities that will be fixed

With an upgrade:

You can read more about Snyk’s upgrade and patch logic in Snyk’s documentation.

Note that this pull request only addresses vulnerabilities that previously had no fixes. See the Snyk test report to review and remediate the full list of vulnerable dependencies.

Check the changes in this PR to ensure they won’t cause issues with your project.

Stay secure, The Snyk team

<!– snyk:metadata:{“type”:“remediation”,“packageManager”:“npm”,“vulns”:[“npm:ws:20160920”],“patch”:[],“ignore”:[],“upgrade”:[“npm:ws:20160920”],“isBreakingChange”:true} –>

Updated 20/03/2017 16:42 1 Comments

Channel List is blank

creesch/discordIRCd

I’ve followed your instructions, but I don’t believe I’m doing it entirely correctly My token is being accepted, and I used what I believe should be the correct guild id via /PASS (in my example 157745176616501248)

My username matches authentication and I’m connected to the irc fine, but using /list returns no channels

My debug looks a little like this

Updated 25/03/2017 17:26 3 Comments

Fork me on GitHub