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

Further potential compounds to make with 2-phenylpropan-1-ol fragments

OpenSourceMalaria/Series4

There are, to date, three compounds containing the 2-phenylpropan-1-ol fragment:

a

We’ve discussed the first and third in that row a lot…current synthetic efforts are already heavily focused on exploring H-bond donor analogues of OSM-S-412 (#3), itself initially arising from a biosynthesis using MMV693155 (OpenSourceMalaria/OSM_To_Do_List/issues/513) and we have a poll to investigate this further: OpenSourceMalaria/OSM_To_Do_List/issues/555.

Looking back through the inherited compounds I realised that MMV670947 also has a similar structure, and has good potency. So, should we not just be focused on H-bond donors on that ring but investigating substitution more widely? We had begun to discuss that already a little across at #3.

All of the following, some probably better ideas than others, could be made in our labs with chemicals we already have available to us through the following methodology.

c


b

Updated 15/12/2017 04:13

idp claim is missing

IdentityServer/IdentityServer4
  • [x] I read and understood how to enable logging

Issue / Steps to reproduce the problem

Version: 2.0.4 Reproduce: 1. Signin the mainpage of the client portal with oidc. 2. Stay at mainpage until the token is expired. 3. Refresh the mainpage.

Expected: Redirect to the login page. Actual: Exception page.

Relevant parts of the log file

 "Message": "idp claim is missing",
        "ActivityId": "0HLA3C9OK7NCQ:00000001",
        "TimeStamp": "2017-12-15T02:20:54Z",
        "ProcessId": 17220,
        "LocalIpAddress": "::1:5000",
        "RemoteIpAddress": "::1"
      }
crit: IdentityServer4.Hosting.IdentityServerMiddleware[0]
      Unhandled exception: System.InvalidOperationException: idp claim is missing
         at IdentityServer4.Extensions.PrincipalExtensions.GetIdentityProvider(IIdentity identity)
         at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessLoginAsync>d__6.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessInteractionAsync>d__5.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Endpoints.AuthorizeEndpointBase.<ProcessAuthorizeRequestAsync>d__14.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Endpoints.AuthorizeEndpoint.<ProcessAsync>d__1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
crit: IdentityServer4.Hosting.IdentityServerMiddleware[0]
      Unhandled exception: System.InvalidOperationException: idp claim is missing
         at IdentityServer4.Extensions.PrincipalExtensions.GetIdentityProvider(IIdentity identity)
         at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessLoginAsync>d__6.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessInteractionAsync>d__5.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Endpoints.AuthorizeEndpointBase.<ProcessAuthorizeRequestAsync>d__14.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Endpoints.AuthorizeEndpoint.<ProcessAsync>d__1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
      An unhandled exception has occurred while executing the request
System.InvalidOperationException: idp claim is missing
   at IdentityServer4.Extensions.PrincipalExtensions.GetIdentityProvider(IIdentity identity)
   at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessLoginAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator.<ProcessInteractionAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.AuthorizeEndpointBase.<ProcessAuthorizeRequestAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.AuthorizeEndpoint.<ProcessAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.BaseUrlMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
      An unhandled exception has occurred while executing the request
Updated 15/12/2017 04:27 3 Comments

Ability To add Ranks

xXNiceAssasinl0/CrateUI

I was asking if you could add the ability to add ranks for example. You get item says the certain rank. Tap on ground. It redeems. And removes from inv. You could make an addon for this plugin with my suggestion. i think it would be really cool. :) With pure perms and pure chat

Updated 15/12/2017 02:23 5 Comments

Compiling with Rider in Linux

apexsharp/apexsharp

The project fails to compile with Rider when running in Linux. Running dotnet restore, in each project directory seems to clear this error and allow for compiling.

After correcting the paths in Setup.cs for linux another error is thrown. Microsoft.Common.CurrentVersion.targets(2924, 5): [MSB3552] Resource file “*/.resx” cannot be found.

Prior to changing the paths, the project did run once, but failed with a null path. {System.ArgumentException: Path cannot be the empty string or all whitespace. Parameter name: path at System.IO.Directory.CreateDirectory(String path) at ApexSharpApi.ConnectionUtil.CreateSession(ApexSharpConfig config) in /home/dforeman/Projects/apexsharp/ApexSharpApi/ConnectionUtil.cs:line 63 at ApexSharpApi.ApexSharp.CreateSession() in /home/dforeman/Projects/apexsharp/ApexSharpApi/ApexSharp.cs:line 30 at Demo.Setup.Init() in /home/dforeman/Projects/apexsharp/Demo/Setup.cs:line 38 at Demo.Program.Main(String[] args) in /home/dforeman/Projects/apexsharp/Demo/Program.cs:line 15}

I think this is more related to Rider itself than the project, but do not have a resolution at the moment. If anyone else gets it to run, I’d appreciate knowing how.

Updated 15/12/2017 02:19 3 Comments

Overflow

thom0610/responsive-header

@thomasjbradley

My 320 screenshot looks almost identical to what it’s supposed to look like. How do I get rid of the overflow? I’ve tried a few variations so far..markbot is saying there is a 43% difference and I’m really hoping that is all that is missing.

Also, are my paddings in the right place so far?

Updated 15/12/2017 01:29

Support Satoshis only [for now]

bitcoinjs/bolt11

On a discussion with @roasbeef, the suggestion was that msats will be too confusing in the short term, and

I don’t really see msat being used for anything, at least in the short term

and

lnd always display sat, and accepts sat (on the rpc layer)

I propose, until the use cases come out, we temporarily drop the support and deal only in satoshis.

Thoughts @junderw ?

Updated 15/12/2017 01:09

serverless deploy python code issue

UnitedIncome/serverless-python-requirements

Hi,

I am trying to deploy my python code on aws lambda using serverless and I am following the below tutorial: https://serverless.com/blog/serverless-python-packaging/

When I am trying to deploy I get the below error:

Error ————————————————–

Exception: Traceback (most recent call last): File “/var/lang/lib/python3.6/site-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/var/lang/lib/python3.6/site-packages/pip/commands/install.py”, line 388, in run ensure_dir(options.target_dir) File “/var/lang/lib/python3.6/site-packages/pip/utils/init.py”, line 83, in ensure_dir os.makedirs(path) File “/var/lang/lib/python3.6/os.py”, line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: ‘/var/task/.serverless/requirements’

Can anyone help me out with that.

Updated 15/12/2017 02:35 1 Comments

Extending Rest Client to expose more method on HttpClient so interfaces are more similar

NimaAra/Easy.Common

Hello!

I commented on your blog post about this and you suggested I should contribute, so here I am, hello :)

Extending the class is simple enough, however I just wanted to get your thoughts on the IRestClient Interface. There is only one implementation in this library but could people have created their own implementations? Extending the interface could break their code which is not good.

My plan b is implement the ‘missing’ methods as extension methods of IRestClient - this would then not break any existing implementations of IRestClient.

What are you’re thoughts?

Updated 15/12/2017 00:23 2 Comments

2.x -- group by, custom map variant

ReactiveX/RxJava

