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

Explicit conversion for void* to CURL*

aws/aws-sdk-cpp

gcc is complaining about:

aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp: In member function 'void Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*)':
error: invalid conversion from 'void*' to 'CURL* {aka Curl_easy*}' [-fpermissive]
... :  #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)

Please add an explicit conversion to silent to error.

Thanks

Updated 27/06/2017 01:06 3 Comments

CLI should throw an error or warning on duplicate workflow names

bitrise-io/bitrise

Inspired by https://github.com/bitrise-io/bitrise-workflow-editor/issues/172 and https://github.com/bitrise-io/bitrise-workflow-editor/issues/173#issuecomment-311123000.

Currently, CLI allows duplicated names but “sees” only last one (it is listed by bitrise workflows and run by bitrise run).

Triggers validation is already there (e.g. error is thrown immediately if non-existent workflow is triggered), so it seems that workflow names can also be validated.

Updated 26/06/2017 23:53 2 Comments

Attendance improvement suggestion

Chirath02/fosswebsite

Suggestions to improve attendance report:

  1. Display the percentage instead of just the number of days marked present
  2. Ability to add holiday/lab not working days
  3. Maybe display overall attendance report in an excel sheet or as a DB report
  4. Ability to mark present, leave without reason, leave with reason, leave due to official work etc.
  5. Mark Late attendance
  6. In daily attendance marking, it could be better if we have a previous day, next day link to mark attendance of that day
Updated 26/06/2017 18:41 1 Comments

Needs analytics events

newsuk/times-components

@craigbilner referred to this in his review of #12 and #22:

(…) we also need to expose some more events for analytics (…) such as scroll depth and rendered (…) should we add an onload and onerror event for analytics (…) ?

What should be the guidelines for adding this and how would the integration work?

Updated 26/06/2017 17:51

Flow type definition fails with latest `flow-bin`

avajs/ava

When updating to flow-bin 0.48.0 our type definition test started failing:

> flow check test/flow-types

test/flow-types/regression-1114.js.flow:41
 41: test('2 + 2 === 4', macro, '2 + 2', 4);
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call. Function cannot be called on any member of intersection type
                             v
149: declare module.exports: {
150:    (              run: ContextualTest): void;
151:    (name: string, run: ContextualTest): void;
...:
164: };
     ^ intersection. See: index.js.flow:149
  Member 1:
  150:  (              run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:150
  Error:
   41: test('2 + 2 === 4', macro, '2 + 2', 4);
            ^^^^^^^^^^^^^ string. This type is incompatible with
  150:  (              run: ContextualTest): void;
                            ^^^^^^^^^^^^^^ union: type application of polymorphic type: type `TestFunction` | array type. See: index.js.flow:150
    Member 1:
    100:    | TestFunction<T, R>
              ^^^^^^^^^^^^^^^^^^ type application of polymorphic type: type `TestFunction`. See: index.js.flow:100
    Error:
     41: test('2 + 2 === 4', macro, '2 + 2', 4);
              ^^^^^^^^^^^^^ string. This type is incompatible with
    100:    | TestFunction<T, R>
              ^^^^^^^^^^^^^^^^^^ object type. See: index.js.flow:100
    Member 2:
    101:    | Array<TestFunction<T, R>>;
              ^^^^^^^^^^^^^^^^^^^^^^^^^ array type. See: index.js.flow:101
    Error:
     41: test('2 + 2 === 4', macro, '2 + 2', 4);
              ^^^^^^^^^^^^^ string. This type is incompatible with
    101:    | Array<TestFunction<T, R>>;
              ^^^^^^^^^^^^^^^^^^^^^^^^^ array type. See: index.js.flow:101
  Member 2:
  151:  (name: string, run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:151
  Error:
   41: test('2 + 2 === 4', macro, '2 + 2', 4);
                                  ^^^^^^^ unused function argument
    151:    (name: string, run: ContextualTest): void;
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 2 arguments. See: index.js.flow:151

test/flow-types/regression-1114.js.flow:42
 42: test(macro, '2 * 3', 6);
     ^^^^^^^^^^^^^^^^^^^^^^^ function call. Function cannot be called on any member of intersection type
                             v
149: declare module.exports: {
150:    (              run: ContextualTest): void;
151:    (name: string, run: ContextualTest): void;
...:
164: };
     ^ intersection. See: index.js.flow:149
  Member 1:
  150:  (              run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:150
  Error:
   42: test(macro, '2 * 3', 6);
                   ^^^^^^^ unused function argument
    150:    (              run: ContextualTest): void;
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See: index.js.flow:150
  Member 2:
  151:  (name: string, run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:151
  Error:
   42: test(macro, '2 * 3', 6);
            ^^^^^ function. This type is incompatible with the expected param type of
  151:  (name: string, run: ContextualTest): void;
               ^^^^^^ string. See: index.js.flow:151

test/flow-types/regression-1114.js.flow:44
 44: test('2 + 2 === 4', [macro, macro2], '2 + 2', 4);
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call. Function cannot be called on any member of intersection type
                             v
149: declare module.exports: {
150:    (              run: ContextualTest): void;
151:    (name: string, run: ContextualTest): void;
...:
164: };
     ^ intersection. See: index.js.flow:149
  Member 1:
  150:  (              run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:150
  Error:
   44: test('2 + 2 === 4', [macro, macro2], '2 + 2', 4);
            ^^^^^^^^^^^^^ string. This type is incompatible with
  150:  (              run: ContextualTest): void;
                            ^^^^^^^^^^^^^^ union: type application of polymorphic type: type `TestFunction` | array type. See: index.js.flow:150
    Member 1:
    100:    | TestFunction<T, R>
              ^^^^^^^^^^^^^^^^^^ type application of polymorphic type: type `TestFunction`. See: index.js.flow:100
    Error:
     44: test('2 + 2 === 4', [macro, macro2], '2 + 2', 4);
              ^^^^^^^^^^^^^ string. This type is incompatible with
    100:    | TestFunction<T, R>
              ^^^^^^^^^^^^^^^^^^ object type. See: index.js.flow:100
    Member 2:
    101:    | Array<TestFunction<T, R>>;
              ^^^^^^^^^^^^^^^^^^^^^^^^^ array type. See: index.js.flow:101
    Error:
     44: test('2 + 2 === 4', [macro, macro2], '2 + 2', 4);
              ^^^^^^^^^^^^^ string. This type is incompatible with
    101:    | Array<TestFunction<T, R>>;
              ^^^^^^^^^^^^^^^^^^^^^^^^^ array type. See: index.js.flow:101
  Member 2:
  151:  (name: string, run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:151
  Error:
   44: test('2 + 2 === 4', [macro, macro2], '2 + 2', 4);
                                            ^^^^^^^ unused function argument
    151:    (name: string, run: ContextualTest): void;
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 2 arguments. See: index.js.flow:151

test/flow-types/regression-1114.js.flow:45
 45: test([macro, macro2], '2 * 3', 6);
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call. Function cannot be called on any member of intersection type
                             v
149: declare module.exports: {
150:    (              run: ContextualTest): void;
151:    (name: string, run: ContextualTest): void;
...:
164: };
     ^ intersection. See: index.js.flow:149
  Member 1:
  150:  (              run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:150
  Error:
   45: test([macro, macro2], '2 * 3', 6);
                             ^^^^^^^ unused function argument
    150:    (              run: ContextualTest): void;
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See: index.js.flow:150
  Member 2:
  151:  (name: string, run: ContextualTest): void;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: index.js.flow:151
  Error:
   45: test([macro, macro2], '2 * 3', 6);
            ^^^^^^^^^^^^^^^ array literal. This type is incompatible with the expected param type of
  151:  (name: string, run: ContextualTest): void;
               ^^^^^^ string. See: index.js.flow:151


Found 4 errors

// @leebyron

Updated 26/06/2017 16:50

british2american can't be run multiple times

standardebooks/tools

I have a project with quotations in that happen to all be in double quotes (the correct style for standardebooks). Running the british2american script on this project converts the (correct) double quotes to (incorrect) single quotes. If I run it again, they switch back again.

The standardebooks manual (https://standardebooks.org/contribute/producing-an-ebook-step-by-step), says:

“If your work is already in American style, you can skip this step.”

I suggest changing ‘can’ to ‘must’, and provide a warning about the tool’s current behaviour, or fix the tool so it can be run multiple times.

Updated 26/06/2017 20:55 1 Comments

Pod component status indicator

teamwaterloop/control-front

The type of indicator that’s found on large ships, space craft in movies where there is a 2d schematic of the ship with indicator lights over laid on them.

Each light indicates the status of the component that its on. so it would be something like:

  • Green: Functioning properly
  • Yellow: Warning
  • Red: Error

Something like this

shipcompartment

Updated 26/06/2017 16:47

Recording starts before resolving promise

wulkano/aperture

I’m recording the screen because I need to show some visualizations over a video I’m reproducing. I need to know when the recording starts so I can then play the video at the same time. Now the video it’s playing almost a second after it has started recording. I’m still trying to figure out if there’s a problem on my code causing this but I see one of the comments on the code says // R is printed by Swift when the recording **actually** starts like if the “actually” has air quotes or something.

So, is there a know lapse of time that passes from when the recording starts until the promise resolves? Can I do something about this?

Thanks!

Updated 26/06/2017 17:34 5 Comments

Créer un google form pour permettre aux gens de demander d'hébergement

ClubCedille/clubcedille.github.io

Créer un google form pour permettre aux gens de demander d'hébergement

L'exemple des questions :

  • C'est quoi votre domaine ou sous-domaine : ex : cedille.club
  • Dans le fond c'est quoi leur besoin ?
  • Site-web dynamique ou statique ?
  • Si dynamique ? CMS - Ils veulent une installation à neuf avec une thème ou un transfert de leur site vers un nouveau site-web.
  • Quel de leur membre sera responsable des communications avec nous?
  • Quel genre d'accès ils ont besoin? (Ils prévoient installer des plugins?)
  • Quelle est le uptime nécessaire
  • Quel sont les délais pour la migration
  • Ils veulent une formation post transfert.
  • Quel genre de formation s'attendent-ils?
  • et autres
Updated 26/06/2017 20:04 1 Comments

overlapping spikes

csn-le/wave_clus

Hi -

Is the algorithm designed to accommodate overlapping spikes?
I attached a picture showing an extracellular recording and the identified clusters. (There’s a shoulder cluster associated with the short spikes, but that’s another matter.) Having trouble when the tall and short spikes overlap.

2nd figure is the wave_clus output. Colors corresponding to those in first figure.

spikes and clusters wave_clus output

Thank you! john jbirmingham@scu.edu

Updated 26/06/2017 23:26 4 Comments

Help to update VueMultiselect partial functionnality

icebob/vue-form-generator

The goal here is to update to the new API of VueMultiselect v2 (kinda relate to #193). So far, I did the easiest part, cleaning old and unused props and adding the missing one. I also reordered the props to fit the documentation.

My biggest challenge so far is the new way to do custom rendering of the list. Before, it was using Vue partials. But since Vue added scoped slot, they decided to use that instead. The problem is that I don’t see how we can implement an interface to send template elements into this slot. I have little experience with scoped slot, but I’m not comfortable with them. I always have a hard time wrapping my head around the concept, and this is another level of complexity.

So if anyone could help me find a nice solution, that would be very helpful.

PR here #240

Updated 26/06/2017 20:26 3 Comments

bug: animation indexing error

ContextLab/hypertools

It looks like there is an offset issue in the animation code whereby: - When groups isn’t specified, the first point in the group is transparent, even when chemtrails=False and precog=False. - When groups is specified, and IndexError is raised

To replicate this issue: ``` import numpy as np import hypertools as hyp

x = np.random.normal(np.ones([10, 5])) #generate some data

things that work:

hyp.plot(x, ‘o’) #plotted correctly hyp.plot(x, animate=‘spin’) #plotted correctly

things that don’t work:

hyp.plot(x, ‘o’, animate=‘spin’) #this runs, but the first dot is more transparent than the others, whereas everything should look the same

hyp.plot(x, ‘o’, animate=‘spin’, group=np.arange(10)) #raises IndexError– should plot each dot in a different color ```

Updated 26/06/2017 16:27 2 Comments

Error Creating Accounts

reTHINK-project/dev-discovery

Hi @ingofriese

I’m trying to use your service (https://rethink.tlabscloud.com/discovery/) to make some performance test to the discovery lib. And I need to create some accounts with certain GUIDs in order to query them.

But when I click on the Save button I receive this:

<img width=“1920” alt=“captura de ecra 2017-06-26 as 16 39 53” src=“https://user-images.githubusercontent.com/11138222/27547493-1b4c9ec8-5a8e-11e7-8143-db4617771141.png”>

Updated 26/06/2017 15:43

RemovedInDjango20Warning: on_delete will be a required arg for OneToOneField in Django 2.0.

django-silk/silk

Getting this warning with Django 1.11.1 I’m guessing if nothing else we should set on_delete to CASCADE as they suggest

/site-packages/silk/migrations/0001_initial.py:63: RemovedInDjango20Warning: on_delete will be a required arg for OneToOneField in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete (‘request’, models.OneToOneField(to=‘silk.Request’, related_name=‘response’)),

/site-packages/silk/migrations/0001_initial.py:75: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete (‘request’, models.ForeignKey(to=‘silk.Request’, blank=True, null=True, related_name=‘queries’)),

Updated 26/06/2017 15:45

Add a "Guide To Contribution" Info page

clinwiki-org/clinwiki

We need to create a guide to contributing webpage that people can contribute to and maintain.

Sections: Guide to Ratings and Comments What not to do and what to do

Guide to Wiki contributions to Similar to Wikipedia but different in some important ways

Guide to Tagging Grouping of tags Management of tags

Guide to feature requests and roadmap Maybe create a roadmap linked to issues?

Updated 26/06/2017 15:38

Validate all APIs and update docs.

ractivejs/ractivejs.github.io

ractive.animate() map arguments no longer supported in 0.8 but this one got through without a deprecation warning and remained on the docs. Might be a good time to validate all APIs if they’re all still valid and update the docs accordingly. This will be a huge effort testing each and every one, but one that needs to be done before 1.0 anyways.

<sub>This is a really good reason to merge docs into the lib repo like originally proposed. That way, any changes to the API will be accompanied with updates to the docs. But that’s for another day. (Mkdocs is designed with that in mind btw 😉 . Notice how the docs is essentially just a docs dir, a mkdocs.yml, and nothing more? 🙂 ).</sub>

Updated 26/06/2017 15:43

ciscospark : differents port webhook , express

howdyai/botkit

Hi, When you create a cisco-spark bot, the webhook and the express server are in the same port. If my bot’s express server is created listening to the port 3000. Then the webhook will send on the port 3000. (logic) But sometimes, it should be different.

In my case, the webhook should send on the port 443. As I want to deploy my bot on a server with apache, only the port 443 is open on this server. So I made a redirection when I receive a request as xxxx.com:443/ciscospark/receive to localhost:3000. But, when you create a bot, the webhook associated is created on the same url and port and so the webhook will send his response to a closed port.

I have looked to a similar post : https://github.com/howdyai/botkit/pull/862 and I tried to modify some data to put in .env two port : -public_port : the webhook sending port -private_port : the express server port

But as I am not that talentuous, all my attents failed… Does someone have a project with this type of config ? Would it be interesting for Botkit to dev such a configuration option ?

Updated 26/06/2017 16:42

Unable to save dynamic group if filter contains a comma or forward slash...

lithnet/resourcemanagement-powershell

Filter.txt

I am attempting to create a dynamic distribution group, which contains an xpath filter as per the attachment. To the best of my knowledge this is a valid filter, but when you run Save-Resouces, you encounter an error “ValueViolatesRegularExpression”. This seems to occur when the property value contains a forward slash or comma.

Updated 26/06/2017 19:25 1 Comments

Potentially invalid fence warning

KhronosGroup/Vulkan-LoaderAndValidationLayers

Trying to delete a fence I had been using with vkAcquireNextImageKHR, and after calling vkDestroySwapchainKHR, and trying to delete the fence, I get

*** [ERROR] DS618662080 Obj 0x000000000000052A Loc 3088 Fence 0x52a is in use. The spec valid usage text states ‘All queue submission commands that refer to fence must have completed execution’ (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-vkDestroyFence-fence-01120)

I would expect I don’t have to wait for the fence as I deleted the swapchain?

Updated 26/06/2017 15:39

Attach a v-model

euvl/vue-js-toggle-button

Hello @euvl and well done for this nice package. My question is the following : Is it possible to bind a v-model to the component ? I would like to access the value of the toggle button. Or maybe you have an other idea of how I could perform this ? Thank you

Updated 26/06/2017 21:07 1 Comments

SFTP access to Live & Staging environments

VitalDevTeam/Center-for-Medical-Simulation

I don’t have any info on how to SFTP for the new site. I found the place in the WP Engine area that gives the SFTP info.

Your SFTP access (not FTP!) is at hostname harvardmedsim.wpengine.com or IP at 104.196.49.155 on port 2222. You will need to create a Username and Password in order to gain access. This can be created here.

However, when I click on the “created here” link, I’m prompted to enter my login info to WPEngine or sign up for a new account. I’ve poked around and I think you guys need to add me as a user to WPEngine. Here’s instructions for adding specifically SFTP access: https://wpengine.com/support/how-do-i-add-new-sftp-accounts/. I’d like access to both Live & Staging (the later in case I do need to test in staging).

Updated 26/06/2017 15:05

"pkexec gonullu-gui" command doesn't work

eersoy93/gonullu-gui

After installation, when I run “pkexec command” on the command line, I get “QXcbConnection: Could not connect to display” error after prompting password. That is error output:

$ pkexec gonullu-gui QXcbConnection: Could not connect to display /usr/local/bin/gonullu-gui: satır 30: 6131 İptal edildi pkexec --disable-internal-agent "/usr/local/bin/gonullu-gui-main" "$@" $

Updated 26/06/2017 14:54

How to use library with nested RecyclerViews?

alexvasilkov/GestureViews

For example I have a list of complex items in a recycler. Every item can contain or not contain nested recycler with undetermined amount of items.

I would like to open ViewPager with opening and closing animations only for one item’s image list.

In general it looks like this (I filled recyclers with yellow and items with light blue): 2017-06-26 17 27 14

  1. How to use all the GestureViews' magic in this case?
  2. Is it possible to show and correctly animate closing in case of showing in VP all of images available in parent recycler?
Updated 26/06/2017 18:10 2 Comments

Slow 5MB/s when compared to PHP

wmark/caddy.upload

Submission Type (obligatory)

  • [x] Flaw or Request for Enhancement (RFE) (»Please support B or cover edge case C.«)

https://s.natalian.org/2017-06-26/caddyupload.mp4

Submitter (obligatory)

  • [x] I just use Caddy, for my personal site.

Expected Behaviour

100 MB/s (I’m on a Gigabit LAN btw)

Unexpected Result

5MB/s !

Environment

docker build --build-arg plugins=http.git,http.upload -t caddy-plugins https://github.com/abiosoft/caddy-docker.git#:php

Configuration File

    upload /upload {
           to "/mnt/incoming"
    }
Updated 26/06/2017 20:15 1 Comments

Error extracting downloaded frameworks

platformio/platformio-core

Configuration

Operating system: Windows

PlatformIO Version (platformio --version): 3.3.1

Description of problem

When platformio is fetching libraries from the framewrok’s repositories it fails extracting the archive.

For example it happened with framework-mbed-3.142.0.tar.gz. It downloads the archive as a temporary directory but then the process prompts the error:

Could not install 'framework-mbed' with version requirements '~3.142.0' for your system 'windows_x86'.

If i move the archive out from the temporary directory and manually extract it, the process continues and i can build the project successfully.

I used the same project many time last week without issues, platformio correctly downloded all the dependencies without problems.

Steps to Reproduce

  1. git clone https://github.com/rushup/Cloud-JAM-Platformio
  2. platformio init
  3. platformio update
  4. platformio run

Actual Results

Could not install 'framework-mbed' with version requirements '~3.142.0' for your system 'windows_x86'.

Additional info

I don’t have any antivirus running.

Additional log:

PackageManager: Installing framework-mbed @ ~3.142.0
Downloading  [####################################]  100%
Unpacking  [###---------------------------------]    9%  00:00:13
Warning! Package Mirror: [Error 32] Impossibile accedere al file. Il file Þ utilizzato da un altro processo: 'C:\\Users\\matteo.fumagalli\\Downloads\\Cloud-JAM-Platformio-master\\.platformio\\packages\\_tmp_installing-0efcpp-package\\framework-mbed-3.142.0.tar.gz'
Looking for other mirror...

The error is in italian but basically it says that it can’t open a file because of another process.

First thing i thought is a problem with my pc, but i tried another pc starting from a clean enviroment and i get the same error. As i said before, last week everything worked…

Any idea?

Thanks.

Updated 26/06/2017 22:30 1 Comments

Limiter le nombre d'éléments visibles dans le composant Autocomplete

SDV-Plurimedia/sdv-ng2-widgets

Bonjour,

Serait-il possible d'avoir une “propriété” permettant de limiter le nombre de lignes visibles dans le cas où il y en aurait vraiment beaucoup dans le composant Autocomplete?

Deux propositions: - Ajouter un paramètre nombre de ligne au niveau du composant - Modifier le style de ce dernier en mettant en paramètre le max-height

Merci d'avance

Updated 26/06/2017 15:14 1 Comments

'IoTHubRegistryManager' is not defined

Azure/azure-iot-sdk-python

<!– Hi there! thank you for discovering and submitting an issue!

Please first tell us a little bit about the environment you’re running: The commands in the comments can be run directly in a command prompt. –>

  • OS and version used: <VERSION> <!– Windows 10, Ubuntu 15.04… –> ubuntu 14.04
  • Python runtime used: <VERSION> <!– Please include runtime and version –> python 3.4
  • SDK version used: <VERSION> <!– Please include the SDK version –> latest clone

Description of the issue:

<!– please be as detailed as possible: which feature has a problem, how often does it fail, –> creating a device

Code sample exhibiting the issue:

<!– Please remove any connection string information! –> ``` import random import time import sys import iothub_client from iothub_client import IoTHubClient, IoTHubClientError, IoTHubTransportProvider, IoTHubClientResult from iothub_client import IoTHubMessage, IoTHubMessageDispositionResult, IoTHubError, DeviceMethodReturnValue from iothub_client_args import get_iothub_opt, OptionError

CONNECTION_STRING = “HostName=hubbysafweneful.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=fg6mJq8l2sy28a0e5Td/lHmW5s0Uo0pk9iGU3BgmXmY=” DEVICE_ID = “louel”

def print_device_info(title, iothub_device): print ( title + “:” ) print ( “iothubDevice.deviceId = {0}”.format(iothub_device.deviceId) ) print ( “iothubDevice.primaryKey = {0}”.format(iothub_device.primaryKey) ) print ( “iothubDevice.secondaryKey = {0}”.format(iothub_device.secondaryKey) ) print ( “iothubDevice.connectionState = {0}”.format(iothub_device.connectionState) ) print ( “iothubDevice.status = {0}”.format(iothub_device.status) ) print ( “iothubDevice.lastActivityTime = {0}”.format(iothub_device.lastActivityTime) ) print ( “iothubDevice.cloudToDeviceMessageCount = {0}”.format(iothub_device.cloudToDeviceMessageCount) ) print ( “iothubDevice.isManaged = {0}”.format(iothub_device.isManaged) ) print ( “iothubDevice.authMethod = {0}”.format(iothub_device.authMethod) ) print ( “” )

def iothub_createdevice(): try: iothub_registry_manager = IoTHubRegistryManager(CONNECTION_STRING) auth_method = IoTHubRegistryManagerAuthMethod.SHARED_PRIVATE_KEY new_device = iothub_registry_manager.create_device(DEVICE_ID, “”, “”, auth_method) print_device_info(“CreateDevice”, new_device)

except IoTHubError as iothub_error:
    print ( "Unexpected error {0}".format(iothub_error) )
    return
except KeyboardInterrupt:
    print ( "iothub_createdevice stopped" )

if name == ‘main’: print ( “” ) print ( “Python {0}”.format(sys.version) ) print ( “Creating device using the Azure IoT Hub Service SDK for Python” ) print ( “” ) print ( “ Connection string = {0}”.format(CONNECTION_STRING) ) print ( “ Device ID = {0}”.format(DEVICE_ID) )

iothub_createdevice()
# Console log of the issue:
<!-- Consider setting the DEBUG environment variable to '*'. This will produce a much more verbose output that will help debugging -->
<!-- Don't forget to remove any connection string information! -->

Python 3.4.3 (default, Nov 17 2016, 01:08:31) [GCC 4.8.4] Creating device using the Azure IoT Hub Service SDK for Python

Connection string = HostName=*******
Device ID         =  **********

Traceback (most recent call last): File “p.py”, line 47, in <module> iothub_createdevice() File “p.py”, line 27, in iothub_createdevice iothub_registry_manager = IoTHubRegistryManager(CONNECTION_STRING) NameError: name ‘IoTHubRegistryManager’ is not defined.

``How I set up my environment: I cloned the repo, run setup.sh but it failed saying "./c/build_all/linux/setup.sh" is not found, I run git submodule update --init to download the contents of the c module and other modules, rerun./setup.sh –python-version 3.4ok, run ./build.sh –build-python 3.4` ok.

Updated 26/06/2017 17:19 1 Comments

LoRaWAN node versioning?

brocaar/loraserver

I would love some feedback regarding node versioning. The LoRa Alliance has just updated the LoRaWAN Regional Parameters. In this document the TXPower table was updated. From the changelog:

expressed all powers either as EIRP or as conducted power depending on regions

This itself is not an issue. The big issue is that they also change the delta between TX Power indices. For example in the old situation going from TXPower 0 to 1 (EU band, but applies to some other ISM bands too) would mean a step of -6dB, this has been changed to steps of -2dB. Although this allows a finer control of the TX Power, this change is not backwards compatible.

This means that when LoRa Server implements these new delta’s and when ADR is turned on, it thinks it is asking a node to lower its tx power by -2dB but this could (for older nodes) also mean -6dB and in case no link margin is left, could disconnect the node.

I’ve asked this question to somebody of the LoRa Alliance and the feedback was:

The assumption is that the server MUST know the device’s LoRaWAN version and the regional param revision. This information must be provided out-of-band when the device is registered.

This would mean that for each node, you need to know the:

  • exact LoRaWAN version (e.g. 1.0.2)
  • exact LoRaWAN Regional Parameters version (e.g. 1.0 or 1.0.2)

To me this doesn’t feel the way to go, as most nodes don’t even expose this information. Also as an end-user I would expect a LoRaWAN node to be working with a LoRaWAN network, without worrying about LoRaWAN 1.0 or 1.0.2 and the same for the LoRaWAN Regional Parameters. To me this should be handled by the protocol.

Please share your feedback / opinion / experience on this!

Updated 26/06/2017 18:09 1 Comments

Naming Conventions

ros-industrial/docker

We need to formalize naming conventions for these docker images. Currently the naming convention is: rosindustrial/<name of layer><name of layer>:<ros distribution> or when there are a lot of layers we just name the image something (such as noether and core): rosindustrial/<arbitrary name>:<ros distribution>

  • How do we handle versions of layers (for example, VTK 7.1 and 8.0)?
  • How do we make the names short and easy to use while still being descriptive?
Updated 26/06/2017 13:42

Global & local package names, feedback wanted

zetavm/zetavm

Soliciting opinions & feedback regarding this issue. This is an problem that we have to address before the zeta package manager goes online, and preferably should be solved early on.

Currently, when you import a package in Zeta, there’s a non-trivial amount of logic going on in packages.cpp: https://github.com/zetavm/zetavm/blob/master/vm/packages.cpp#L496 https://github.com/zetavm/zetavm/blob/master/vm/packages.cpp#L556

I have two regexes to validate the package path format in there. I’m wanting to force packages paths to be of the form “foo/bar/bif/N”, where N is a version number. One of the issues there is that people may want to import local files as packages. This is in conflict with my desire to standardize the paths of packages in the packages directory, the “standard” packages that come with the VM or will be managed by the package manager.

I’m starting to think that probably, what we need is a different package name syntax for global/non-local packages. Those being the core packages, what’s under packages, those that will be managed by the VM and package manager.

I was thinking that we could force global package names to begin with a colon character, like this:

var io = import ":core/io/0";

This would be in contrast to local package names, which can be any local file path:

var myPkg = import "/user/foobar/../some_unix_path.pls";

Having a separate format for non-local path will simplify the path validation logic, and it might have some security benefits. That is, it’s more difficult to accidentally import a local package when you wanted to import a global one, and vice versa.

It is technically possible on unix/linux to create a path or file name with a colon in it, but with this syntax, any package with a name starting with “:” will be looked up as a global package. To look up a local module with a colon, you would do:

``` var myModuleWithAWeirdName = import “./:colonFileName.pls”;

Updated 27/06/2017 01:55 2 Comments

Encrypted rooms/chats

epiphyte/matrix-d-api

https://matrix.org/git/olm/about/docs/olm.rst

Olm: A Cryptographic Ratchet

An implementation of the double cryptographic ratchet described by https://whispersystems.org/docs/specifications/doubleratchet/.

need to: * investigate building/binding ^ for D - possible? * if yes - figure out what this means for * keys handling * passing/communicating keys * response handling (won’t be JSON, I assume…) * etc. * lots of testing

Updated 26/06/2017 13:01

Keyboard Driver keys.

Le0nX/LenoraOS

Нужно допилить драйвер клавы. Кто последний доделает, тот закроет этот тикет с сылкой на свой последний коммит.

Updated 26/06/2017 12:52

What does the term "license possible" mean?

krysnuvadga/license-coverage-grader

@kestewart From the rough pseudo code I was give by Kate, I have to get the “total number of license possible” I don’t understand the term “license possible”.

main() {
 num_total_files = 0
 num_source_files = 0
 num_license_concluded = 0 
 num_license_possible = 0


 print package name

for every file in package {
    ++num_total_files; 

   if is_source(file) {
       if worth_counting(file) ++num_source_files;
       if license_conclude from SPDX for file != (NONE or NOASSERTION) then
          ++num_license_concluded;
       if license_possible from SPDX for file != (NONE or NOASSERTION) then
           ++num_license_possible

       }
    }
Updated 26/06/2017 15:00 3 Comments

Planned Updates for Chocolatey 3.0

sant0ro/chocolatey

This are the planned modifications for the first production release of Chocolatey.

This version will start with the tag 3.0.

Observation.: feel free to comment if you have any suggestion.

Chocolatey

Content Management System

Planned Visual Modifications * Remove the Beta Overlay on Home Page * Update HabboWEB version (CSS and JavaScript and Images) (If any relevant modification were made)

Language System Improvements * Improve Language Templates, creating ability of also create localed images, for different countries. * Create more Language variants for other languages. Like Spanish, Dutch and German.

Documentation Improvements * Improve the Documentation of Models, Classes, Methods, and Language Templates

Code Compression * Compress all CSS’s and JavaScripts * Enable Lumen’s Cache System for Assets

Chocolatey Installer * Create an Unique Installer that will configure your .env file and config/chocolatey.php file. * Installer will check if all dependencies are present and if Composer and vendor folders are installed * Installer also may check if your configured SWF URI’s are valid (one of the biggest issues that people may have using chocolatey)

Management and Metrics API’s * Create Management API’s for managing Rooms, Users and other common Tables related to Chocolatey * Authenticated by a Token System with a Token table. * Create Metrics and Reports API’s for own Chocolatey performance and statistics. * Requests also to check version information and other data about Chocolatey, useful for updates System

Fix common Bugs and Problems * Fix some reported bugs on Issues, like “country code redirector”, “some date mistakes” and other small problems.

Espreso

Housekeeping

Code Main Features * Code Features Integrations with Chocolatey between the Management API. * Code Edit Users, Show Users, Remove User, Ban User * Code Edit Room, Show Rooms, Remove Room * Code Edit, Create and Remove Rank permissions and Ranks * Code Articles System

Those features will be available on tag 1.0 of Espreso.

The 1.5 or 2.0 version will have * Edit Catalogue * Edit Chocolatey Shop * Edit Chocolatey Famous/Recommended Rooms * Edit Global Messages and Campaigns * Show Metrics and Statistics * Many other features, like System Updates and more.

If you liked this software, go to my GitHub profile and like my profile. Clicking Here and clicking on the “Follow” button.

Updated 26/06/2017 18:09 1 Comments

Implement history logic

fraguada/SpeckleRhino

This is probably one of the last and biggest things for milestone zero. The history mechanism, and its UI is the paradigm going forward for the state of the stream. A receiver can be listening to the live stream, or a particular history instance. A sender can be sending to the live stream or to a particular history instance. This effectively pauses updates on receivers (at least until a sender pushes to that history instance?). There are some unanswered questions, but I feel tackling them as we go is a good option. - [ ] #26

Updated 26/06/2017 12:16 1 Comments

Feedback on screencast tutorial.

dwyl/video

Hey, I’ve created this screencast on UI Tests in Swift 3.0 and wanted to get feedback from everyone at dwyl.

You can watch the video down below, it will take up 12 mins of your time but the feedback will be really really important https://drive.google.com/open?id=0BzAgO1bmVDtpdUgzMjNGQ1YzMk0

Here are some of the things that we’ve noticed already and will require some change: - Default Screen resolution of 1920 x 1080 for all videos - Strict format of the video #32

Updated 26/06/2017 12:00

Formats for tutorials and screencasts

dwyl/video

So we need to decide upon a format for all the learning videos that we’ll be creating. Here is the rough format that has been proposed by @nelsonic in the discussion we’ve had earlier.

  1. Brief Intro (30 sec)
  2. name and what the topic you are covering
  3. Show the end result (1 min)
  4. What will the user see at the end of the tutorial, this is important as we don’t want the user to sit through the whole video if the end result is not what they are looking for
  5. Run through the tutorial (4 - 5 min)
  6. Retrospective / debrief
  7. tell them what they’ve achieved and also to find us on GitHub etc.

This would mean that individual videos are no longer than 6 -7 mins. If a video has more content, we can split it up and have it as parts. (e.g. part - 1, part - 2)

What do you think of the format? Feedback Welcome!

Updated 26/06/2017 11:59

Fork me on GitHub