We are using release 2.1.7.

As is noted in the “What’s Different” page, the variant of groupBy that accepts a custom map factory is not currently part of the 2.x API. We were relying on this to implement “eviction” of groups that haven’t been seen for a “long time” (where “long” is user specified). Our system maintains Flowable instances for its entire lifetime (which is hopefully weeks/months), so it is important to be able to reclaim resources as we go.

Anyway – my questions are – are the plans to bring this back? Is there a suggested alternative for implementing the disposal of groups after a period of inactivity? Any guidance would be appreciated.

Updated 15/12/2017 02:20 3 Comments

City Grid API

WordImpress/WP-Business-Reviews

Issue Overview

I stumbled upon this website that YP integrates with: http://www.citysearch.com/guide/san-diego-ca

They seem to have a promising API that claims to pull in content from other networks: 2017-12-14_15-37-16

Questions

  1. How many reviews are returned?
  2. What does it take to access the API?
  3. Can you search the API by business?
  4. Can you get reviews from other networks or only CitySearch?
  5. How many businesses locally use this? For instance, can we find popular businesses in our area with reviews?

Links of Interest

  • Developer page http://www.citygridmedia.com/developer/

  • Places API http://docs.citygridmedia.com/display/citygridv2/Places+API#PlacesAPI-WhereSearchUsageExamples

  • Example Response http://docs.citygridmedia.com/display/citygridv2/Places+API#PlacesAPI-JSONResponse

Updated 14/12/2017 23:42

Roomに対する認証どうする?

benjomeshi/whiteboard

Room PassみたいなのをOwnerが保管してそれを使って認証していくか Friend機能みたいなのを実装して招待できるようにしていくか この場合TeamみたいなAccess Controlしやすくするか User IDを使って毎回招待するようにするか

Room Passが実装が一番楽そう

Updated 15/12/2017 02:00 1 Comments

Find libs for symbols in legacy/microchip

KiCad/kicad-symbols

The symbols for the following component categories need to find a good home. - [ ] Serial to parallel converter - [ ] I2c and SPI I/O expanders - [ ] Clock divider - [ ] A/D converter (I assume this should be moved to adc.lib)

The symbols have been moved into the legacy libs by PR: https://github.com/KiCad/kicad-symbols/pull/57

Updated 14/12/2017 22:54

Requeriment change: Isn't better to have an button to "Cancel Order"?

Allanflo88/SistemaVendas

In Clients, Sellers and Products pages, we have four buttons: Save, Update, Remove and Cancel. But it’s strange to update an order, or remove them after your placing.

I think that, in the Place order page, it’s better to have just two buttons: Save and Cancel Order. The Cancel will act as a Remove button, but with another name. Update will not exist anymore.

Updated 15/12/2017 00:43 1 Comments

repeat-expr can't use fields defined in instances

kaitai-io/kaitai_struct

Moving issue from https://github.com/kaitai-io/kaitai_struct_compiler/issues/121, orignally by @yannayl


Trying to compile this .ksy file: ksy meta: id: floats endian: le instances: - id: num_floats type: u4 - id: floats type: f8 repeat: expr repeat-expr: num_floats yields the following error: /instances: expected map, got List(Map(id -> num_floats, type -> u4), Map(id -> floats, type -> f8, repeat -> expr, repeat-expr -> num_floats)) (class scala.collection.immutable.$colon$colon)

This file is a copy-paste from the examples replacing a seq with instances.

I’m not sure if it is related to issue #70 or not.

Updated 14/12/2017 22:44 1 Comments

Need explanation of how embed+text widget is intended to work

sul-dlss/exhibits

embed+text widget states:

“This widget embeds a web resource and a text block to the left or right of it.”

For purposes of this widget, how is “web resource” defined? I am not able to enter any URL and have it render on the page using this widget.

Wikipedia says:

“A web resource is anything that can be obtained from the World Wide Web. Some examples are web pages, e-mail, information from databases, and web services.”

It would be helpful to have an example of a web resource that renders using this widget – or instead – having validation that this widget doesn’t work, if that is what is happening.

Updated 15/12/2017 00:07

General docker-compose: ISLE-MYSQL consider use of a volume for data

Islandora-Collaboration-Group/ISLE

Having data on volume may make it easier to get at those DB files, maybe even add your own data directly into it.

Not sure (read: highly doubt) if moving entire SQL data folders around is something to do. May just rely on dump and import for CUSTOMIZATION. To that end: review the MySQL default init or entrypoint script - I think it will scour a folder looking for sql, sql.gz or .tar files and import.

Please review my refactor pull and see if it made sense?

See #63 #64

tagging: @Islandora-Collaboration-Group/isle-steering-committee

Updated 15/12/2017 03:07

Django 1.9 fastcgi IIS fails

Microsoft/PTVS

I’ve published my Django application to IIS after upgrading Django installation locally , in my virtualenv, and on the server. I just finished migrating my application from Django 1.6 to 1.9 and in DEBUG everything seems to work fine. The published application fails to run:

Error occurred while reading WSGI handler:

Traceback (most recent call last):
  File "c:\python27\Lib\site-packages\wfastcgi.py", line 791, in main
    env, handler = read_wsgi_handler(response.physical_path)
  File "c:\python27\Lib\site-packages\wfastcgi.py", line 633, in read_wsgi_handler
    handler = get_wsgi_handler(os.getenv("WSGI_HANDLER"))
  File "c:\python27\Lib\site-packages\wfastcgi.py", line 605, in get_wsgi_handler
    handler = handler()
  File ".\ptvs_virtualenv_proxy.py", line 102, in get_virtualenv_handler
    handler = get_wsgi_handler(os.getenv('WSGI_ALT_VIRTUALENV_HANDLER'))
  File ".\ptvs_virtualenv_proxy.py", line 76, in get_wsgi_handler
    handler = getattr(handler, name)
AttributeError: 'module' object has no attribute 

Cant find the problem

Updated 15/12/2017 01:24 1 Comments

Expose some sensors only

ebaauw/homebridge-hue

Hi @ebaauw,

Is it possible to expose some of the sensors and not others? I’d like to expose the motion sensors, only for being able to disable them with homekit, without having all my accessories exposed twice (natively and through your plugin).

Thanks.

Updated 14/12/2017 21:21 1 Comments

[Question] How can I check if a ITypeSymbol is a readonly struct?

dotnet/roslyn

I’m trying to create a Roslyn Analyzer which checks whether an InParameter is defined on a non-readonly valuetype (from C# 7.2). I can’t find a way to check if an ITypeSymbol is readonly.

I tried the GetAttributes() method. I expected to have the IsReadOnlyAttribute but it doesn’t. It is empty.

private static bool IsReadonly(ITypeSymbol type) { return type.GetAttributes().Any(a => a.AttributeClass.GetType().FullName == "System.Runtime.CompilerServices.IsReadOnlyAttribute"); }

Any suggestions?

I published my code on: Gist

Updated 14/12/2017 22:14 1 Comments

Two Jenkins jobs run when PR created

tomasbjerre

SonarQube 6.5, on prem

Jenkins (latest), running locally/on prem

BitBucket v 4.14.5

I have the following workflow:

Two jobs in Jenkins - one handles the PR scan and the other handles the scans for merging of branches into ‘master’ for baseline scan

First job in Jenkins is for scans on PR creation - it is getting called (or at least running) twice for each PR creation - not sure why, just began happening - configuration is:

Merge condition trigger for any merge condition – selected

Triggers - Opened (only one selected)

URL config “JENKINSSERVER/job/SonarQubeStaticAnalysis/buildWithParameters?PR_ID=${PULL_REQUEST_ID}”

Calls Parameterized Job, sending in PR

Branch specifier is: origin/feature/*

Don’t encode Params in URL

Again, two of the PR scan jobs are running on PR creation - insights appreciated.

Updated 14/12/2017 21:18 1 Comments

Compound component syntax

auth0/cosmos

There are 2 options for compound components, it’s a experience choice rather than a technical one*

<img width=“885” alt=“screen shot 2017-12-14 at 6 39 06 pm” src=“https://user-images.githubusercontent.com/1863771/34015811-6e567aac-e0fe-11e7-9aa1-c72dd464ca67.png”>

The first approach is more explicit, a parent component brings it’s children with it.

import Tabs from 'cosmos/tabs'

const ClientScreen = (
  <Tabs>
    <Tabs.Link>Settings</Tabs.Link>
    <Tabs.Content>magic happens here</Tabs.Content>
  </Tabs>
)

or

import Tabs, { Link, Content } from 'cosmos/tabs'

const ClientScreen = (
  <Tabs>
    <Link>Settings</Link>
    <Content>magic happens here</Content>
  </Tabs>
)

The second one looks better (in my opinion) and works well when used in small files (good coding practice?) when there are no conflicts.

Even in situations where conflicts can happen, the user/developer has an easy workaround:

import { Link } from 'cosmos/navigation'
import Tabs, { Link as TabsLink, Content } from 'cosmos/tabs'
//                 ↑↑↑↑     this avoids any naming conflict

const SomethingElseWithALink = (
  <Link>Contact support</Link>
)

const ClientScreen = (
  <Tabs>
    <TabsLink>Settings</TabsLink>
    <Content>magic happens here</Content>
  </Tabs>
)

This approach requires the developer to think about conflicts but gives an option to opt-in into the longer/more explicit syntax only when needed.

  • the technical implication here is that Tabs.Link syntax is difficult to tree shake, but it doesn’t sound like a probably use case with compound components, they all get used together
Updated 14/12/2017 21:41

v1.0.0 SS「5」Player for Unityとの併用はできますか?

SpriteStudio/SS6PlayerForUnity

SS6Player for Unity(SS6PU)は、SS「5」Player for Unity(SS5PU)とはクラス名やフォルダ名などが極力重ならないように配慮してありますので、同じプロジェクト中に同時に入っていても問題はないはずです。

ただし、実際のアプリケーションにこの2つのプレーヤーを同時に搭載することについては 極力回避するようにしてください (併用した場合に起こるトラブルなどについて未知数です)。

(SS5PUとSS6PUとでは関数名や機能面で互換性が薄いため)開発中のプロジェクトなどでSS5PUからSS6PUへ移行する場合などの、限定的期間での重複に留めるようにしてくださいますよう、お願い申し上げます。

Updated 14/12/2017 20:43

Suggestion to Detect password

veler/clipboardzanager

Hi, I heard about you have some problems to detect password. So the suggestion : Before deleting the password check if it contain at least one uppercase, one downcase, and one number whitout any space (because a huge part of internet website and other give this method to build a password). Sorry if you have already found and thank you for your huge work.

A random French

Updated 14/12/2017 21:51 2 Comments

Added GetAncestors method to link repo

fabric8-services/fabric8-wit

This change is part of

Hierarchical Work Item Query Result for the Query Context [1721](https://openshift.io/openshiftio/openshiftio/plan/detail/1721)

and is here to support:

The result contains all matching Work Items and their parents up to the root (WI with no parent) of the hierarchy.

In this PR I’ve implemented a method called GetAncestors on the WorkItemLinkRepository. Test for this method are included.

Objective

Suppose we have this setup of work items:

scenario
  experience
    feature
      task

When given the task, GetAncestors() will return the IDs for the scenario, experience and feature work items.

Question about cycles

Suppose a slightly different setup that in theory cannot be created when using a tree topology. But **be aware that GetAncestors is link type agnostic. It just uses whatever link type it is given to find the correct links.

task
  scenario
    experience
      feature
        task

Here the same task is both a child of feature and also an indirect parent. Now, let’s suppose you ask for the ancestors of task.

The way GetAncestors is implemented is: It returns an item only once even if it appears more than once on the path to the root. In other words: GetAncestors returns feature, experience and scenario.

So far so good.

But what if I ask for the ancestors of the experience? GetAncestors will return scenario and task because those are the direct parents. But it will also return the feature because it is somewhat stupid and doesn’t know that feature is a child of experience.

I would say that this is fine because GetAncestors should only be called with a tree topology.

Discovered issues

While writing this I’ve filed these two bugs that need an urgent fix:

  1. https://github.com/fabric8-services/fabric8-wit/issues/1809
  2. https://github.com/openshiftio/openshift.io/issues/1682

Algorithm

I use PostgreSQL’s common table expressions(CTEs) in order to find all parent work items for a given set of work items that can appear under distinct parent items.

In order to understand the algorithm used you can test out the following artificial query. Feel free to play with it live on http://rextester.com/FAA84287.

/*

OBJECTIVE:

    Find ancestors for all the tasks

TEST DATA:

    scenario     1
      experience 1.1
      experience 1.2
    scenario     2
     experience  2.1
      feature    2.1.1
       task      2.1.1.1
       task      2.1.1.2
      feature    2.1.2
       task      2.1.2.1

*/

CREATE TABLE work_item_links (source_id varchar, target_id varchar, link_type_id varchar);

INSERT INTO work_item_links VALUES ('scenario 1', 'experience 1.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('scenario 1', 'experience 1.2', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('scenario 2', 'experience 2.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('scenario 2', 'experience 2.2', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('experience 2.1', 'feature 2.1.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('experience 2.1', 'feature 2.1.2', '190f4fbf-76df-40ff-b610-2ed25668edf0');            
INSERT INTO work_item_links VALUES ('experience 2.2', 'feature 2.2.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');        
INSERT INTO work_item_links VALUES ('feature 2.1.1', 'task 2.1.1.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');
INSERT INTO work_item_links VALUES ('feature 2.1.1', 'task 2.1.1.2', '190f4fbf-76df-40ff-b610-2ed25668edf0');
INSERT INTO work_item_links VALUES ('feature 2.1.2', 'task 2.1.2.1', '190f4fbf-76df-40ff-b610-2ed25668edf0');

-- Let's add one additional and stupid cycle
-- Even though task 2.1.2.1 is now a the parent of its original root (scenario 2) it MUST NOT up in the final result.
INSERT INTO work_item_links VALUES ('task 2.1.2.1', 'scenario 2', '190f4fbf-76df-40ff-b610-2ed25668edf0');

WITH RECURSIVE tree(source, target, path_to_node, cycle) AS (

    -- non recursive term: Find the links where the given items are
    -- in the target and put those links in the "working table". The
    -- source can be considered the parent of the given items.

    SELECT
        source_id,
        target_id,
        ARRAY[source_id, target_id],
        false
    FROM work_item_links
    WHERE
        target_id IN ( 'task 2.1.1.1','task 2.1.1.2','task 2.1.2.1' ) 
        AND link_type_id = '190f4fbf-76df-40ff-b610-2ed25668edf0'

UNION

    -- recursive term: Only this one can query the "tree" table.
    -- Find a new link where the source from the "working table" is the
    -- target and "merge" with the "working table".

    SELECT
        l.source_id,
        l.target_id,
        l.source_id || path_to_node,
        l.source_id  = ANY(path_to_node) AND path_to_node[1] <> l.source_id
    FROM tree t, work_item_links l
    WHERE
        l.target_id = t.source
        AND l.link_type_id = '190f4fbf-76df-40ff-b610-2ed25668edf0'
        AND NOT cycle
)
SELECT DISTINCT source AS "ancestors" FROM tree
-- Eliminate a child to appear as parent also
WHERE source NOT IN ('task 2.1.1.1','task 2.1.1.2','task 2.1.2.1')
Updated 14/12/2017 21:10 2 Comments

Замена "цепочки постов" на "избранные посты" или использование её для получения списка ответов?

someApprentice/phpClub

Небольшое предисловие:

Я вообще хочу убрать эту функцию. Я когда проектировал, хотел чтобы обсуждения, которые растягиваются на несколько тредов, вывелись по одному клику. Но вместо этого, если в цепочку попадает ОП-пост или ещё какой-нибудь пост с кучей ответов, то всё превращается в кучу молу. За место этого, я хочу сделать, чтобы пользователи сами добавляли нужные им посты в “Избранное”. Всё равно я планирую прикрутить чатик, поэтому регистрация в любом случае понадобиться.

Перед тем как начать переработку фронтенда, я бы хотел обсудить пару идей

Во-первых, это использовать Избранное вместо Цепочки ответов

Во-вторых, можно оставить функцию получение цепочки(, но не выставлять её в интерфейс сайта), и использовать для получения ответов средствами php, а не js, что понизит нагрузку на клиент

Updated 14/12/2017 21:45 1 Comments

challenge 14

da2k/curso-javascript-ninja

Escreva aqui sua dúvida gostaria de saber o pq no exercicio Faça o mesmo cálculo passado acima, mas começando do último item para o primeiro. O nome da variável deve ser operation2. Mostre o resultado no console.

esta e a resposta correta var operation2 = justMod2Or3.reduceRight(function(acumulado,atual,index,array){ return (acumulado + 1)*atual; },0);

e nao

var operation2 = operation.reduceRight(function(acumulado,atual,index,array){ return (acumulado + 1)*atual; },0); pois pelo que eu entendo o operation2 herda do operation que herda do justMod2Or3

<!– Não apague daqui pra baixo! –> @fdaciuk

Updated 14/12/2017 21:02 3 Comments

New customer groups visible for all users until customer group is linked to password account

nuxsmin/sysPass

Hi,

I add multiple users in my syspass. Admin User A User B User C Then I added multiple groups, each for every customer. Group A Group B Group C I linked each user and the admin to the relevant group. Group A - User A - Admin Group B - User B - Admin Group C - User C - Admin Finally I added multiple customer groups, each for every customer. Customer A Customer B Customer C But when a customer logs in, he can see every customer group added after I added his account in the customer filter of his dashboard. Admin sees all customer groups in the filter -> correct User A sees Customer A, Customer B and Customer C on the dashboard -> not correct, needs only able to filter on Customer A User B sees Customer B and Customer C on the dashboard -> not correct, needs only able to filter on Customer B User C sees Customer C on the dashboard -> correct

Is this a bug, or how to solve?

Kind Regards Nick Geoffroy

Updated 14/12/2017 22:09 4 Comments

authData is not cleaned up when linkWithAsync() fails

parse-community/Parse-SDK-Android

Whenever linkWithAsync() fails, the anonymity is restored, but the authData map still contains the value for the authType that just failed.

It’s unexpected from a consumer point of view, isLinked(myAuthType) will be true right after failing to link the exact same myAuthType, and differs from the iOS behavior (according to a colleague of mine who tried to reproduce the issue on its platform)

Updated 14/12/2017 19:28

[RFC] contract_company_users: Bill for companies & users

OCA/contract

This module will provide the ability to create a contract that provides access into the current Odoo system. A user would purchase this contract for $X/user/$Interval, which would subsequently: * Create a company in Odoo related to the contract * Add the user to the new company * Give the user the ability manage permissions for their company * Provide different pricing for users dependent on their security permissions + a base price

The obvious challenge here is how to isolate the company selling the contract from the company purchasing it, while still allow the users to manage everything within their own company. My limited testing on this points me to believe that by assigning the master company as the parent of the new ones, things just seem to work.

To that end, following are my current specs. Would be interested to hear if anyone has thoughts on this plan - particularly if some other modules may assist me here somehow. The naming sucks too, so suggestions there would be awesome.

  1. It should provide the ability to relate products to user security groups
    1. It should hide a select set of groups that would be deemed harmful to the system (such as the ability to install applications, create server actions, etc)
  2. It should relate all users back to their contract, if there is one
  3. It should automatically determine invoice lines based on the amount of users matching the security group defined in the product related to the each contract line
  4. It should override the user creation view for any user that is related to a contract
    1. It should only allow for the selection of security groups named in the contract
    2. It should not allow any multi company options
  5. It should automatically create a proration invoice when a new user is created for a company
    1. It should automatically validate and bill against the contract’s defined payment method
    2. It should add the correct product to the proration invoice by matching against the contract line product security group definitions
      1. If the new user does not match a contract line, an invoice should not be created
  6. It should allow for prices to be customized per subscription contract
Updated 14/12/2017 19:29

Missing brightness function for CCT (WhiteCommand)

mwittig/node-milight-promise

Hi,

Just curious where the brightness function is for the WhiteCommand object, it’s not there. I did notice that CCT bulbs in the milight app only do have a brightness up/down (not a slider) and that up/down is in WhiteCommand. Does this mean there simply is no brightness command with a given percentage for those bulbs?

Updated 14/12/2017 19:42 1 Comments

Time lag between addRenderer and actual video is shown on TVIVideoView.

twilio/video-quickstart-swift

@mitolog commented on Fri Dec 15 2017

Description

There is a time lag after videoTrack.addRenderer(self.remoteView!) until participant’s video is actually shown on the remoteView, say 3~7 sec on VideoCallKitQuickStart project. On my own project, it last about 30 sec maximum. It’s depends on network bandwidth. But, I don’t want to expose a blank view, which shows only remoteView background color, to the user.

How can I detect actual timing that the remote participant’s video is shown on remoteView? Or, Is there any ideas to prevent showing blank view until actual video is shown, or remove time lag?

room type: group video codec: VP8 recording: disabled maximum participants: 50

I tried with 2 device, and 2 situations: wifi - wifi wifi - 3G

In both situation, time lags are exist though durations are differed.

Code

I assume time lag will start from this code:

ViewController.swift:323 on VideoCallKitQuickStart

    func participant(_ participant: TVIParticipant, addedVideoTrack videoTrack: TVIVideoTrack) {
        logMessage(messageText: "Participant \(participant.identity) added video track")

        if (self.participant == participant) {
            setupRemoteVideoView()
            videoTrack.addRenderer(self.remoteView!)
        }
    }

Versions

TwilioVideo 1.3.8

Xcode

9.0

iOS Versions / iOS Devices

10.2: iPhone6 plus 10.0.1: iPhone5


@bchen-twilio commented on Fri Dec 15 2017

Hi @mitolog

Thanks for choosing Twilio Programmable Video SDK. Can you create a ticket in the Swift Video Quickstart repo?


@mitolog commented on Fri Dec 15 2017

@bchen-twilio sorry I just posted support ticket.


@bchen-twilio commented on Fri Dec 15 2017

@mitolog no worries. By the way, have you heard about the Programmable Voice SDK? You can create your awesome VoIP app using the Voice SDK with less than hundred lines of codes ;)

-bobie


@mitolog commented on Fri Dec 15 2017

@bchen-twilio Thanks for the info. Does Voice SDK supports also Video? I took a glance of Voice SDK but I need Video functions, so I chosen Video SDK.


@mitolog commented on Fri Dec 15 2017

sorry, I mistaken. it’s voice-quickstart-swift repository :( I should have posted to video-quickstart-swift…


@bchen-twilio commented on Fri Dec 15 2017

Unfortunately the Voice SDK doesn’t support video and the various media capabilities like the Video SDK does. The Voice mainly provides mobile applications the ability to integrate with the TwiML functions of Twilio, and VoIP is one of the great features.


@mitolog commented on Fri Dec 15 2017

@bchen-twilio Thanks for the info again. Let me try if needed in the future! Can you remove this issue? or Should I?


@bchen-twilio commented on Fri Dec 15 2017

You are welcome! Happy to close the issue for you and please feel free to reach out to us in you run into any problem using the SDKs.

Cheers.

Updated 14/12/2017 21:39 8 Comments

Backup Plans with the Loss of Net Neutrality

Incrested/Miku-Chan

Net Neutrality just got removed. Does anyone have ideas for other places to host the bot? I’ve assumed places like AWS or Azure, but they might be a bit out of the budget.

To read more on net neutrality, The Verge wrote this to tell us about the vote around 20 minutes ago.

I also believe I can convince the British hosting we’ve got to host up Miku-Chan for a month or two, but after that, she’ll want us to not suck up her Net Neutralized internet.

Just reply with possible hosting providers. Cheers!

Updated 14/12/2017 18:32

ArangoError: unknown path '/_api/_db/sgcdm_app/_api/collection?excludeSystem=true'

arangodb/arangojs

I am trying to list the collections available in the db. Can anyone help me out with this !

var arangojs = require('arangojs');
// Const variables for connecting to ArangoDB database
const host = '192.100.00.000'
const port = '8529'
const username = 'xyz'
const password = 'xyz'
const path = '/_db/sgcdm_app/_api/'
const databasename = 'sgcdm_app'

 // Connection to ArangoDB

db = new arangojs.Database({
    url: `http://${host}:${port}${path}`,
    databaseName: databasename
});
db.useBasicAuth(username, password);
db.useDatabase('sgcdm_app');

//##collection lists
const collections = db.listCollections();

//collection = db.collection('first');
console.log(db);
Updated 15/12/2017 00:57 1 Comments

Consulta sobre la obtención de participantes en un censo al equipo de administración de censos

Proyecto-EGC-G1/RedesSociales-EGC-G1

Desde redes sociales queremos poder compartir un balance de participación de las diferentes votaciones activas. Para ello, hay que ponerse en contacto con Administración de censos para pactar un acuerdo por el que nos puedan ceder el número de personas que participan en un censo de una votación.

Updated 14/12/2017 18:38

How to increment the 'build' number with hotfixes

AArnott/Nerdbank.GitVersioning

I’m using the git-flow branching model and successfully produced version 1.0.0 from master. Unfortunately I had to perform an hotfix that is now merged to master. I’d like to increment only the ‘build’ number to 1.0.1 as the API didn’t change but the ‘git height’ seems to be 0. How to handle this case? Sorry but I couldn’t find this case here in the issues.

Updated 15/12/2017 00:02 3 Comments

Get similar poi's from the region around the location based on category

Geoneer/smrtmps

From @Geoneer on July 6, 2017 21:29

As and end user I want to see billboards around the location with similar interest based on the unique number of categories. So likes from similar categories around the user will be visible, so the user can visit / like them also.

Theses poi’s will come from other users around in the region where the user is at the moment. Set up a radius around the user to search for 10km.

Copied from original issue: Geoneer/geomatch#17

Updated 14/12/2017 18:15 1 Comments

Does PyDM EPICS Data Plugins work with the new Filtering?

slaclab/pydm

Dropping this issue in here so we can keep track of it and not forget to test it in the future. EPICS R3.15.5 added the channel access filtering feature (http://www.aps.anl.gov/epics/base/R3-15/5-docs/filters.html)

All of the command line CA tools support this new feature. Most of the work is done on the CA Server side. What does PyDM need to do in order to support this?

Attn. @ernestow

Updated 14/12/2017 18:13

issues with kprototype predict function parameters when used in sklearn pipeline

nicodv/kmodes

hi,

i appreciate your work in k-prototypes. i have a datasets containing numerical and categorical variables. and i wan’t to used with others mehtods inside a SKlearn pipline. the fitting is performed right by addiding the categorical parameter like this “Mymodel__categorical”. but when i wan’t to use the predict function the pipeline doesn’t allow to add any parameters other than the inputs. Accordingly, i think that the k-prototypes class do not persist the categorical parameter in learning process and miss a predict function with one parameter of inputs to work well with sklearn pipeline.

thank you, scincerly.

Updated 14/12/2017 21:52 2 Comments

How to change cursor during drag?

swiety85/angular2gridster

Hi, great framework. I’m trying to change the cursor during drag. Using CSS only doesnt seem to work.

gridsterItemPrototype


   .panel-heading {
      cursor: -moz-grab;
      cursor: -webkit-grab;
      cursor: grab;
   }

   .is-dragging {
      .panel-heading {
         cursor: move;
      }
   }

It stays as grab when hovering and during drag, and as soon as I let go of the mouse after drag, it flashes to the move and then back to drag.

So I figured I can try with javascript.

There is GridsterItemComponent and gridsterItemPrototypeDirective. Which one is better to use? What is the difference? I can’t find the difference based on the docs, seems like they are two ways to do the same thing? Both have start and end drag events. Thanks for any help.

Updated 14/12/2017 23:10 3 Comments

Implement links using the ckeditor5-link plugin

mozilla/notes

After doing some research into how to implement links that will follow @ryanfeeley’s design (mockup here), I think it will be best to use the ckeditor5-link plugin. There is some work needed for this to work which I outline below.

Background: The ckeditor5-link plugin has a main class Link which sets up a LinkFormView inside the parent container (which is the ContextualBalloon, a single instance of BalloonPanelView).

Proposal: Instead of using ContextualBalloon, I think creating a new class that extends View and is styled to be positioned at the top of the editor’s editable content would be the best way to go. We can then edit Link to place the LinkFormView inside our newly-created class as a child element.

Thoughts? cc @vladikoff @Natim

Updated 14/12/2017 17:36

Streamline Provider Names

DigitalLibraryofTennessee/DLTN_XSLT

Why are You Reporting an Issue

  • [ ] Add New Set(s)
  • [ ] Reingest Existing Set
  • [ ] Report Problem with an Existing Set or XSL transform
  • [x] Discuss Issue or Ask Question
  • [ ] Other

Discuss Issue or Ask Question

DPLA recently shared a spreadsheet with us noting variations among our provider names. I’ve attached it to this message. Where appropriate, we need to work on standardizing the names we use for the provider. If a name authority exists for your institution, an easy way of decreasing name variations is to use that (though UTK has inconsistencies as well). If all of us could make an effort to streamline our name usage and edit old provider names before the March ingest, that would be really helpful. Cleaning this up will make your records more findable on the Contributing Institution facet within DPLA, so it’s worth our time. Please report back with the sets that are updated so we can ingest them again.

DLTNProviderList_NameVariations.xlsx

Updated 14/12/2017 20:12 2 Comments

Amazon CognitoAuthentication Extension Library for c++

aws/aws-sdk-cpp

Hi,

I am writing a c++ client app, where a user will sign-up/in/out using the app, I have the sign-up working using Aws::CognitoIdentityProvider::CognitoIdentityProviderClient. The problem I am now having is authenticating the username/password and then getting credentials to use other aws services, in particular S3.

I have posted what I have tried so far using CognitoCachingAuthenticatedCredentialsProvider on Stackoverflow:

https://stackoverflow.com/questions/47796077/authenticate-a-user-using-cognito-aws-sdk-cpp

I am not sure where this is going wrong, or what I have missed. I’ve been stuck on this a few days now, and have been researching everywhere to no avail.

Looking around the web, the CognitoAuthentication Extension Library for .NET looks to do exactly what I need, but does not seem to be only available for c++.

http://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/cognito-authentication-extension.html

In particular the “Use AWS Resources after Authentication” section is exactly what I need.

Are there equivalent calls for the aws-sdk-cpp? Or plans to bring this functionality into this sdk? Or perhaps a dev preview available?

Many thanks,

Manish

Updated 14/12/2017 20:41 2 Comments

Can I speed up changing tags?

eisbehr-/jquery.lazy

Hello!

I have a problem with speed of changing tags with a plugin for tag picture. Now it takes about 3 seconds for changing all tags. Can I do it immediately when page is ready? And can I get an event when all tags are changed?

Updated 15/12/2017 00:57 2 Comments

关于Alex模型的一点小bug

printempw/blessing-skin-server

<!– 在您开一个新 issue 之前,请您确认您已经认真阅读使用指南,并确认 FAQ 确实没有提到您的情况 –> <!– 不提供详细信息的单纯的抱怨将不会被理会 :) 感谢您的配合 –> <!– Before you open a new issue, please make sure you have read README and double check if your situation doesn’t suit any case mentioned in FAQ. –> <!– FAQ: https://github.com/printempw/blessing-skin-server/wiki/FAQ –>

<!– 如果您想报告 Bug,请您提供必要的环境和版本信息、错误提示和重现步骤 –> <!– If you want to report a bug, please provide necessary information such as environment and version, error info and reproduction steps. –>

皮肤为Alex模型或者角色选择Alex模型的情况下,预览界面的模型仍然是Steve导致皮肤在预览界面出现黑边/白边,当然游戏里面是正常的,但就是很不爽。明天下午我看看源码是怎么写的。。。

Updated 14/12/2017 17:24 1 Comments

Jest watch mode vs unhandledRejections

infinitered/gluegun

This code is causing jest to throw errors.

process.on('unhandledRejection', up => {
  throw up
})

In watch-mode, jest does this:

(node:19470) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit

How would you feel about having the ability to opt in to this?

.rethrowUnhandledRejections()

Or something equally unwieldly?

Updated 14/12/2017 17:18

complete metadata_check -> download interdependence w/ xcom or merge them

USF-IMARS/imars_dags

I originally envisioned metadata_check as a separate operator from the download, but this causes a problem: the download url for the data must pass between these two.

Solution: 1. use airflow xcoms to pass a variable between operators 2. merge the two operators into one

I have started implementing the xcom push/pull (1) on the xcom-dl branch, but it feels dirty and have abandoned it. I think merging will be cleaner and will implement (2) on the master branch.

Updated 14/12/2017 22:51 1 Comments

How do we determine which ontologies should be used in the VIVO ontology?

openrif/vivo-isf-ontology

We seem to have criteria, but we do not have them written down? Some ideas I have heard:

  • Ontology must be maintained/active?
  • Ontology must be “popular,” “cited,” “not obscure”?
  • Must have “importance” to VIVO, that is, must deal with a domain that overlaps VIVO significantly. Marginal overlaps are “add on” ontologies (such as clinical trials).
  • Must have “many” properties and classes to be included with VIVO. Ontologies that have one or two entities or properties are not worth the effort to have a namespace, maintain contact withe the maintainers, etc.

Perhaps we should have a wiki page here about how we determine ontologies for use in VIVO and VIVO-ISF?

Updated 14/12/2017 17:14

Best way to communicate icons in links/navigation?

auth0/cosmos

screen shot 2017-12-14 at 1 46 48 pm

To build this menu, folks should be able to pass a config to the <TopNav> component

import { TopNav } from 'cosmos'

const tenantOptions = {
  tenant: { ... },
  links: [
    { icon: 'dashboard',   label: 'Dashboard', url: '/tenants/switch' }, 
    { icon: 'settings', label: 'Settings', url: '/tenants' }, 
    { icon: 'add-user', label: 'Invite users to this tenant', url: '/tenant/admins' }, 
    { icon: 'plus',     label: 'Create tenant',  onClick: addTenant }
  ]
}

render () {
  return <TopNav tenantOptions={tenantOptions}/>
}

These icons are easy to write/predict because they mean generic things, but in some other cases, the icons are very specific.

screen shot 2017-12-14 at 1 54 52 pm

import { SideNav } from 'cosmos'

const links = [
  { icon: 'dashboard', label: 'dashboard', url: '/dashboard' },
  { icon: 'windows': 'Clients', url: '/clients' },
  { icon: 'blocks??', label: 'APIs', url: '/apis' },
  { icon: 'cloud', label: 'SSO Integrations', url: '/externalapps' },
  { icon: 'nodes', label: 'Connections', url: '/connections' }
]

render () {
  return <SideNav links={links} />
}

As you can see, these are impossible to make sense of.

Possible solution: Create aliases/names for exact use cases.

const links = [
  { icon: 'dashboard', label: 'dashboard', url: '/dashboard' },
  { icon: 'clients', label: 'Clients', url: '/clients' },
  { icon: 'apis', label: 'APIs', url: '/apis' },
  { icon: 'sso-integrations', label: 'SSO Integrations', url: '/externalapps' },
  { icon: 'connections', label: 'Connections', url: '/connections' }
]

render () {
  return <SideNav links={links} />
}

This is easier to use and makes the icon prop redundant.

Instead we can use a higher level prop

const links = [
  { label: 'dashboard', url: '/dashboard' },
  { label: 'Clients', url: '/clients' },
  { label: 'APIs', url: '/apis' },
  { label: 'SSO Integrations', url: '/externalapps' },
  { label: 'Connections', url: '/connections' }
]

render () {
  return <SideNav links={links} withIcons={true} />
}

This sounds like a smart approach initially, but it has it’s limitations when it comes to maintenance. You can’t rename things on the fly.

Also, when the team wants to add a new item in the navigation:

screen shot 2017-12-14 at 2 07 00 pm

They will have to wait for the icon to be added and released to start using it. Ooor, they will have to do the cryptic dance of finding the right icon, criss-cross-thing, shuffle, crossing?

Updated 14/12/2017 18:03 1 Comments

Include more heuristics

EFForg/privacybadger

Could anything else could train PB to be more aggressive? Like if Firefox canvas protection warnings or first party isolation are triggered assign a higher weight to block that domain. Or use of certain web standards. Or if 3rd party scripts and fonts are used?

As is, Privacy Badger still feels like it takes a relaxed approach to blocking. For instance, I turned off all other tracking protection features in Firefox, disabled any ad/analytic blockers and opened my 80 or so bookmarks, then went to reddit and opened another 50 posted links to “prime the pump” of Privacy Badger.

It would be nice to see total counts of reds/greens/yellows on the Tracking Domains tab It would be nice to see a hit count of each site’s entry on the Tracking Domains tab

If you’re going to stop recording non-tracking domains it’s going to list less things to block. If disabling checking a web page against EFF’s DNT policy is boosts performance, what does that actually do? Does it make some sort of network request to the EFF to check something? Can that be rolled into a local detection instead then?

Updated 14/12/2017 19:06 7 Comments

Notifications Via Email

coinfoundry/miningcore

Hi All,

I see there is a notifications area in the configurations area and was confused what this actually does. Does this notify the pool admin when a daemon goes offline etc. Or does it notify the user if their miner connects or disconnects?

Thanks

Updated 14/12/2017 19:45

Cannot get vi-copy working

gpakosz/.tmux

Hi

vi-mode doesn’t work for me, I can go in select mode with C-a enter but then I can only select text with C-space and not with v. What am I missing? I’m using tmux 2.5

Updated 14/12/2017 17:23 1 Comments

Creating a PETScWrappers::MPI::Vector from a PETSc Vec

dealii/dealii

Is there any method for PETScWrappers::MPI::Vector to create an instance without copying data, s.t. i can create a PETScWrappers::MPI::Vector from a PETSc Vec, which was not created by dealii?

Although not created by dealii, i know it must have the same layout, since its an internal “copy” of a vector i created via the PETScWrappers::MPI::Vector constructor.

Updated 14/12/2017 23:21 3 Comments

implement Sandin et al (2016) by a binary gain vector

bicv/SHL_scripts

Is it possible in our current implementation to implement the heuristic behind Equi-probable MP by using a binary vector gain = (P < p) where

This basically blocks those which are “too rich” and lets the other learn. For a given input, the equilibrium probability should be p_eq = L0_sparseness / M such that we may use something like p = p_eq * 1.1

Updated 14/12/2017 18:17 2 Comments

how to turn off auto serialization?

zalando/connexion

Description

I have an endpoint that returns an html page. How do I turn off serialization so that it renders in the browser?

E.g.,

def my_handler():
    return render_template(...)

Output of the commands:

  • python --version python –version
  • pip show connexion | grep "^Version\:" Version: 1.1.10
Updated 14/12/2017 19:52

publish to npm?

mozilla-lockbox/lockbox-datastore

While the only consumers of this module are other Lockbox projects (notably Lockbox Desktop Extension and Lockbox iOS), there is some interest in consuming this module elsewhere.

To make this more easily accessible to others, publishing to npm makes sense. The questions are:

  • Should we do this?
  • When should we do this?
  • How should we do this (e.g., scoped a la @mozilla-lockbox/lockbox-datastore, or global)?
Updated 14/12/2017 15:51

Linking validation across controls

davidkpiano/react-redux-form

I’ve created this example of the issue I’m facing. I’m trying to create a validator which will ensure unique items in a list. Each item in the list has its own input control. The expected behavior IMO is for the error message to be displayed for any textbox the moment their values are not unique across the list. I believe this would require validation to fire for all fields in the list when any field changes.

The way it is now, if the same value is entered, an error is displayed for only that control. To get the error to be displayed for a different control that contains a duplicate value, you would need to switch to that control and update the value to match the existing value. Even more problematic, if both controls in the example have the same value and both errors are displaying, if you change one of the values, the error message will still display for the other control.

What is the best way to “link” validation together across controls for an example like this?

Updated 14/12/2017 19:10

Exces of imported electricity in yearly view and not in weekly view

quintel/etmodel

In this scenario the whole year of electricity production differs from a weekly view. The yearly view shows excess of imported electricity. This exces is also shown in the primary energy use chart.

@antw do you know why there is a difference between the weekly and the yearly view? Is it correct that imported electricity is exported? This seems contradictory to me.

notifying @michieldenhaan

Screenshots

image

image

image

Updated 14/12/2017 17:40 2 Comments

Designs

InFact-coop/LWC

Hey @mandytaylorlwc, @maxgerber and I have been working on the designs today. Please let us know what you think…

  1. User lands on page and is given option ‘need advice’ or ‘know what you need’ and then will be either routed to quotes from women or a list of LWC services. We chose an image of a couple of women holding hands in the background - let us know if you would prefer something else.

image

  1. If the user choose to have advice they would get a list of quotes from users where they have the option to find out more if they want

image

  1. If the user chooses to see more then they will get a more detailed description of what happened to the woman including what services they used.

image

  1. If they want to see the full list of services it could be in the form of a list with an option drop down to show the user more information (if this is something you like we would need the additional details / we can just use ‘lorem ipsum’ text)

image

  1. If the user wants to talk to LWC they are given three option - come to a centre, call or be contacted

image

  1. If they choose to be contacted then there is the short form to fill in

image

  1. Then if the user fills in the form they go to a thank you page and given a time scale for when LWC will be in touch

image

Please let us know what you think - any comments, amends etc. We’re happy to jump on a call this afternoon if you think that would be helpful as well.

Also, if these images are a bit small you can see the designs here as well

Jen

Updated 14/12/2017 15:49

How to use example?

u01jmg3/ics-parser

Hi, sorry if writing here but I’m new to this and I’m not sure where to ask support.

I downloaded a copy of your repository, doing from cli “php examples/index.php” will just give an error saying it can’t find “require_once ‘../vendor/autoload.php’;”

How can I use this ical parser? Thanks a lot!

Updated 14/12/2017 17:31 3 Comments

Name change proposal for "Device" class to "Drone" or "Vehicle"

dronecore/DroneCore

This is regarding name change proposal of the class Device, DeviceImpl, etc. We’ve named the library & API after drone, as in DroneCore, it makes sense to name its core service class to be class Drone, or at least class Vehicle (in QGroundControl) rather than class Device.

Cons of having Device name is that it is likely to be used for Ground Control Station, Mobile device also. In other words, GCS is a device as well; When we say Vehicle, there is room of confusion whether it is Drone or Ground Control Station.

If DroneCore is also intended for general Robotics application, then probably Device might sound good. Kindly share your thoughts, opinions.

Thanks.

Updated 14/12/2017 21:55 2 Comments

Due Date Older Than Created date

cartologic/cartoview_workforce_manager

Due date has to be the same like Task created day or later , However if the user wanted to make the due date to be older than created date it should be a special case, and it should handle other aspects like Task Status and Priority <img width=“777” alt=“4” src=“https://user-images.githubusercontent.com/13452248/33999634-a76ee44c-e0f3-11e7-963c-51c7e1aebec2.png”>

Updated 14/12/2017 15:25

Window 10 wallet crashes

bitshares/bitshares-ui

I am trying to use the latest release with Windows 10. It starts up fine but when I try to switch to exchange, the wallet gets stuck and crashes, I guess as the block stop updating. I also am not able to select anything on the wallet and must force a close using task manager. IS there a fix for this?

Updated 14/12/2017 22:27 1 Comments

Add convert(x, to = "kerasR") functionality

kbenoit/quanteda

Following the discussion in #1138, we are thinking of extending convert() so that we could go from a dfm using:

convert(anydfm, to = "kerasR")

Problem is we haven’t used keras or kerasR.

@statsmaths can you tell us what format of object would be the best to provide from quanteda?

Would extending convert() be most appropriate? We can also provide conversion from a tokens object, but it seems more natural to convert a dfm. Would/should it possibly include additional document variables?

We’re ready to implement it but would appreciate the guidance.

Updated 14/12/2017 15:18

Which version to use for Jenkins 2.0

jenkinsci/generic-webhook-trigger-plugin

Hi,

I have been using your plugin and I used it on my personal jenkins server which works great and does exactly what I need it to do, However in my work we only have Jenkins 2.0.. is there a version of the plugin that will support this? I have 1.20 installed and it doesnt recognize the input with job DSL api creation through groovy

Thanks Carl

Updated 14/12/2017 15:45 2 Comments

Acces au directory

parmentelat/moocpython

Thierry je n'ai pas les droits en écriture sur le directory ‘fangh’. Il m'a fait un fork, c'est le fonctionnement voulu ? pour être plus précis avec upload j'ai :

Uploads are disabled. File uploads require push access to this repository.

Et pour new file :

You’re creating a file in a project you don’t have write access to. Submitting a change will create the file in a new branch in your fork Karduin/moocpython, so you can send a pull request.

Updated 14/12/2017 18:33 8 Comments

arki-query e redirect HTTP

ARPA-SIMC/arkimet

Il client HTTP non segue una redirezione da parte del server (HTTP status 3xx). La possibilità di supportare le redirezioni era stata discussa tempo fa a voce e poi lasciata cadere.

La cosa è tornata fuori in questi giorni parlando con @brancomat e @dcesari, perché si parlava di mettere in piedi un server centralizzato da interrogare che potrebbe rispondere redirezionando la arki-query al giusto arki-server e mettendo quindi i due in comunicazione diretta.

Prima ancora che implementare il supporto della redirezione, mi chiedevo se non ci fossero delle controindicazioni in particolare nella soluzione, in generale nell'implementazione stessa e se non ci fossero soluzioni alternative e più furbe.

O forse varrebbe la pena, prima, esplicitare bene tutte le funzionalità che ci aspettiamo da un ‘arki-server` centralizzato e poi affrontare questa questione?

Updated 14/12/2017 15:05 1 Comments

Steering wheel joystick with Carla

carla-simulator/carla

Hi, Has anyone successfully managed to set up (and calibrate) a steering wheel and brake joystick (like the Logitech Driving Force GT for example) with Carla?

I’m trying to set one up right now and would like to learn of any pitfalls.

Updated 14/12/2017 22:30 2 Comments

Question: pre-commit as an executable container

pre-commit/pre-commit

I am trying to run pre-commit as an executable container but it does not honor the path provided to it outside the container.

Use case:

Use builder container during in our CI to perform the pre-commit checks for us. The builder container will have all the good stuff such as pre-commit, shellcheck, pylint, yamllint etc as required by a specific project.

The idea behind this is that every project may have slightly different requirements around pre-commit checks (esp. linting based on the program being used) but we dont want our Jenkins build server to be polluted with these packages. Instead we want the developers to bring their own builder containers to perform project specific pre-commit checks.

Issue:

I created an image containing pre-commit and all the linters I need. But when I run this executable container, it expects the repo to be inside the container. It does not honor the path outside the container.

Question:

Do you know if there is a way to resolve this and make it honor the path outside the container without mounting the REPO_PATH as volume??

Dockerfile:

FROM <RHEL:7.3>

RUN yum install \
      -y \
       git \
       pylint \
       python2-pip \
       ShellCheck \
       yamllint \
    && yum clean all

RUN pip install -Iv --compile --no-cache-dir \
  pre-commit \
  && \
  :

ENTRYPOINT ["pre-commit"]

pre-commit-config.yaml

---
# This file configures the pre-commit tool for this project.
fail_fast: false

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    sha: v1.1.1
    hooks:
      - id: check-added-large-files
      - id: check-case-conflict
      - id: check-executables-have-shebangs
      - id: detect-private-key
      - id: requirements-txt-fixer

  - repo: git://github.com/pre-commit/mirrors-pylint
    sha: v1.7.4
    hooks:
      - id: pylint

  - repo: https://github.com/adrienverge/yamllint.git
    sha: v1.10.0
    hooks:
      - id: yamllint

  # Run shellcheck.
  - repo: git://github.com/detailyang/pre-commit-shell
    sha: 1.0.2
    hooks:
      - id: shell-lint

bashrc function:

function pc {
  docker run --rm -it \
  --cap-drop all \
  pre-commit $@
}

Execution:

$ pc run .
An error has occurred: FatalError: git failed. Is it installed, and are you in a Git repository directory?
Check the log at /root/.cache/pre-commit/pre-commit.log
Updated 14/12/2017 15:21 1 Comments

Fork me on GitHub